Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java59 private StaticLayout mDefaultLayout;
68 private StaticLayout createDefaultStaticLayout() { in createDefaultStaticLayout()
69 return new StaticLayout(LAYOUT_TEXT, mDefaultPaint, in createDefaultStaticLayout()
77 final StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
79 final StaticLayout layout = builder.build(); in testBuilder()
86 final StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
89 final StaticLayout layout = builder.build(); in testBuilder()
339 return new StaticLayout(text, paint, width, align, spacingMult, in build()
472 private StaticLayout createEllipsizeStaticLayout(CharSequence text, in createEllipsizeStaticLayout()
474 return new StaticLayout(text, 0, text.length(), in createEllipsizeStaticLayout()
[all …]
DStaticLayoutTextMeasuringTest.java54 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_zwnbsp()
65 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_devanagari()
78 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_flagEmoji()
DStaticLayoutLineBreakingTest.java101 private static StaticLayout getStaticLayout(CharSequence source, int width) { in getStaticLayout()
102 return new StaticLayout(source, sTextPaint, width, ALIGN, SPACE_MULTI, SPACE_ADD, false); in getStaticLayout()
110 StaticLayout staticLayout = getStaticLayout(source, width); in getBreaks()
119 private static void debugLayout(CharSequence source, StaticLayout staticLayout) { in debugLayout()
138 StaticLayout staticLayout = getStaticLayout(source, width); in layout()
164 StaticLayout staticLayout = new StaticLayout(source, 0, source.length(), sTextPaint, WIDTH, in layoutMaxLines()
DTextLayoutTest.java40 new StaticLayout(mString, mPaint, 200, in testStaticLayout()
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java26 import android.text.StaticLayout;
61 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth()
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java23 import android.text.StaticLayout;
78 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 = new StaticLayout( in computeMeasurements()
292 final StaticLayout layout = mLayout; in onDraw()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextViewAutoSizeHelper.java33 import android.text.StaticLayout;
685 final StaticLayout layout = Build.VERSION.SDK_INT >= 23 in suggestedSizeFitsInSpace()
705 private StaticLayout createStaticLayoutForMeasuring(CharSequence text, in createStaticLayoutForMeasuring()
713 final StaticLayout.Builder layoutBuilder = StaticLayout.Builder.obtain( in createStaticLayoutForMeasuring()
729 private StaticLayout createStaticLayoutForMeasuringPre23(CharSequence text, in createStaticLayoutForMeasuringPre23()
754 return new StaticLayout(text, mTempTextPaint, availableWidth, in createStaticLayoutForMeasuringPre23()
DSwitchCompat.java38 import android.text.StaticLayout;
874 return new StaticLayout(transformed, mTextPaint, in makeLayout()
/frameworks/base/core/java/android/text/
DDynamicLayout.java87 StaticLayout.BREAK_STRATEGY_SIMPLE, StaticLayout.HYPHENATION_FREQUENCY_NONE, in DynamicLayout()
282 StaticLayout reflowed; in reflow()
283 StaticLayout.Builder b; in reflow()
293 reflowed = new StaticLayout(null); in reflow()
294 b = StaticLayout.Builder.obtain(text, where, where + after, getPaint(), getWidth()); in reflow()
843 private static StaticLayout sStaticLayout = null;
844 private static StaticLayout.Builder sBuilder = null;
DStaticLayout.java47 public class StaticLayout extends Layout { class
398 public StaticLayout build() {
399 StaticLayout result = new StaticLayout(this);
444 public StaticLayout(CharSequence source, TextPaint paint,
455 public StaticLayout(CharSequence source, TextPaint paint,
463 public StaticLayout(CharSequence source, int bufstart, int bufend,
475 public StaticLayout(CharSequence source, int bufstart, int bufend,
484 public StaticLayout(CharSequence source, int bufstart, int bufend,
498 public StaticLayout(CharSequence source, int bufstart, int bufend,
550 /* package */ StaticLayout(CharSequence text) {
[all …]
DHyphenator.java60 new Hyphenator(StaticLayout.nLoadHyphenator(
147 long nativePtr = StaticLayout.nLoadHyphenator( in loadHyphenator()
DMeasuredText.java42 private StaticLayout.Builder mBuilder;
101 StaticLayout.Builder builder) { in setPara()
/frameworks/layoutlib/bridge/src/android/text/
DLineBreaker.java20 import android.text.StaticLayout.LineBreaks;
DGreedyLineBreaker.java21 import android.text.StaticLayout.LineBreaks;
DStaticLayout_Delegate.java14 import android.text.StaticLayout.LineBreaks;
DOptimizingLineBreaker.java21 import android.text.StaticLayout.LineBreaks;
/frameworks/base/core/java/android/widget/
DSwitch.java37 import android.text.StaticLayout;
897 return new StaticLayout(transformed, mTextPaint, width, in makeLayout()
DTextView.java89 import android.text.StaticLayout;
7923 StaticLayout.Builder builder = StaticLayout.Builder.obtain(mHint, 0, in makeNewLayout()
8015 StaticLayout.Builder builder = StaticLayout.Builder.obtain(mTransformed, in makeSingleLayout()
8373 final StaticLayout.Builder layoutBuilder = StaticLayout.Builder.obtain( in suggestedSizeFitsInSpace()
8385 final StaticLayout layout = layoutBuilder.build(); in suggestedSizeFitsInSpace()
DEditor.java63 import android.text.StaticLayout;
764 Layout l = new StaticLayout(text, tv.getPaint(), defaultWidthInPixels, in chooseSize()
/frameworks/base/config/
Dboot-image-profile.txt6802 HPLandroid/text/StaticLayout$Builder;->-wrap0(Landroid/text/StaticLayout$Builder;)V
6803 HPLandroid/text/StaticLayout$Builder;->setIndents([I[I)Landroid/text/StaticLayout$Builder;
6804 HPLandroid/text/StaticLayout;->-wrap6(J[I)V
6805 HPLandroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;IILandroid/text/TextPaint;ILandroid/t…
6806 HPLandroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;IILandroid/text/TextPaint;ILandroid/t…
6807 HPLandroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;IILandroid/text/TextPaint;ILandroid/t…
6808 HPLandroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/tex…
30936 …java/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;Landroid/text/StaticLayout$Builder;)V
31061 HSPLandroid/text/StaticLayout$Builder;->-wrap1(Landroid/text/StaticLayout$Builder;Landroid/os/Local…
31062 HSPLandroid/text/StaticLayout$Builder;-><init>()V
[all …]
Dpreloaded-classes2088 android.text.StaticLayout
2089 android.text.StaticLayout$Builder
2090 android.text.StaticLayout$LineBreaks
Dcompiled-classes-phone4068 android.text.StaticLayout
4069 android.text.StaticLayout$Builder
4070 android.text.StaticLayout$LineBreaks
/frameworks/base/api/
Dcurrent.txt41610 public class StaticLayout extends android.text.Layout {
41611 …ctor public StaticLayout(java.lang.CharSequence, android.text.TextPaint, int, android.text.Layout.…
41612 …ctor public StaticLayout(java.lang.CharSequence, int, int, android.text.TextPaint, int, android.te…
41613 …ctor public StaticLayout(java.lang.CharSequence, int, int, android.text.TextPaint, int, android.te…
41627 public static final class StaticLayout.Builder {
41628 method public android.text.StaticLayout build();
41629 …method public static android.text.StaticLayout.Builder obtain(java.lang.CharSequence, int, int, an…
41630 method public android.text.StaticLayout.Builder setAlignment(android.text.Layout.Alignment);
41631 method public android.text.StaticLayout.Builder setBreakStrategy(int);
41632 method public android.text.StaticLayout.Builder setEllipsize(android.text.TextUtils.TruncateAt);
[all …]
Dtest-current.txt41886 public class StaticLayout extends android.text.Layout {
41887 …ctor public StaticLayout(java.lang.CharSequence, android.text.TextPaint, int, android.text.Layout.…
41888 …ctor public StaticLayout(java.lang.CharSequence, int, int, android.text.TextPaint, int, android.te…
41889 …ctor public StaticLayout(java.lang.CharSequence, int, int, android.text.TextPaint, int, android.te…
41903 public static final class StaticLayout.Builder {
41904 method public android.text.StaticLayout build();
41905 …method public static android.text.StaticLayout.Builder obtain(java.lang.CharSequence, int, int, an…
41906 method public android.text.StaticLayout.Builder setAlignment(android.text.Layout.Alignment);
41907 method public android.text.StaticLayout.Builder setBreakStrategy(int);
41908 method public android.text.StaticLayout.Builder setEllipsize(android.text.TextUtils.TruncateAt);
[all …]

12