Searched refs:parentBottom (Results 1 – 10 of 10) sorted by relevance
93 int parentBottom = boxParent.getTop() + boxParent.getHeight(); in testCase1() local102 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()111 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()157 int parentBottom = boxParent.getTop() + boxParent.getHeight(); in testCase2() local181 .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() local300 equalTo(parentBottom - desiredPadding - child3.getHeight())))) in testCase3()302 .check(screenBottom(is(equalTo(parentBottom - desiredPadding)))); in testCase3()[all …]
114 final int parentTop, parentBottom; in onLayout() local118 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()
271 final int parentBottom = bottom - top - getPaddingBottomWithForeground(); in layoutChildren() local313 childTop = parentTop + (parentBottom - parentTop - height) / 2 + in layoutChildren()317 childTop = parentBottom - height - lp.bottomMargin; in layoutChildren()
108 final int parentBottom = getHeight() - getPaddingBottom(); in onLayoutChildren() local123 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren()
446 int parentBottom = getHeight() - getPaddingBottom(); in onLayoutChildren() local464 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren()473 parentBottom += v.getHeight(); in onLayoutChildren()
238 final int parentBottom = bottom - top - getPaddingBottom() - mForegroundPadding.bottom; in onLayout() local292 childTop = parentTop + (parentBottom - parentTop - height) / 2 in onLayout()296 childTop = parentBottom - height - bottomChildMargin; in onLayout()
1214 final int parentBottom = parent.getHeight() - parent.getPaddingBottom(); in isViewPartiallyInBound() local1222 || childTop >= parentBottom || childBottom <= parentTop) { in isViewPartiallyInBound()1242 final int parentBottom = parent.getHeight() - parent.getPaddingBottom(); in isViewFullyInBound() local1250 && childTop >= parentTop && childBottom <= parentBottom) { in isViewFullyInBound()
480 final int parentBottom = bottom - top - getPaddingBottom();493 childTop = parentBottom - height - lp.bottomMargin;
430 final int parentBottom = bottom - top - getPaddingBottom();
9213 final int parentBottom = getHeight() - getPaddingBottom(); in getChildRectangleOnScreenScrollAmount() local9222 final int offScreenBottom = Math.max(0, childBottom - parentBottom); in getChildRectangleOnScreenScrollAmount()9348 final int parentBottom = getHeight() - getPaddingBottom(); in isFocusedChildVisibleAfterScrolling() local9353 || bounds.top - dy >= parentBottom || bounds.bottom - dy <= parentTop) { in isFocusedChildVisibleAfterScrolling()