Searched refs:Weight (Results 1 – 8 of 8) sorted by relevance
27 enum class Weight : uint16_t { enum45 constexpr FontStyle() : FontStyle(Weight::NORMAL, Slant::UPRIGHT) {} in FontStyle()46 constexpr explicit FontStyle(Weight weight) : FontStyle(weight, Slant::UPRIGHT) {} in FontStyle()47 constexpr explicit FontStyle(Slant slant) : FontStyle(Weight::NORMAL, slant) {} in FontStyle()48 constexpr FontStyle(Weight weight, Slant slant) in FontStyle()
106 uint16_t mWeight = static_cast<uint16_t>(FontStyle::Weight::NORMAL);
30 public class WeightTest extends ActivityInstrumentationTestCase<Weight> {37 super("com.android.frameworks.coretests", Weight.class); in WeightTest()44 final Weight activity = getActivity(); in setUp()
27 public class Weight extends Activity { class
30 public class WeightTest extends ActivityInstrumentationTestCase<Weight> {35 super("com.android.frameworks.coretests", Weight.class); in WeightTest()
24 public class Weight extends Activity { class
702 constexpr FontStyle::Weight THIN = FontStyle::Weight::THIN; in TEST_F()703 constexpr FontStyle::Weight LIGHT = FontStyle::Weight::LIGHT; in TEST_F()704 constexpr FontStyle::Weight NORMAL = FontStyle::Weight::NORMAL; in TEST_F()705 constexpr FontStyle::Weight MEDIUM = FontStyle::Weight::MEDIUM; in TEST_F()706 constexpr FontStyle::Weight BOLD = FontStyle::Weight::BOLD; in TEST_F()707 constexpr FontStyle::Weight BLACK = FontStyle::Weight::BLACK; in TEST_F()
129 const FontStyle kBoldStyle = FontStyle(FontStyle::Weight::BOLD); in TEST()130 const FontStyle kBoldItalicStyle = FontStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()699 FontStyle kBoldStyle(FontStyle::Weight::BOLD); in TEST()701 FontStyle kBoldItalicStyle(FontStyle::Weight::BOLD, FontStyle::Slant::ITALIC); in TEST()