Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java268 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint()); in getTextAppropriateLayoutParams()
/frameworks/base/core/java/android/text/
DLayout.java123 public static float getDesiredWidth(CharSequence source, in getDesiredWidth() method in Layout
125 return getDesiredWidth(source, 0, source.length(), paint); in getDesiredWidth()
132 public static float getDesiredWidth(CharSequence source, in getDesiredWidth() method in Layout
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java608 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)) : 0, in makeLayout()
/frameworks/base/core/java/android/widget/
DSwitch.java892 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)), in makeLayout()
DTextView.java6888 des = (int) Math.ceil(Layout.getDesiredWidth(mTransformed, mTextPaint)); in onMeasure()
6918 hintDes = (int) Math.ceil(Layout.getDesiredWidth(mHint, mTextPaint)); in onMeasure()
/frameworks/base/api/
Dcurrent.txt32151 method public static float getDesiredWidth(java.lang.CharSequence, android.text.TextPaint);
32152 …method public static float getDesiredWidth(java.lang.CharSequence, int, int, android.text.TextPain…
Dsystem-current.txt34443 method public static float getDesiredWidth(java.lang.CharSequence, android.text.TextPaint);
34444 …method public static float getDesiredWidth(java.lang.CharSequence, int, int, android.text.TextPain…