/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 210 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/ |
D | NotificationActionListLayout.java | 313 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()
|
D | MessagingLinearLayout.java | 227 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()
|
D | AlertDialogLayout.java | 329 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()
|
D | NotificationOptimizedLinearLayout.java | 472 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()
|
D | ViewPager.java | 1519 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 …]
|
D | ActionBarOverlayLayout.java | 573 int childLeft = parentLeft + lp.leftMargin; 581 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
D | RecyclerView.java | 9059 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/ |
D | AlertDialogLayout.java | 330 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/ |
D | AbsoluteLayout.java | 122 int childLeft = mPaddingLeft + lp.x; in onLayout() local 124 child.layout(childLeft, childTop, in onLayout() 125 childLeft + child.getMeasuredWidth(), in onLayout()
|
D | FrameLayout.java | 290 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()
|
D | Gallery.java | 428 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()
|
D | LinearLayout.java | 1660 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 …]
|
D | SlidingDrawer.java | 351 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()
|
D | Spinner.java | 769 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()
|
D | GridView.java | 1560 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()
|
D | ListView.java | 2909 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/ |
D | StaggeredGridView.java | 804 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/ |
D | SmartReplyView.java | 689 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/ |
D | Cea708CaptionRenderer.java | 1268 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()
|