/frameworks/base/libs/hwui/jni/ |
D | FontFamily.cpp | 119 const size_t fontSize = data->size(); in addSkTypeface() local 136 fontSize, "", ttcIndex, builder->axes); in addSkTypeface() 179 jlong fontSize = env->GetDirectBufferCapacity(bytebuf); in FontFamily_addFont() local 180 if (fontSize < 0) { in FontFamily_addFont() 186 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFont() 201 jlong fontSize = env->GetDirectBufferCapacity(font); in FontFamily_addFontWeightStyle() local 202 if (fontSize < 0) { in FontFamily_addFontWeightStyle() 208 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFontWeightStyle()
|
D | Typeface.cpp | 246 size_t fontSize = data->size(); in loadMinikinFontSkia() local 249 minikin::FontFileParser parser(fontPtr, fontSize, fontIndex); in loadMinikinFontSkia() 263 std::move(data), fontPath, fontPtr, fontSize, fontIndex, axes); in loadMinikinFontSkia()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 93 jlong fontSize = env->GetDirectBufferCapacity(buffer); in Font_Builder_build() local 94 if (fontSize <= 0) { in Font_Builder_build() 102 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in Font_Builder_build() 106 fontPtr, fontSize, ttcIndex, builder->axes); in Font_Builder_build() 340 jlong fontSize = env->GetDirectBufferCapacity(buffer); in FontFileUtil_getFontRevision() local 341 if (fontSize <= 0) { in FontFileUtil_getFontRevision() 346 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontRevision() 362 jlong fontSize = env->GetDirectBufferCapacity(buffer); in FontFileUtil_getFontPostScriptName() local 363 if (fontSize <= 0) { in FontFileUtil_getFontPostScriptName() 368 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontPostScriptName() [all …]
|
D | Font.h | 33 sk_sp<SkData>&& data, std::string_view fontPath, const void *fontPtr, size_t fontSize,
|
/frameworks/base/media/java/android/media/ |
D | TimedText.java | 209 public final int fontSize; field in TimedText.Style 230 int fontSize, int colorRGBA) { in Style() argument 237 this.fontSize = fontSize; in Style() 552 int fontSize = -1; in readStyle() local 579 fontSize = parcel.readInt(); in readStyle() 597 isItalic, isUnderlined, fontSize, colorRGBA); in readStyle()
|
D | WebVttRenderer.java | 1225 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 …]
|
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/rs/ |
D | rsg.spec | 59 param float fontSize 66 param float fontSize
|
D | rsFont.cpp | 40 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()
|
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…
|
D | rsApiStubs.cpp | 829 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()
|
D | rsApiStubs.h | 280 float fontSize, uint32_t dpi) __DEPRECATED_IN(31); 282 float fontSize, uint32_t dpi, const void* data,
|
/frameworks/av/media/libstagefright/timedtext/test/ |
D | TimedTextUnitTest.cpp | 78 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/ |
D | FontFamily.java | 146 long fontSize = fileChannel.size(); in addFont() local 147 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 83 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() local 87 mTextPaint.setTextSize(fontSize); in Watermark()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 34 size_t fontSize, std::string_view filePath, int ttcIndex, in MinikinFontSkia() argument 39 , mFontSize(fontSize) in MinikinFontSkia()
|
D | MinikinSkia.h | 33 MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, size_t fontSize,
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleOverflowContainerView.java | 213 final float fontSize = mContext.getResources() in updateFontSize() local 215 mEmptyStateTitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize() 216 mEmptyStateSubtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
|
D | BubbleFlyoutView.java | 224 final float fontSize = mContext.getResources() in updateFontSize() local 226 mMessageText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize() 227 mSenderText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
|
D | BubbleExpandedView.java | 383 final float fontSize = mContext.getResources() in updateFontSize() local 386 mManageButton.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | SystemFonts.java | 87 final long fontSize = fileChannel.size(); in mmap() local 88 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in mmap()
|
/frameworks/rs/cpp/ |
D | rsDispatch.h | 117 …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/ |
D | android_renderscript_RenderScript.cpp | 1727 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 1772 fontSize, dpi, in nFontCreateFromAsset()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 1273 …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/ |
D | gl2ext.h | 3134 …HINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font… 3211 …yGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *font…
|