Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java650 final float initialLeftTextWidth = Layout.getDesiredWidth(text, 0, initialPosition, paint); in estimateOptimalSqueezedButtonTextWidth()
652 Layout.getDesiredWidth(text, initialPosition, length, paint); in estimateOptimalSqueezedButtonTextWidth()
667 final float newLeftTextWidth = Layout.getDesiredWidth(text, 0, newPosition, paint); in estimateOptimalSqueezedButtonTextWidth()
669 Layout.getDesiredWidth(text, newPosition, length, paint); in estimateOptimalSqueezedButtonTextWidth()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java283 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), in getTextAppropriateLayoutParams()
/frameworks/base/core/java/android/text/
DLayout.java153 public static float getDesiredWidth(CharSequence source, in getDesiredWidth() method in Layout
155 return getDesiredWidth(source, 0, source.length(), paint); in getDesiredWidth()
166 public static float getDesiredWidth(CharSequence source, int start, int end, TextPaint paint) { in getDesiredWidth() method in Layout
167 return getDesiredWidth(source, start, end, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR); in getDesiredWidth()
176 public static float getDesiredWidth(CharSequence source, int start, int end, TextPaint paint, in getDesiredWidth() method in Layout
/frameworks/base/core/java/android/widget/
DSwitch.java983 int width = (int) Math.ceil(Layout.getDesiredWidth(transformed, 0, in makeLayout()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29684 method public static float getDesiredWidth(java.lang.CharSequence, android.text.TextPaint);
29685 …method public static float getDesiredWidth(java.lang.CharSequence, int, int, android.text.TextPain…
/frameworks/base/non-updatable-api/
Dcurrent.txt47184 method public static float getDesiredWidth(CharSequence, android.text.TextPaint);
47185 method public static float getDesiredWidth(CharSequence, int, int, android.text.TextPaint);
/frameworks/base/api/
Dcurrent.txt47328 method public static float getDesiredWidth(CharSequence, android.text.TextPaint);
47329 method public static float getDesiredWidth(CharSequence, int, int, android.text.TextPaint);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt70186 Landroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;IILandroid/text/TextPaint;Landroid/t…