Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DNotificationActionListLayout.java241 int childLeft; in onLayout() local
243 childLeft = mPaddingLeft + left + (right - left) / 2 - mTotalWidth / 2; in onLayout()
245 childLeft = mPaddingLeft; in onLayout()
248 childLeft += right - left - mTotalWidth; in onLayout()
251 childLeft += mExtraStartPadding; in onLayout()
284 childLeft += lp.leftMargin; in onLayout()
285 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
286 childLeft += childWidth + lp.rightMargin; in onLayout()
DMessagingLinearLayout.java210 int childLeft; in onLayout() local
212 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
214 childLeft = paddingLeft + lp.leftMargin; in onLayout()
219 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout()
235 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 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.java9059 final int childLeft = child.getLeft() + rect.left - child.getScrollX(); in requestChildRectangleOnScreen() local
9061 final int childRight = childLeft + rect.width(); in requestChildRectangleOnScreen()
9064 final int offScreenLeft = Math.min(0, childLeft - parentLeft); in requestChildRectangleOnScreen()
9078 : Math.min(childLeft - parentLeft, offScreenRight); in requestChildRectangleOnScreen()
/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/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()
878 int childLeft = child.getLeft(); in makeAndAddView() local
881 mRightMost = Math.max(mRightMost, childLeft in makeAndAddView()
883 mLeftMost = Math.min(mLeftMost, childLeft); in makeAndAddView()
935 int childLeft; in setUpChild() local
944 childLeft = x; in setUpChild()
945 childRight = childLeft + width; in setUpChild()
947 childLeft = x - width; in setUpChild()
951 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.java1560 int childLeft; in setupChild() local
1567 childLeft = childrenLeft; in setupChild()
1570 childLeft = childrenLeft + ((mColumnWidth - w) / 2); in setupChild()
1573 childLeft = childrenLeft + mColumnWidth - w; in setupChild()
1576 childLeft = childrenLeft; in setupChild()
1581 final int childRight = childLeft + w; in setupChild()
1583 child.layout(childLeft, childTop, childRight, childBottom); in setupChild()
1585 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java601 final int childLeft = isRtl ? position - childWidth : position; in onLayout() local
602 child.layout(childLeft, 0, childLeft + childWidth, childHeight); in onLayout()
/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()