Searched refs:childWidth (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 116 int childWidth = currChild.getMeasuredWidth(); in onLayout() local 121 if ((x + childWidth + startMargin + endMargin) > width) { in onLayout() 130 x += childWidth + startMargin + endMargin; in onLayout() 145 int childWidth = currChild.getMeasuredWidth(); in onLayout() local 150 if ((x + childWidth + startMargin + endMargin) > width) { in onLayout() 176 currChild.layout(width - startPositionX - childWidth, startPositionY, in onLayout() 179 currChild.layout(startPositionX, startPositionY, startPositionX + childWidth, in onLayout() 184 x += childWidth + startMargin + endMargin; in onLayout()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | ProportionalLayout.java | 99 final int childWidth = child.getMeasuredWidth(); in onMeasure() local 108 width = childWidth; in onMeasure() 109 height = Math.round(childWidth * mRatio); in onMeasure()
|
D | InterpolatingLayout.java | 228 int childWidth = params.resolveWidth(parentWidth); in onMeasure() local 230 switch (childWidth) { in onMeasure() 236 childWidth, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 1150 final int childWidth = child.getMeasuredWidth(); in layoutVertical() local 1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1169 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical() 1184 childWidth, childHeight); in layoutVertical() 1272 final int childWidth = child.getMeasuredWidth(); in layoutHorizontal() local 1330 childWidth, childHeight); in layoutHorizontal() 1331 childLeft += childWidth + lp.rightMargin + in layoutHorizontal()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | MatchParentShrinkingLinearLayout.java | 1150 final int childWidth = child.getMeasuredWidth(); in layoutVertical() local 1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1169 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical() 1184 childWidth, childHeight); in layoutVertical() 1272 final int childWidth = child.getMeasuredWidth(); in layoutHorizontal() local 1330 childWidth, childHeight); in layoutHorizontal() 1331 childLeft += childWidth + lp.rightMargin + in layoutHorizontal()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 637 final int childWidth = child.getMeasuredWidth(); in getPageScrolls() local 638 final int childRight = childLeft + childWidth; in getPageScrolls() 656 childLeft += childWidth + mPageSpacing + getChildGap(); in getPageScrolls() 1389 int childWidth = layout.getMeasuredWidth(); in getPageNearestToCenterOfScreen() local 1390 int halfChildWidth = (childWidth / 2); in getPageNearestToCenterOfScreen()
|