Home
last modified time | relevance | path

Searched refs:fontSize (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp117 const size_t fontSize = data->size(); in addSkTypeface() local
133 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, "", ttcIndex, in addSkTypeface()
181 jlong fontSize = env->GetDirectBufferCapacity(bytebuf); in FontFamily_addFont() local
182 if (fontSize < 0) { in FontFamily_addFont()
188 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFont()
203 jlong fontSize = env->GetDirectBufferCapacity(font); in FontFamily_addFontWeightStyle() local
204 if (fontSize < 0) { in FontFamily_addFontWeightStyle()
210 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFontWeightStyle()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1225 final float fontSize = mManager.getFontScale() * getHeight() * LINE_HEIGHT_RATIO; in manageChangeListener() local
1226 setCaptionStyle(captionStyle, fontSize); in manageChangeListener()
1236 final float fontSize = mFontSize; in setActiveCues() local
1248 regionBox = new RegionLayout(context, region, captionStyle, fontSize); in setActiveCues()
1256 cueBox = new CueLayout(context, cue, captionStyle, fontSize); in setActiveCues()
1277 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle() argument
1280 mFontSize = fontSize; in setCaptionStyle()
1285 cueBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle()
1291 regionBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle()
1512 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
[all …]
DTimedText.java208 public final int fontSize; field in TimedText.Style
229 int fontSize, int colorRGBA) { in Style() argument
236 this.fontSize = fontSize; in Style()
551 int fontSize = -1; in readStyle() local
578 fontSize = parcel.readInt(); in readStyle()
596 isItalic, isUnderlined, fontSize, colorRGBA); in readStyle()
DClosedCaptionRenderer.java1310 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/core/jni/android/graphics/fonts/
DFont.cpp145 jlong fontSize = env->GetDirectBufferCapacity(buffer); in Font_Builder_build() local
146 if (fontSize <= 0) { in Font_Builder_build()
153 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in Font_Builder_build()
175 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, in Font_Builder_build()
/frameworks/rs/
Drsg.spec59 param float fontSize
66 param float fontSize
DrsFont.cpp40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument
60 mFontSize = fontSize; in init()
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init()
295 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument
302 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create()
308 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
859 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument
860 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile()
869 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument
871 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); in rsi_FontCreateFromMemory()
DrsFont.h75 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…
DrsApiStubs.cpp829 float fontSize, uint32_t dpi) in rsFontCreateFromFile() argument
831 return RS_DISPATCH(ctxWrapper, FontCreateFromFile, name, name_length, fontSize, dpi); in rsFontCreateFromFile()
835 float fontSize, uint32_t dpi, in rsFontCreateFromMemory() argument
838 …return RS_DISPATCH(ctxWrapper, FontCreateFromMemory, name, name_length, fontSize, dpi, data, data_… in rsFontCreateFromMemory()
DrsApiStubs.h141 …reateFromFile (RsContext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi);
142 …FromMemory (RsContext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi, co…
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp78 int32_t fontSize = -1; member
214 fontInfo.fontSize = *(tmpData + 7); in TEST_P()
215 ALOGI("Size of the font: %d", fontInfo.fontSize); in TEST_P()
327 ASSERT_EQ(parcel.readInt32(), fontInfo.fontSize) << "Parcel has invalid value of font size"; in TEST_P()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java139 long fontSize = fileChannel.size(); in addFont() local
140 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java85 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() local
89 mTextPaint.setTextSize(fontSize); in Watermark()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp33 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia() argument
39 , mFontSize(fontSize) in MinikinFontSkia()
DMinikinSkia.h31 MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize,
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java105 final long fontSize = fileChannel.size(); in mmap() local
106 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in mmap()
/frameworks/rs/cpp/
DrsDispatch.h117 …romFileFnPtr) (RsContext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi);
118 …moryFnPtr) (RsContext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi, co…
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1732 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile() argument
1737 fontSize, dpi); in nFontCreateFromFile()
1744 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream() argument
1751 fontSize, dpi, in nFontCreateFromAssetStream()
1758 jfloat fontSize, jint dpi) in nFontCreateFromAsset() argument
1777 fontSize, dpi, in nFontCreateFromAsset()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1273 …yGlyphIndexArrayNV)(GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
1274 …CALL_GL_API_RETURN(glPathMemoryGlyphIndexArrayNV, firstPathName, fontTarget, fontSize, fontData, f…
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3134 …HINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
3211 …yGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
/frameworks/native/opengl/libs/
Dentries.in640 …yGlyphIndexArrayNV, GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt40858 Landroid/media/TimedText$Style;->fontSize:I