/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ScaleFrameLayout.java | 98 int childLeft; in onLayout() local 111 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 + in onLayout() 115 childLeft = parentRight - width - lp.rightMargin; in onLayout() 119 childLeft = parentLeft + lp.leftMargin; in onLayout() 137 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout() 139 child.setPivotX(pivotX - childLeft); in onLayout()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 207 int childLeft; in onLayout() local 215 childLeft = childRight - child.getMeasuredWidth(); in onLayout() 219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; in onLayout() 220 childRight = childLeft + child.getMeasuredWidth(); in onLayout() 225 childLeft = mPaddingLeft; in onLayout() 226 childRight = childLeft + child.getMeasuredWidth(); in onLayout() 230 if (childLeft < mPaddingLeft) { in onLayout() 231 childLeft = mPaddingLeft; in onLayout() 238 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 294 int childLeft; in layoutChildren() local 308 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 + in layoutChildren() 313 childLeft = parentRight - width - lp.rightMargin; in layoutChildren() 318 childLeft = parentLeft + lp.leftMargin; in layoutChildren() 336 child.layout(childLeft, childTop, childLeft + width, childTop + height); in layoutChildren()
|
D | AbsoluteLayout.java | 121 int childLeft = mPaddingLeft + lp.x; in onLayout() local 123 child.layout(childLeft, childTop, in onLayout() 124 childLeft + child.getMeasuredWidth(), in onLayout()
|
D | Gallery.java | 409 final int childLeft = selChild.getLeft(); in trackMotionScroll() 412 mSelectedCenterOffset = childLeft + childCenter - galleryCenter; in trackMotionScroll() 853 int childLeft = child.getLeft(); in makeAndAddView() local 856 mRightMost = Math.max(mRightMost, childLeft in makeAndAddView() 858 mLeftMost = Math.min(mLeftMost, childLeft); in makeAndAddView() 910 int childLeft; in setUpChild() local 919 childLeft = x; in setUpChild() 920 childRight = childLeft + width; in setUpChild() 922 childLeft = x - width; in setUpChild() 926 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
|
D | LinearLayout.java | 1517 int childLeft; in layoutVertical() local 1567 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1572 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical() 1577 childLeft = paddingLeft + lp.leftMargin; in layoutVertical() 1586 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical() 1623 int childLeft; in layoutHorizontal() local 1646 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal() 1651 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal() 1656 childLeft = mPaddingLeft; in layoutHorizontal() 1673 childLeft += measureNullChild(childIndex); in layoutHorizontal() [all …]
|
D | SlidingDrawer.java | 348 int childLeft; in onLayout() local 354 childLeft = (width - childWidth) / 2; in onLayout() 360 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout() 368 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
D | Spinner.java | 730 int childLeft; in setUpChild() local 740 childLeft = 0; in setUpChild() 741 childRight = childLeft + width; in setUpChild() 743 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
|
D | GridView.java | 1525 int childLeft; in setupChild() local 1532 childLeft = childrenLeft; in setupChild() 1535 childLeft = childrenLeft + ((mColumnWidth - w) / 2); in setupChild() 1538 childLeft = childrenLeft + mColumnWidth - w; in setupChild() 1541 childLeft = childrenLeft; in setupChild() 1546 final int childRight = childLeft + w; in setupChild() 1548 child.layout(childLeft, childTop, childRight, childBottom); in setupChild() 1550 child.offsetLeftAndRight(childLeft - child.getLeft()); in setupChild()
|
D | ListView.java | 2722 final int childLeft = mListPadding.left; in relayoutMeasuredItem() local 2723 final int childRight = childLeft + w; in relayoutMeasuredItem() 2726 child.layout(childLeft, childTop, childRight, childBottom); in relayoutMeasuredItem()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | DrawerLayout.java | 1049 int childLeft; in onLayout() local 1053 childLeft = -childWidth + (int) (childWidth * lp.onScreen); in onLayout() 1054 newOffset = (float) (childWidth + childLeft) / childWidth; in onLayout() 1056 childLeft = width - (int) (childWidth * lp.onScreen); in onLayout() 1057 newOffset = (float) (width - childLeft) / childWidth; in onLayout() 1067 child.layout(childLeft, lp.topMargin, childLeft + childWidth, in onLayout() 1074 child.layout(childLeft, in onLayout() 1076 childLeft + childWidth, in onLayout() 1092 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout() 1253 final int childLeft = child.getLeft(); in drawChild() local [all …]
|
D | SlidingPaneLayout.java | 707 final int childLeft; in onLayout() local 710 childLeft = childRight - childWidth; in onLayout() 712 childLeft = xStart - offset; in onLayout() 713 childRight = childLeft + childWidth; in onLayout() 718 child.layout(childLeft, paddingTop, childRight, childBottom); in onLayout()
|
D | SwipeRefreshLayout.java | 577 final int childLeft = getPaddingLeft(); in onLayout() local 581 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 151 final int childLeft = cellStart + childParams.getMarginStart(); in onLayout() local 153 final int childRight = childLeft + child.getMeasuredWidth(); in onLayout() 156 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 1425 int childLeft; in layoutVertical() local 1476 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1481 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical() 1486 childLeft = paddingLeft + lp.leftMargin; in layoutVertical() 1495 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical() 1521 int childLeft; in layoutHorizontal() local 1544 childLeft = getPaddingLeft() + right - left - mTotalLength; in layoutHorizontal() 1549 childLeft = getPaddingLeft() + (right - left - mTotalLength) / 2; in layoutHorizontal() 1554 childLeft = getPaddingLeft(); in layoutHorizontal() 1571 childLeft += measureNullChild(childIndex); in layoutHorizontal() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1522 int childLeft = 0; 1529 childLeft = paddingLeft; 1532 childLeft = paddingLeft; 1536 childLeft = Math.max((width - child.getMeasuredWidth()) / 2, 1540 childLeft = width - paddingRight - child.getMeasuredWidth(); 1561 childLeft += scrollX; 1562 child.layout(childLeft, childTop, 1563 childLeft + child.getMeasuredWidth(), 1603 final int childLeft; 1605 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth; [all …]
|
D | ActionBarOverlayLayout.java | 485 int childLeft = parentLeft + lp.leftMargin; 493 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 1553 int childLeft = 0; 1560 childLeft = paddingLeft; 1563 childLeft = paddingLeft; 1567 childLeft = Math.max((width - child.getMeasuredWidth()) / 2, 1571 childLeft = width - paddingRight - child.getMeasuredWidth(); 1592 childLeft += scrollX; 1593 child.layout(childLeft, childTop, 1594 childLeft + child.getMeasuredWidth(), 1610 int childLeft = paddingLeft + loff; 1625 + ":" + childLeft + "," + childTop + " " + child.getMeasuredWidth() [all …]
|
/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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActionBarOverlayLayout.java | 434 int childLeft = parentLeft + lp.leftMargin; in onLayout() local 437 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 7238 final int childLeft = child.getLeft() + rect.left; in requestChildRectangleOnScreen() local 7240 final int childRight = childLeft + rect.width(); in requestChildRectangleOnScreen() 7243 final int offScreenLeft = Math.min(0, childLeft - parentLeft); in requestChildRectangleOnScreen() 7257 : Math.min(childLeft - parentLeft, offScreenRight); in requestChildRectangleOnScreen()
|