Home
last modified time | relevance | path

Searched refs:getDesiredWidth (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DScaleSpan.java54 float desiredWidth = StaticLayout.getDesiredWidth(text.toString(), start, end, textPaint); in getSize()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextSizeHelper.java102 final float width = Layout.getDesiredWidth(text, mMeasurePaint); in adjustTextSize()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java340 public int getDesiredWidth() { in getDesiredWidth() method in FolderPagedView
342 (getPageAt(0).getDesiredWidth() + getPaddingLeft() + getPaddingRight()) : 0; in getDesiredWidth()
DFolder.java636 int footerWidth = mContent.getDesiredWidth() in animateOpen()
1092 return Math.max(mContent.getDesiredWidth(), MIN_CONTENT_DIMEN); in getContentAreaWidth()
1096 return getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); in getFolderWidth()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java296 int desiredWidth = getDesiredWidth(); in onMeasure()
335 private int getDesiredWidth() { in getDesiredWidth() method in DotsPageIndicator
DChartGridView.java174 (int) Math.ceil(Layout.getDesiredWidth(text, paint))) in makeLabel()
DChartSweepView.java752 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java296 int desiredWidth = getDesiredWidth(); in onMeasure()
335 private int getDesiredWidth() { in getDesiredWidth() method in DotsPageIndicator
DChartGridView.java175 (int) Math.ceil(Layout.getDesiredWidth(text, paint))) in makeLabel()
DChartSweepView.java753 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java2538 public int getDesiredWidth() { in getDesiredWidth() method in CellLayout