Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java44 private final Typeface[] mFaces = new Typeface[] { field in TypefaceTest
67 final int n = mFaces.length; in testUnique()
70 assertTrue("unique", mFaces[i] != mFaces[j]); in testUnique()
78 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles()
79 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
80 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles()
81 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
82 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC); in testStyles()
83 assertTrue("style", mFaces[5].getStyle() == Typeface.BOLD_ITALIC); in testStyles()
84 assertTrue("style", mFaces[6].getStyle() == Typeface.NORMAL); in testStyles()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java61 private Camera.Face[] mFaces; field in LegacyFaceDetectMapper
91 mFaces = faces; in LegacyFaceDetectMapper()
183 mFaces = null; in processFaceDetectMode()
219 faces = mFaces; in mapResultFaces()
/frameworks/minikin/include/minikin/
DLayout.h75 mFaces(), in Layout()
141 sizeof(MinikinExtent) * mExtents.size() + sizeof(FakedFont) * mFaces.size() + in getMemoryUsage()
189 std::vector<FakedFont> mFaces; variable
/frameworks/minikin/libs/minikin/
DLayout.cpp135 mFaces.clear(); in reset()
163 MINIKIN_ASSERT(mFaces.size() < MAX_FAMILY_COUNT, "mFaces must not exceeds %d", in findOrPushBackFace()
166 for (; ix < mFaces.size(); ix++) { in findOrPushBackFace()
167 if (mFaces[ix].font == face.font) { in findOrPushBackFace()
171 ix = mFaces.size(); in findOrPushBackFace()
172 mFaces.push_back(face); in findOrPushBackFace()
760 if (src.mFaces.size() < sizeof(fontMapStack) / sizeof(fontMapStack[0])) { in appendLayout()
763 fontMap = new int[src.mFaces.size()]; in appendLayout()
765 for (size_t i = 0; i < src.mFaces.size(); i++) { in appendLayout()
766 uint8_t font_ix = findOrPushBackFace(src.mFaces[i]); in appendLayout()
[all …]