Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java645 final float initialLeftTextWidth = Layout.getDesiredWidth(text, 0, initialPosition, paint); in estimateOptimalSqueezedButtonTextWidth()
647 Layout.getDesiredWidth(text, initialPosition, length, paint); in estimateOptimalSqueezedButtonTextWidth()
662 final float newLeftTextWidth = Layout.getDesiredWidth(text, 0, newPosition, paint); in estimateOptimalSqueezedButtonTextWidth()
664 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/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...