Home
last modified time | relevance | path

Searched refs:StaticLayout (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutPerfTest.java73 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_FixedText_NoStyle_Greedy_NoHyphenation()
88 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_NoHyphenation()
103 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_Hyphenation()
118 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_NoHyphenation()
133 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_Hyphenation()
148 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_Styled_Greedy_NoHyphenation()
165 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation()
183 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
201 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation()
218 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Balanced_NoHyphenation()
[all …]
DStaticLayoutGetOffsetForHorizontalPerfTest.java63 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()
DStaticLayoutMultithreadPerfTest.java70 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()
DStaticLayoutCreateDrawPerfTest.java138 return StaticLayout.Builder.obtain(text, 0 /*start*/, text.length() /*end*/, mTextPaint, in createLayout()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java64 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 …]
DStaticLayoutTextMeasuringTest.java55 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()
DDynamicLayoutTest.java127 final StaticLayout staticLayout = StaticLayout.Builder.obtain(text, 0, in testGetLineExtra_withoutLinespacing()
157 final StaticLayout staticLayout = StaticLayout.Builder.obtain(text, 0, in testGetLineExtra_withLinespacing()
DLayoutTest.java315 final Layout layout = new StaticLayout("abc", mTextPaint, Integer.MAX_VALUE, in testGetSelectionWithASingleLineSelection()
346 final Layout layout = new StaticLayout("a\nb\nc", mTextPaint, Integer.MAX_VALUE, in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
392 final Layout layout = new StaticLayout("a\nb\nc", mTextPaint, Integer.MAX_VALUE,
435 final Layout layout = new StaticLayout("abc", mTextPaint, Integer.MAX_VALUE, in testGetSelectionPathWithASingleLineSelection()
468 final Layout layout = new StaticLayout("abc", mTextPaint, Integer.MAX_VALUE, in testGetSelection_latinTextDirection()
479 final Layout layout = new StaticLayout("غينيا", mTextPaint, Integer.MAX_VALUE, in testGetSelection_arabicTextDirection()
490 final Layout layout = new StaticLayout("abcغينيا", mTextPaint, Integer.MAX_VALUE, in testGetSelection_mixedLatinAndArabicTextDirection()
709 Layout layout = StaticLayout.Builder.obtain( in assertPrimaryIsTrailingPrevious()
DTextLayoutTest.java43 new StaticLayout(mString, mPaint, 200, in testStaticLayout()
DLayoutBidiCursorPathTest.java160 final Layout layout = StaticLayout.Builder.obtain( in setupLayoutAndGetCursorPath()
DTextLineTest.java102 StaticLayout.Builder.obtain(str, 0, str.length(), paint, Integer.MAX_VALUE) in getTextLine()
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java24 import android.text.StaticLayout;
62 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth()
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java23 import android.text.StaticLayout;
75 StaticLayout.Builder builder = StaticLayout.Builder.obtain(text, 0, text.length(), in makeSingleLayout()
DSubtitleView.java32 import android.text.StaticLayout;
72 private StaticLayout mLayout;
223 final StaticLayout layout = mLayout; in onMeasure()
259 mLayout = StaticLayout.Builder.obtain(mText, 0, mText.length(), mTextPaint, maxWidth) in computeMeasurements()
295 final StaticLayout layout = mLayout; in onDraw()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java27 import android.text.StaticLayout;
116 assertTrue(layout instanceof StaticLayout); in testFallbackLineSpacing()
/frameworks/base/core/java/android/text/
DDynamicLayout.java584 StaticLayout reflowed; in reflow()
585 StaticLayout.Builder b; in reflow()
595 reflowed = new StaticLayout(null); in reflow()
596 b = StaticLayout.Builder.obtain(text, where, where + after, getPaint(), getWidth()); in reflow()
677 ints[HYPHEN] = StaticLayout.packHyphenEdit( in reflow()
1061 return StaticLayout.unpackStartHyphenEdit(mInts.getValue(line, HYPHEN) & HYPHEN_MASK); in getStartHyphenEdit()
1069 return StaticLayout.unpackEndHyphenEdit(mInts.getValue(line, HYPHEN) & HYPHEN_MASK); in getEndHyphenEdit()
1190 private static StaticLayout sStaticLayout = null;
1191 private static StaticLayout.Builder sBuilder = null;
DStaticLayout.java49 public class StaticLayout extends Layout { class
415 public StaticLayout build() { in build()
416 StaticLayout result = new StaticLayout(this); in build()
451 public StaticLayout(CharSequence source, TextPaint paint, in StaticLayout() method in StaticLayout
463 public StaticLayout(CharSequence source, int bufstart, int bufend, in StaticLayout() method in StaticLayout
476 public StaticLayout(CharSequence source, int bufstart, int bufend, in StaticLayout() method in StaticLayout
493 public StaticLayout(CharSequence source, int bufstart, int bufend, in StaticLayout() method in StaticLayout
553 /* package */ StaticLayout(@Nullable CharSequence text) { in StaticLayout() method in StaticLayout
561 private StaticLayout(Builder b) { in StaticLayout() method in StaticLayout
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt27 import android.text.StaticLayout
306 val textLayout = StaticLayout.Builder.obtain( in onDraw()
/frameworks/base/core/java/android/widget/
DSwitch.java40 import android.text.StaticLayout;
985 return StaticLayout.Builder.obtain(transformed, 0, transformed.length(), mTextPaint, width) in makeLayout()
DTextView.java100 import android.text.StaticLayout;
9037 StaticLayout.Builder builder = StaticLayout.Builder.obtain(mHint, 0, in makeNewLayout()
9150 StaticLayout.Builder builder = StaticLayout.Builder.obtain(mTransformed, in makeSingleLayout()
9514 final StaticLayout.Builder layoutBuilder = StaticLayout.Builder.obtain( in suggestedSizeFitsInSpace()
9527 final StaticLayout layout = layoutBuilder.build(); in suggestedSizeFitsInSpace()
DEditor.java70 import android.text.StaticLayout;
864 final StaticLayout l = StaticLayout.Builder.obtain(text, 0, text.length(), tv.getPaint(), in chooseSize()
/frameworks/base/config/
Dboot-image-profile.txt15048 HSPLandroid/text/StaticLayout$Builder;->access$1000(Landroid/text/StaticLayout$Builder;)F
15049 HSPLandroid/text/StaticLayout$Builder;->access$1100(Landroid/text/StaticLayout$Builder;)I
15050 HSPLandroid/text/StaticLayout$Builder;->access$1500(Landroid/text/StaticLayout$Builder;)I
15051 HSPLandroid/text/StaticLayout$Builder;->access$1600(Landroid/text/StaticLayout$Builder;)I
15052 HSPLandroid/text/StaticLayout$Builder;->access$1700(Landroid/text/StaticLayout$Builder;)I
15053 HSPLandroid/text/StaticLayout$Builder;->access$1800(Landroid/text/StaticLayout$Builder;)Z
15054 HSPLandroid/text/StaticLayout$Builder;->access$1900(Landroid/text/StaticLayout$Builder;)Z
15055 HSPLandroid/text/StaticLayout$Builder;->access$2000(Landroid/text/StaticLayout$Builder;)Landroid/gr…
15056 HSPLandroid/text/StaticLayout$Builder;->access$2100(Landroid/text/StaticLayout$Builder;)I
15057 HSPLandroid/text/StaticLayout$Builder;->access$2200(Landroid/text/StaticLayout$Builder;)I
[all …]
Dpreloaded-classes3485 android.text.StaticLayout$Builder
3486 android.text.StaticLayout$LineBreaks
3487 android.text.StaticLayout
Dhiddenapi-greylist-max-o.txt75023 Landroid/text/DynamicLayout;->sBuilder:Landroid/text/StaticLayout$Builder;
75743 Landroid/text/StaticLayout$Builder;-><init>()V
75744 Landroid/text/StaticLayout$Builder;->finish()V
75745 Landroid/text/StaticLayout$Builder;->mAddLastLineLineSpacing:Z
75746 Landroid/text/StaticLayout$Builder;->mAlignment:Landroid/text/Layout$Alignment;
75747 Landroid/text/StaticLayout$Builder;->mBreakStrategy:I
75748 Landroid/text/StaticLayout$Builder;->mEllipsize:Landroid/text/TextUtils$TruncateAt;
75749 Landroid/text/StaticLayout$Builder;->mEllipsizedWidth:I
75750 Landroid/text/StaticLayout$Builder;->mEnd:I
75751 Landroid/text/StaticLayout$Builder;->mFallbackLineSpacing:Z
[all …]
/frameworks/base/api/
Dcurrent.txt46161 public class StaticLayout extends android.text.Layout {
46162 …ctor @Deprecated public StaticLayout(CharSequence, android.text.TextPaint, int, android.text.Layou…
46163 …ctor @Deprecated public StaticLayout(CharSequence, int, int, android.text.TextPaint, int, android.…
46164 …ctor @Deprecated public StaticLayout(CharSequence, int, int, android.text.TextPaint, int, android.…
46178 public static final class StaticLayout.Builder {
46179 method @NonNull public android.text.StaticLayout build();
46180 …method @NonNull public static android.text.StaticLayout.Builder obtain(@NonNull CharSequence, @Int…
46181 …method @NonNull public android.text.StaticLayout.Builder setAlignment(@NonNull android.text.Layout…
46182 method @NonNull public android.text.StaticLayout.Builder setBreakStrategy(int);
46183 …method @NonNull public android.text.StaticLayout.Builder setEllipsize(@Nullable android.text.TextU…
[all …]

12