/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 101 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_FixedText_NoStyle_Greedy_NoHyphenation() 116 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_NoHyphenation() 131 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_Hyphenation() 146 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_NoHyphenation() 161 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_Hyphenation() 176 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_Hyphenation_Fast() 191 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_Styled_Greedy_NoHyphenation() 208 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation() 226 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent() 244 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation() [all …]
|
D | StaticLayoutGetOffsetForHorizontalPerfTest.java | 63 StaticLayout layout = in testGetOffsetForHorizontal_LTR() 64 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH).build(); in testGetOffsetForHorizontal_LTR() 78 StaticLayout layout = in testGetOffsetForHorizontal_RTL() 79 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH).build(); in testGetOffsetForHorizontal_RTL() 93 StaticLayout layout = in testGetOffsetForHorizontal_BiDi() 94 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH).build(); in testGetOffsetForHorizontal_BiDi()
|
D | StaticLayoutMultithreadPerfTest.java | 70 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in startBackgroundThread() 111 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in runRandomTest()
|
D | StaticLayoutCreateDrawPerfTest.java | 138 return StaticLayout.Builder.obtain(text, 0 /*start*/, text.length() /*end*/, mTextPaint, in createLayout()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 64 private StaticLayout mDefaultLayout; 73 private StaticLayout createDefaultStaticLayout() { in createDefaultStaticLayout() 74 return new StaticLayout(LAYOUT_TEXT, mDefaultPaint, in createDefaultStaticLayout() 82 final StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder_textDirection() 84 final StaticLayout layout = builder.build(); in testBuilder_textDirection() 91 final StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder_textDirection() 94 final StaticLayout layout = builder.build(); in testBuilder_textDirection() 371 return new StaticLayout(text, paint, width, align, spacingMult, in build() 518 private StaticLayout createEllipsizeStaticLayout(CharSequence text, in createEllipsizeStaticLayout() 520 return new StaticLayout(text, 0, text.length(), in createEllipsizeStaticLayout() [all …]
|
D | StaticLayoutTextMeasuringTest.java | 55 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_zwnbsp() 66 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_devanagari() 79 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_flagEmoji()
|
D | DynamicLayoutTest.java | 127 final StaticLayout staticLayout = StaticLayout.Builder.obtain(text, 0, in testGetLineExtra_withoutLinespacing() 157 final StaticLayout staticLayout = StaticLayout.Builder.obtain(text, 0, in testGetLineExtra_withLinespacing()
|
D | LayoutTest.java | 335 final Layout layout = new StaticLayout("abc", mTextPaint, Integer.MAX_VALUE, in testGetSelectionWithASingleLineSelection() 366 final Layout layout = new StaticLayout("a\nb\nc", mTextPaint, Integer.MAX_VALUE, in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 412 final Layout layout = new StaticLayout("a\nb\nc", mTextPaint, Integer.MAX_VALUE, 455 final Layout layout = new StaticLayout("abc", mTextPaint, Integer.MAX_VALUE, in testGetSelectionPathWithASingleLineSelection() 488 final Layout layout = new StaticLayout("abc", mTextPaint, Integer.MAX_VALUE, in testGetSelection_latinTextDirection() 499 final Layout layout = new StaticLayout("غينيا", mTextPaint, Integer.MAX_VALUE, in testGetSelection_arabicTextDirection() 510 final Layout layout = new StaticLayout("abcغينيا", mTextPaint, Integer.MAX_VALUE, in testGetSelection_mixedLatinAndArabicTextDirection() 664 Layout layout = new StaticLayout(LAYOUT_TEXT, mTextPaint, mWidth, in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() 717 Layout layout = new StaticLayout(LAYOUT_TEXT, mTextPaint, mWidth, in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() 770 Layout layout = new StaticLayout(LAYOUT_TEXT, mTextPaint, mWidth, in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() [all …]
|
D | TextLayoutTest.java | 43 new StaticLayout(mString, mPaint, 200, in testStaticLayout()
|
D | LayoutBidiCursorPathTest.java | 160 final Layout layout = StaticLayout.Builder.obtain( in setupLayoutAndGetCursorPath()
|
D | TextLineTest.java | 114 StaticLayout.Builder.obtain(str, 0, str.length(), paint, Integer.MAX_VALUE) in getTextLine()
|
/frameworks/base/core/tests/coretests/src/android/text/style/ |
D | UnderlineSpanTest.java | 24 import android.text.StaticLayout; 62 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 26 import android.text.StaticLayout; 95 StaticLayout.Builder builder = StaticLayout.Builder.obtain(text, 0, text.length(), in makeSingleLayout() 136 final StaticLayout result = builder.build(); in makeSingleLayout()
|
D | SubtitleView.java | 32 import android.text.StaticLayout; 72 private StaticLayout mLayout; 224 final StaticLayout layout = mLayout; in onMeasure() 260 mLayout = StaticLayout.Builder.obtain(mText, 0, mText.length(), mTextPaint, maxWidth) in computeMeasurements() 296 final StaticLayout layout = mLayout; in onDraw()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | OtfFontFileParser.java | 26 import android.text.StaticLayout; 107 StaticLayout layout = StaticLayout.Builder.obtain( in tryToCreateTypeface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | VariableDateView.kt | 20 import android.text.StaticLayout 73 return StaticLayout.getDesiredWidth(text, paint) in getDesiredWidthForText()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewFallbackLineSpacingTest.java | 27 import android.text.StaticLayout; 116 assertTrue(layout instanceof StaticLayout); in testFallbackLineSpacing()
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 57 public class StaticLayout extends Layout { class 545 public StaticLayout build() { in build() 546 StaticLayout result = new StaticLayout(this, mIncludePad, mEllipsize != null in build() 564 /* package */ @NonNull StaticLayout buildPartialStaticLayoutForDynamicLayout( in buildPartialStaticLayoutForDynamicLayout() 565 boolean trackpadding, StaticLayout recycle) { in buildPartialStaticLayoutForDynamicLayout() 567 recycle = new StaticLayout(); in buildPartialStaticLayoutForDynamicLayout() 613 private StaticLayout() { in StaticLayout() method in StaticLayout 647 public StaticLayout(CharSequence source, TextPaint paint, in StaticLayout() method in StaticLayout 659 public StaticLayout(CharSequence source, int bufstart, int bufend, in StaticLayout() method in StaticLayout 672 public StaticLayout(CharSequence source, int bufstart, int bufend, in StaticLayout() method in StaticLayout [all …]
|
D | DynamicLayout.java | 722 StaticLayout reflowed; in reflow() 723 StaticLayout.Builder b; in reflow() 733 b = StaticLayout.Builder.obtain(text, where, where + after, getPaint(), getWidth()); in reflow() 820 ints[HYPHEN] = StaticLayout.packHyphenEdit( in reflow() 1204 return StaticLayout.unpackStartHyphenEdit(mInts.getValue(line, HYPHEN) & HYPHEN_MASK); in getStartHyphenEdit() 1212 return StaticLayout.unpackEndHyphenEdit(mInts.getValue(line, HYPHEN) & HYPHEN_MASK); in getEndHyphenEdit() 1435 private static StaticLayout sStaticLayout = null; 1436 private static StaticLayout.Builder sBuilder = null;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | TextAnimatorTest.kt | 23 import android.text.StaticLayout 47 return StaticLayout.Builder.obtain(text, 0, text.length, paint, width).build() in makeLayout()
|
D | TextInterpolatorTest.kt | 26 import android.text.StaticLayout in <lambda>() 76 return StaticLayout.Builder.obtain(text, 0, text.length, paint, width) in makeLayout()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | QuaresActivity.kt | 27 import android.text.StaticLayout 307 val textLayout = StaticLayout.Builder.obtain( in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleTileViewHelper.java | 56 import android.text.StaticLayout; 1337 StaticLayout staticLayout = buildStaticLayout(text, textSizeResId, availableWidthDp); in estimateTextHeight() 1351 private StaticLayout buildStaticLayout( in buildStaticLayout() 1361 return StaticLayout.Builder.obtain( in buildStaticLayout()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 42 import android.text.StaticLayout; 1068 return StaticLayout.Builder.obtain(transformed, 0, transformed.length(), mTextPaint, width) in makeLayout()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 14641 …android/text/Layout$Ellipsizer;->getChars(II[CI)V+]Landroid/text/Layout;Landroid/text/StaticLayout; 14655 …anvas;]Landroid/text/Layout;Landroid/text/BoringLayout;,Landroid/text/StaticLayout;]Landroid/text/… 14667 …->getLineBaseline(I)I+]Landroid/text/Layout;Landroid/text/BoringLayout;,Landroid/text/StaticLayout; 14671 …s;Z)F+]Landroid/text/Layout;Landroid/text/BoringLayout;,Landroid/text/StaticLayout;]Landroid/text/… 14673 HSPLandroid/text/Layout;->getLineForOffset(I)I+]Landroid/text/Layout;Landroid/text/StaticLayout; 14677 …/Canvas;)J+]Landroid/graphics/Canvas;missing_types]Landroid/text/Layout;Landroid/text/StaticLayout; 14871 HSPLandroid/text/StaticLayout$Builder;->-$$Nest$fgetmAddLastLineLineSpacing(Landroid/text/StaticLay… 14872 HSPLandroid/text/StaticLayout$Builder;->-$$Nest$fgetmBreakStrategy(Landroid/text/StaticLayout$Build… 14873 HSPLandroid/text/StaticLayout$Builder;->-$$Nest$fgetmEllipsize(Landroid/text/StaticLayout$Builder;)… 14874 HSPLandroid/text/StaticLayout$Builder;->-$$Nest$fgetmEllipsizedWidth(Landroid/text/StaticLayout$Bui… [all …]
|