Home
last modified time | relevance | path

Searched refs:fontId (Results 1 – 3 of 3) 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()
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp76 int32_t fontId = -1; member
210 fontInfo.fontId = U16_AT(tmpData + 4); in TEST_P()
211 ALOGI("Value of font Identifier: %d", fontInfo.fontId); in TEST_P()
319 ASSERT_EQ(parcel.readInt32(), fontInfo.fontId) << "Parcel has invalid value of font Id"; in TEST_P()