Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp261 std::unique_ptr<Typeface> base(Typeface::createAbsolute(nullptr, 400, false)); in TEST()
301 TEST(TypefaceTest, createAbsolute) { in TEST() argument
306 std::unique_ptr<Typeface> regular(Typeface::createAbsolute(nullptr, 400, false)); in TEST()
315 std::unique_ptr<Typeface> bold(Typeface::createAbsolute(nullptr, 700, false)); in TEST()
324 std::unique_ptr<Typeface> italic(Typeface::createAbsolute(nullptr, 400, true)); in TEST()
333 std::unique_ptr<Typeface> boldItalic(Typeface::createAbsolute(nullptr, 700, true)); in TEST()
342 std::unique_ptr<Typeface> over1000(Typeface::createAbsolute(nullptr, 1100, false)); in TEST()
/frameworks/base/libs/hwui/hwui/
DTypeface.h75 static Typeface* createAbsolute(Typeface* base, int weight, bool italic);
DTypeface.cpp82 Typeface* Typeface::createAbsolute(Typeface* base, int weight, bool italic) { in createAbsolute() function in android::Typeface
/frameworks/base/libs/hwui/jni/
DTypeface.cpp65 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()