/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() {
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
Camera2FaceProxy.java | 20 import android.hardware.camera2.params.Face; 35 public static Camera2FaceProxy from(Face face) { 36 Camera2FaceProxy convertedFace = new Camera2FaceProxy(face.getBounds(), face.getScore());
|
CaptureSessionStatsCollector.java | 5 import android.hardware.camera2.params.Face; 75 Face [] facesCaptured = captureResult.get(CaptureResult.STATISTICS_FACES); 80 for (Face face : facesCaptured) { 81 mFaceProxies.add(Camera2FaceProxy.from(face)); 103 * space of the face array
|
/external/skia/src/gpu/ |
GrStencilSettings.cpp | 62 memcpy(&fFront, &that.fFront, sizeof(Face)); 64 memcpy(&fFront, &that.fFront, 2 * sizeof(Face)); 65 GR_STATIC_ASSERT(sizeof(Face) == 80 return 0 == memcmp(&fFront, &that.fFront, sizeof(Face)); // Both are single sided. 84 return 0 == memcmp(&fFront, &that.fFront, 2 * sizeof(Face)); 85 GR_STATIC_ASSERT(sizeof(Face) == 88 // memcmp relies on GrStencilSettings::Face being tightly packed. 89 GR_STATIC_ASSERT(0 == offsetof(Face, fRef)); 90 GR_STATIC_ASSERT(2 == sizeof(Face::fRef)); 91 GR_STATIC_ASSERT(2 == offsetof(Face, fTest)) [all...] |
GrStencilSettings.h | 76 struct Face : public GrTStencilFaceSettings<GrStencilTest, GrStencilOp> { 77 void reset(const GrUserStencilSettings::Face&, bool useStencilClip, int numStencilBits); 81 const Face& front() const { SkASSERT(!this->isDisabled()); return fFront; } 82 const Face& back() const { SkASSERT(this->isTwoSided()); return fBack; } 117 Face fFront; 118 Face fBack;
|
/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...] |
/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...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyFaceDetectMapper.java | 27 import android.hardware.camera2.params.Face; 42 * Map legacy face detect callbacks into face detection results. 50 /** Is the camera capable of face detection? */ 52 /** Is the camera is running face detection? */ 56 /** Did the last request enable the face detect mode to ON? */ 61 private Camera.Face[] mFaces; 62 private Camera.Face[] mFacesPrev; 64 * Instantiate a new face detect mapper. 87 public void onFaceDetection(Camera.Face[] faces, Camera camera) [all...] |
ParameterUtils.java | 25 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) { 135 // 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/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/DevCamera/src/com/android/devcamera/ |
NormalizedFace.java | 20 import android.hardware.camera2.params.Face; 24 * Face coordinates. Normalized 0 to 1, and in native sensor orientation, which so far seems to be 34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) { 35 if (face.getLeftEyePosition() != null) { 37 leftEye.x = (float) (face.getLeftEyePosition().x - offX) / dX; 38 leftEye.y = (float) (face.getLeftEyePosition().y - offY) / dY; 40 if (face.getRightEyePosition() != null) { 42 rightEye.x = (float) (face.getRightEyePosition().x - offX) / dX; 43 rightEye.y = (float) (face.getRightEyePosition().y - offY) / dY [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | 48 import android.hardware.camera2.params.Face; 633 private boolean setFaces(Face[] faces) { 642 for (Face face : faces) { 643 if (face == null) { 645 Log.w(TAG, "setFaces - null face detected, skipping"); 649 if (face.getId() == Face.ID_UNSUPPORTED) { 665 for (Face face : faces) 772 Face face = new Face(faceRectangles[i], faceScores[i], faceIds[i], local [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Meshes.cpp | 42 struct Face { 108 faces_.emplace_back(Face{ f[0], f[1], f[2] }); 150 for (const auto &face : faces_) { 151 dst[0] = face.v0; 152 dst[1] = face.v1; 153 dst[2] = face.v2; 160 std::vector<Face> faces_; 259 std::vector<Mesh::Face> faces; 277 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); 278 faces.emplace_back(Mesh::Face{ v1, v12, v01 }) [all...] |