Skip to content

Commit 868edfd

Browse files
adampAndroid Git Automerger
authored andcommitted
am e7e210c: Merge "Fiddle with keyguard glowpad layouts" into jb-mr1-lockscreen-dev
* commit 'e7e210cb4373877785130ff06ad4e6635592eaa8': Fiddle with keyguard glowpad layouts
2 parents 062e01c + e7e210c commit 868edfd

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

core/res/res/layout/keyguard_glow_pad_container.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
android:layout_width="wrap_content"
2323
android:layout_height="wrap_content"
2424
android:layout_gravity="bottom|center_horizontal"
25-
android:layout_marginBottom="-80dp"/>
25+
android:layout_marginBottom="-60dp"/>
2626
</merge>

core/res/res/layout/keyguard_selector_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
android:id="@+id/keyguard_selector_view"
2525
android:layout_width="match_parent"
2626
android:layout_height="match_parent"
27-
android:layout_maxWidth="@dimen/keyguard_security_width"
27+
android:layout_maxWidth="420dp"
2828
android:layout_maxHeight="@dimen/keyguard_security_height"
2929
android:clipChildren="false"
3030
android:clipToPadding="false"

policy/src/com/android/internal/policy/impl/keyguard/KeyguardSecurityViewFlipper.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,22 @@
1616

1717
package com.android.internal.policy.impl.keyguard;
1818

19+
import com.android.internal.R;
20+
import com.android.internal.widget.LockPatternUtils;
21+
1922
import android.content.Context;
2023
import android.content.res.TypedArray;
2124
import android.graphics.Rect;
2225
import android.util.AttributeSet;
2326
import android.util.Log;
2427
import android.view.MotionEvent;
2528
import android.view.View;
29+
import android.view.ViewDebug;
2630
import android.view.ViewGroup;
2731
import android.view.WindowManager;
2832
import android.widget.FrameLayout;
2933
import android.widget.ViewFlipper;
3034

31-
import com.android.internal.R;
32-
import com.android.internal.widget.LockPatternUtils;
33-
3435
/**
3536
* Subclass of the current view flipper that allows us to overload dispatchTouchEvent() so
3637
* we can emulate {@link WindowManager.LayoutParams#FLAG_SLIPPERY} within a view hierarchy.
@@ -246,7 +247,10 @@ private int makeChildMeasureSpec(int maxSize, int childDimen) {
246247
}
247248

248249
public static class LayoutParams extends FrameLayout.LayoutParams {
250+
@ViewDebug.ExportedProperty(category = "layout")
249251
public int maxWidth;
252+
253+
@ViewDebug.ExportedProperty(category = "layout")
250254
public int maxHeight;
251255

252256
public LayoutParams(ViewGroup.LayoutParams other) {

0 commit comments

Comments
 (0)