Home
last modified time | relevance | path

Searched refs:fBoundaries (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp166 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(firstPosition.fBoundaries.fLeft, 0.0f)); in UNIX_ONLY_TEST()
167 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(firstPosition.fBoundaries.fTop, 0.0f)); in UNIX_ONLY_TEST()
168 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(firstPosition.fBoundaries.width(), 0.0f)); in UNIX_ONLY_TEST()
169 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(firstPosition.fBoundaries.height(), firstLine.bounds… in UNIX_ONLY_TEST()
178 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(lastPosition.fBoundaries.fLeft, lastRun.positions[la… in UNIX_ONLY_TEST()
179 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(lastPosition.fBoundaries.fTop, lastLine.bounds.fTop)… in UNIX_ONLY_TEST()
180 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(lastPosition.fBoundaries.width(), 0.0f)); in UNIX_ONLY_TEST()
181 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(lastPosition.fBoundaries.height(), lastLine.bounds.h… in UNIX_ONLY_TEST()
211 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(next.fBoundaries.fLeft, 0.0f)); in UNIX_ONLY_TEST()
212 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(next.fBoundaries.fTop, line.fBounds.fTop)); in UNIX_ONLY_TEST()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Drbbi_cache.cpp224 fBoundaries[0] = pos; in reset()
296 fTextIdx = fBoundaries[fBufIdx]; in previous()
306 if (pos < fBoundaries[fStartBufIdx] || pos > fBoundaries[fEndBufIdx]) { in seek()
309 if (pos == fBoundaries[fStartBufIdx]) { in seek()
312 fTextIdx = fBoundaries[fBufIdx]; in seek()
315 if (pos == fBoundaries[fEndBufIdx]) { in seek()
317 fTextIdx = fBoundaries[fBufIdx]; in seek()
326 if (fBoundaries[probe] > pos) { in seek()
332 U_ASSERT(fBoundaries[max] > pos); in seek()
334 fTextIdx = fBoundaries[fBufIdx]; in seek()
[all …]
Drbbi_cache.h95 fTextIdx = fBI->fPosition = fBoundaries[fBufIdx]; in next()
193 int32_t fBoundaries[CACHE_SIZE]; variable
/third_party/node/deps/icu-small/source/common/
Drbbi_cache.cpp222 fBoundaries[0] = pos; in reset()
294 fTextIdx = fBoundaries[fBufIdx]; in previous()
304 if (pos < fBoundaries[fStartBufIdx] || pos > fBoundaries[fEndBufIdx]) { in seek()
307 if (pos == fBoundaries[fStartBufIdx]) { in seek()
310 fTextIdx = fBoundaries[fBufIdx]; in seek()
313 if (pos == fBoundaries[fEndBufIdx]) { in seek()
315 fTextIdx = fBoundaries[fBufIdx]; in seek()
324 if (fBoundaries[probe] > pos) { in seek()
330 U_ASSERT(fBoundaries[max] > pos); in seek()
332 fTextIdx = fBoundaries[fBufIdx]; in seek()
[all …]
Drbbi_cache.h95 fTextIdx = fBI->fPosition = fBoundaries[fBufIdx]; in next()
193 int32_t fBoundaries[CACHE_SIZE]; variable
/third_party/icu/icu4c/source/common/
Drbbi_cache.cpp222 fBoundaries[0] = pos; in reset()
294 fTextIdx = fBoundaries[fBufIdx]; in previous()
304 if (pos < fBoundaries[fStartBufIdx] || pos > fBoundaries[fEndBufIdx]) { in seek()
307 if (pos == fBoundaries[fStartBufIdx]) { in seek()
310 fTextIdx = fBoundaries[fBufIdx]; in seek()
313 if (pos == fBoundaries[fEndBufIdx]) { in seek()
315 fTextIdx = fBoundaries[fBufIdx]; in seek()
324 if (fBoundaries[probe] > pos) { in seek()
330 U_ASSERT(fBoundaries[max] > pos); in seek()
332 fTextIdx = fBoundaries[fBufIdx]; in seek()
[all …]
Drbbi_cache.h95 fTextIdx = fBI->fPosition = fBoundaries[fBufIdx]; in next()
193 int32_t fBoundaries[CACHE_SIZE]; variable
/third_party/skia/third_party/externals/icu/source/common/
Drbbi_cache.cpp222 fBoundaries[0] = pos; in reset()
294 fTextIdx = fBoundaries[fBufIdx]; in previous()
304 if (pos < fBoundaries[fStartBufIdx] || pos > fBoundaries[fEndBufIdx]) { in seek()
307 if (pos == fBoundaries[fStartBufIdx]) { in seek()
310 fTextIdx = fBoundaries[fBufIdx]; in seek()
313 if (pos == fBoundaries[fEndBufIdx]) { in seek()
315 fTextIdx = fBoundaries[fBufIdx]; in seek()
324 if (fBoundaries[probe] > pos) { in seek()
330 U_ASSERT(fBoundaries[max] > pos); in seek()
332 fTextIdx = fBoundaries[fBufIdx]; in seek()
[all …]
Drbbi_cache.h95 fTextIdx = fBI->fPosition = fBoundaries[fBufIdx]; in next()
193 int32_t fBoundaries[CACHE_SIZE]; variable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java1297 fBoundaries[0] = pos; in reset()
1310 fTextIdx = fPosition = fBoundaries[fBufIdx]; in next()
1323 fTextIdx = fBoundaries[fBufIdx]; in previous()
1388 assert(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
1398 … if ((position < fBoundaries[fStartBufIdx] - 15) || position > (fBoundaries[fEndBufIdx] + 15)) { in populateNear()
1428 if (fBoundaries[fEndBufIdx] < position) { in populateNear()
1431 while (fBoundaries[fEndBufIdx] < position) { in populateNear()
1438 …fTextIdx = fBoundaries[fBufIdx]; // Required because populateFollowing may add extra bou… in populateNear()
1445 if (fBoundaries[fStartBufIdx] > position) { in populateNear()
1448 while (fBoundaries[fStartBufIdx] > position) { in populateNear()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRuleBasedBreakIterator.java1323 fBoundaries[0] = pos; in reset()
1336 fTextIdx = fPosition = fBoundaries[fBufIdx]; in next()
1349 fTextIdx = fBoundaries[fBufIdx]; in previous()
1414 assert(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
1424 … if ((position < fBoundaries[fStartBufIdx] - 15) || position > (fBoundaries[fEndBufIdx] + 15)) { in populateNear()
1454 if (fBoundaries[fEndBufIdx] < position) { in populateNear()
1457 while (fBoundaries[fEndBufIdx] < position) { in populateNear()
1464 …fTextIdx = fBoundaries[fBufIdx]; // Required because populateFollowing may add extra bou… in populateNear()
1471 if (fBoundaries[fStartBufIdx] > position) { in populateNear()
1474 while (fBoundaries[fStartBufIdx] > position) { in populateNear()
[all …]
/third_party/skia/experimental/sktext/editor/
DEditor.cpp51 fCursor->place(endOfText.fBoundaries); in Editor()
63 fCursor->place(position.fBoundaries); in update()
103 fCursor->place(position.fBoundaries); in moveCursor()
163 fCursor->place(position.fBoundaries); in deleteElement()
171 …tedPosition(fDefaultPositionType, SkPoint::Make(position.fBoundaries.fLeft, position.fBoundaries.f… in deleteElement()
172 fCursor->place(position.fBoundaries); in deleteElement()
196 fCursor->place(position.fBoundaries); in insertCodepoint()
246 fEditableText->select(position.fTextRange, position.fBoundaries); in onMouse()
247 position.fBoundaries.fLeft = position.fBoundaries.fRight - DEFAULT_CURSOR_WIDTH; in onMouse()
256 fCursor->place(position.fBoundaries); in onMouse()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBITest.java499 public List fBoundaries; field in RBBITest.T13512Thread
509 fBoundaries = getBoundary(fText); in run()
510 if (!fBoundaries.equals(fExpectedBoundaries)) { in run()
553 assertEquals("", t1.fExpectedBoundaries, t1.fBoundaries); in TestBug13512()
554 assertEquals("", t2.fExpectedBoundaries, t2.fBoundaries); in TestBug13512()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java498 public List fBoundaries; field in RBBITest.T13512Thread
508 fBoundaries = getBoundary(fText); in run()
509 if (!fBoundaries.equals(fExpectedBoundaries)) { in run()
552 assertEquals("", t1.fExpectedBoundaries, t1.fBoundaries); in TestBug13512()
553 assertEquals("", t2.fExpectedBoundaries, t2.fBoundaries); in TestBug13512()
/third_party/skia/experimental/sktext/src/
DText.cpp696 position.fBoundaries.fTop = line.fBounds.fTop; in findPosition()
697 position.fBoundaries.fBottom = line.fBounds.fBottom; in findPosition()
733 position.fBoundaries.fLeft = line.fBoxGlyphs[position.fGlyphRange.fStart].fLeft; in findPosition()
734 position.fBoundaries.fRight = line.fBoxGlyphs[position.fGlyphRange.fEnd].fRight; in findPosition()
840 …beginningOfText.fBoundaries = SkRect::MakeXYWH(firstGlyph.fLeft, firstGlyph.fTop, 0, firstGlyph.he… in firstPosition()
852 … endOfText.fBoundaries = SkRect::MakeXYWH(lastGlyph.fRight, lastGlyph.fTop, 0, lastGlyph.height()); in lastPosition()
/third_party/skia/experimental/sktext/include/
DText.h281 , fBoundaries(rect) { } in Position()
290 SkRect fBoundaries; member
DInterface.h147 SkRect fBoundaries; member