Home
last modified time | relevance | path

Searched refs:DynamicLayout (Results 1 – 10 of 10) 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 …]
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.java47 public class DynamicLayout extends Layout { class
279 public DynamicLayout build() { in build()
280 final DynamicLayout result = new DynamicLayout(this); in build()
310 public DynamicLayout(@NonNull CharSequence base, in DynamicLayout() method in DynamicLayout
323 public DynamicLayout(@NonNull CharSequence base, @NonNull CharSequence display, in DynamicLayout() method in DynamicLayout
336 public DynamicLayout(@NonNull CharSequence base, @NonNull CharSequence display, in DynamicLayout() method in DynamicLayout
359 public DynamicLayout(@NonNull CharSequence base, @NonNull CharSequence display, in DynamicLayout() method in DynamicLayout
389 private DynamicLayout(@NonNull Builder b) { in DynamicLayout() method in DynamicLayout
1083 public ChangeWatcher(DynamicLayout layout) { in ChangeWatcher()
1088 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.java117 final DynamicLayout layout = new DynamicLayout(text, new TextPaint(), 1000,
/frameworks/base/core/java/android/widget/
DEditor.java59 import android.text.DynamicLayout;
1833 if (layout instanceof DynamicLayout) { in drawHardwareAccelerated()
1838 DynamicLayout dynamicLayout = (DynamicLayout) layout; in drawHardwareAccelerated()
1848 if (blockIndex != DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
1867 && blockIndex != DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
1888 if (blockIndex == DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
1913 final boolean blockIsInvalid = blockIndex == DynamicLayout.INVALID_BLOCK_INDEX; in drawHardwareAcceleratedInner()
2021 if (mTextRenderNodes != null && layout instanceof DynamicLayout) { in invalidateTextDisplayList()
2025 DynamicLayout dynamicLayout = (DynamicLayout) layout; in invalidateTextDisplayList()
2040 if (blockIndex != DynamicLayout.INVALID_BLOCK_INDEX) { in invalidateTextDisplayList()
DTextView.java85 import android.text.DynamicLayout;
9086 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(mText, mTextPaint, in makeSingleLayout()
9561 } else if (cap && linecount > mMaximum && (layout instanceof DynamicLayout in getDesiredHeight()
/frameworks/base/config/
Dpreloaded-classes3435 android.text.DynamicLayout$Builder
3436 android.text.DynamicLayout$ChangeWatcher
3437 android.text.DynamicLayout
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...