Home
last modified time | relevance | path

Searched refs:parentTop (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java114 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/
DAssistVisualizer.java37 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/
DBoxInsetLayoutTest.java91 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/
DBaselineLayout.java89 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/
DFrameLayout.java270 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/
DBoxInsetLayout.java237 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/
DBaseRecyclerViewInstrumentationTest.java1260 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/
DActionBarOverlayLayout.java429 final int parentTop = getPaddingTop();
441 int childTop = parentTop + lp.topMargin;
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java479 final int parentTop = getPaddingTop();
495 childTop = parentTop + lp.topMargin;
DRecyclerView.java8933 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/
DRecyclerView.java9245 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()