Searched refs:getDesiredWidth (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 645 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/ |
D | IconMenuItemView.java | 283 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), in getTextAppropriateLayoutParams()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 153 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/ |
D | Switch.java | 983 int width = (int) Math.ceil(Layout.getDesiredWidth(transformed, 0, in makeLayout()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |