Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactTileAdapter.java594 final int childWidth = child.getMeasuredWidth();
595 child.layout(childLeft, 0, childLeft + childWidth, child.getMeasuredHeight());
596 childLeft += childWidth;
642 final int childWidth = imageSize + child.getPaddingRight()
647 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DFloatingChildLayout.java146 final int childWidth = child.getMeasuredWidth(); in onLayout() local
151 final int childLeft = (getWidth() - childWidth) / 2; in onLayout()
156 final int childLeft = target.centerX() - (childWidth / 2); in onLayout()
161 final int clampedChildLeft = clampDimension(childLeft, childWidth, getWidth()); in onLayout()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DProportionalLayout.java99 final int childWidth = child.getMeasuredWidth(); in onMeasure() local
108 width = childWidth; in onMeasure()
109 height = Math.round(childWidth * mRatio); in onMeasure()
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java228 int childWidth = params.resolveWidth(parentWidth); in onMeasure() local
230 switch (childWidth) { in onMeasure()
236 childWidth, MeasureSpec.EXACTLY); in onMeasure()
/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()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DHorizontalScrollView.java244 int childWidth = child.getWidth(); in canScroll() local
245 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll()