/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 422 @NonNull TextDirectionHeuristic textDir, in buildForBidi() argument 425 mt.resetAndAnalyzeBidi(text, start, end, textDir); in buildForBidi() 449 @NonNull TextDirectionHeuristic textDir, in buildForMeasurement() argument 452 mt.resetAndAnalyzeBidi(text, start, end, textDir); in buildForMeasurement() 537 @NonNull TextDirectionHeuristic textDir, in buildForStaticLayout() argument 543 return buildForStaticLayoutInternal(paint, lineBreakConfig, text, start, end, textDir, in buildForStaticLayout() 575 @NonNull TextDirectionHeuristic textDir, in buildForStaticLayoutTest() argument 579 return buildForStaticLayoutInternal(paint, lineBreakConfig, text, start, end, textDir, in buildForStaticLayoutTest() 589 @NonNull TextDirectionHeuristic textDir, in buildForStaticLayoutInternal() argument 597 mt.resetAndAnalyzeBidi(text, start, end, textDir); in buildForStaticLayoutInternal() [all …]
|
D | BoringLayout.java | 382 TextDirectionHeuristic textDir, in BoringLayout() argument 401 super(text, paint, width, align, textDir, spacingMult, spacingAdd, includePad, in BoringLayout() 539 TextDirectionHeuristic textDir, Metrics metrics) { in isBoring() argument 540 return isBoring(text, paint, textDir, false /* useFallbackLineSpacing */, metrics); in isBoring() 559 @NonNull TextDirectionHeuristic textDir, boolean useFallbackLineSpacing, in isBoring() argument 561 return isBoring(text, paint, textDir, useFallbackLineSpacing, null, metrics); in isBoring() 568 @NonNull TextDirectionHeuristic textDir, boolean useFallbackLineSpacing, in isBoring() argument 574 if (textDir != null && textDir.isRtl(text, 0, textLength)) { in isBoring()
|
D | PrecomputedText.java | 183 public Builder setTextDirection(@NonNull TextDirectionHeuristic textDir) { in setTextDirection() argument 184 mTextDir = textDir; in setTextDirection() 216 @NonNull TextDirectionHeuristic textDir, in Params() argument 220 mTextDir = textDir; in Params() 300 @NonNull TextDirectionHeuristic textDir, @Layout.BreakStrategy int strategy, in checkResultUsable() argument 305 return mTextDir == textDir ? USABLE : NEED_RECOMPUTE; in checkResultUsable() 615 @IntRange(from = 0) int end, @NonNull TextDirectionHeuristic textDir, in checkResultUsable() argument 621 return mParams.checkResultUsable(paint, textDir, strategy, frequency, lbConfig); in checkResultUsable()
|
D | StaticLayout.java | 225 public Builder setTextDirection(@NonNull TextDirectionHeuristic textDir) { in setTextDirection() argument 226 mTextDir = textDir; in setTextDirection() 691 Alignment align, TextDirectionHeuristic textDir, in StaticLayout() argument 697 .setTextDirection(textDir) in StaticLayout() 759 TextDirectionHeuristic textDir = b.mTextDir; in generate() local 840 precomputed.checkResultUsable(bufStart, bufEnd, textDir, paint, in generate() 850 .setTextDirection(textDir) in generate() 865 b.mLineBreakConfig, textDir, b.mBreakStrategy, b.mHyphenationFrequency); in generate() 1096 MeasuredParagraph.buildForBidi(source, bufEnd, bufEnd, textDir, null); in generate()
|
D | DynamicLayout.java | 149 public Builder setTextDirection(@NonNull TextDirectionHeuristic textDir) { in setTextDirection() argument 150 mTextDir = textDir; in setTextDirection() 484 @NonNull Alignment align, @NonNull TextDirectionHeuristic textDir, in DynamicLayout() argument 493 paint, width, align, textDir, spacingmult, spacingadd, includepad, in DynamicLayout() local 502 .setTextDirection(textDir) in DynamicLayout()
|
D | Layout.java | 258 TextDirectionHeuristic textDir) { in getDesiredWidth() argument 259 return getDesiredWidthWithLimit(source, start, end, paint, textDir, Float.MAX_VALUE, false); in getDesiredWidth() 269 TextPaint paint, TextDirectionHeuristic textDir, float upperLimit, in getDesiredWidthWithLimit() argument 281 float w = measurePara(paint, source, i, next, textDir, useBoundsForWidth); in getDesiredWidthWithLimit() 349 TextDirectionHeuristic textDir, in Layout() argument 387 mTextDir = textDir; in Layout() 3222 TextDirectionHeuristic textDir, boolean useBoundsForWidth) { 3226 mt = MeasuredParagraph.buildForBidi(text, start, end, textDir, mt);
|
D | TextUtils.java | 1408 TextDirectionHeuristic textDir, String ellipsis) { in ellipsize() argument 1414 mt = MeasuredParagraph.buildForMeasurement(paint, text, 0, text.length(), textDir, mt); in ellipsize() 1605 float avail, String oneMore, String more, TextDirectionHeuristic textDir) { in commaEllipsize() argument 1611 mt = MeasuredParagraph.buildForMeasurement(p, text, 0, len, textDir, mt); in commaEllipsize() 1652 p, format, 0, format.length(), textDir, tempMt); in commaEllipsize()
|