Home
last modified time | relevance | path

Searched refs:mFaces (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DTypefaceTest.java29 private final Typeface[] mFaces = new Typeface[] { field in TypefaceTest
50 final int n = mFaces.length; in testUnique()
53 assertTrue("unique", mFaces[i] != mFaces[j]); in testUnique()
60 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles()
61 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
62 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles()
63 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
64 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
65 assertTrue("style", mFaces[5].getStyle() == Typeface.BOLD_ITALIC); in testStyles()
66 assertTrue("style", mFaces[6].getStyle() == Typeface.NORMAL); in testStyles()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java62 private Camera.Face[] mFaces; field in LegacyFaceDetectMapper
92 mFaces = faces; in LegacyFaceDetectMapper()
184 mFaces = null; in processFaceDetectMode()
220 faces = mFaces; in mapResultFaces()
/frameworks/minikin/libs/minikin/
DLayout.cpp276 mFaces.clear(); in reset()
391 for (ix = 0; ix < mFaces.size(); ix++) { in findFace()
392 if (mFaces[ix].font == face.font) { in findFace()
396 mFaces.push_back(face); in findFace()
697 ctx->paint.font = mFaces[font_ix].font; in doLayoutRun()
698 ctx->paint.fakery = mFaces[font_ix].fakery; in doLayoutRun()
775 if (src->mFaces.size() < sizeof(fontMapStack) / sizeof(fontMapStack[0])) { in appendLayout()
778 fontMap = new int[src->mFaces.size()]; in appendLayout()
780 for (size_t i = 0; i < src->mFaces.size(); i++) { in appendLayout()
781 int font_ix = findFace(src->mFaces[i], NULL); in appendLayout()
[all …]
/frameworks/minikin/include/minikin/
DLayout.h68 Layout() : mGlyphs(), mAdvances(), mCollection(0), mFaces(), mAdvance(0), mBounds() { in Layout()
131 std::vector<FakedFont> mFaces; variable