Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DHbFontCache.cpp58 hb_font_t* get(int32_t fontId) { in get() argument
59 return mCache.get(fontId); in get()
62 void put(int32_t fontId, hb_font_t* font) { in put() argument
63 mCache.put(fontId, font); in put()
70 void remove(int32_t fontId) { in remove() argument
71 mCache.remove(fontId); in remove()
96 const int32_t fontId = minikinFont->GetUniqueId(); in purgeHbFontLocked() local
97 getFontCacheLocked()->remove(fontId); in purgeHbFontLocked()
114 const int32_t fontId = minikinFont->GetUniqueId(); in getHbFontLocked() local
115 hb_font_t* font = fontCache->get(fontId); in getHbFontLocked()
[all …]
/frameworks/base/rs/java/android/renderscript/
DFont.java163 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi); in createFromFile() local
165 if(fontId == 0) { in createFromFile()
168 Font rsFont = new Font(fontId, rs); in createFromFile()
188 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset() local
189 if(fontId == 0) { in createFromAsset()
192 Font rsFont = new Font(fontId, rs); in createFromAsset()
212 long fontId = 0; in createFromResource() local
215 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset); in createFromResource()
220 if(fontId == 0) { in createFromResource()
223 Font rsFont = new Font(fontId, rs); in createFromResource()
/frameworks/base/media/java/android/media/
DTimedText.java225 public Style(int startChar, int endChar, int fontId, in Style() argument
230 this.fontID = fontId; in Style()
535 int fontId = -1; in readStyle() local
553 fontId = parcel.readInt(); in readStyle()
583 Style style = new Style(startChar, endChar, fontId, isBold, in readStyle()