Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DHbFontCache.cpp43 hb_font_t* get(int32_t fontId) { in get() argument
44 return mCache.get(fontId); in get()
47 void put(int32_t fontId, hb_font_t* font) { in put() argument
48 mCache.put(fontId, font); in put()
55 void remove(int32_t fontId) { in remove() argument
56 mCache.remove(fontId); in remove()
81 const int32_t fontId = minikinFont->GetUniqueId(); in purgeHbFontLocked() local
82 getFontCacheLocked()->remove(fontId); in purgeHbFontLocked()
99 const int32_t fontId = minikinFont->GetUniqueId(); in getHbFontLocked() local
100 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()