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.java384 public int getDesiredWidth() { in getDesiredWidth() method in FolderPagedView
386 (getPageAt(0).getDesiredWidth() + getPaddingLeft() + getPaddingRight()) : 0; in getDesiredWidth()
DFolder.java534 int footerWidth = mContent.getDesiredWidth() in animateOpen()
979 return Math.max(mContent.getDesiredWidth(), MIN_CONTENT_DIMEN); in getContentAreaWidth()
983 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.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