Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DTextInterpolator.kt369 val newFont = newGlyphs.getFont(run.start) in <lambda>() constant
374 require(newFont === newGlyphs.getFont(i)) { in <lambda>()
376 " $newFont vs ${newGlyphs.getFont(i)} at $i" in <lambda>()
382 require(FontInterpolator.canInterpolate(newFont, run.baseFont)) { in <lambda>()
383 "New font cannot be interpolated with existing font. $newFont," + in <lambda>()
388 run.baseFont = newFont in <lambda>()
390 run.targetFont = newFont in <lambda>()
DFontInterpolator.kt152 val newFont = Font.Builder(start) in <lambda>() constant
155 interpCache[InterpKey(start, end, progress)] = newFont in <lambda>()
156 verFontCache[VarFontKey(start, newAxes)] = newFont in <lambda>()
157 return newFont in <lambda>()
/frameworks/rs/
DrsFont.cpp307 Font *newFont = new Font(rsc); in create() local
308 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
310 activeFonts.push_back(newFont); in create()
311 rsc->mStateFont.precacheLatin(newFont); in create()
312 return newFont; in create()
315 ObjectBase::checkDelete(newFont); in create()
860 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile() local
861 if (newFont) { in rsi_FontCreateFromFile()
862 newFont->incUserRef(); in rsi_FontCreateFromFile()
864 return newFont; in rsi_FontCreateFromFile()
[all …]
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp144 std::shared_ptr<minikin::Font> newFont = minikin::Font::Builder(newMinikinFont) in Font_Builder_clone() local
148 return reinterpret_cast<jlong>(new FontWrapper(std::move(newFont))); in Font_Builder_clone()