Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java149 int childTop; in onLayout() local
158 childTop = mPaddingTop; in onLayout()
182 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout()
183 childTop + lp.lastVisibleHeight); in onLayout()
194 childTop += mSpacing; in onLayout()
197 childTop += lp.topMargin; in onLayout()
198 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
200 childTop += childHeight + lp.bottomMargin; in onLayout()
DAlertDialogLayout.java290 int childTop; in onLayout() local
294 childTop = mPaddingTop + bottom - top - totalLength; in onLayout()
299 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout()
304 childTop = mPaddingTop; in onLayout()
347 childTop += dividerHeight; in onLayout()
350 childTop += lp.topMargin; in onLayout()
351 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
352 childTop += childHeight + lp.bottomMargin; in onLayout()
DAbsActionBarView.java322 int childTop = y + (contentHeight - childHeight) / 2; in positionChild() local
325 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild()
327 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild()
DNotificationActionListLayout.java208 int childTop; in onLayout() local
246 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout()
250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
DActionBarOverlayLayout.java503 int childTop;
505 childTop = parentBottom - height - lp.bottomMargin;
507 childTop = parentTop + lp.topMargin;
510 child.layout(childLeft, childTop, childLeft + width, childTop + height);
DViewPager.java1520 int childTop = 0;
1543 childTop = paddingTop;
1546 childTop = paddingTop;
1550 childTop = Math.max((height - child.getMeasuredHeight()) / 2,
1554 childTop = height - paddingBottom - child.getMeasuredHeight();
1559 child.layout(childLeft, childTop,
1561 childTop + child.getMeasuredHeight());
1607 final int childTop = paddingTop;
1608 child.layout(childLeft, childTop, childLeft + childMeasuredWidth,
1609 childTop + child.getMeasuredHeight());
DRecyclerView.java8939 final int childTop = child.getTop() + rect.top - child.getScrollY(); in requestChildRectangleOnScreen() local
8941 final int childBottom = childTop + rect.height(); in requestChildRectangleOnScreen()
8944 final int offScreenTop = Math.min(0, childTop - parentTop); in requestChildRectangleOnScreen()
8963 : Math.min(childTop - parentTop, offScreenBottom); in requestChildRectangleOnScreen()
/frameworks/base/core/java/android/widget/
DFrameLayout.java291 int childTop; in layoutChildren() local
319 childTop = parentTop + lp.topMargin; in layoutChildren()
322 childTop = parentTop + (parentBottom - parentTop - height) / 2 + in layoutChildren()
326 childTop = parentBottom - height - lp.bottomMargin; in layoutChildren()
329 childTop = parentTop + lp.topMargin; in layoutChildren()
332 child.layout(childLeft, childTop, childLeft + width, childTop + height); in layoutChildren()
DLinearLayout.java615 int childTop = mBaselineChildTop; in getBaseline() local
622 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; in getBaseline()
626 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline()
634 return childTop + lp.topMargin + childBaseline; in getBaseline()
1603 int childTop; in layoutVertical() local
1621 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical()
1626 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical()
1631 childTop = mPaddingTop; in layoutVertical()
1638 childTop += measureNullChild(i); in layoutVertical()
1669 childTop += mDividerHeight; in layoutVertical()
[all …]
DAbsoluteLayout.java123 int childTop = mPaddingTop + lp.y; in onLayout() local
124 child.layout(childLeft, childTop, in onLayout()
126 childTop + child.getMeasuredHeight()); in onLayout()
DGallery.java938 int childTop = calculateTop(child, true); in setUpChild() local
939 int childBottom = childTop + child.getMeasuredHeight(); in setUpChild()
950 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
963 int childTop = 0; in calculateTop() local
967 childTop = mSpinnerPadding.top; in calculateTop()
972 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
975 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
978 return childTop; in calculateTop()
DSlidingDrawer.java352 int childTop; in onLayout() local
358 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
364 childTop = (height - childHeight) / 2; in onLayout()
371 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
DSpinner.java768 int childTop = mSpinnerPadding.top in setUpChild() local
771 int childBottom = childTop + child.getMeasuredHeight(); in setUpChild()
777 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
DListView.java2172 final int childTop = flowDown ? y : y - h; in setupChild() local
2176 final int childBottom = childTop + h; in setupChild()
2177 child.layout(childrenLeft, childTop, childRight, childBottom); in setupChild()
2180 child.offsetTopAndBottom(childTop - child.getTop()); in setupChild()
2913 final int childTop = child.getTop(); in relayoutMeasuredItem() local
2914 final int childBottom = childTop + h; in relayoutMeasuredItem()
2915 child.layout(childLeft, childTop, childRight, childBottom); in relayoutMeasuredItem()
DGridView.java1560 final int childTop = flowDown ? y : y - h; in setupChild() local
1581 final int childBottom = childTop + h; in setupChild()
1582 child.layout(childLeft, childTop, childRight, childBottom); in setupChild()
1585 child.offsetTopAndBottom(childTop - child.getTop()); in setupChild()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java160 final int childTop = cellTop + childParams.topMargin; in onLayout() local
162 final int childBottom = childTop + child.getMeasuredHeight(); in onLayout()
164 child.layout(childStart, childTop, childEnd, childBottom); in onLayout()
DPrintContentView.java422 final int childTop = child.getTop(); in onViewReleased() local
427 if (childTop == openedOptionsY || childTop == closedOptionsY) { in onViewReleased()
432 if (childTop < halfRange) { in onViewReleased()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java790 int childTop = mItemBottoms[col] > Integer.MIN_VALUE ? in layoutChildren() local
793 int lowest = childTop; in layoutChildren()
800 childTop = lowest; in layoutChildren()
803 final int childBottom = childTop + childHeight; in layoutChildren()
806 child.layout(childLeft, childTop, childRight, childBottom); in layoutChildren()
966 final int childTop = childBottom - childHeight; in fillUp() local
969 child.layout(childLeft, childTop, childRight, childBottom); in fillUp()
972 mItemTops[i] = childTop - rec.getMarginAbove(i - nextCol) - itemMargin; in fillUp()
1079 final int childTop = startFrom + itemMargin; in fillDown() local
1080 final int childBottom = childTop + childHeight; in fillDown()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java726 float childTop = child.getTranslationY();
727 float childBottom = childTop + child.getActualHeight();
730 if (childTop > layoutEnd) {
805 float childTop = slidingChild.getTranslationY();
806 float top = childTop + slidingChild.getClipTopAmount();
807 float bottom = childTop + slidingChild.getActualHeight();
DNotificationStackScrollLayout.java1572 float childTop = slidingChild.getTranslationY();
1573 float top = childTop + slidingChild.getClipTopAmount();
1574 float bottom = childTop + slidingChild.getActualHeight()
1611 float childTop = slidingChild.getTranslationY();
1612 float top = childTop + slidingChild.getClipTopAmount();
1613 float bottom = childTop + slidingChild.getActualHeight()
1633 return row.getViewAtPosition(touchY - childTop);
4982 float childTop = child.getY();
4983 if (childTop > touchY) {
4987 boolean belowChild = touchY > childTop + child.getActualHeight()
[all …]
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java207 final int childTop = mPaddingTop; in onLayout() local
241 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1269 int childTop = paddingTop + mRectArray[i].top; in onLayout() local
1275 childBottom, childLeft, childRight, childTop)); in onLayout()
1277 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
1294 int childTop = paddingTop + mRectArray[i].top; in dispatchDraw() local
1296 canvas.translate(childLeft, childTop); in dispatchDraw()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java461 int childTop = top + mSystemInsets.top +
463 mEmptyView.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);