Searched refs:kDownstream (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/modules/skparagraph/include/ |
D | DartTypes.h | 15 enum Affinity { kUpstream, kDownstream }; enumerator 69 PositionWithAffinity() : position(0), affinity(kDownstream) {} in PositionWithAffinity()
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | DartTypes.h | 11 enum Affinity { kUpstream, kDownstream }; enumerator
|
/third_party/skia/modules/canvaskit/ |
D | paragraph_bindings_gen.cpp | 22 .value("Downstream", para::Affinity::kDownstream); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 1161 return { SkToS32(utf16Index) , kDownstream }; in getGlyphPositionAtCoordinate() 1164 PositionWithAffinity result(0, Affinity::kDownstream); in getGlyphPositionAtCoordinate() 1192 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate() 1206 result = {SkToS32(utf16Index), kDownstream}; in getGlyphPositionAtCoordinate() 1238 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate()
|
D | ParagraphImpl.cpp | 756 return {0, Affinity::kDownstream}; in getGlyphPositionAtCoordinate() 778 return {0, Affinity::kDownstream}; in getGlyphPositionAtCoordinate()
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 716 PositionWithAffinity result(0, Affinity::kDownstream); in getGlyphPositionAtCoordinate() 736 result = { SkToS32(run->fClusterIndexes[pos]), kDownstream }; in getGlyphPositionAtCoordinate() 786 result = { SkToS32(codepointIndex), kDownstream }; in getGlyphPositionAtCoordinate()
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 3417 … SkDebugf("res1: %d %s\n", res1.position, res1.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent() 3418 … SkDebugf("res2: %d %s\n", res2.position, res2.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent() 3419 … SkDebugf("res3: %d %s\n", res3.position, res3.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent() 3525 …tCoordinate(20,2)=%d %s\n", result.position, result.affinity == Affinity::kDownstream ? "D" : "U"); in onDrawContent() 3595 auto p = pos.position + (pos.affinity == Affinity::kDownstream ? 1 : 0); in onDrawContent() 3599 pos.affinity == Affinity::kDownstream ? "D" : "U", in onDrawContent()
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 5144 REPORTER_ASSERT(reporter, pos.affinity == Affinity::kDownstream && pos.position == 4); in UNIX_ONLY_TEST() 6169 REPORTER_ASSERT(reporter, res2.position == 2 && res2.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST() 6173 REPORTER_ASSERT(reporter, res3.position == 3 && res3.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST() 6213 REPORTER_ASSERT(reporter, res2.position == 0 && res2.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST() 6245 REPORTER_ASSERT(reporter, res2.position == 5 && res2.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST() 6283 …s.affinity == (res.position == SkToInt(str.size()) ? Affinity::kUpstream : Affinity::kDownstream)); in UNIX_ONLY_TEST() 6340 … REPORTER_ASSERT(reporter, pos.affinity == (i == 0 ? Affinity::kUpstream : Affinity::kDownstream)); in UNIX_ONLY_TEST() 6494 REPORTER_ASSERT(reporter, result.position == 4 && result.affinity == Affinity::kDownstream); in UNIX_ONLY_TEST()
|