Home
last modified time | relevance | path

Searched refs:lineBreakStyle (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/graphics/java/android/graphics/text/
DLineBreakConfig.java369 public @NonNull Builder setLineBreakStyle(@LineBreakStyle int lineBreakStyle) { in setLineBreakStyle() argument
370 mLineBreakStyle = lineBreakStyle; in setLineBreakStyle()
437 public static @NonNull LineBreakConfig getLineBreakConfig(@LineBreakStyle int lineBreakStyle, in getLineBreakConfig() argument
440 return builder.setLineBreakStyle(lineBreakStyle) in getLineBreakConfig()
461 public LineBreakConfig(@LineBreakStyle int lineBreakStyle, in LineBreakConfig() argument
464 mLineBreakStyle = lineBreakStyle; in LineBreakConfig()
643 final int lineBreakStyle = source.readInt();
646 return new LineBreakConfig(lineBreakStyle, lineBreakWordStyle, hyphenation);
DMeasuredText.java527 int lineBreakStyle, in nAddStyleRun() argument
/frameworks/minikin/libs/minikin/
DLineBreakerUtil.h146 const LineBreakStyle newLineBreakStyle = run.lineBreakStyle(); in update()
149 lineBreakStyle != newLineBreakStyle || in update()
153 lineBreakStyle = newLineBreakStyle; in update()
163 LineBreakStyle getCurrentLineBreakStyle() const { return lineBreakStyle; } in getCurrentLineBreakStyle()
169 LineBreakStyle lineBreakStyle = LineBreakStyle::None; variable
253 nextWordBreak = breaker.followingWithLocale(locale, run.lineBreakStyle(), lbWordStyle, in updateLocaleIfNecessary()
DGreedyLineBreaker.cpp328 targetRun->lineBreakStyle(), LineBreakWordStyle::None, in doLineBreakWithFallback()
479 nextWordBoundaryOffset = wordBreaker.followingWithLocale(locale, run->lineBreakStyle(), in process()
DOptimalLineBreaker.cpp209 run.lineBreakStyle(), LineBreakWordStyle::None, in populateDesperatePoints()
/frameworks/minikin/include/minikin/
DMeasuredText.h70 virtual LineBreakStyle lineBreakStyle() const = 0;
132 StyleRun(const Range& range, MinikinPaint&& paint, int lineBreakStyle, int lineBreakWordStyle, in StyleRun() argument
136 mLineBreakStyle(lineBreakStyle), in StyleRun()
142 LineBreakStyle lineBreakStyle() const override { in lineBreakStyle() function
193 LineBreakStyle lineBreakStyle() const override { return LineBreakStyle::None; } in lineBreakStyle() function
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp607 EXPECT_EQ(LineBreakStyle::Loose, mt->runs[0]->lineBreakStyle()); in TEST()
620 EXPECT_EQ(LineBreakStyle::Normal, mt->runs[0]->lineBreakStyle()); in TEST()
634 EXPECT_EQ(LineBreakStyle::Strict, mt->runs[0]->lineBreakStyle()); in TEST()
648 EXPECT_EQ(LineBreakStyle::Strict, styleRun.lineBreakStyle()); in TEST()
652 EXPECT_EQ(LineBreakStyle::None, replacementRun.lineBreakStyle()); in TEST()
DLineBreakerTestHelper.h104 virtual LineBreakStyle lineBreakStyle() const override { return LineBreakStyle::None; } in lineBreakStyle() function
/frameworks/base/core/java/android/view/inputmethod/
DTextAppearanceInfo.java789 public Builder setLineBreakStyle(@LineBreakConfig.LineBreakStyle int lineBreakStyle) { in setLineBreakStyle() argument
790 mLineBreakStyle = lineBreakStyle; in setLineBreakStyle()
/frameworks/base/core/java/android/widget/
DTextView.java4525 @LineBreakConfig.LineBreakStyle int lineBreakStyle, in updateLineBreakConfigFromTextAppearance() argument
4528 if (isLineBreakStyleSpecified && mLineBreakStyle != lineBreakStyle) { in updateLineBreakConfigFromTextAppearance()
4529 mLineBreakStyle = lineBreakStyle; in updateLineBreakConfigFromTextAppearance()
5325 public void setLineBreakStyle(@LineBreakConfig.LineBreakStyle int lineBreakStyle) { in setLineBreakStyle() argument
5326 if (mLineBreakStyle != lineBreakStyle) { in setLineBreakStyle()
5327 mLineBreakStyle = lineBreakStyle; in setLineBreakStyle()
/frameworks/base/core/api/
Dcurrent.txt1124 field public static final int lineBreakStyle = 16844398; // 0x101066e