Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DTypeface.h70 static Typeface* createWithDifferentBaseWeight(Typeface* src, int baseweight);
DTypeface.cpp113 Typeface* Typeface::createWithDifferentBaseWeight(Typeface* src, int weight) { in createWithDifferentBaseWeight() function in android::Typeface
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp83 TEST(TypefaceTest, createWithDifferentBaseWeight) { in TEST() argument
84 std::unique_ptr<Typeface> bold(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST()
89 std::unique_ptr<Typeface> light(Typeface::createWithDifferentBaseWeight(nullptr, 300)); in TEST()
122 std::unique_ptr<Typeface> base(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST()
155 std::unique_ptr<Typeface> base(Typeface::createWithDifferentBaseWeight(nullptr, 300)); in TEST()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp74 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()