Home
last modified time | relevance | path

Searched refs:parentBottom (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/wear/tests/src/android/support/wear/widget/
DBoxInsetLayoutTest.java93 int parentBottom = boxParent.getTop() + boxParent.getHeight(); in testCase1() local
102 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()
111 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()
157 int parentBottom = boxParent.getTop() + boxParent.getHeight(); in testCase2() local
181 .check(screenTop(is(equalTo(parentBottom - desiredPadding - child2.getHeight())))) in testCase2()
183 .check(screenBottom(is(equalTo(parentBottom - desiredPadding)))); in testCase2()
191 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase2()
264 int parentBottom = boxParent.getTop() + boxParent.getHeight(); in testCase3() local
300 equalTo(parentBottom - desiredPadding - child3.getHeight())))) in testCase3()
302 .check(screenBottom(is(equalTo(parentBottom - desiredPadding)))); in testCase3()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java114 final int parentTop, parentBottom; in onLayout() local
118 parentBottom = (int)(pivotY + (bottom - top - pivotY) / mLayoutScaleY + 0.5f) in onLayout()
122 parentBottom = bottom - top - getPaddingBottom(); in onLayout()
162 childTop = parentTop + (parentBottom - parentTop - height) / 2 in onLayout()
166 childTop = parentBottom - height - lp.bottomMargin; in onLayout()
/frameworks/base/core/java/android/widget/
DFrameLayout.java271 final int parentBottom = bottom - top - getPaddingBottomWithForeground(); in layoutChildren() local
313 childTop = parentTop + (parentBottom - parentTop - height) / 2 + in layoutChildren()
317 childTop = parentBottom - height - lp.bottomMargin; in layoutChildren()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java108 final int parentBottom = getHeight() - getPaddingBottom(); in onLayoutChildren() local
123 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren()
DAnimatedRecyclerView.java446 int parentBottom = getHeight() - getPaddingBottom(); in onLayoutChildren() local
464 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren()
473 parentBottom += v.getHeight(); in onLayoutChildren()
/frameworks/support/wear/src/android/support/wear/widget/
DBoxInsetLayout.java238 final int parentBottom = bottom - top - getPaddingBottom() - mForegroundPadding.bottom; in onLayout() local
292 childTop = parentTop + (parentBottom - parentTop - height) / 2 in onLayout()
296 childTop = parentBottom - height - bottomChildMargin; in onLayout()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java1214 final int parentBottom = parent.getHeight() - parent.getPaddingBottom(); in isViewPartiallyInBound() local
1222 || childTop >= parentBottom || childBottom <= parentTop) { in isViewPartiallyInBound()
1242 final int parentBottom = parent.getHeight() - parent.getPaddingBottom(); in isViewFullyInBound() local
1250 && childTop >= parentTop && childBottom <= parentBottom) { in isViewFullyInBound()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java480 final int parentBottom = bottom - top - getPaddingBottom();
493 childTop = parentBottom - height - lp.bottomMargin;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarOverlayLayout.java430 final int parentBottom = bottom - top - getPaddingBottom();
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java9213 final int parentBottom = getHeight() - getPaddingBottom(); in getChildRectangleOnScreenScrollAmount() local
9222 final int offScreenBottom = Math.max(0, childBottom - parentBottom); in getChildRectangleOnScreenScrollAmount()
9348 final int parentBottom = getHeight() - getPaddingBottom(); in isFocusedChildVisibleAfterScrolling() local
9353 || bounds.top - dy >= parentBottom || bounds.bottom - dy <= parentTop) { in isFocusedChildVisibleAfterScrolling()