Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/text/
DLineBreakConfig.java104 public @NonNull Builder setLineBreakStyle(@LineBreakStyle int lineBreakStyle) { in setLineBreakStyle() argument
105 mLineBreakStyle = lineBreakStyle; in setLineBreakStyle()
138 public static @NonNull LineBreakConfig getLineBreakConfig(@LineBreakStyle int lineBreakStyle, in getLineBreakConfig() argument
141 return builder.setLineBreakStyle(lineBreakStyle) in getLineBreakConfig()
158 private LineBreakConfig(@LineBreakStyle int lineBreakStyle, in LineBreakConfig() argument
160 mLineBreakStyle = lineBreakStyle; in LineBreakConfig()
DMeasuredText.java496 int lineBreakStyle, in nAddStyleRun() argument
/frameworks/minikin/include/minikin/
DMeasuredText.h46 virtual LineBreakStyle lineBreakStyle() const = 0;
95 StyleRun(const Range& range, MinikinPaint&& paint, int lineBreakStyle, int lineBreakWordStyle, in StyleRun() argument
99 mLineBreakStyle(lineBreakStyle), in StyleRun()
104 LineBreakStyle lineBreakStyle() const override { in lineBreakStyle() function
148 LineBreakStyle lineBreakStyle() const override { return LineBreakStyle::None; } in lineBreakStyle() function
251 void addStyleRun(int32_t start, int32_t end, MinikinPaint&& paint, int lineBreakStyle, in addStyleRun() argument
254 lineBreakStyle, lineBreakWordStyle, isRtl)); in addStyleRun()
/frameworks/base/core/java/android/text/
DPrecomputedText.java332 int lineBreakStyle = (mLineBreakConfig != null) in hashCode() local
338 mBreakStrategy, mHyphenationFrequency, lineBreakStyle); in hashCode()
343 int lineBreakStyle = (mLineBreakConfig != null) in toString() local
360 + ", lineBreakStyle=" + lineBreakStyle in toString()
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp574 EXPECT_EQ(LineBreakStyle::Loose, mt->runs[0]->lineBreakStyle()); in TEST()
586 EXPECT_EQ(LineBreakStyle::Normal, mt->runs[0]->lineBreakStyle()); in TEST()
599 EXPECT_EQ(LineBreakStyle::Strict, mt->runs[0]->lineBreakStyle()); in TEST()
612 EXPECT_EQ(LineBreakStyle::Strict, styleRun.lineBreakStyle()); in TEST()
616 EXPECT_EQ(LineBreakStyle::None, replacementRun.lineBreakStyle()); in TEST()
DLineBreakerTestHelper.h96 virtual LineBreakStyle lineBreakStyle() const override { return LineBreakStyle::None; } in lineBreakStyle() function
/frameworks/minikin/libs/minikin/
DLineBreakerUtil.h182 nextWordBreak = breaker.followingWithLocale(locale, run.lineBreakStyle(), in updateLocaleIfNecessary()
DGreedyLineBreaker.cpp337 locale, run->lineBreakStyle(), run->lineBreakWordStyle(), range.getStart()); in process()
/frameworks/base/core/java/android/widget/
DTextView.java4301 @LineBreakConfig.LineBreakStyle int lineBreakStyle, in updateLineBreakConfigFromTextAppearance() argument
4304 if (isLineBreakStyleSpecified && mLineBreakStyle != lineBreakStyle) { in updateLineBreakConfigFromTextAppearance()
4305 mLineBreakStyle = lineBreakStyle; in updateLineBreakConfigFromTextAppearance()
4903 public void setLineBreakStyle(@LineBreakConfig.LineBreakStyle int lineBreakStyle) { in setLineBreakStyle() argument
4904 if (mLineBreakStyle != lineBreakStyle) { in setLineBreakStyle()
4905 mLineBreakStyle = lineBreakStyle; in setLineBreakStyle()
/frameworks/base/core/api/
Dcurrent.txt981 field public static final int lineBreakStyle = 16844398; // 0x101066e