/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineJustificationTest.kt | 66 val originalWidth = Layout.getDesiredWidth(line, PAINT) in justifyTest_IntrCharacter_Latin() 83 val originalWidth = Layout.getDesiredWidth(line, PAINT) in justifyTest_IntrCharacter_Japanese() 99 val originalWidth = Layout.getDesiredWidth(line, PAINT) in justifyTest_IntrWord_Latin() 116 val originalWidth = Layout.getDesiredWidth(line, PAINT) in justifyTest_IntrWord_Japanese()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | VariableDateView.kt | 73 return StaticLayout.getDesiredWidth(text, paint) in getDesiredWidthForText()
|
D | SmartReplyView.java | 550 final float initialLeftTextWidth = Layout.getDesiredWidth(text, 0, initialPosition, paint); in estimateOptimalSqueezedButtonTextWidth() 552 Layout.getDesiredWidth(text, initialPosition, length, paint); in estimateOptimalSqueezedButtonTextWidth() 568 final float newLeftTextWidth = Layout.getDesiredWidth(text, 0, newPosition, paint); in estimateOptimalSqueezedButtonTextWidth() 570 Layout.getDesiredWidth(text, newPosition, length, paint); in estimateOptimalSqueezedButtonTextWidth()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | OtfFontFileParser.java | 106 int width = (int) Math.ceil(Layout.getDesiredWidth(testTextToDraw, p)); in tryToCreateTypeface()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | TextAnimatorTest.kt | 46 val width = ceil(Layout.getDesiredWidth(text, 0, text.length, paint)).toInt() in makeLayout()
|
D | TextInterpolatorTest.kt | 75 val width = ceil(Layout.getDesiredWidth(text, 0, text.length, paint)).toInt() in makeLayout()
|
/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 | 234 public static float getDesiredWidth(CharSequence source, in getDesiredWidth() method in Layout 236 return getDesiredWidth(source, 0, source.length(), paint); in getDesiredWidth() 247 public static float getDesiredWidth(CharSequence source, int start, int end, TextPaint paint) { in getDesiredWidth() method in Layout 248 return getDesiredWidth(source, start, end, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR); in getDesiredWidth() 257 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 | 1066 int width = (int) Math.ceil(Layout.getDesiredWidth(transformed, 0, in makeLayout()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/boot/ |
D | boot-image-profile.txt | 14659 HSPLandroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;IILandroid/text/TextPaint;)F 14660 HSPLandroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;Landroid/text/TextPaint;)F
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 29684 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/config/ |
D | boot-image-profile.txt | 14723 HSPLandroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;IILandroid/text/TextPaint;)F 14724 HSPLandroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;Landroid/text/TextPaint;)F
|
/frameworks/base/core/api/ |
D | current.txt | 47731 method public static float getDesiredWidth(CharSequence, android.text.TextPaint); 47732 method public static float getDesiredWidth(CharSequence, int, int, android.text.TextPaint);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 55520 Landroid/text/Layout;->getDesiredWidth(Ljava/lang/CharSequence;IILandroid/text/TextPaint;Landroid/t…
|