Home
last modified time | relevance | path

Searched refs:childLeft (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java210 int childLeft; in onLayout() local
218 childLeft = childRight - child.getMeasuredWidth(); in onLayout()
222 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; in onLayout()
223 childRight = childLeft + child.getMeasuredWidth(); in onLayout()
228 childLeft = mPaddingLeft; in onLayout()
229 childRight = childLeft + child.getMeasuredWidth(); in onLayout()
233 if (childLeft < mPaddingLeft) { in onLayout()
234 childLeft = mPaddingLeft; in onLayout()
241 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java173 int childLeft; in onLayout() local
175 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
177 childLeft = paddingLeft + lp.leftMargin; in onLayout()
182 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout()
198 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
DNotificationActionListLayout.java209 int childLeft; in onLayout() local
211 childLeft = mPaddingLeft + left + (right - left) / 2 - mTotalWidth / 2; in onLayout()
213 childLeft = mPaddingLeft; in onLayout()
216 childLeft += right - left - mTotalWidth; in onLayout()
249 childLeft += lp.leftMargin; in onLayout()
250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
251 childLeft += childWidth + lp.rightMargin; in onLayout()
DAlertDialogLayout.java329 final int childLeft; in onLayout() local
332 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout()
337 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
342 childLeft = paddingLeft + lp.leftMargin; in onLayout()
351 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
DViewPager.java1519 int childLeft = 0;
1526 childLeft = paddingLeft;
1529 childLeft = paddingLeft;
1533 childLeft = Math.max((width - child.getMeasuredWidth()) / 2,
1537 childLeft = width - paddingRight - child.getMeasuredWidth();
1558 childLeft += scrollX;
1559 child.layout(childLeft, childTop,
1560 childLeft + child.getMeasuredWidth(),
1600 final int childLeft;
1602 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth;
[all …]
DActionBarOverlayLayout.java502 int childLeft = parentLeft + lp.leftMargin;
510 child.layout(childLeft, childTop, childLeft + width, childTop + height);
DRecyclerView.java8938 final int childLeft = child.getLeft() + rect.left - child.getScrollX(); in requestChildRectangleOnScreen() local
8940 final int childRight = childLeft + rect.width(); in requestChildRectangleOnScreen()
8943 final int offScreenLeft = Math.min(0, childLeft - parentLeft); in requestChildRectangleOnScreen()
8957 : Math.min(childLeft - parentLeft, offScreenRight); in requestChildRectangleOnScreen()
/frameworks/base/core/java/android/widget/
DFrameLayout.java290 int childLeft; in layoutChildren() local
304 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 + in layoutChildren()
309 childLeft = parentRight - width - lp.rightMargin; in layoutChildren()
314 childLeft = parentLeft + lp.leftMargin; in layoutChildren()
332 child.layout(childLeft, childTop, childLeft + width, childTop + height); in layoutChildren()
DAbsoluteLayout.java122 int childLeft = mPaddingLeft + lp.x; in onLayout() local
124 child.layout(childLeft, childTop, in onLayout()
125 childLeft + child.getMeasuredWidth(), in onLayout()
DGallery.java428 final int childLeft = selChild.getLeft(); in trackMotionScroll()
431 mSelectedCenterOffset = childLeft + childCenter - galleryCenter; in trackMotionScroll()
877 int childLeft = child.getLeft(); in makeAndAddView() local
880 mRightMost = Math.max(mRightMost, childLeft in makeAndAddView()
882 mLeftMost = Math.min(mLeftMost, childLeft); in makeAndAddView()
934 int childLeft; in setUpChild() local
943 childLeft = x; in setUpChild()
944 childRight = childLeft + width; in setUpChild()
946 childLeft = x - width; in setUpChild()
950 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
DLinearLayout.java1604 int childLeft; in layoutVertical() local
1654 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1659 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical()
1664 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
1673 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical()
1710 int childLeft; in layoutHorizontal() local
1733 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal()
1738 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal()
1743 childLeft = mPaddingLeft; in layoutHorizontal()
1759 childLeft += measureNullChild(childIndex); in layoutHorizontal()
[all …]
DSlidingDrawer.java351 int childLeft; in onLayout() local
357 childLeft = (width - childWidth) / 2; in onLayout()
363 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout()
371 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
DSpinner.java764 int childLeft; in setUpChild() local
774 childLeft = 0; in setUpChild()
775 childRight = childLeft + width; in setUpChild()
777 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
DGridView.java1559 int childLeft; in setupChild() local
1566 childLeft = childrenLeft; in setupChild()
1569 childLeft = childrenLeft + ((mColumnWidth - w) / 2); in setupChild()
1572 childLeft = childrenLeft + mColumnWidth - w; in setupChild()
1575 childLeft = childrenLeft; in setupChild()
1580 final int childRight = childLeft + w; in setupChild()
1582 child.layout(childLeft, childTop, childRight, childBottom); in setupChild()
1584 child.offsetLeftAndRight(childLeft - child.getLeft()); in setupChild()
DListView.java2911 final int childLeft = mListPadding.left; in relayoutMeasuredItem() local
2912 final int childRight = childLeft + w; in relayoutMeasuredItem()
2915 child.layout(childLeft, childTop, childRight, childBottom); in relayoutMeasuredItem()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java804 final int childLeft = paddingLeft + col * (colWidth + itemMargin); in layoutChildren() local
805 final int childRight = childLeft + child.getMeasuredWidth(); in layoutChildren()
806 child.layout(childLeft, childTop, childRight, childBottom); in layoutChildren()
967 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillUp() local
968 final int childRight = childLeft + child.getMeasuredWidth(); in fillUp()
969 child.layout(childLeft, childTop, childRight, childBottom); in fillUp()
1081 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillDown() local
1082 final int childRight = childLeft + child.getMeasuredWidth(); in fillDown()
1083 child.layout(childLeft, childTop, childRight, childBottom); in fillDown()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1268 int childLeft = paddingLeft + mRectArray[i].left; in onLayout() local
1275 childBottom, childLeft, childRight, childTop)); in onLayout()
1277 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
1293 int childLeft = paddingLeft + mRectArray[i].left; in dispatchDraw() local
1296 canvas.translate(childLeft, childTop); in dispatchDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java809 final int childLeft = isRtl ? position - childWidth : position; in onLayout() local
810 child.layout(childLeft, 0, childLeft + childWidth, childHeight); in onLayout()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java459 int childLeft = left + mSystemInsets.left +
463 mEmptyView.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);