Home
last modified time | relevance | path

Searched refs:PrecomputedText (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DPrecomputedTextPerfTest.java56 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_Hyphenation()
66 PrecomputedText.create(text, param); in testCreate_NoStyled_Hyphenation()
73 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_NoHyphenation()
83 PrecomputedText.create(text, param); in testCreate_NoStyled_NoHyphenation()
90 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_Hyphenation_WidthOnly()
100 PrecomputedText.create(text, param); in testCreate_NoStyled_Hyphenation_WidthOnly()
107 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_NoHyphenation_WidthOnly()
124 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_Hyphenation()
141 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_NoHyphenation()
158 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_Hyphenation_WidthOnly()
[all …]
H A DPrecomputedTextMemoryUsageTest.java65 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Latin_NoHyphenation()
72 memories[i] = PrecomputedText.create( in testMemoryUsage_Latin_NoHyphenation()
83 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Latin_Hyphenation()
90 memories[i] = PrecomputedText.create( in testMemoryUsage_Latin_Hyphenation()
101 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_CJK_NoHyphenation()
108 memories[i] = PrecomputedText.create( in testMemoryUsage_CJK_NoHyphenation()
119 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_CJK_Hyphenation()
126 memories[i] = PrecomputedText.create( in testMemoryUsage_CJK_Hyphenation()
138 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Arabic_NoHyphenation()
157 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Arabic_Hyphenation()
[all …]
H A DStaticLayoutPerfTest.java85 PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint).build(); in makeMeasured()
86 return PrecomputedText.create(text, param); in makeMeasured()
91 PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in makeMeasured()
93 return PrecomputedText.create(text, param); in makeMeasured()
203 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation()
220 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
239 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation()
256 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Balanced_NoHyphenation()
273 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Balanced_Hyphenation()
290 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_Styled_Greedy_NoHyphenation()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewPrecomputedTextPerfTest.java29 import android.text.PrecomputedText;
129 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testNewLayout_PrecomputedText()
132 final CharSequence text = PrecomputedText.create( in testNewLayout_PrecomputedText()
151 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testNewLayout_PrecomputedText_Selectable()
154 final CharSequence text = PrecomputedText.create( in testNewLayout_PrecomputedText_Selectable()
209 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testSetText_PrecomputedText()
229 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testSetText_PrecomputedText_Selectable()
292 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnMeasure_PrecomputedText()
315 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnMeasure_PrecomputedText_Selectable()
393 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnDraw_PrecomputedText()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DTextPrecomputerTest.kt21 import android.text.PrecomputedText
61 assertThat(textView.text).isInstanceOf(PrecomputedText::class.java)
71 textView.textMetricsParams = PrecomputedText.Params.Builder(PAINT).build()
/aosp14/frameworks/base/core/java/android/text/
H A DPrecomputedText.java78 public class PrecomputedText implements Spannable { class
411 public static PrecomputedText create(@NonNull CharSequence text, @NonNull Params params) { in create()
413 if (text instanceof PrecomputedText) { in create()
414 final PrecomputedText hintPct = (PrecomputedText) text; in create()
415 final PrecomputedText.Params hintParams = hintPct.getParams(); in create()
443 return new PrecomputedText(text, 0, text.length(), params, paraInfo); in create()
452 @NonNull PrecomputedText pct, @NonNull Params params, boolean computeLayout) { in createMeasuredParagraphsFromPrecomputedText()
514 private PrecomputedText(@NonNull CharSequence text, @IntRange(from = 0) int start, in PrecomputedText() method in PrecomputedText
815 return PrecomputedText.create(mText.subSequence(start, end), mParams); in subSequence()
H A DStaticLayout.java686 PrecomputedText.ParagraphInfo[] paragraphInfo = null; in generate()
688 if (source instanceof PrecomputedText) { in generate()
689 PrecomputedText precomputed = (PrecomputedText) source; in generate()
690 final @PrecomputedText.Params.CheckResultUsableResult int checkResult = in generate()
694 case PrecomputedText.Params.UNUSABLE: in generate()
696 case PrecomputedText.Params.NEED_RECOMPUTE: in generate()
697 final PrecomputedText.Params newParams = in generate()
698 new PrecomputedText.Params.Builder(paint) in generate()
704 precomputed = PrecomputedText.create(precomputed, newParams); in generate()
707 case PrecomputedText.Params.USABLE: in generate()
[all …]
H A DDynamicLayout.java712 if (text instanceof PrecomputedText) { in contentMayProtrudeFromLineTopOrBottom()
713 PrecomputedText precomputed = (PrecomputedText) text; in contentMayProtrudeFromLineTopOrBottom()
H A DTextLine.java72 private PrecomputedText mComputed;
205 if (text instanceof PrecomputedText) { in set()
208 mComputed = (PrecomputedText) text; in set()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DTextPrecomputer.kt19 import android.text.PrecomputedText
38 text?.let { PrecomputedText.create(it, textView.textMetricsParams) }
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingTextMessage.java26 import android.text.PrecomputedText;
45 private PrecomputedText mPrecomputedText = null;
75 mPrecomputedText = PrecomputedText.create(message.getText(), getTextMetricsParams()); in setMessage()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewTest.java43 import android.text.PrecomputedText;
192 PrecomputedText precomputed = in testUseDynamicLayout()
193 PrecomputedText.create(text, mTextView.getTextMetricsParams()); in testUseDynamicLayout()
217 PrecomputedText precomputed = in testUseDynamicLayout_SPANNABLE()
218 PrecomputedText.create(text, mTextView.getTextMetricsParams()); in testUseDynamicLayout_SPANNABLE()
243 PrecomputedText precomputed = in testUseDynamicLayout_EDITABLE()
244 PrecomputedText.create(text, mTextView.getTextMetricsParams()); in testUseDynamicLayout_EDITABLE()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java32 import android.text.PrecomputedText;
615 if (text instanceof PrecomputedText) { in drawTextRun()
616 final PrecomputedText pt = (PrecomputedText) text; in drawTextRun()
H A DBaseRecordingCanvas.java29 import android.text.PrecomputedText;
553 if (text instanceof PrecomputedText) { in drawTextRun()
554 final PrecomputedText pt = (PrecomputedText) text; in drawTextRun()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextView.java114 import android.text.PrecomputedText;
798 private @Nullable PrecomputedText mPrecomputed;
1965 mPrecomputed = (text instanceof PrecomputedText) ? (PrecomputedText) text : null; in setTextInternal()
5119 public @NonNull PrecomputedText.Params getTextMetricsParams() { in getTextMetricsParams()
5120 return new PrecomputedText.Params(new TextPaint(mTextPaint), in getTextMetricsParams()
5132 public void setTextMetricsParams(@NonNull PrecomputedText.Params params) { in setTextMetricsParams()
7070 PrecomputedText precomputed = in setText()
7071 (text instanceof PrecomputedText) ? (PrecomputedText) text : null; in setText()
7089 case PrecomputedText.Params.UNUSABLE: in setText()
7096 case PrecomputedText.Params.NEED_RECOMPUTE: in setText()
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes7925 android.text.PrecomputedText$ParagraphInfo
7926 android.text.PrecomputedText$Params$Builder
7927 android.text.PrecomputedText$Params
7928 android.text.PrecomputedText
13981 [Landroid.text.PrecomputedText$ParagraphInfo;
H A Dboot-image-profile.txt14990 HSPLandroid/text/PrecomputedText$ParagraphInfo;-><init>(ILandroid/text/MeasuredParagraph;)V
14992 HSPLandroid/text/PrecomputedText$Params;->getBreakStrategy()I
14993 HSPLandroid/text/PrecomputedText$Params;->getHyphenationFrequency()I
14994 HSPLandroid/text/PrecomputedText$Params;->getTextDirection()Landroid/text/TextDirectionHeuristic;
14995 HSPLandroid/text/PrecomputedText$Params;->getTextPaint()Landroid/text/TextPaint;
14996 …d/text/PrecomputedText;->createMeasuredParagraphs(Ljava/lang/CharSequence;Landroid/text/Precompute…
30723 Landroid/text/PrecomputedText$ParagraphInfo;
30724 Landroid/text/PrecomputedText$Params$Builder;
30725 Landroid/text/PrecomputedText$Params;
30726 Landroid/text/PrecomputedText;
[all …]
/aosp14/frameworks/base/config/
H A Dpreloaded-classes7956 android.text.PrecomputedText$ParagraphInfo
7957 android.text.PrecomputedText$Params$Builder
7958 android.text.PrecomputedText$Params
7959 android.text.PrecomputedText
16976 [Landroid.text.PrecomputedText$ParagraphInfo;
H A Dboot-image-profile.txt15054 HSPLandroid/text/PrecomputedText$ParagraphInfo;-><init>(ILandroid/text/MeasuredParagraph;)V
15056 HSPLandroid/text/PrecomputedText$Params;->getBreakStrategy()I
15057 HSPLandroid/text/PrecomputedText$Params;->getHyphenationFrequency()I
15058 HSPLandroid/text/PrecomputedText$Params;->getTextDirection()Landroid/text/TextDirectionHeuristic;
15059 HSPLandroid/text/PrecomputedText$Params;->getTextPaint()Landroid/text/TextPaint;
15060 …d/text/PrecomputedText;->createMeasuredParagraphs(Ljava/lang/CharSequence;Landroid/text/Precompute…
40857 Landroid/text/PrecomputedText$ParagraphInfo;
40858 Landroid/text/PrecomputedText$Params$Builder;
40859 Landroid/text/PrecomputedText$Params;
40860 Landroid/text/PrecomputedText;
[all …]
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt56544 Landroid/text/PrecomputedText;-><init>(Ljava/lang/CharSequence;IILandroid/text/PrecomputedText$Para…
56546 …d/text/PrecomputedText;->createMeasuredParagraphs(Ljava/lang/CharSequence;Landroid/text/Precompute…
56547 Landroid/text/PrecomputedText;->findParaIndex(I)I
56548 Landroid/text/PrecomputedText;->getEnd()I
56551 Landroid/text/PrecomputedText;->getParagraphInfo()[Landroid/text/PrecomputedText$ParagraphInfo;
56552 Landroid/text/PrecomputedText;->getStart()I
56554 Landroid/text/PrecomputedText;->LINE_FEED:C
56555 Landroid/text/PrecomputedText;->mEnd:I
56556 Landroid/text/PrecomputedText;->mParagraphInfo:[Landroid/text/PrecomputedText$ParagraphInfo;
56557 Landroid/text/PrecomputedText;->mParams:Landroid/text/PrecomputedText$Params;
[all …]
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt47437 public class PrecomputedText implements android.text.Spannable {
47439 …method public static android.text.PrecomputedText create(@NonNull CharSequence, @NonNull android.t…
47445 method @NonNull public android.text.PrecomputedText.Params getParams();
47458 public static final class PrecomputedText.Params {
47466 public static class PrecomputedText.Params.Builder {
47467 ctor public PrecomputedText.Params.Builder(@NonNull android.text.TextPaint);
47468 ctor public PrecomputedText.Params.Builder(@NonNull android.text.PrecomputedText.Params);
47469 method @NonNull public android.text.PrecomputedText.Params build();
47470 method public android.text.PrecomputedText.Params.Builder setBreakStrategy(int);
60295 method @NonNull public android.text.PrecomputedText.Params getTextMetricsParams();
[all …]
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...