Searched refs:glyphId (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/minikin/tests/util/ |
H A D | FreeTypeMinikinFontForTest.cpp | 51 void loadGlyphOrDie(uint32_t glyphId, float size, FT_Face face) { in loadGlyphOrDie() argument 55 LOG_ALWAYS_FATAL_IF(FT_Load_Glyph(face, glyphId, LOAD_FLAG), "Failed to load glyph"); in loadGlyphOrDie() 88 float FreeTypeMinikinFontForTest::GetHorizontalAdvance(uint32_t glyphId, const MinikinPaint& paint, in GetHorizontalAdvance() argument 90 loadGlyphOrDie(glyphId, paint.size, mFtFace); in GetHorizontalAdvance() 94 void FreeTypeMinikinFontForTest::GetBounds(MinikinRect* bounds, uint32_t glyphId, in GetBounds() argument 97 loadGlyphOrDie(glyphId, paint.size, mFtFace); in GetBounds()
|
/aosp12/frameworks/base/graphics/java/android/graphics/fonts/ |
H A D | Font.java | 676 public float getGlyphBounds(@IntRange(from = 0) int glyphId, @NonNull Paint paint, in getGlyphBounds() 678 return nGetGlyphBounds(mNativePtr, glyphId, paint.getNativeInstance(), outBoundingBox); in getGlyphBounds() 896 private static native float nGetGlyphBounds(long font, int glyphId, long paint, RectF rect); in nGetGlyphBounds() argument
|
/aosp12/frameworks/minikin/libs/minikin/ |
H A D | CmapCoverage.cpp | 197 uint32_t glyphId = readU16(data, actualRangeOffset); in getCoverageFormat4() local 198 if (glyphId != 0) { in getCoverageFormat4()
|
/aosp12/frameworks/base/libs/hwui/jni/fonts/ |
H A D | Font.cpp | 155 static jfloat Font_getGlyphBounds(JNIEnv* env, jobject, jlong fontHandle, jint glyphId, in Font_getGlyphBounds() argument 166 uint16_t glyph16 = glyphId; in Font_getGlyphBounds()
|