Home
last modified time | relevance | path

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

/third_party/skia/modules/skparagraph/include/
DDartTypes.h16 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.cpp1550 result = { SkToS32(utf16Index + 1), kUpstream}; in getGlyphPositionAtCoordinate()
1562 result = {SkToS32(utf16Index), kUpstream}; in getGlyphPositionAtCoordinate()
1614 result = { SkToS32(utf16Index), kUpstream }; in getGlyphPositionAtCoordinate()
1624 result = { SkToS32(utf16Index), kUpstream }; in getGlyphPositionAtCoordinate()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp6223 REPORTER_ASSERT(reporter, res1.position == 1 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6257 std::make_pair(494, PositionWithAffinity(1, Affinity::kUpstream)), in UNIX_ONLY_TEST()
6259 std::make_pair(485, PositionWithAffinity(2, Affinity::kUpstream)), in UNIX_ONLY_TEST()
6261 std::make_pair(475, PositionWithAffinity(3, Affinity::kUpstream)), in UNIX_ONLY_TEST()
6263 std::make_pair(467, PositionWithAffinity(4, Affinity::kUpstream)), in UNIX_ONLY_TEST()
6264 std::make_pair( 0, PositionWithAffinity(4, Affinity::kUpstream)), in UNIX_ONLY_TEST()
6298 REPORTER_ASSERT(reporter, res1.position == 4 && res1.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6302 REPORTER_ASSERT(reporter, res3.position == 10 && res3.affinity == Affinity::kUpstream); in UNIX_ONLY_TEST()
6338 …orter, res.affinity == (res.position == SkToInt(str.size()) ? Affinity::kUpstream : Affinity::kDow… in UNIX_ONLY_TEST()
6652 std::make_pair(-10, PositionWithAffinity(3, Affinity::kUpstream)), in UNIX_ONLY_TEST()
[all …]
/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()