Searched defs:fontSize (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp67 const int fontSize = (int)(zoomFactorW * 16); local
86 gPaintI.setTextSize(paint, fontSize);
/frameworks/base/libs/hwui/font/
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/media/java/android/media/
H A DTimedText.java206 public final int fontSize; field in class:TimedText.Style
222 * @param fontSize the size of the font.
227 int fontSize, int colorRGBA) {
234 this.fontSize = fontSize;
539 int fontSize = -1;
566 fontSize = parcel.readInt();
584 isItalic, isUnderlined, fontSize, colorRGBA);
225 Style(int startChar, int endChar, int fontId, boolean isBold, boolean isItalic, boolean isUnderlined, int fontSize, int colorRGBA) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp469 void FontRenderer::setFont(SkPaint* paint, uint32_t fontId, float fontSize) { argument
482 mCurrentFont = Font::create(this, fontId, fontSize, flags, italicStyle,
563 float fontSize = paint->getTextSize(); local
565 fontSize, flags, italicStyle, scaleX, style, strokeWidth);
/frameworks/rs/
H A DrsFont.cpp40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) { argument
60 mFontSize = fontSize;
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0);
294 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, argument
301 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) {
307 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen);
861 float fontSize, uint32_t dpi) {
862 Font *newFont = Font::create(rsc, name, fontSize, dpi);
871 float fontSize, uint32_t dpi,
873 Font *newFont = Font::create(rsc, name, fontSize, dp
859 rsi_FontCreateFromFile(Context *rsc, char const *name, size_t name_length, float fontSize, uint32_t dpi) argument
869 rsi_FontCreateFromMemory(Context *rsc, char const *name, size_t name_length, float fontSize, uint32_t dpi, const void *data, size_t data_length) argument
[all...]
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp855 jstring fileName, jfloat fontSize, jint dpi)
860 fontSize, dpi);
867 jstring name, jfloat fontSize, jint dpi, jint native_asset)
874 fontSize, dpi,
881 jfloat fontSize, jint dpi)
896 fontSize, dpi,
854 nFontCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName, jfloat fontSize, jint dpi) argument
866 nFontCreateFromAssetStream(JNIEnv *_env, jobject _this, RsContext con, jstring name, jfloat fontSize, jint dpi, jint native_asset) argument
880 nFontCreateFromAsset(JNIEnv *_env, jobject _this, RsContext con, jobject _assetMgr, jstring _path, jfloat fontSize, jint dpi) argument

Completed in 92 milliseconds