Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DTextInterpolator.kt439 val newFont = newGlyphs.getFont(run.start) regex
444 require(newFont === newGlyphs.getFont(i)) {
446 " $newFont vs ${newGlyphs.getFont(i)} at $i"
452 require(FontInterpolator.canInterpolate(newFont, run.baseFont)) {
453 "New font cannot be interpolated with existing font. $newFont," +
458 run.baseFont = newFont
460 run.targetFont = newFont
H A DFontInterpolator.kt168 val newFont = Font.Builder(start).setFontVariationSettings(newAxes.toTypedArray()).build() regex
169 interpCache.put(InterpKey(start, end, progress), newFont)
170 verFontCache.put(VarFontKey(start, newAxes), newFont)
174 return newFont
/aosp14/frameworks/base/libs/hwui/jni/fonts/
H A DFont.cpp148 std::shared_ptr<minikin::Font> newFont = minikin::Font::Builder(newMinikinFont) in Font_Builder_clone() local
152 return reinterpret_cast<jlong>(new FontWrapper(std::move(newFont))); in Font_Builder_clone()