Searched refs:getDesiredWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 268 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint()); in getTextAppropriateLayoutParams()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 123 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/ |
D | SwitchCompat.java | 608 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)) : 0, in makeLayout()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 892 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)), in makeLayout()
|
D | TextView.java | 6888 des = (int) Math.ceil(Layout.getDesiredWidth(mTransformed, mTextPaint)); in onMeasure() 6918 hintDes = (int) Math.ceil(Layout.getDesiredWidth(mHint, mTextPaint)); in onMeasure()
|
/frameworks/base/api/ |
D | current.txt | 32151 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…
|
D | system-current.txt | 34443 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…
|