Home
last modified time | relevance | path

Searched refs:setBreakStrategy (Results 1 – 14 of 14) 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.java64 .setHyphenationFrequency(frequency).setBreakStrategy(strategy).build(); in makeMeasured()
75 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_FixedText_NoStyle_Greedy_NoHyphenation()
90 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_RandomText_NoStyled_Greedy_NoHyphenation()
105 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_RandomText_NoStyled_Greedy_Hyphenation()
120 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_RandomText_NoStyled_Balanced_NoHyphenation()
135 .setBreakStrategy(Layout.BREAK_STRATEGY_BALANCED) in testCreate_RandomText_NoStyled_Balanced_Hyphenation()
150 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_RandomText_Styled_Greedy_NoHyphenation()
167 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation()
185 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
203 .setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE) in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation()
[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.java82 .setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY) 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.java192 public @NonNull Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in LineBreaker.Builder
/frameworks/base/core/java/android/text/
DStaticLayout.java332 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in StaticLayout.Builder
643 .setBreakStrategy(b.mBreakStrategy) in generate()
666 .setBreakStrategy(b.mBreakStrategy) in generate()
DDynamicLayout.java234 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy() method in DynamicLayout.Builder
607 .setBreakStrategy(mBreakStrategy) in reflow()
DPrecomputedText.java144 public Builder setBreakStrategy(@Layout.BreakStrategy int strategy) { in setBreakStrategy() method in PrecomputedText.Params.Builder
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DOrbitActivity.java70 cell.setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE); in configureGridCell()
/frameworks/base/core/java/android/widget/
DTextView.java4535 public void setBreakStrategy(@Layout.BreakStrategy int breakStrategy) { in setBreakStrategy() method in TextView.Drawables
9034 .setBreakStrategy(mBreakStrategy) in makeNewLayout()
9094 .setBreakStrategy(mBreakStrategy) in makeSingleLayout()
9147 .setBreakStrategy(mBreakStrategy) in makeSingleLayout()
9511 .setBreakStrategy(getBreakStrategy()) in suggestedSizeFitsInSpace()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...