Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DFont.java166 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()
/frameworks/base/media/java/android/media/
DTimedText.java228 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()
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp77 int32_t fontId = -1; member
211 fontInfo.fontId = U16_AT(tmpData + 4); in TEST_P()
212 ALOGI("Value of font Identifier: %d", fontInfo.fontId); in TEST_P()
320 ASSERT_EQ(parcel.readInt32(), fontInfo.fontId) << "Parcel has invalid value of font Id"; in TEST_P()
/frameworks/av/media/libstagefright/timedtext/test/fuzzer/
Dtimedtext_fuzz.proto47 uint32 fontId = 1; field
62 uint32 fontId = 7; field