HomeSort by relevance Sort by last modified time
    Searched refs:Face (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/clang/test/SemaCXX/
tag-ambig.cpp 21 namespace A { struct Face {}; }
22 namespace B { struct Face {}; }
27 struct Face;
28 Face *mFaces;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
Face.java 25 public class Face implements Comparable<Face> {
30 public Face(String name, String personId, String rect) {
54 if (obj instanceof Face) {
55 Face face = (Face) obj; local
56 return mPersonId.equals(face.mPersonId);
62 public int compareTo(Face another) {
FaceClustering.java 50 Face[] faces = item.getFaces();
52 Face face = faces[faceIndex]; local
55 mCoverRegion = face.getPosition();
58 Rect region = face.getPosition();
62 mCoverRegion = face.getPosition();
92 final TreeMap<Face, FaceCluster> map =
93 new TreeMap<Face, FaceCluster>();
99 Face[] faces = item.getFaces();
105 Face face = faces[j]
    [all...]
MediaItem.java 77 public Face[] getFaces() {
  /cts/tests/tests/media/src/android/media/cts/
FaceDetector_FaceTest.java 25 import android.media.FaceDetector.Face;
52 List<Face> detectedFaces = mActivity.getDetectedFaces();
54 Face face = detectedFaces.get(0); local
56 face.getMidPoint(eyesMP);
59 assertTrue(face.confidence() >= goodConfidence);
61 assertEquals(eyesDistance, face.eyesDistance(), tolerance);
66 face.pose(FaceDetector.Face.EULER_X);
67 face.pose(FaceDetector.Face.EULER_Y)
    [all...]
FaceDetectorStub.java 22 import android.media.FaceDetector.Face;
41 public List<Face> getDetectedFaces() {
FaceView.java 28 import android.media.FaceDetector.Face;
36 private Face[] mAllFaces = new Face[NUM_FACES];
44 public ArrayList<Face> detectedFaces = new ArrayList<Face>();
82 for (Face face : detectedFaces) {
84 face.getMidPoint(eyesMP);
87 float eyesDistance = face.eyesDistance() * scale;
FaceDetectorTest.java 25 import android.media.FaceDetector.Face;
  /frameworks/base/media/java/android/media/
FaceDetector.java 32 * A Face contains all the information identifying the location
33 * of a face in a bitmap.
35 public class Face {
36 /** The minimum confidence factor of good face recognition */
38 /** The x-axis Euler angle of a face. */
40 /** The y-axis Euler angle of a face. */
42 /** The z-axis Euler angle of a face. */
47 * certain what has been found is actually a face. A confidence
56 * face's mid-point
69 * Returns the face's pose. That is, the rotations around either
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrStencil.h 111 uint16_t fFuncMasks[2]; // mask for face tests
112 uint16_t fFuncRefs[2]; // reference values for face tests
172 enum Face {
182 GrStencilOp passOp(Face f) const { return static_cast<GrStencilOp>(fPassOps[f]); }
183 GrStencilOp failOp(Face f) const { return static_cast<GrStencilOp>(fFailOps[f]); }
184 GrStencilFunc func(Face f) const { return static_cast<GrStencilFunc>(fFuncs[f]); }
185 uint16_t funcMask(Face f) const { return fFuncMasks[f]; }
186 uint16_t funcRef(Face f) const { return fFuncRefs[f]; }
187 uint16_t writeMask(Face f) const { return fWriteMasks[f]; }
189 void setPassOp(Face f, GrStencilOp op) { fPassOps[f] = op; fFlags = 0;
    [all...]
  /external/skia/src/gpu/
GrStencil.h 111 uint16_t fFuncMasks[2]; // mask for face tests
112 uint16_t fFuncRefs[2]; // reference values for face tests
172 enum Face {
182 GrStencilOp passOp(Face f) const { return static_cast<GrStencilOp>(fPassOps[f]); }
183 GrStencilOp failOp(Face f) const { return static_cast<GrStencilOp>(fFailOps[f]); }
184 GrStencilFunc func(Face f) const { return static_cast<GrStencilFunc>(fFuncs[f]); }
185 uint16_t funcMask(Face f) const { return fFuncMasks[f]; }
186 uint16_t funcRef(Face f) const { return fFuncRefs[f]; }
187 uint16_t writeMask(Face f) const { return fWriteMasks[f]; }
189 void setPassOp(Face f, GrStencilOp op) { fPassOps[f] = op; fFlags = 0;
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/params/
Face.java 27 * Describes a face detected in an image.
29 public final class Face {
34 * @see Face#Face(Rect, int)
61 * Create a new face with all fields set.
71 * @param bounds Bounds of the face.
73 * @param id A unique ID per face visible to the tracker.
88 public Face(Rect bounds, int score, int id,
111 * Create a new face without the optional fields.
119 * the face id of each face is expected to be {@value #ID_UNSUPPORTED}, the leftEyePosition
    [all...]
  /external/opencv/cvaux/src/
_cvfacedetection.h 216 class Face
219 Face(FaceTemplate * lpFaceTemplate);
220 virtual ~Face();
231 FaceFeature * m_lpIdealFace;//ideal face definition
232 long m_lFaceFeaturesNumber; //total number of diferent face features
233 long * m_lplFaceFeaturesCount;//number of each features fouded for this face
234 FaceFeature ** m_lppFoundedFaceFeatures;//founded features of curen face
238 inline bool Face::isFeature(void * lpElem)
281 class RFace:public Face
303 ListElem(Face * pFace,ListElem * pHead)
    [all...]
cvface.cpp 48 Face::Face(FaceTemplate * lpFaceTemplate)
50 //init number of face elements;
53 //init array of numbers of foundet face elements of each type
57 //init array of ideal face features
71 }//Face::Face(FaceTemplate * lpFaceTemplate)
73 Face::~Face()
85 }//Face::~Face(
    [all...]
cvfacedetection.cpp 195 Face * tmp;
422 //class Face
436 ListElem::ListElem(Face * pFace,ListElem * pHead)
444 }//ListElem::ListElem(Face * pFace)
474 int List::AddElem(Face * pFace)
478 }//List::AddElem(Face * pFace)
480 Face * List::GetData()
484 }//Face * List::GetData()
  /frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyFaceDetectMapper.java 27 import android.hardware.camera2.params.Face;
43 * Map legacy face detect callbacks into face detection results.
51 /** Is the camera capable of face detection? */
53 /** Is the camera is running face detection? */
57 /** Did the last request enable the face detect mode to ON? */
62 private Camera.Face[] mFaces;
63 private Camera.Face[] mFacesPrev;
65 * Instantiate a new face detect mapper.
88 public void onFaceDetection(Camera.Face[] faces, Camera camera)
    [all...]
ParameterUtils.java 27 import android.hardware.camera2.params.Face;
118 * then possible to convert to a more concrete type such as a metering rectangle or a face.
162 * Convert to a face; the rect is considered to be the bounds, and the weight
165 * <p>If the score is out of range of {@value Face#SCORE_MIN}, {@value Face#SCORE_MAX},
173 * @return a new face with the optional features set
175 public Face toFace(
179 Face.SCORE_MIN,
180 Face.SCORE_MAX,
184 return new Face(rect, score, idSafe, leftEyePosition, rightEyePosition, mouthPosition)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
FaceView.java 26 import android.hardware.Camera.Face;
42 // The orientation compensation for the face indicator to make it look
50 // As face detection can be flaky, we add a layer of filtering on top of it
53 private Face[] mFaces;
54 private Face[] mPendingFaces;
86 public void setFaces(Face[] faces) {
139 // Ignore the parameter. No autofocus animation for face detection.
145 // Ignore the parameter. No autofocus animation for face detection.
153 // Face indicator is displayed during preview. Do not clear the
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
FaceSquareFilterTest.java 39 import android.hardware.Camera.Face;
59 FrameValues facesFrame = createFrame(FrameType.array(Camera.Face.class), new int[] {1,1}).
66 Face face = new Face(); local
68 // These are the values for image 141 with 1 face
70 face.rect = faceRect;
71 Face[] faces = new Face[1];
72 faces[0] = face;
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraMetadataNative.java 48 import android.hardware.camera2.params.Face;
591 private boolean setFaces(Face[] faces) {
600 for (Face face : faces) {
601 if (face == null) {
603 Log.w(TAG, "setFaces - null face detected, skipping");
607 if (face.getId() == Face.ID_UNSUPPORTED) {
623 for (Face face : faces)
730 Face face = new Face(faceRectangles[i], faceScores[i], faceIds[i], local
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
FaceSquareFilter.java 22 import android.hardware.Camera.Face;
51 FrameType facesType = FrameType.array(Camera.Face.class);
67 Face[] faces = (Face[]) facesFrame.getValues();
72 // For every face in faces, draw a white rect around the
73 // face following the rect member of the Face
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) {
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
FaceView.java 27 import android.hardware.Camera.Face;
37 // The orientation compensation for the face indicator to make it look
45 private Face[] mFaces;
59 public void setFaces(Face[] faces) {
105 // Face indicator is displayed during preview. Do not clear the
  /packages/apps/Camera/src/com/android/camera/ui/
FaceView.java 27 import android.hardware.Camera.Face;
46 // The orientation compensation for the face indicator to make it look
54 // As face detection can be flaky, we add a layer of filtering on top of it
57 private Face[] mFaces;
58 private Face[] mPendingFaces;
95 public void setFaces(Face[] faces) {
143 // Ignore the parameter. No autofocus animation for face detection.
150 // Ignore the parameter. No autofocus animation for face detection.
159 // Face indicator is displayed during preview. Do not clear the
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
intel_tex.c 124 int face; local
127 for (face = 0; face < numFaces; face++) {
129 struct gl_texture_image *const texImage = texObj->Image[face][level];
187 * cube face, since it's all just slices to the miptree code.
190 slice = tex_image->Face;
205 slice = tex_image->Face;
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_tex.c 124 int face; local
127 for (face = 0; face < numFaces; face++) {
129 struct gl_texture_image *const texImage = texObj->Image[face][level];
187 * cube face, since it's all just slices to the miptree code.
190 slice = tex_image->Face;
205 slice = tex_image->Face;

Completed in 770 milliseconds

1 2 3 4