Home
last modified time | relevance | path

Searched refs:DynamicLayout (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutTest.java48 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_en()
74 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan()
103 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_thai()
134 final DynamicLayout dynamicLayout = new DynamicLayout(text, in testGetLineExtra_withoutLinespacing()
165 final DynamicLayout dynamicLayout = new DynamicLayout(text, in testGetLineExtra_withLinespacing()
182 final DynamicLayout layout = new DynamicLayout("", new TextPaint(), 10 /*width*/, in testGetLineExtra_withNegativeValue()
189 final DynamicLayout layout = new DynamicLayout("", new TextPaint(), 10 /*width*/, in testGetLineExtra_withParamGreaterThanLineCount()
202 final DynamicLayout layout = new DynamicLayout(spannable, new TextPaint(), WIDTH, in testReflow_afterSpannableEdit()
246 DynamicLayout layout = DynamicLayout.Builder in testFallbackLineSpacing()
260 layout = DynamicLayout.Builder in testFallbackLineSpacing()
[all …]
DDynamicLayoutOffsetMappingTest.java45 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping()
62 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_deletion()
90 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_insertion()
111 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_replace()
129 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_blockBeforeTextChanged_deletion()
152 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_blockBeforeTextChanged_insertion()
173 final DynamicLayout layout = DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_blockBeforeTextChanged_replace()
190 DynamicLayout.Builder.obtain(spannable, sTextPaint, WIDTH) in textWithOffsetMapping_onlyCallOnTextChanged_notCrash()
DDynamicLayoutBlocksTest.java42 private DynamicLayout dl = new DynamicLayout("", new TextPaint(), 0, ALIGN_NORMAL, 0, 0, false);
43 private static final int ___ = DynamicLayout.INVALID_BLOCK_INDEX;
101 ids[i] = DynamicLayout.INVALID_BLOCK_INDEX; in assertState()
DTextLayoutTest.java50 new DynamicLayout(mString, mPaint, 200, in testDynamicLayoutTest()
/frameworks/base/core/java/android/text/
DDynamicLayout.java56 public class DynamicLayout extends Layout { class
397 public DynamicLayout build() { in build()
398 final DynamicLayout result = new DynamicLayout(this); in build()
432 public DynamicLayout(@NonNull CharSequence base, in DynamicLayout() method in DynamicLayout
445 public DynamicLayout(@NonNull CharSequence base, @NonNull CharSequence display, in DynamicLayout() method in DynamicLayout
458 public DynamicLayout(@NonNull CharSequence base, @NonNull CharSequence display, in DynamicLayout() method in DynamicLayout
481 public DynamicLayout(@NonNull CharSequence base, @NonNull CharSequence display, in DynamicLayout() method in DynamicLayout
518 private DynamicLayout(@NonNull Builder b) { in DynamicLayout() method in DynamicLayout
1226 public ChangeWatcher(DynamicLayout layout) { in ChangeWatcher()
1231 DynamicLayout ml = mLayout.get(); in reflow()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java24 import android.text.DynamicLayout;
118 assertTrue(layout instanceof DynamicLayout); in testFallbackLineSpacing()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DDynamicLayoutPerfTest.java118 final DynamicLayout layout = new DynamicLayout(text, new TextPaint(), 1000,
/frameworks/base/core/java/android/widget/
DEditor.java66 import android.text.DynamicLayout;
2186 if (layout instanceof DynamicLayout) { in drawHardwareAccelerated()
2191 DynamicLayout dynamicLayout = (DynamicLayout) layout; in drawHardwareAccelerated()
2201 if (blockIndex != DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
2220 && blockIndex != DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
2242 if (blockIndex == DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
2272 final boolean blockIsInvalid = blockIndex == DynamicLayout.INVALID_BLOCK_INDEX; in drawHardwareAcceleratedInner()
2380 if (mTextRenderNodes != null && layout instanceof DynamicLayout) { in invalidateTextDisplayList()
2395 DynamicLayout dynamicLayout = (DynamicLayout) layout; in invalidateTextDisplayList()
2410 if (blockIndex != DynamicLayout.INVALID_BLOCK_INDEX) { in invalidateTextDisplayList()
/frameworks/base/config/
Ddirty-image-objects895 Landroid/text/DynamicLayout$Builder;.sPool:Landroid/util/Pools$SynchronizedPool;.mPool:[Ljava/lang/…
896 Landroid/text/DynamicLayout; 238
897 Landroid/text/DynamicLayout$ChangeWatcher; 238
899 Landroid/text/DynamicLayout$Builder;.sPool:Landroid/util/Pools$SynchronizedPool; 238
Dboot-image-profile.txt14632 HSPLandroid/text/DynamicLayout$Builder;->obtain(Ljava/lang/CharSequence;Landroid/text/TextPaint;I)L…
14633 HSPLandroid/text/DynamicLayout$ChangeWatcher;->afterTextChanged(Landroid/text/Editable;)V
14634 HSPLandroid/text/DynamicLayout$ChangeWatcher;->beforeTextChanged(Ljava/lang/CharSequence;III)V
14635 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onSpanAdded(Landroid/text/Spannable;Ljava/lang/Objec…
14636 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onSpanChanged(Landroid/text/Spannable;Ljava/lang/Obj…
14637 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onSpanRemoved(Landroid/text/Spannable;Ljava/lang/Obj…
14638 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onTextChanged(Ljava/lang/CharSequence;III)V
14639 HSPLandroid/text/DynamicLayout;-><init>(Landroid/text/DynamicLayout$Builder;)V
14640 HSPLandroid/text/DynamicLayout;->addBlockAtOffset(I)V
14641 HSPLandroid/text/DynamicLayout;->contentMayProtrudeFromLineTopOrBottom(Ljava/lang/CharSequence;II)Z
[all …]
Dpreloaded-classes8059 android.text.DynamicLayout$Builder
8060 android.text.DynamicLayout$ChangeWatcher
8061 android.text.DynamicLayout-IA
8062 android.text.DynamicLayout
17403 [Landroid.text.DynamicLayout$ChangeWatcher;
/frameworks/base/core/api/
Dlint-baseline.txt1495 UnflaggedApi: android.text.DynamicLayout.Builder#setLineBreakConfig(android.graphics.text.LineBreak…
1496 …New API must be flagged with @FlaggedApi: method android.text.DynamicLayout.Builder.setLineBreakCo…
1497 UnflaggedApi: android.text.DynamicLayout.Builder#setUseBoundsForWidth(boolean):
1498 …New API must be flagged with @FlaggedApi: method android.text.DynamicLayout.Builder.setUseBoundsFo…
Dcurrent.txt47544 public class DynamicLayout extends android.text.Layout {
47545 …ctor @Deprecated public DynamicLayout(@NonNull CharSequence, @NonNull android.text.TextPaint, @Int…
47546 …ctor @Deprecated public DynamicLayout(@NonNull CharSequence, @NonNull CharSequence, @NonNull andro…
47547 …ctor @Deprecated public DynamicLayout(@NonNull CharSequence, @NonNull CharSequence, @NonNull andro…
47561 public static final class DynamicLayout.Builder {
47562 method @NonNull public android.text.DynamicLayout build();
47563 …method @NonNull public static android.text.DynamicLayout.Builder obtain(@NonNull CharSequence, @No…
47564 …method @NonNull public android.text.DynamicLayout.Builder setAlignment(@NonNull android.text.Layou…
47565 method @NonNull public android.text.DynamicLayout.Builder setBreakStrategy(int);
47566 method @NonNull public android.text.DynamicLayout.Builder setDisplayText(@NonNull CharSequence);
[all …]
/frameworks/base/boot/
Dboot-image-profile.txt14568 HSPLandroid/text/DynamicLayout$Builder;->obtain(Ljava/lang/CharSequence;Landroid/text/TextPaint;I)L…
14569 HSPLandroid/text/DynamicLayout$ChangeWatcher;->afterTextChanged(Landroid/text/Editable;)V
14570 HSPLandroid/text/DynamicLayout$ChangeWatcher;->beforeTextChanged(Ljava/lang/CharSequence;III)V
14571 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onSpanAdded(Landroid/text/Spannable;Ljava/lang/Objec…
14572 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onSpanChanged(Landroid/text/Spannable;Ljava/lang/Obj…
14573 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onSpanRemoved(Landroid/text/Spannable;Ljava/lang/Obj…
14574 HSPLandroid/text/DynamicLayout$ChangeWatcher;->onTextChanged(Ljava/lang/CharSequence;III)V
14575 HSPLandroid/text/DynamicLayout;-><init>(Landroid/text/DynamicLayout$Builder;)V
14576 HSPLandroid/text/DynamicLayout;->addBlockAtOffset(I)V
14577 HSPLandroid/text/DynamicLayout;->contentMayProtrudeFromLineTopOrBottom(Ljava/lang/CharSequence;II)Z
[all …]
Dpreloaded-classes8028 android.text.DynamicLayout$Builder
8029 android.text.DynamicLayout$ChangeWatcher
8030 android.text.DynamicLayout-IA
8031 android.text.DynamicLayout
14377 [Landroid.text.DynamicLayout$ChangeWatcher;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55275 Landroid/text/DynamicLayout$Builder;-><init>()V
55276 Landroid/text/DynamicLayout$Builder;->mAlignment:Landroid/text/Layout$Alignment;
55277 Landroid/text/DynamicLayout$Builder;->mBase:Ljava/lang/CharSequence;
55278 Landroid/text/DynamicLayout$Builder;->mBreakStrategy:I
55279 Landroid/text/DynamicLayout$Builder;->mDisplay:Ljava/lang/CharSequence;
55280 Landroid/text/DynamicLayout$Builder;->mEllipsize:Landroid/text/TextUtils$TruncateAt;
55281 Landroid/text/DynamicLayout$Builder;->mEllipsizedWidth:I
55282 Landroid/text/DynamicLayout$Builder;->mFallbackLineSpacing:Z
55283 Landroid/text/DynamicLayout$Builder;->mFontMetricsInt:Landroid/graphics/Paint$FontMetricsInt;
55284 Landroid/text/DynamicLayout$Builder;->mHyphenationFrequency:I
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29564 public class DynamicLayout extends android.text.Layout {
29565 …ctor public DynamicLayout(java.lang.CharSequence, android.text.TextPaint, int, android.text.Layout…
29566 …ctor public DynamicLayout(java.lang.CharSequence, java.lang.CharSequence, android.text.TextPaint, …
29567 …ctor public DynamicLayout(java.lang.CharSequence, java.lang.CharSequence, android.text.TextPaint, …