Loading policy/src/com/android/internal/policy/impl/keyguard/KeyguardSecurityViewFlipper.java +3 −3 Original line number Diff line number Diff line Loading @@ -219,10 +219,10 @@ public class KeyguardSecurityViewFlipper extends ViewFlipper implements Keyguard child.measure(childWidthSpec, childHeightSpec); width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize)); height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize)); width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize - wPadding)); height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding)); } setMeasuredDimension(width, height); setMeasuredDimension(width + wPadding, height + hPadding); } private int makeChildMeasureSpec(int maxSize, int childDimen) { Loading policy/src/com/android/internal/policy/impl/keyguard/MultiPaneChallengeLayout.java +1 −1 Original line number Diff line number Diff line Loading @@ -363,7 +363,7 @@ public class MultiPaneChallengeLayout extends ViewGroup implements ChallengeLayo adjustedWidth = (int) (paddedWidth * lp.centerWithinArea + 0.5f); adjustedHeight = height; } else if (fixedLayoutVertical) { final int paddedHeight = height - padding.top - padding.bottom; final int paddedHeight = height - getPaddingTop() - getPaddingBottom(); adjustedWidth = width; adjustedHeight = (int) (paddedHeight * lp.centerWithinArea + 0.5f); } else { Loading Loading
policy/src/com/android/internal/policy/impl/keyguard/KeyguardSecurityViewFlipper.java +3 −3 Original line number Diff line number Diff line Loading @@ -219,10 +219,10 @@ public class KeyguardSecurityViewFlipper extends ViewFlipper implements Keyguard child.measure(childWidthSpec, childHeightSpec); width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize)); height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize)); width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize - wPadding)); height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding)); } setMeasuredDimension(width, height); setMeasuredDimension(width + wPadding, height + hPadding); } private int makeChildMeasureSpec(int maxSize, int childDimen) { Loading
policy/src/com/android/internal/policy/impl/keyguard/MultiPaneChallengeLayout.java +1 −1 Original line number Diff line number Diff line Loading @@ -363,7 +363,7 @@ public class MultiPaneChallengeLayout extends ViewGroup implements ChallengeLayo adjustedWidth = (int) (paddedWidth * lp.centerWithinArea + 0.5f); adjustedHeight = height; } else if (fixedLayoutVertical) { final int paddedHeight = height - padding.top - padding.bottom; final int paddedHeight = height - getPaddingTop() - getPaddingBottom(); adjustedWidth = width; adjustedHeight = (int) (paddedHeight * lp.centerWithinArea + 0.5f); } else { Loading