Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DFont.java164 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi); in createFromFile() local
166 if(fontId == 0) { in createFromFile()
169 Font rsFont = new Font(fontId, rs); in createFromFile()
189 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset() local
190 if(fontId == 0) { in createFromAsset()
193 Font rsFont = new Font(fontId, rs); in createFromAsset()
213 long fontId = 0; in createFromResource() local
216 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset); in createFromResource()
221 if(fontId == 0) { in createFromResource()
224 Font rsFont = new Font(fontId, rs); in createFromResource()
/frameworks/base/media/java/android/media/
DTimedText.java227 public Style(int startChar, int endChar, int fontId, in Style() argument
232 this.fontID = fontId; in Style()
547 int fontId = -1; in readStyle() local
565 fontId = parcel.readInt(); in readStyle()
595 Style style = new Style(startChar, endChar, fontId, isBold, in readStyle()