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

/frameworks/base/libs/rs/
H A DrsFont.cpp305 Font *newFont = new Font(rsc); local
306 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen);
308 activeFonts.push(newFont);
309 rsc->mStateFont.precacheLatin(newFont);
310 return newFont;
313 ObjectBase::checkDelete(newFont);
838 Font *newFont = Font::create(rsc, name, fontSize, dpi); local
839 if (newFont) {
840 newFont->incUserRef();
842 return newFont;
849 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); local
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp301 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle, local
303 activeFonts.push(newFont);
304 return newFont;

Completed in 7 milliseconds