Home
last modified time | relevance | path

Searched refs:childWidth (Results 1 – 7 of 7) 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/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTileGrid.java164 final int childWidth = imageSize + (i < remainder ? 1 : 0); in onMeasureForTiles() local
166 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in onMeasureForTiles()
201 final int childWidth = child.getMeasuredWidth(); in onLayoutForTiles() local
208 childLeft = (isRtl) ? width - childWidth : 0; in onLayoutForTiles()
215 childLeft + childWidth, childTop + childHeight); in onLayoutForTiles()
218 childLeft -= childWidth - mTilePadding; in onLayoutForTiles()
220 childLeft += childWidth + mTilePadding; in onLayoutForTiles()
/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/Launcher3/src/com/android/launcher3/
DPagedView.java732 int childWidth; in onMeasure() local
748 childWidth = getViewportWidth() - horizontalPadding in onMeasure()
757 childWidth = getViewportWidth(); in onMeasure()
761 referenceChildWidth = childWidth; in onMeasure()
765 MeasureSpec.makeMeasureSpec(childWidth, childWidthMode); in onMeasure()
816 final int childWidth = child.getMeasuredWidth(); in onLayout() local
842 childLeft += childWidth + pageGap + getChildGap(); in onLayout()
1785 int childWidth = layout.getMeasuredWidth(); in getPageNearestToCenterOfScreen() local
1786 int halfChildWidth = (childWidth / 2); in getPageNearestToCenterOfScreen()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1150 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/Launcher2/src/com/android/launcher2/
DPagedView.java662 final int childWidth = getScaledMeasuredWidth(child); in onLayout() local
672 childLeft += childWidth + mPageSpacing; in onLayout()
1481 int childWidth = getScaledMeasuredWidth(layout); in getPageNearestToCenterOfScreen() local
1482 int halfChildWidth = (childWidth / 2); in getPageNearestToCenterOfScreen()