Home
last modified time | relevance | path

Searched refs:childLeft (Results 1 – 20 of 20) 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/
DNotificationActionListLayout.java313 int childLeft; in onLayout() local
315 childLeft = mPaddingLeft + left + (right - left) / 2 - mTotalWidth / 2; in onLayout()
317 childLeft = mPaddingLeft; in onLayout()
320 childLeft += right - left - mTotalWidth; in onLayout()
323 childLeft += mExtraStartPadding; in onLayout()
356 childLeft += lp.leftMargin; in onLayout()
357 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
358 childLeft += childWidth + lp.rightMargin; in onLayout()
DMessagingLinearLayout.java227 int childLeft; in onLayout() local
229 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
231 childLeft = paddingLeft + lp.leftMargin; in onLayout()
236 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout()
252 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()
DNotificationOptimizedLinearLayout.java472 int childLeft; in layoutVerticalOptimized() local
521 childLeft = in layoutVerticalOptimized()
527 childLeft = childRight - childWidth - lp.rightMargin; in layoutVerticalOptimized()
532 childLeft = paddingLeft + lp.leftMargin; in layoutVerticalOptimized()
541 child.layout(childLeft, childTop, childLeft + childWidth, in layoutVerticalOptimized()
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.java573 int childLeft = parentLeft + lp.leftMargin;
581 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/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertDialogLayout.java330 final int childLeft; in onLayout() local
333 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout()
338 childLeft = childRight - childWidth - lp.rightMargin; in onLayout()
343 childLeft = paddingLeft + lp.leftMargin; in onLayout()
348 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java122 int childLeft = mPaddingLeft + lp.x; in onLayout() local
124 child.layout(childLeft, childTop, in onLayout()
125 childLeft + child.getMeasuredWidth(), in onLayout()
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()
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.java1660 int childLeft; in layoutVertical() local
1710 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1715 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical()
1720 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
1729 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical()
1766 int childLeft; in layoutHorizontal() local
1789 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal()
1794 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal()
1799 childLeft = mPaddingLeft; in layoutHorizontal()
1815 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.java769 int childLeft; in setUpChild() local
779 childLeft = 0; in setUpChild()
780 childRight = childLeft + width; in setUpChild()
782 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.java2909 final int childLeft = mListPadding.left; in relayoutMeasuredItem() local
2910 final int childRight = childLeft + w; in relayoutMeasuredItem()
2913 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.java689 final int childLeft = isRtl ? position - childWidth : position; in onLayout() local
690 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()