Home
last modified time | relevance | path

Searched refs:layoutWidth (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DSetupWizardIllustration.java116 final int layoutWidth = right - left; in onLayout() local
123 mViewBounds.set(0, 0, layoutWidth, layoutHeight); in onLayout()
125 mScale = layoutWidth / (float) intrinsicWidth; in onLayout()
126 intrinsicWidth = layoutWidth; in onLayout()
136 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), in onLayout()
/packages/apps/Dialer/src/com/android/dialer/widget/
DOverlappingPaneLayout.java386 int layoutWidth = 0; in onMeasure() local
390 layoutWidth = maxLayoutWidth = widthSize - getPaddingLeft() - getPaddingRight(); in onMeasure()
453 if (widthMode == MeasureSpec.AT_MOST && childWidth > layoutWidth) { in onMeasure()
454 layoutWidth = Math.min(childWidth, maxLayoutWidth); in onMeasure()
550 final int measuredWidth = layoutWidth + getPaddingLeft() + getPaddingRight(); in onMeasure()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java91 private float getWidthTransformRatio(int width, int layoutWidth) { in getWidthTransformRatio() argument
93 return (float) layoutWidth / (float) width; in getWidthTransformRatio()