/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.cpp | 67 const int fontSize = (int)(zoomFactorW * 16); local 86 gPaintI.setTextSize(paint, fontSize);
|
/frameworks/base/media/java/android/media/ |
H A D | TimedText.java | 216 public int fontSize = -1; field in class:TimedText.Style 489 style.fontSize = mParcel.readInt();
|
/frameworks/base/libs/rs/ |
H A D | rsFont.cpp | 39 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) { argument 59 mFontSize = fontSize; 62 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); 293 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, argument 300 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { 306 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); 837 float fontSize, uint32_t dpi) { 838 Font *newFont = Font::create(rsc, name, fontSize, dpi); 847 float fontSize, uint32_t dpi, 849 Font *newFont = Font::create(rsc, name, fontSize, dp 835 rsi_FontCreateFromFile(Context *rsc, char const *name, size_t name_length, float fontSize, uint32_t dpi) argument 845 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/libs/hwui/ |
H A D | FontRenderer.cpp | 46 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, argument 49 mState(state), mFontId(fontId), mFontSize(fontSize), 286 Font* Font::create(FontRenderer* state, uint32_t fontId, float fontSize, argument 293 if (font->mFontId == fontId && font->mFontSize == fontSize && 301 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle, 687 void FontRenderer::setFont(SkPaint* paint, uint32_t fontId, float fontSize) { argument 701 mCurrentFont = Font::create(this, fontId, fontSize, flags, italicStyle, 707 if (isNewFont && fontSize <= maxPrecacheFontSize) {
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 783 jstring fileName, jfloat fontSize, jint dpi) 788 fontSize, dpi); 795 jstring name, jfloat fontSize, jint dpi, jint native_asset) 802 fontSize, dpi, 809 jfloat fontSize, jint dpi) 824 fontSize, dpi, 782 nFontCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName, jfloat fontSize, jint dpi) argument 794 nFontCreateFromAssetStream(JNIEnv *_env, jobject _this, RsContext con, jstring name, jfloat fontSize, jint dpi, jint native_asset) argument 808 nFontCreateFromAsset(JNIEnv *_env, jobject _this, RsContext con, jobject _assetMgr, jstring _path, jfloat fontSize, jint dpi) argument
|