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.cpp84 TEST(TypefaceTest, createWithDifferentBaseWeight) { in TEST() argument
85 std::unique_ptr<Typeface> bold(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST()
90 std::unique_ptr<Typeface> light(Typeface::createWithDifferentBaseWeight(nullptr, 300)); in TEST()
123 std::unique_ptr<Typeface> base(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST()
156 std::unique_ptr<Typeface> base(Typeface::createWithDifferentBaseWeight(nullptr, 300)); in TEST()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp76 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()