Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1114 int childLeft; in layoutVertical() local
1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1169 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical()
1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
1183 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical()
1220 int childLeft; in layoutHorizontal() local
1243 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal()
1248 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal()
1253 childLeft = mPaddingLeft; in layoutHorizontal()
1270 childLeft += measureNullChild(childIndex); in layoutHorizontal()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java1114 int childLeft; in layoutVertical() local
1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1169 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical()
1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
1183 setChildFrame(child, childLeft, childTop + getLocationOffset(child), in layoutVertical()
1220 int childLeft; in layoutHorizontal() local
1243 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal()
1248 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal()
1253 childLeft = mPaddingLeft; in layoutHorizontal()
1270 childLeft += measureNullChild(childIndex); in layoutHorizontal()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java638 int childLeft; in onLayout() local
668 childLeft = (parentWidth - width) / 2 + in onLayout()
672 childLeft = parentWidth - width / 2 - height / 2 - lp.bottomMargin; in onLayout()
676 childLeft = height / 2 - width / 2 + lp.topMargin; in onLayout()
681 childLeft = (parentWidth - width) / 2 + in onLayout()
685 childLeft = parentWidth - width - lp.rightMargin; in onLayout()
689 childLeft = lp.leftMargin; in onLayout()
708 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java162 int childLeft = lp.x; in onLayout() local
164 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
173 cellXY[0] + childLeft + lp.width / 2, in onLayout()
DPagedView.java634 for (int i = startIndex, childLeft = scrollOffsetLeft; i != endIndex; i += delta) { in getPageScrolls()
638 final int childRight = childLeft + childWidth; in getPageScrolls()
643 child.layout(childLeft, childTop, childRight, childTop + childHeight); in getPageScrolls()
649 ? (childLeft - scrollOffsetLeft) in getPageScrolls()
656 childLeft += childWidth + mPageSpacing + getChildGap(); in getPageScrolls()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java272 int childLeft = paddingLeft + mRectArray[i].left; in onLayout() local
281 childBottom, childLeft, childRight, childTop)); in onLayout()
283 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java272 int childLeft = forward ? x : x - columnWidth; in makeAndAddColumn() local
273 child.layout(childLeft, nextTop, childLeft + columnWidth, nextTop + heightSize); in makeAndAddColumn()