Home
last modified time | relevance | path

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

/frameworks/rs/
DrsFont.cpp306 Font *newFont = new Font(rsc); in create() local
307 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
309 activeFonts.push(newFont); in create()
310 rsc->mStateFont.precacheLatin(newFont); in create()
311 return newFont; in create()
314 ObjectBase::checkDelete(newFont); in create()
862 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile() local
863 if (newFont) { in rsi_FontCreateFromFile()
864 newFont->incUserRef(); in rsi_FontCreateFromFile()
866 return newFont; in rsi_FontCreateFromFile()
[all …]
/frameworks/base/libs/hwui/font/
DFont.cpp436 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle, in create() local
438 activeFonts.push(newFont); in create()
439 return newFont; in create()