Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java186 final float newCharWidth = Layout.getDesiredWidth("\u2007", paint); in onMeasure()
193 final float decimalSeparatorWidth = Layout.getDesiredWidth( in onMeasure()
195 final float minusExtraWidth = Layout.getDesiredWidth( in onMeasure()
197 final float ellipsisExtraWidth = Layout.getDesiredWidth(KeyMaps.ELLIPSIS, paint) in onMeasure()
606 final int width = (int) Layout.getDesiredWidth(getText(), getPaint());
DCalculatorText.java205 if (Layout.getDesiredWidth(text, mTempPaint) > mWidthConstraint) { in getVariableTextSize()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolder.java490 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); in animateOpen()
561 int footerWidth = mContent.getDesiredWidth() in animateOpen()
996 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); in centerAboutIcon()
1059 return Math.max(mContent.getDesiredWidth(), MIN_CONTENT_DIMEN); in getContentAreaWidth()
DFolderPagedView.java361 public int getDesiredWidth() { in getDesiredWidth() method in FolderPagedView
363 (getPageAt(0).getDesiredWidth() + getPaddingLeft() + getPaddingRight()) : 0; in getDesiredWidth()
DCellLayout.java2778 public int getDesiredWidth() { in getDesiredWidth() method in CellLayout
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java174 (int) Math.ceil(Layout.getDesiredWidth(text, paint)), in makeLabel()
DDotsPageIndicator.java294 int desiredWidth = getDesiredWidth(); in onMeasure()
333 private int getDesiredWidth() { in getDesiredWidth() method in DotsPageIndicator
DChartSweepView.java749 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java797 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); in centerAboutIcon()
869 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); in onMeasure()
873 int contentWidthSpec = MeasureSpec.makeMeasureSpec(mContent.getDesiredWidth(), in onMeasure()
DCellLayout.java3122 public int getDesiredWidth() { in getDesiredWidth() method in CellLayout