/frameworks/support/percent/tests/java/android/support/percent/ |
D | PercentFrameTest.java | 92 int childLeft = childToTest.getLeft(); in testMarginsSingle() local 98 0.3f * mContainerWidth, childLeft); in testMarginsSingle() 111 int childLeft = childToTest.getLeft(); in testMarginsMultiple() local 119 0.15f * mContainerWidth, childLeft); in testMarginsMultiple() 132 int childLeft = childToTest.getLeft(); in testMarginsTopLeft() local 140 0.2f * mContainerWidth, childLeft); in testMarginsTopLeft() 169 int childLeft = childToTest.getLeft(); in testMarginStart() local 171 0.2f * mContainerWidth, childLeft); in testMarginStart() 200 int childLeft = childToTest.getLeft(); in testMarginStartRtl() local 202 0.2f * mContainerWidth, childLeft); in testMarginStartRtl() [all …]
|
D | PercentRelativeRtlTest.java | 143 final int childLeft = childToTest.getLeft(); in testTopChild() local 145 0.2f * mContainerWidth, childLeft); in testTopChild() 175 final int childLeft = childToTest.getLeft(); in testStartChild() local 177 0.05f * mContainerWidth, childLeft); in testStartChild() 204 final int childLeft = childToTest.getLeft(); in testBottomChild() local 206 0.2f * mContainerWidth, childLeft); in testBottomChild() 238 final int childLeft = childToTest.getLeft(); in testEndChild() local 240 0.05f * mContainerWidth, childLeft); in testEndChild() 273 final int childLeft = childToTest.getLeft(); in testCenterChild() local 282 leftChild.getRight() + 0.1f * mContainerWidth, childLeft); in testCenterChild()
|
D | PercentRelativeTest.java | 87 final int childLeft = childToTest.getLeft(); in testTopChild() local 91 0.2f * mContainerWidth, childLeft); in testTopChild() 108 final int childLeft = childToTest.getLeft(); in testLeftChild() local 112 0.05f * mContainerWidth, childLeft); in testLeftChild() 163 final int childLeft = childToTest.getLeft(); in testCenterChild() local 170 leftChild.getRight() + 0.1f * mContainerWidth, childLeft); in testCenterChild()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ScaleFrameLayout.java | 133 int childLeft; in onLayout() local 146 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 in onLayout() 150 childLeft = parentRight - width - lp.rightMargin; in onLayout() 154 childLeft = parentLeft + lp.leftMargin; in onLayout() 172 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout() 174 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/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 206 int childLeft; in onLayout() local 220 childLeft = mPaddingLeft + right - left - mTotalWidth; in onLayout() 225 childLeft = mPaddingLeft; 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()
|
D | MessagingLinearLayout.java | 236 int childLeft; 238 childLeft = childRight - childWidth - lp.rightMargin; 240 childLeft = paddingLeft + lp.leftMargin; 248 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|
D | AlertDialogLayout.java | 327 final int childLeft; in onLayout() local 330 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout() 335 childLeft = childRight - childWidth - lp.rightMargin; in onLayout() 340 childLeft = paddingLeft + lp.leftMargin; in onLayout() 349 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
|
D | ViewPager.java | 1511 int childLeft = 0; 1518 childLeft = paddingLeft; 1521 childLeft = paddingLeft; 1525 childLeft = Math.max((width - child.getMeasuredWidth()) / 2, 1529 childLeft = width - paddingRight - child.getMeasuredWidth(); 1550 childLeft += scrollX; 1551 child.layout(childLeft, childTop, 1552 childLeft + child.getMeasuredWidth(), 1592 final int childLeft; 1594 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth; [all …]
|
/frameworks/support/design/src/android/support/design/internal/ |
D | BaselineLayout.java | 100 final int childLeft = parentLeft + (parentContentWidth - width) / 2; in onLayout() local 108 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 281 int childLeft; in layoutChildren() local 295 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 + in layoutChildren() 300 childLeft = parentRight - width - lp.rightMargin; in layoutChildren() 305 childLeft = parentLeft + lp.leftMargin; in layoutChildren() 323 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 | 417 final int childLeft = selChild.getLeft(); in trackMotionScroll() 420 mSelectedCenterOffset = childLeft + childCenter - galleryCenter; in trackMotionScroll() 861 int childLeft = child.getLeft(); in makeAndAddView() local 864 mRightMost = Math.max(mRightMost, childLeft in makeAndAddView() 866 mLeftMost = Math.min(mLeftMost, childLeft); in makeAndAddView() 918 int childLeft; in setUpChild() local 927 childLeft = x; in setUpChild() 928 childRight = childLeft + width; in setUpChild() 930 childLeft = x - width; in setUpChild() 934 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
|
D | LinearLayout.java | 1566 int childLeft; in layoutVertical() local 1616 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1621 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical() 1626 childLeft = paddingLeft + lp.leftMargin; in layoutVertical() 1635 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical() 1672 int childLeft; in layoutHorizontal() local 1695 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal() 1700 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal() 1705 childLeft = mPaddingLeft; in layoutHorizontal() 1721 childLeft += measureNullChild(childIndex); in layoutHorizontal() [all …]
|
D | SlidingDrawer.java | 344 int childLeft; in onLayout() local 350 childLeft = (width - childWidth) / 2; in onLayout() 356 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout() 364 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
D | Spinner.java | 752 int childLeft; in setUpChild() local 762 childLeft = 0; in setUpChild() 763 childRight = childLeft + width; in setUpChild() 765 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
|
D | GridView.java | 1539 int childLeft; in setupChild() local 1546 childLeft = childrenLeft; in setupChild() 1549 childLeft = childrenLeft + ((mColumnWidth - w) / 2); in setupChild() 1552 childLeft = childrenLeft + mColumnWidth - w; in setupChild() 1555 childLeft = childrenLeft; in setupChild() 1560 final int childRight = childLeft + w; in setupChild() 1562 child.layout(childLeft, childTop, childRight, childBottom); in setupChild() 1564 child.offsetLeftAndRight(childLeft - child.getLeft()); in setupChild()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AlertDialogLayout.java | 318 final int childLeft; in onLayout() local 321 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout() 326 childLeft = childRight - childWidth - lp.rightMargin; in onLayout() 331 childLeft = paddingLeft + lp.leftMargin; in onLayout() 340 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
|
D | LinearLayoutCompat.java | 1429 int childLeft; in layoutVertical() local 1480 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1485 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical() 1490 childLeft = paddingLeft + lp.leftMargin; in layoutVertical() 1499 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical() 1525 int childLeft; in layoutHorizontal() local 1548 childLeft = getPaddingLeft() + right - left - mTotalLength; in layoutHorizontal() 1553 childLeft = getPaddingLeft() + (right - left - mTotalLength) / 2; in layoutHorizontal() 1558 childLeft = getPaddingLeft(); in layoutHorizontal() 1575 childLeft += measureNullChild(childIndex); in layoutHorizontal() [all …]
|
D | ActionBarOverlayLayout.java | 440 int childLeft = parentLeft + lp.leftMargin; 443 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | BoxInsetLayout.java | 248 int childLeft; in onLayout() local 267 childLeft = parentLeft + leftChildMargin; in onLayout() 271 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 in onLayout() 275 childLeft = parentRight - width - rightChildMargin; in onLayout() 279 childLeft = parentLeft + leftChildMargin; in onLayout() 303 child.layout(childLeft, childTop, childLeft + width, childTop + height); 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/core-ui/java/android/support/v4/widget/ |
D | DrawerLayout.java | 1196 int childLeft; in onLayout() local 1200 childLeft = -childWidth + (int) (childWidth * lp.onScreen); in onLayout() 1201 newOffset = (float) (childWidth + childLeft) / childWidth; in onLayout() 1203 childLeft = width - (int) (childWidth * lp.onScreen); in onLayout() 1204 newOffset = (float) (width - childLeft) / childWidth; in onLayout() 1214 child.layout(childLeft, lp.topMargin, childLeft + childWidth, in onLayout() 1221 child.layout(childLeft, in onLayout() 1223 childLeft + childWidth, in onLayout() 1239 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout() 1402 final int childLeft = child.getLeft(); in drawChild() local [all …]
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 1691 int childLeft = 0; 1698 childLeft = paddingLeft; 1701 childLeft = paddingLeft; 1705 childLeft = Math.max((width - child.getMeasuredWidth()) / 2, 1709 childLeft = width - paddingRight - child.getMeasuredWidth(); 1730 childLeft += scrollX; 1731 child.layout(childLeft, childTop, 1732 childLeft + child.getMeasuredWidth(), 1748 int childLeft = paddingLeft + loff; 1764 + ":" + 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()
|