Home
last modified time | relevance | path

Searched refs:useBoundsForWidth (Results 1 – 17 of 17) sorted by relevance

/frameworks/minikin/libs/minikin/
DLineBreaker.cpp27 const TabStops& tabStops, bool useBoundsForWidth) { in breakIntoLines() argument
30 frequency != HyphenationFrequency::None, useBoundsForWidth); in breakIntoLines()
33 useBoundsForWidth); in breakIntoLines()
DOptimalLineBreaker.cpp352 BreakStrategy strategy, bool justified, bool useBoundsForWidth);
364 bool useBoundsForWidth);
371 bool useBoundsForWidth) { in finishBreaksOptimal() argument
382 if (useBoundsForWidth) { in finishBreaksOptimal()
418 bool useBoundsForWidth) { in computeBreaks() argument
462 if (useBoundsForWidth && 0 <= delta && delta < deltaMax) { in computeBreaks()
518 return finishBreaksOptimal(textBuf, measured, breaksData, candidates, useBoundsForWidth); in computeBreaks()
526 bool useBoundsForWidth) { in breakLineOptimal() argument
536 justified, useBoundsForWidth); in breakLineOptimal()
558 strategy, justified, useBoundsForWidth); in breakLineOptimal()
DGreedyLineBreaker.h30 bool enableHyphenation, bool useBoundsForWidth);
DOptimalLineBreaker.h29 bool useBoundsForWidth);
DGreedyLineBreaker.cpp43 bool enableHyphenation, bool useBoundsForWidth) in GreedyLineBreaker() argument
50 mUseBoundsForWidth(useBoundsForWidth) {} in GreedyLineBreaker()
553 bool enableHyphenation, bool useBoundsForWidth) { in breakLineGreedy() argument
558 useBoundsForWidth); in breakLineGreedy()
579 useBoundsForWidth); in breakLineGreedy()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java265 public @NonNull Builder setUseBoundsForWidth(boolean useBoundsForWidth) { in setUseBoundsForWidth() argument
266 mUseBoundsForWidth = useBoundsForWidth; in setUseBoundsForWidth()
504 @Nullable int[] indents, boolean useBoundsForWidth) { in LineBreaker() argument
506 justify == JUSTIFICATION_MODE_INTER_WORD, indents, useBoundsForWidth); in LineBreaker()
513 mUseBoundsForWidth = useBoundsForWidth; in LineBreaker()
602 @Nullable int[] indents, boolean useBoundsForWidth); in nInit() argument
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h77 std::vector<float>&& indents, bool useBoundsForWidth) in StaticLayoutNative() argument
82 mUseBoundsForWidth(useBoundsForWidth) {} in StaticLayoutNative()
DLineBreaker.h123 const TabStops& tabStops, bool useBoundsForWidth);
/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp55 jboolean isJustified, jintArray indents, jboolean useBoundsForWidth) { in nInit() argument
59 jintArrayToFloatVector(env, indents), useBoundsForWidth)); in nInit()
/frameworks/base/core/java/android/text/
DClientFlags.java47 public static boolean useBoundsForWidth() { in useBoundsForWidth() method in ClientFlags
DTextFlags.java74 Flags.useBoundsForWidth(),
DBoringLayout.java203 boolean useFallbackLineSpacing, boolean useBoundsForWidth, in replaceOrMake() argument
366 boolean useBoundsForWidth, in BoringLayout() argument
373 LineBreakConfig.NONE, metrics, useBoundsForWidth, in BoringLayout()
397 boolean useBoundsForWidth, in BoringLayout() argument
404 lineBreakConfig, useBoundsForWidth, shiftDrawingOffsetForStartOverhang, in BoringLayout()
DLayout.java270 boolean useBoundsForWidth) { in getDesiredWidthWithLimit() argument
281 float w = measurePara(paint, source, i, next, textDir, useBoundsForWidth); in getDesiredWidthWithLimit()
363 boolean useBoundsForWidth, in Layout() argument
399 mUseBoundsForWidth = useBoundsForWidth; in Layout()
3222 TextDirectionHeuristic textDir, boolean useBoundsForWidth) {
3262 return margin + Math.abs(tl.metrics(null, null, useBoundsForWidth, null));
4114 public Builder setUseBoundsForWidth(boolean useBoundsForWidth) { in setUseBoundsForWidth() argument
4115 mUseBoundsForWidth = useBoundsForWidth; in setUseBoundsForWidth()
DDynamicLayout.java316 public Builder setUseBoundsForWidth(boolean useBoundsForWidth) { in setUseBoundsForWidth() argument
317 mUseBoundsForWidth = useBoundsForWidth; in setUseBoundsForWidth()
DStaticLayout.java453 public Builder setUseBoundsForWidth(boolean useBoundsForWidth) { in setUseBoundsForWidth() argument
454 mUseBoundsForWidth = useBoundsForWidth; in setUseBoundsForWidth()
/frameworks/base/core/java/android/widget/
DTextView.java1662 mUseBoundsForWidth = ClientFlags.useBoundsForWidth();
4940 public void setUseBoundsForWidth(boolean useBoundsForWidth) { in setUseBoundsForWidth() argument
4941 if (mUseBoundsForWidth != useBoundsForWidth) { in setUseBoundsForWidth()
4942 mUseBoundsForWidth = useBoundsForWidth; in setUseBoundsForWidth()
11162 private static int desired(Layout layout, boolean useBoundsForWidth) {
11180 if (useBoundsForWidth) {
/frameworks/base/core/api/
Dcurrent.txt1811 …m.android.text.flags.use_bounds_for_width") public static final int useBoundsForWidth = 16844440; …