Searched refs:kRobotoFont (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 177 const char* kRobotoFont = "/system/fonts/Roboto-Regular.ttf"; in setRobotoTypefaceForTest() local 179 int fd = open(kRobotoFont, O_RDONLY); in setRobotoTypefaceForTest() 180 LOG_ALWAYS_FATAL_IF(fd == -1, "Failed to open file %s", kRobotoFont); in setRobotoTypefaceForTest() 182 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) == -1, "Failed to stat file %s", kRobotoFont); in setRobotoTypefaceForTest() 186 LOG_ALWAYS_FATAL_IF(typeface == nullptr, "Failed to make typeface from %s", kRobotoFont); in setRobotoTypefaceForTest() 189 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, kRobotoFont, in setRobotoTypefaceForTest()
|