Searched refs:fontId (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/rs/java/android/renderscript/ |
H A D | Font.java | 166 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi); in createFromFile() local 168 if(fontId == 0) { in createFromFile() 171 Font rsFont = new Font(fontId, rs); in createFromFile() 191 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset() local 192 if(fontId == 0) { in createFromAsset() 195 Font rsFont = new Font(fontId, rs); in createFromAsset() 215 long fontId = 0; in createFromResource() local 218 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset); in createFromResource() 223 if(fontId == 0) { in createFromResource() 226 Font rsFont = new Font(fontId, rs); in createFromResource()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | TimedText.java | 228 public Style(int startChar, int endChar, int fontId, in Style() argument 233 this.fontID = fontId; in Style() 548 int fontId = -1; in readStyle() local 566 fontId = parcel.readInt(); in readStyle() 596 Style style = new Style(startChar, endChar, fontId, isBold, in readStyle()
|