Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp105 const size_t fontSize = data->size(); in addSkTypeface() local
121 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, ttcIndex, in addSkTypeface()
180 jlong fontSize = env->GetDirectBufferCapacity(bytebuf); in FontFamily_addFont() local
181 if (fontSize < 0) { in FontFamily_addFont()
187 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFont()
202 jlong fontSize = env->GetDirectBufferCapacity(font); in FontFamily_addFontWeightStyle() local
203 if (fontSize < 0) { in FontFamily_addFontWeightStyle()
209 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFontWeightStyle()
/frameworks/base/media/java/android/media/
DTimedText.java206 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()
DWebVttRenderer.java1223 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 …]
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/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/base/graphics/java/android/graphics/
DFontFamily.java99 long fontSize = fileChannel.size(); in addFont() local
100 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
DTypeface.java897 long fontSize = fileChannel.size(); in makeFamilyFromParsed() local
898 fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in makeFamilyFromParsed()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp27 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia() argument
30 mFontSize(fontSize), mTtcIndex(ttcIndex), mAxes(axes) { in MinikinFontSkia()
DMinikinSkia.h31 explicit MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize,
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java86 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() local
90 mTextPaint.setTextSize(fontSize); in Watermark()
/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.cpp1727 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile() argument
1732 fontSize, dpi); in nFontCreateFromFile()
1739 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream() argument
1746 fontSize, dpi, in nFontCreateFromAssetStream()
1753 jfloat fontSize, jint dpi) in nFontCreateFromAsset() argument
1768 fontSize, dpi, in nFontCreateFromAsset()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in976 …yGlyphIndexArrayNV)(GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
977 …CALL_GL_API_RETURN(glPathMemoryGlyphIndexArrayNV, firstPathName, fontTarget, fontSize, fontData, f…
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3023 …HINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
3081 …yGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
/frameworks/native/opengl/libs/
Dentries.in578 …yGlyphIndexArrayNV, GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…