Home
last modified time | relevance | path

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

/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()