/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 57 size_t fontSize, int ttcIndex) { in addSkTypeface() argument 58 MinikinFont* minikinFont = new MinikinFontSkia(face, fontData, fontSize, ttcIndex); in addSkTypeface() 95 jlong fontSize = env->GetDirectBufferCapacity(bytebuf); in FontFamily_addFont() local 96 if (fontSize < 0) { in FontFamily_addFont() 101 SkAutoTUnref<SkData> data(SkData::NewWithProc(fontPtr, fontSize, in FontFamily_addFont() 115 return addSkTypeface(fontFamily, face, fontPtr, (size_t)fontSize, ttcIndex); in FontFamily_addFont() 160 jlong fontSize = env->GetDirectBufferCapacity(font); in FontFamily_addFontWeightStyle() local 161 if (fontSize < 0) { in FontFamily_addFontWeightStyle() 166 SkAutoTUnref<SkData> data(SkData::NewWithProc(fontPtr, fontSize, in FontFamily_addFontWeightStyle() 181 MinikinFont* minikinFont = new MinikinFontSkia(face, fontPtr, (size_t)fontSize, ttcIndex); in FontFamily_addFontWeightStyle()
|
/frameworks/base/media/java/android/media/ |
D | TimedText.java | 206 public final int fontSize; field in TimedText.Style 227 int fontSize, int colorRGBA) { in Style() argument 234 this.fontSize = fontSize; in Style() 539 int fontSize = -1; in readStyle() local 566 fontSize = parcel.readInt(); in readStyle() 584 isItalic, isUnderlined, fontSize, colorRGBA); in readStyle()
|
D | WebVttRenderer.java | 1223 final float fontSize = mManager.getFontScale() * getHeight() * LINE_HEIGHT_RATIO; in manageChangeListener() local 1224 setCaptionStyle(captionStyle, fontSize); in manageChangeListener() 1234 final float fontSize = mFontSize; in setActiveCues() local 1246 regionBox = new RegionLayout(context, region, captionStyle, fontSize); in setActiveCues() 1254 cueBox = new CueLayout(context, cue, captionStyle, fontSize); in setActiveCues() 1275 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle() argument 1278 mFontSize = fontSize; in setCaptionStyle() 1283 cueBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle() 1289 regionBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle() 1510 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO; [all …]
|
D | ClosedCaptionRenderer.java | 1310 float fontSize = MeasureSpec.getSize(heightMeasureSpec) * FONT_PADDING_RATIO; in onMeasure() local 1311 setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in onMeasure() 1313 mOutlineWidth = EDGE_OUTLINE_RATIO * fontSize + 1.0f; in onMeasure() 1314 mShadowRadius = EDGE_SHADOW_RATIO * fontSize + 1.0f;; in onMeasure()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 74 long fontSize = fileChannel.size(); in addFont() local 75 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
|
D | Typeface.java | 305 long fontSize = fileChannel.size(); in makeFamilyFromParsed() local 306 fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in makeFamilyFromParsed()
|
/frameworks/rs/ |
D | rsg.spec | 59 param float fontSize 66 param float fontSize
|
D | rsFont.cpp | 42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument 62 mFontSize = fontSize; in init() 65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init() 296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument 303 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create() 309 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create() 862 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument 863 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile() 872 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument 874 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); in rsi_FontCreateFromMemory()
|
D | rsFont.h | 75 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 120 …bool init(const char *name, float fontSize, uint32_t dpi, const void *data = nullptr, uint32_t dat…
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 25 MinikinFontSkia::MinikinFontSkia(SkTypeface* typeface, const void* fontData, size_t fontSize, in MinikinFontSkia() argument 28 mFontSize(fontSize), mTtcIndex(ttcIndex) { in MinikinFontSkia()
|
D | MinikinSkia.h | 31 explicit MinikinFontSkia(SkTypeface *typeface, const void* fontData, size_t fontSize,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 86 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() local 90 mTextPaint.setTextSize(fontSize); in Watermark()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1724 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile() argument 1729 fontSize, dpi); in nFontCreateFromFile() 1736 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream() argument 1743 fontSize, dpi, in nFontCreateFromAssetStream() 1750 jfloat fontSize, jint dpi) in nFontCreateFromAsset() argument 1765 fontSize, dpi, in nFontCreateFromAsset()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 976 …yGlyphIndexArrayNV)(GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font… 977 …CALL_GL_API_RETURN(glPathMemoryGlyphIndexArrayNV, firstPathName, fontTarget, fontSize, fontData, f…
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | more-resources.jd | 311 float fontSize = res.{@link android.content.res.Resources#getDimension(int) getDimension}(R.dimen.f…
|
/frameworks/native/opengl/include/GLES2/ |
D | gl2ext.h | 2570 …HINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font… 2628 …yGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
|
/frameworks/native/opengl/libs/ |
D | entries.in | 578 …yGlyphIndexArrayNV, GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
|