Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp55 delete reinterpret_cast<FontWrapper*>(font); in releaseFont()
121 return reinterpret_cast<jlong>(new FontWrapper(std::move(font))); in Font_Builder_build()
127 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_Builder_clone()
150 return reinterpret_cast<jlong>(new FontWrapper(std::move(newFont))); in Font_Builder_clone()
159 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontHandle); in Font_getGlyphBounds()
179 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontHandle); in Font_getFontMetrics()
196 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getMinikinFontPtr()
202 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_cloneFont()
204 return reinterpret_cast<jlong>(new FontWrapper(std::move(ref))); in Font_cloneFont()
209 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_newByteBuffer()
[all …]
DFontFamily.cpp39 static inline FontWrapper* toFontWrapper(jlong ptr) { in toFontWrapper()
40 return reinterpret_cast<FontWrapper*>(ptr); in toFontWrapper()
114 return reinterpret_cast<jlong>(new FontWrapper(std::move(font))); in FontFamily_getFont()
/frameworks/base/libs/hwui/jni/
DFontUtils.h37 struct FontWrapper { struct
38 explicit FontWrapper(std::shared_ptr<minikin::Font>&& font) : font(font) {} in FontWrapper() function
Dandroid_graphics_Canvas.cpp627 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontHandle); in drawGlyphs()
/frameworks/base/libs/hwui/jni/text/
DTextShaper.cpp175 return reinterpret_cast<jlong>(new FontWrapper(std::move(fontRef))); in TextShaper_Result_getFont()