Home
last modified time | relevance | path

Searched refs:createWithDifferentBaseWeight (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DTypeface.h73 static Typeface* createWithDifferentBaseWeight(Typeface* src, int baseweight);
DTypeface.cpp115 Typeface* Typeface::createWithDifferentBaseWeight(Typeface* src, int weight) { in createWithDifferentBaseWeight() function in android::Typeface
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp86 TEST(TypefaceTest, createWithDifferentBaseWeight) { in TEST() argument
87 std::unique_ptr<Typeface> bold(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST()
92 std::unique_ptr<Typeface> light(Typeface::createWithDifferentBaseWeight(nullptr, 300)); in TEST()
125 std::unique_ptr<Typeface> base(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST()
158 std::unique_ptr<Typeface> base(Typeface::createWithDifferentBaseWeight(nullptr, 300)); in TEST()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp84 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()