Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DFaceView.java53 private Face[] mFaces; field in FaceView
68 mFaces = mPendingFaces;
91 if (mFaces != null) { in setFaces()
92 if ((faces.length > 0 && mFaces.length == 0) in setFaces()
93 || (faces.length == 0 && mFaces.length > 0)) { in setFaces()
106 mFaces = faces; in setFaces()
131 return (mFaces != null && mFaces.length > 0); in faceExists()
137 mFaces = null; in clear()
155 if (!mBlocked && (mFaces != null) && (mFaces.length > 0)) { in onDraw()
172 for (int i = 0; i < mFaces.length; i++) { in onDraw()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DFaceView.java45 private Face[] mFaces; field in FaceView
62 mFaces = faces; in setFaces()
82 return (mFaces != null && mFaces.length > 0); in faceExists()
108 mFaces = null; in clear()
122 if (mFaces != null && mFaces.length > 0) { in onDraw()
131 for (int i = 0; i < mFaces.length; i++) { in onDraw()
133 mRect.set(mFaces[i].rect); in onDraw()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java39 private NormalizedFace[] mFaces; field in PreviewOverlay
69 mFaces = faces; in setFrameData()
159 if (mFaces == null) { in onDraw()
208 for (NormalizedFace face : mFaces) { in onDraw()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java420 FaceDetector.Face[] mFaces = new FaceDetector.Face[3];
522 faceBitmap.getHeight(), mFaces.length);
523 mNumFaces = detector.findFaces(faceBitmap, mFaces);
535 handleFace(mFaces[i]);