Home
last modified time | relevance | path

Searched refs:setBreakStrategy (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextPerfTest.java57 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_NoStyled_Hyphenation()
74 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_NoStyled_NoHyphenation()
91 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_NoStyled_Hyphenation_WidthOnly()
108 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_NoStyled_NoHyphenation_WidthOnly()
125 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_Styled_Hyphenation()
142 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_Styled_NoHyphenation()
159 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_Styled_Hyphenation_WidthOnly()
176 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_Styled_NoHyphenation_WidthOnly()
DPrecomputedTextMemoryUsageTest.java66 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testMemoryUsage_Latin_NoHyphenation()
84 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testMemoryUsage_Latin_Hyphenation()
102 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testMemoryUsage_CJK_NoHyphenation()
120 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testMemoryUsage_CJK_Hyphenation()
139 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testMemoryUsage_Arabic_NoHyphenation()
158 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testMemoryUsage_Arabic_Hyphenation()
175 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testMemoryUsage_Emoji()
DStaticLayoutPerfTest.java92 .setHyphenationFrequency(frequency).setBreakStrategy(strategy).build(); in makeMeasured()
103 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_FixedText_NoStyle_Greedy_NoHyphenation()
118 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_RandomText_NoStyled_Greedy_NoHyphenation()
133 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_RandomText_NoStyled_Greedy_Hyphenation()
148 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_RandomText_NoStyled_Balanced_NoHyphenation()
163 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_RandomText_NoStyled_Balanced_Hyphenation()
178 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_RandomText_NoStyled_Balanced_Hyphenation_Fast()
193 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_RandomText_Styled_Greedy_NoHyphenation()
210 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation()
228 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
[all …]
DStaticLayoutMultithreadPerfTest.java113 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in runRandomTest()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java92 textView.setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED); in testNewLayout_RandomText()
112 textView.setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED); in testNewLayout_RandomText_Selectable()
131 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED).build(); in testNewLayout_PrecomputedText()
153 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED).build(); in testNewLayout_PrecomputedText_Selectable()
176 textView.setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED); in testSetText_RandomText()
194 textView.setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED); in testSetText_RandomText_Selectable()
211 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED).build(); in testSetText_PrecomputedText()
231 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED).build(); in testSetText_PrecomputedText_Selectable()
253 textView.setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED); in testOnMeasure_RandomText()
274 textView.setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED); in testOnMeasure_RandomText_Selectable()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java76 setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY); in ImageFloatingTextView()
102 .setBreakStrategy(getBreakStrategy()) in makeSingleLayout()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java745 .setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY) in testLocaleSpanAffectsHyphenation()
756 .setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY) in testLocaleSpanAffectsHyphenation()
775 .setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY) in testLocaleSpanAffectsHyphenation()
790 .setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY) in testLocaleSpanAffectsHyphenation()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java207 public @NonNull Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in LineBreaker.Builder
/frameworks/base/core/java/android/text/
DStaticLayout.java344 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in StaticLayout.Builder
824 .setBreakStrategy(b.mBreakStrategy) in generate()
848 .setBreakStrategy(b.mBreakStrategy) in generate()
DDynamicLayout.java244 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in DynamicLayout.Builder
744 .setBreakStrategy(mBreakStrategy) in reflow()
DPrecomputedText.java154 public Builder setBreakStrategy(@Layout.BreakStrategy int strategy) { in setBreakStrategy() method in PrecomputedText.Params.Builder
DLayout.java3979 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in Layout.Builder
4218 .setBreakStrategy(mBreakStrategy) in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegate.java477 mMobileSummaryText.setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE); in setMobileDataLayout()
529 mSecondaryMobileSummaryText.setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE); in setMobileDataLayout()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java109 mTitle.setBreakStrategy(LineBreaker.BREAK_STRATEGY_BALANCED); in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java1367 .setBreakStrategy(LineBreaker.BREAK_STRATEGY_SIMPLE) in buildStaticLayout()
/frameworks/base/core/api/
Dlint-baseline.txt1505 UnflaggedApi: android.text.Layout.Builder#setBreakStrategy(int):
1506 … New API must be flagged with @FlaggedApi: method android.text.Layout.Builder.setBreakStrategy(int)
Dcurrent.txt18111 method @NonNull public android.graphics.text.LineBreaker.Builder setBreakStrategy(int);
47565 method @NonNull public android.text.DynamicLayout.Builder setBreakStrategy(int);
47822 method @NonNull public android.text.Layout.Builder setBreakStrategy(int);
47919 method public android.text.PrecomputedText.Params.Builder setBreakStrategy(int);
48097 method @NonNull public android.text.StaticLayout.Builder setBreakStrategy(int);
60991 method public void setBreakStrategy(int);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt7892 HSPLandroid/graphics/text/LineBreaker$Builder;->setBreakStrategy(I)Landroid/graphics/text/LineBreak…
14894 HSPLandroid/text/StaticLayout$Builder;->setBreakStrategy(I)Landroid/text/StaticLayout$Builder;
20626 HSPLandroid/widget/TextView;->setBreakStrategy(I)V
/frameworks/base/config/
Dboot-image-profile.txt7895 HSPLandroid/graphics/text/LineBreaker$Builder;->setBreakStrategy(I)Landroid/graphics/text/LineBreak…
14958 HSPLandroid/text/StaticLayout$Builder;->setBreakStrategy(I)Landroid/text/StaticLayout$Builder;
20690 HSPLandroid/widget/TextView;->setBreakStrategy(I)V