Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/base/
Dtext_direction_mojom_traits.cc10 mojo_base::mojom::TextDirection
11 EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection>::ToMojom( in ToMojom()
12 base::i18n::TextDirection text_direction) { in ToMojom()
15 return mojo_base::mojom::TextDirection::UNKNOWN_DIRECTION; in ToMojom()
17 return mojo_base::mojom::TextDirection::RIGHT_TO_LEFT; in ToMojom()
19 return mojo_base::mojom::TextDirection::LEFT_TO_RIGHT; in ToMojom()
22 return mojo_base::mojom::TextDirection::UNKNOWN_DIRECTION; in ToMojom()
26 bool EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection>::
27 FromMojom(mojo_base::mojom::TextDirection input, in FromMojom()
28 base::i18n::TextDirection* out) { in FromMojom()
[all …]
Dtext_direction_unittest.cc11 TEST(TextDirectionTest, TextDirection) { in TEST() argument
12 static constexpr base::i18n::TextDirection kTestDirections[] = { in TEST()
17 base::i18n::TextDirection direction_out; in TEST()
19 mojo_base::mojom::TextDirection serialized_direction = in TEST()
20 mojo::EnumTraits<mojo_base::mojom::TextDirection, in TEST()
21 base::i18n::TextDirection>::ToMojom(direction_in); in TEST()
23 mojo_base::mojom::TextDirection, in TEST()
24 base::i18n::TextDirection>::FromMojom(serialized_direction, in TEST()
Dtext_direction_mojom_traits.h16 EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection> { in COMPONENT_EXPORT()
17 static mojo_base::mojom::TextDirection ToMojom( in COMPONENT_EXPORT()
18 base::i18n::TextDirection text_direction); in COMPONENT_EXPORT()
19 static bool FromMojom(mojo_base::mojom::TextDirection input, in COMPONENT_EXPORT()
20 base::i18n::TextDirection* out); in COMPONENT_EXPORT()
Dtext_direction.typemap15 type_mappings = [ "mojo_base.mojom.TextDirection=base::i18n::TextDirection" ]
/external/libchrome/base/i18n/
Drtl.h30 enum TextDirection { enum
68 BASE_I18N_EXPORT TextDirection GetForcedTextDirection();
73 BASE_I18N_EXPORT TextDirection
77 BASE_I18N_EXPORT TextDirection GetTextDirectionForLocale(
86 BASE_I18N_EXPORT TextDirection GetFirstStrongCharacterDirection(
88 BASE_I18N_EXPORT TextDirection GetLastStrongCharacterDirection(
97 BASE_I18N_EXPORT TextDirection GetStringDirection(const string16& text);
/external/libchrome/mojo/public/mojom/base/
Dtext_direction.mojom7 // Corresponds to |base::i18n::TextDirection| in base/i18n/rtl.h
8 enum TextDirection {
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py904 subtable.TextDirection = "Any"
906 subtable.TextDirection = "Vertical"
908 subtable.TextDirection = "Horizontal"
945 xmlWriter.simpletag("TextDirection", value=value.TextDirection)
981 m.TextDirection = eltAttrs["value"]
982 …assert m.TextDirection in {"Horizontal", "Vertical", "Any"}, "unknown TextDirection %s" % m.TextDi…
998 covFlags |= 0x80 if value.TextDirection == "Vertical" else 0
1000 covFlags |= 0x20 if value.TextDirection == "Any" else 0