Home
last modified time | relevance | path

Searched refs:kUpstream (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/modules/skparagraph/include/
DDartTypes.h11 enum Affinity { kUpstream, kDownstream }; enumerator
/third_party/skia/modules/skparagraph/include/
DDartTypes.h15 enum Affinity { kUpstream, kDownstream }; enumerator
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp21 .value("Upstream", para::Affinity::kUpstream) in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/skparagraph/src/
DTextLine.cpp1194 result = { SkToS32(utf16Index + 1), kUpstream }; in getGlyphPositionAtCoordinate()
1204 result = {SkToS32(utf16Index), kUpstream}; in getGlyphPositionAtCoordinate()
1241 result = { SkToS32(utf16Index), kUpstream }; in getGlyphPositionAtCoordinate()
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphImpl.cpp743 result = { SkToS32(run->fClusterIndexes[pos + size - 1]) + 1, kUpstream }; in getGlyphPositionAtCoordinate()
788 result = { SkToS32(codepointIndex + 1), kUpstream }; in getGlyphPositionAtCoordinate()
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2191 f1Pos.position, f1Pos.affinity == Affinity::kUpstream ? "up" : "down", in onDrawContent()
2192 f2Pos.position, f2Pos.affinity == Affinity::kUpstream ? "up" : "down", in onDrawContent()
2193 iPos.position, iPos.affinity == Affinity::kUpstream ? "up" : "down"); in onDrawContent()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp6165 REPORTER_ASSERT(reporter, res1.position == 1 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6197 REPORTER_ASSERT(reporter, res1.position == 4 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6243 REPORTER_ASSERT(reporter, res1.position == 4 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6247 REPORTER_ASSERT(reporter, res3.position == 10 && res3.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6283 …orter, res.affinity == (res.position == SkToInt(str.size()) ? Affinity::kUpstream : Affinity::kDow… in UNIX_ONLY_TEST()
6340 … REPORTER_ASSERT(reporter, pos.affinity == (i == 0 ? Affinity::kUpstream : Affinity::kDownstream)); in UNIX_ONLY_TEST()