Home
last modified time | relevance | path

Searched refs:getDesiredWidth (Results 1 – 12 of 12) 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()
DTextSizeHelper.kt93 val width = Layout.getDesiredWidth(text, mMeasurePaint) in adjustTextSize()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java335 public int getDesiredWidth() { in getDesiredWidth() method in FolderPagedView
337 (getPageAt(0).getDesiredWidth() + getPaddingLeft() + getPaddingRight()) : 0; in getDesiredWidth()
DFolder.java579 int footerWidth = mContent.getDesiredWidth() in animateOpen()
1010 return Math.max(mContent.getDesiredWidth(), MIN_CONTENT_DIMEN); in getContentAreaWidth()
1014 return getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); in getFolderWidth()
/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.java174 (int) Math.ceil(Layout.getDesiredWidth(text, paint))) in makeLabel()
DChartSweepView.java752 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/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/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java2555 public int getDesiredWidth() { in getDesiredWidth() method in CellLayout