Home
last modified time | relevance | path

Searched refs:BreakStrategy (Results 1 – 14 of 14) sorted by relevance

/frameworks/minikin/libs/minikin/
DLineBreaker.cpp24 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, in breakIntoLines()
28 if (strategy == BreakStrategy::Greedy || textBuffer.hasChar(CHAR_TAB)) { in breakIntoLines()
DOptimalLineBreaker.h27 const LineWidth& lineWidthLimits, BreakStrategy strategy,
DOptimalLineBreaker.cpp279 BreakStrategy strategy, bool justified);
324 BreakStrategy strategy, bool justified) { in computeBreaks()
371 } else if (atEnd && strategy != BreakStrategy::Balanced) { in computeBreaks()
408 const LineWidth& lineWidth, BreakStrategy strategy, in breakLineOptimal()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java95 public @interface BreakStrategy {} annotation in LineBreaker
181 private @BreakStrategy int mBreakStrategy = BREAK_STRATEGY_SIMPLE;
192 public @NonNull Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy()
457 private LineBreaker(@BreakStrategy int breakStrategy, in LineBreaker()
494 private static native long nInit(@BreakStrategy int breakStrategy, in nInit()
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h76 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, in StaticLayoutNative()
96 inline BreakStrategy getStrategy() const { return mStrategy; } in getStrategy()
101 const BreakStrategy mStrategy;
DLineBreaker.h38 enum class BreakStrategy : uint8_t { enum
118 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy,
/frameworks/base/core/java/android/text/
DPrecomputedText.java93 private final @Layout.BreakStrategy int mBreakStrategy;
109 private @Layout.BreakStrategy int mBreakStrategy = Layout.BREAK_STRATEGY_HIGH_QUALITY;
144 public Builder setBreakStrategy(@Layout.BreakStrategy int strategy) { in setBreakStrategy()
192 @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) { in Params()
222 public @Layout.BreakStrategy int getBreakStrategy() { in getBreakStrategy()
263 @NonNull TextDirectionHeuristic textDir, @Layout.BreakStrategy int strategy, in checkResultUsable()
525 @NonNull TextPaint paint, @Layout.BreakStrategy int strategy, in checkResultUsable()
DDynamicLayout.java234 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy()
364 boolean includepad, @BreakStrategy int breakStrategy, in DynamicLayout()
DStaticLayout.java332 public Builder setBreakStrategy(@BreakStrategy int breakStrategy) { in setBreakStrategy()
DLayout.java60 public @interface BreakStrategy {} annotation in Layout
/frameworks/minikin/tests/unittest/
DOptimalLineBreakerTest.cpp67 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, in doLineBreak()
72 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, in doLineBreak()
91 BreakStrategy strategy, HyphenationFrequency frequency, in doLineBreak()
103 constexpr BreakStrategy HIGH_QUALITY = BreakStrategy::HighQuality; in TEST_F()
104 constexpr BreakStrategy BALANCED = BreakStrategy::Balanced; in TEST_F()
839 constexpr BreakStrategy HIGH_QUALITY = BreakStrategy::HighQuality; in TEST_F()
891 constexpr BreakStrategy HIGH_QUALITY = BreakStrategy::HighQuality; in TEST_F()
931 constexpr BreakStrategy HIGH_QUALITY = BreakStrategy::HighQuality; in TEST_F()
978 constexpr BreakStrategy HIGH_QUALITY = BreakStrategy::HighQuality; in TEST_F()
1026 constexpr BreakStrategy HIGH_QUALITY = BreakStrategy::HighQuality; in TEST_F()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/text/
DLineBreaker_Delegate.java26 import android.text.Layout.BreakStrategy;
63 @BreakStrategy int breakStrategy, in nInit()
/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp60 static_cast<minikin::BreakStrategy>(breakStrategy), in nInit()
/frameworks/base/core/java/android/widget/
DTextView.java4662 public void setBreakStrategy(@Layout.BreakStrategy int breakStrategy) { in setBreakStrategy()
4683 @Layout.BreakStrategy