Home
last modified time | relevance | path

Searched refs:mFace (Results 1 – 9 of 9) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontFileParser.cpp158 : mFace(makeHbFace(buffer, size, index)) {} in FontFileParser()
161 : mFace(hb_face_reference(face.get())) {} in FontFileParser()
164 : mFace(hb_face_reference(hb_font_get_face(font.get()))) {} in FontFileParser()
176 if (!mFace) return std::optional<uint32_t>(); in getFontRevision()
178 HbBlob headTable(mFace, MakeTag('h', 'e', 'a', 'd')); in getFontRevision()
190 if (!mFace) return std::optional<std::string>(); in getPostScriptName()
195 uint32_t result = hb_ot_name_get_utf8(mFace.get(), HB_OT_NAME_ID_POSTSCRIPT_NAME, in getPostScriptName()
212 if (!mFace) return std::optional<bool>(); in isPostScriptType1Font()
214 HbBlob cffTable(mFace, MakeTag('C', 'F', 'F', ' ')); in isPostScriptType1Font()
215 HbBlob cff2Table(mFace, MakeTag('C', 'F', 'F', '2')); in isPostScriptType1Font()
/frameworks/rs/
DrsFont.cpp37 mFace = nullptr; in Font()
49 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); in init()
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init()
69 mHasKerning = FT_HAS_KERNING(mFace); in init()
240 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER ); in updateGlyphCache()
246 glyph->mAdvanceX = mFace->glyph->advance.x; in updateGlyphCache()
247 glyph->mAdvanceY = mFace->glyph->advance.y; in updateGlyphCache()
248 glyph->mBitmapLeft = mFace->glyph->bitmap_left; in updateGlyphCache()
249 glyph->mBitmapTop = mFace->glyph->bitmap_top; in updateGlyphCache()
[all …]
DrsFont.h123 FT_FaceRec_ *mFace; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceInternalEnumerateClientTest.java82 private final Face mFace = new Face("face", mBiometricId, 1 /* deviceId */); field in FaceInternalEnumerateClientTest
90 enrolled.add(mFace); in setUp()
104 mClient.onEnumerationResult(mFace, 0); in internalCleanupClient_noTemplatesRemaining()
DFaceInternalCleanupClientTest.java86 private final Face mFace = new Face("face", mBiometricId, 1 /* deviceId */); field in FaceInternalCleanupClientTest
94 mEnrolledList.add(mFace); in setUp()
/frameworks/minikin/include/minikin/
DFontFileParser.h46 HbFaceUniquePtr mFace;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapterTest.java88 private final Face mFace = new Face("face" /* name */, 1 /* faceId */, 0 /* deviceId */); field in HidlToAidlSessionAdapterTest
113 when(mFaceManager.getEnrolledFaces(anyInt())).thenReturn(List.of(mFace)); in setUp()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java983 private final Face mFace; field in FaceManager.AuthenticationResult
998 mFace = face; in AuthenticationResult()
1021 return mFace; in getFace()
/frameworks/base/core/java/android/text/
DHtml.java1173 setSpanFromMark(text, font, new TypefaceSpan(font.mFace)); in endFont()
1310 public String mFace; field in HtmlToSpannedConverter.Font
1313 mFace = face; in Font()