Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DTypeface.cpp174 const char* kRobotoFont = "/system/fonts/Roboto-Regular.ttf"; in setRobotoTypefaceForTest() local
176 int fd = open(kRobotoFont, O_RDONLY); in setRobotoTypefaceForTest()
177 LOG_ALWAYS_FATAL_IF(fd == -1, "Failed to open file %s", kRobotoFont); in setRobotoTypefaceForTest()
179 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) == -1, "Failed to stat file %s", kRobotoFont); in setRobotoTypefaceForTest()
183 LOG_ALWAYS_FATAL_IF(typeface == nullptr, "Failed to make typeface from %s", kRobotoFont); in setRobotoTypefaceForTest()
186 std::move(typeface), data, st.st_size, kRobotoFont, 0, in setRobotoTypefaceForTest()