Home
last modified time | relevance | path

Searched refs:childWidth (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java116 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/WallpaperPicker2/src/com/android/wallpaper/picker/
DDisplayAspectRatioFrameLayout.kt47 val childWidth = in <lambda>() constant
50 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in <lambda>()
52 if (childWidth < measuredWidth) { in <lambda>()
55 (childWidth * screenAspectRatio).toInt() in <lambda>()
DDisplayAspectRatioLinearLayout.kt43 val (childWidth, childHeight) = in <lambda>() constant
86 childWidth, in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DDefaultPagedViewHandler.java118 final int childWidth = child.getMeasuredWidth(); in getChildBounds() local
119 final int childRight = childStart + childWidth; in getChildBounds()
125 return new ChildBounds(childWidth, childHeight, childRight, childTop); in getChildBounds()
/packages/apps/Contacts/src/com/android/contacts/widget/
DProportionalLayout.java99 final int childWidth = child.getMeasuredWidth(); in onMeasure() local
108 width = childWidth; in onMeasure()
109 height = Math.round(childWidth * mRatio); in onMeasure()
DInterpolatingLayout.java228 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/
DMatchParentShrinkingLinearLayout.java1151 final int childWidth = child.getMeasuredWidth(); in layoutVertical() local
1165 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1170 childLeft = childRight - childWidth - lp.rightMargin; in layoutVertical()
1185 childWidth, childHeight); in layoutVertical()
1273 final int childWidth = child.getMeasuredWidth(); in layoutHorizontal() local
1331 childWidth, childHeight); in layoutHorizontal()
1332 childLeft += childWidth + lp.rightMargin + in layoutHorizontal()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DLandscapePagedViewHandler.kt312 val childWidth = child.measuredWidth in getUpDirection() constant
314 val childLeft = pageCenter - childWidth / 2 in getUpDirection()
316 child.layout(childLeft, childStart, childLeft + childWidth, childBottom) in getUpDirection()
318 return ChildBounds(childHeight, childWidth, childBottom, childLeft) in getUpDirection()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java1140 final int childWidth = child.getMeasuredWidth();
1141 final int left = leftEdge + (widthAvailable - childWidth) / 2;
1142 final int right = left + childWidth;