/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ScaleFrameLayout.java | 114 final int parentTop, parentBottom; in onLayout() local 117 parentTop = getPaddingTop() + (int)(pivotY - pivotY / mLayoutScaleY + 0.5f); in onLayout() 121 parentTop = getPaddingTop(); in onLayout() 159 childTop = parentTop + lp.topMargin; in onLayout() 162 childTop = parentTop + (parentBottom - parentTop - height) / 2 in onLayout() 169 childTop = parentTop + lp.topMargin; in onLayout()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 37 final int parentLeft, parentTop; field in AssistVisualizer.TextEntry 47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { in TextEntry() argument 49 int top = parentTop+node.getTop(); in TextEntry() 52 this.parentTop = parentTop; in TextEntry() 119 + " in " + te.parentLeft + "," + te.parentTop in logText() 141 int parentLeft, int parentTop) { 157 int top = parentTop + root.getTop(); 163 TextEntry te = new TextEntry(root, parentLeft, parentTop, matrix);
|
/frameworks/support/wear/tests/src/android/support/wear/widget/ |
D | BoxInsetLayoutTest.java | 91 int parentTop = boxParent.getTop(); in testCase1() local 100 .check(screenTop(equalTo(parentTop))) in testCase1() 109 .check(screenTop(equalTo(parentTop))) in testCase1() 155 int parentTop = boxParent.getTop(); in testCase2() local 165 .check(screenTop(is(equalTo(parentTop + desiredPadding)))) in testCase2() 167 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child1.getHeight())))); in testCase2() 174 .check(screenTop(equalTo(parentTop + desiredPadding))) in testCase2() 263 int parentTop = boxParent.getTop(); in testCase3() local 271 .check(screenTop(is(equalTo(parentTop + desiredPadding)))) in testCase3() 273 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child1.getHeight())))); in testCase3() [all …]
|
/frameworks/support/design/src/android/support/design/internal/ |
D | BaselineLayout.java | 89 final int parentTop = getPaddingTop(); in onLayout() local 103 childTop = parentTop + mBaseline - child.getBaseline(); in onLayout() 105 childTop = parentTop; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 270 final int parentTop = getPaddingTopWithForeground(); in layoutChildren() local 310 childTop = parentTop + lp.topMargin; in layoutChildren() 313 childTop = parentTop + (parentBottom - parentTop - height) / 2 + in layoutChildren() 320 childTop = parentTop + lp.topMargin; in layoutChildren()
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | BoxInsetLayout.java | 237 final int parentTop = getPaddingTop() + mForegroundPadding.top; in onLayout() local 288 childTop = parentTop + topChildMargin; in onLayout() 292 childTop = parentTop + (parentBottom - parentTop - height) / 2 in onLayout() 300 childTop = parentTop + topChildMargin; in onLayout()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseRecyclerViewInstrumentationTest.java | 1260 final int parentTop = parent.getPaddingTop(); in isViewPartiallyInBound() local 1270 || childTop >= parentBottom || childBottom <= parentTop) { in isViewPartiallyInBound() 1288 final int parentTop = parent.getPaddingTop(); in isViewFullyInBound() local 1298 && childTop >= parentTop && childBottom <= parentBottom) { in isViewFullyInBound()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionBarOverlayLayout.java | 429 final int parentTop = getPaddingTop(); 441 int childTop = parentTop + lp.topMargin;
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarOverlayLayout.java | 479 final int parentTop = getPaddingTop(); 495 childTop = parentTop + lp.topMargin;
|
D | RecyclerView.java | 8933 final int parentTop = getPaddingTop(); in requestChildRectangleOnScreen() local 8942 final int offScreenTop = Math.min(0, childTop - parentTop); in requestChildRectangleOnScreen() 8961 : Math.min(childTop - parentTop, offScreenBottom); in requestChildRectangleOnScreen()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 9245 final int parentTop = getPaddingTop(); in getChildRectangleOnScreenScrollAmount() local 9254 final int offScreenTop = Math.min(0, childTop - parentTop); in getChildRectangleOnScreenScrollAmount() 9273 : Math.min(childTop - parentTop, offScreenBottom); in getChildRectangleOnScreenScrollAmount() 9380 final int parentTop = getPaddingTop(); in isFocusedChildVisibleAfterScrolling() local 9387 || bounds.top - dy >= parentBottom || bounds.bottom - dy <= parentTop) { in isFocusedChildVisibleAfterScrolling()
|