Searched refs:createAbsolute (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 259 std::unique_ptr<Typeface> base(Typeface::createAbsolute(nullptr, 400, false)); in TEST() 299 TEST(TypefaceTest, createAbsolute) { in TEST() argument 304 std::unique_ptr<Typeface> regular(Typeface::createAbsolute(nullptr, 400, false)); in TEST() 313 std::unique_ptr<Typeface> bold(Typeface::createAbsolute(nullptr, 700, false)); in TEST() 322 std::unique_ptr<Typeface> italic(Typeface::createAbsolute(nullptr, 400, true)); in TEST() 331 std::unique_ptr<Typeface> boldItalic(Typeface::createAbsolute(nullptr, 700, true)); in TEST() 340 std::unique_ptr<Typeface> over1000(Typeface::createAbsolute(nullptr, 1100, false)); in TEST()
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.h | 72 static Typeface* createAbsolute(Typeface* base, int weight, bool italic);
|
D | Typeface.cpp | 80 Typeface* Typeface::createAbsolute(Typeface* base, int weight, bool italic) { in createAbsolute() function in android::Typeface
|
/frameworks/base/core/jni/android/graphics/ |
D | Typeface.cpp | 57 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()
|