Home
last modified time | relevance | path

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

/aosp12/frameworks/minikin/include/minikin/
H A DLayout.h69 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen) in Layout() argument
71 doLayout(str, range, bidiFlags, paint, startHyphen, endHyphen); in Layout()
80 const MinikinPaint& paint, StartHyphenEdit startHyphen,
110 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen);
117 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
123 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, Layout* layout,
128 const MinikinPaint& paint, StartHyphenEdit startHyphen,
H A DLayoutCache.h40 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen) in LayoutCacheKey() argument
55 mStartHyphen(startHyphen), in LayoutCacheKey()
137 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, F& f) { in getOrCreate() argument
138 LayoutCacheKey key(text, range, paint, dir, startHyphen, endHyphen); in getOrCreate()
140 f(LayoutPiece(text, range, dir, paint, startHyphen, endHyphen), paint); in getOrCreate()
155 std::make_unique<LayoutPiece>(text, range, dir, paint, startHyphen, endHyphen); in getOrCreate()
H A DBoundsCache.h55 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, F& f) { in getOrCreate() argument
56 LayoutCacheKey key(text, range, paint, dir, startHyphen, endHyphen); in getOrCreate()
58 LayoutPiece piece = LayoutPiece(text, range, dir, paint, startHyphen, endHyphen); in getOrCreate()
74 LayoutCache::getInstance().getOrCreate(text, range, paint, dir, startHyphen, endHyphen, ve); in getOrCreate()
H A DMeasuredText.h59 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
104 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
110 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
195 const MinikinPaint& paint, StartHyphenEdit startHyphen,
H A DMeasurement.h34 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
H A DLayoutCore.h48 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen);
/aosp12/frameworks/minikin/libs/minikin/
H A DLayout.cpp49 const MinikinPaint& paint, StartHyphenEdit startHyphen, in doLayout() argument
56 startHyphen, endHyphen, this, nullptr); in doLayout()
61 const MinikinPaint& paint, StartHyphenEdit startHyphen, in measureText() argument
67 advance += doLayoutRunCached(textBuf, runInfo.range, runInfo.isRtl, paint, 0, startHyphen, in measureText()
75 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutRunCached() argument
84 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in doLayoutRunCached()
130 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, Layout* layout, in doLayoutWord() argument
138 LayoutCache::getInstance().getOrCreate(textBuf, range, paint, isRtl, startHyphen, endHyphen, f); in doLayoutWord()
H A DMeasuredText.cpp107 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in measureHyphenPiece() argument
114 piece.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in measureHyphenPiece()
181 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in appendLayout() argument
195 range.getStart() == piece.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in appendLayout()
288 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen) { in buildLayout() argument
297 targetRange.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in buildLayout()
H A DLayoutCore.cpp249 const StartHyphenEdit startHyphen = in addToHbBuffer() local
269 if (isInsertion(startHyphen)) { in addToHbBuffer()
272 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster */); in addToHbBuffer()
289 if (startHyphen == StartHyphenEdit::NO_EDIT) { in addToHbBuffer()
343 const MinikinPaint& paint, StartHyphenEdit startHyphen, in LayoutPiece() argument
468 startHyphen, endHyphen, hbFont); in LayoutPiece()
H A DMeasurement.cpp139 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in getBounds() argument
145 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in getBounds()
H A DGreedyLineBreaker.cpp57 BreakPoint(uint32_t offset, float lineWidth, StartHyphenEdit startHyphen, in BreakPoint()
61 hyphenEdit(packHyphenEdit(startHyphen, endHyphen)) {} in BreakPoint()
/aosp12/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp62 const minikin::StartHyphenEdit startHyphen = paint->getStartHyphenEdit(); in doLayout() local
67 minikinPaint, startHyphen, endHyphen); in doLayout()
69 return mt->buildLayout(textBuf, range, contextRange, minikinPaint, startHyphen, endHyphen); in doLayout()
78 const minikin::StartHyphenEdit startHyphen = paint->getStartHyphenEdit(); in getBounds() local
82 startHyphen, endHyphen, out); in getBounds()
91 const minikin::StartHyphenEdit startHyphen = paint->getStartHyphenEdit(); in measureText() local
94 return minikin::Layout::measureText(textBuf, range, bidiFlags, minikinPaint, startHyphen, in measureText()
H A DPaint.h99 void setStartHyphenEdit(uint32_t startHyphen) { in setStartHyphenEdit() argument
101 static_cast<minikin::StartHyphenEdit>(startHyphen), in setStartHyphenEdit()
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2018 public void setStartHyphenEdit(@StartHyphenEdit int startHyphen) { in setStartHyphenEdit() argument
2019 nSetStartHyphenEdit(mNativePaint, startHyphen); in setStartHyphenEdit()