Home
last modified time | relevance | path

Searched refs:PlaceholderAlignment (Results 1 – 13 of 13) sorted by relevance

/external/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp60 enum_<para::PlaceholderAlignment>("PlaceholderAlignment") in EMSCRIPTEN_BINDINGS()
61 .value("Baseline", para::PlaceholderAlignment::kBaseline) in EMSCRIPTEN_BINDINGS()
62 .value("AboveBaseline", para::PlaceholderAlignment::kAboveBaseline) in EMSCRIPTEN_BINDINGS()
63 .value("BelowBaseline", para::PlaceholderAlignment::kBelowBaseline) in EMSCRIPTEN_BINDINGS()
64 .value("Top", para::PlaceholderAlignment::kTop) in EMSCRIPTEN_BINDINGS()
65 .value("Bottom", para::PlaceholderAlignment::kBottom) in EMSCRIPTEN_BINDINGS()
66 .value("Middle", para::PlaceholderAlignment::kMiddle); in EMSCRIPTEN_BINDINGS()
Dparagraph.js294 alignment = alignment || CanvasKit.PlaceholderAlignment.Baseline;
Dexterns.js965 PlaceholderAlignment: { property
Dparagraph_bindings.cpp553 para::PlaceholderAlignment alignment, in EMSCRIPTEN_BINDINGS()
/external/skia/modules/skparagraph/src/
DRun.cpp213 case PlaceholderAlignment::kBaseline: in updateMetrics()
218 case PlaceholderAlignment::kAboveBaseline: in updateMetrics()
223 case PlaceholderAlignment::kBelowBaseline: in updateMetrics()
228 case PlaceholderAlignment::kTop: in updateMetrics()
232 case PlaceholderAlignment::kBottom: in updateMetrics()
236 case PlaceholderAlignment::kMiddle: in updateMetrics()
DTextStyle.cpp172 (fAlignment != PlaceholderAlignment::kBaseline || in equals()
DParagraphCache.cpp83 if (ph.fStyle.fAlignment == PlaceholderAlignment::kBaseline) { in operator ()()
/external/skia/modules/skparagraph/include/
DTextStyle.h84 enum class PlaceholderAlignment { enum
123 PlaceholderStyle(SkScalar width, SkScalar height, PlaceholderAlignment alignment, in PlaceholderStyle()
135 PlaceholderAlignment fAlignment = PlaceholderAlignment::kBaseline;
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts501 readonly PlaceholderAlignment: PlaceholderAlignmentEnumValues; property
881 addPlaceholder(width?: number, height?: number, alignment?: PlaceholderAlignment,
3755 export type PlaceholderAlignment = EmbindEnumEntity; alias
3952 Baseline: PlaceholderAlignment;
3953 AboveBaseline: PlaceholderAlignment;
3954 BelowBaseline: PlaceholderAlignment;
3955 Top: PlaceholderAlignment;
3956 Bottom: PlaceholderAlignment;
3957 Middle: PlaceholderAlignment;
Dcanvaskit-wasm-tests.ts567 builder2.addPlaceholder(10, 20, CK.PlaceholderAlignment.Top, CK.TextBaseline.Ideographic, 3);
/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js390 builder.addPlaceholder(10, 10, CanvasKit.PlaceholderAlignment.AboveBaseline,
395 builder.addPlaceholder(10, 10, CanvasKit.PlaceholderAlignment.BelowBaseline,
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp247 …PlaceholderStyle placeholder1(50, 50, PlaceholderAlignment::kBaseline, TextBaseline::kAlphabetic, … in DEF_TEST()
252 …PlaceholderStyle placeholder2(5, 50, PlaceholderAlignment::kBaseline, TextBaseline::kAlphabetic, 5… in DEF_TEST()
346 …PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kBaseline, TextBaseline::kAlphabetic, 3… in DEF_TEST()
402 …PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kAboveBaseline, TextBaseline::kAlphabet… in DEF_TEST()
458 …PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kBelowBaseline, TextBaseline::kAlphabet… in DEF_TEST()
514 … PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kBottom, TextBaseline::kAlphabetic, 0); in DEF_TEST()
568 PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kTop, TextBaseline::kAlphabetic, 0); in DEF_TEST()
622 … PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kMiddle, TextBaseline::kAlphabetic, 0); in DEF_TEST()
675 …PlaceholderStyle placeholder(55, 50, PlaceholderAlignment::kBaseline, TextBaseline::kIdeographic, … in DEF_TEST()
729 …PlaceholderStyle placeholder1(50, 50, PlaceholderAlignment::kBaseline, TextBaseline::kAlphabetic, … in DEF_TEST()
[all …]
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp1927 placeholder_style.fAlignment = PlaceholderAlignment::kMiddle; in onDrawContent()
1934 placeholder_style.fAlignment = PlaceholderAlignment::kTop; in onDrawContent()
3082 placeholder_style.fAlignment = PlaceholderAlignment::kBottom; in onDrawContent()