Loading packages/SystemUI/src/com/android/keyguard/PinShapeNonHintingView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -61,7 +61,7 @@ public class PinShapeNonHintingView extends LinearLayout implements PinShapeInpu @Override @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); super.onLayout(changed, l, t, r, b); if (getChildCount() > 0) { if (getChildCount() > 2) { View firstChild = getChildAt(0); View firstChild = getChildAt(0); boolean isVisible = firstChild.getLocalVisibleRect(mFirstChildVisibleRect); boolean isVisible = firstChild.getLocalVisibleRect(mFirstChildVisibleRect); boolean clipped = mFirstChildVisibleRect.left > 0 boolean clipped = mFirstChildVisibleRect.left > 0 Loading Loading
packages/SystemUI/src/com/android/keyguard/PinShapeNonHintingView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -61,7 +61,7 @@ public class PinShapeNonHintingView extends LinearLayout implements PinShapeInpu @Override @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); super.onLayout(changed, l, t, r, b); if (getChildCount() > 0) { if (getChildCount() > 2) { View firstChild = getChildAt(0); View firstChild = getChildAt(0); boolean isVisible = firstChild.getLocalVisibleRect(mFirstChildVisibleRect); boolean isVisible = firstChild.getLocalVisibleRect(mFirstChildVisibleRect); boolean clipped = mFirstChildVisibleRect.left > 0 boolean clipped = mFirstChildVisibleRect.left > 0 Loading