Searched refs:fontId (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
H A DFont.java164 int fontId = rs.nFontCreateFromFile(path, pointSize, dpi);
166 if(fontId == 0) {
169 Font rsFont = new Font(fontId, rs);
189 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi);
190 if(fontId == 0) {
193 Font rsFont = new Font(fontId, rs);
213 int fontId = 0;
216 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset);
221 if(fontId == 0) {
224 Font rsFont = new Font(fontId, r
[all...]
/frameworks/base/media/java/android/media/
H A DTimedText.java218 * @param fontId the ID of the font.
225 public Style(int startChar, int endChar, int fontId, argument
230 this.fontID = fontId;
535 int fontId = -1;
553 fontId = parcel.readInt();
583 Style style = new Style(startChar, endChar, fontId, isBold,
/frameworks/base/libs/hwui/font/
H A DFont.h67 static Font* create(FontRenderer* state, uint32_t fontId, float fontSize,
91 Font(FontRenderer* state, uint32_t fontId, float fontSize, int flags, uint32_t italicStyle,
H A DFont.cpp36 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, argument
39 mState(state), mFontId(fontId), mFontSize(fontSize),
421 Font* Font::create(FontRenderer* state, uint32_t fontId, float fontSize, argument
428 if (font->mFontId == fontId && font->mFontSize == fontSize &&
436 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle,
/frameworks/base/libs/hwui/
H A DFontRenderer.h50 void setFont(SkPaint* paint, uint32_t fontId, float fontSize);
H A DFontRenderer.cpp469 void FontRenderer::setFont(SkPaint* paint, uint32_t fontId, float fontSize) { argument
482 mCurrentFont = Font::create(this, fontId, fontSize, flags, italicStyle,
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp901 SkFontID fontId = typeface->uniqueID(); local
902 ssize_t index = mCachedHBFaces.indexOfKey(fontId);
911 mCachedHBFaces.add(fontId, face);

Completed in 410 milliseconds