Home
last modified time | relevance | path

Searched refs:Face (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java27 import android.hardware.camera2.params.Face;
62 private Camera.Face[] mFaces;
63 private Camera.Face[] mFacesPrev;
88 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
212 Camera.Face[] faces, previousFaces; in mapResultFaces()
240 List<Face> convertedFaces = new ArrayList<>(); in mapResultFaces()
242 for (Camera.Face face : faces) { in mapResultFaces()
256 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0])); in mapResultFaces()
DParameterUtils.java27 import android.hardware.camera2.params.Face;
175 public Face toFace( in toFace()
179 Face.SCORE_MIN, in toFace()
180 Face.SCORE_MAX, in toFace()
184 return new Face(rect, score, idSafe, leftEyePosition, rightEyePosition, mouthPosition); in toFace()
198 public Face toFace() { in toFace()
200 Face.SCORE_MIN, in toFace()
201 Face.SCORE_MAX, in toFace()
205 return new Face(rect, score); in toFace()
909 public static Face convertFaceFromLegacy(Camera.Face face, Rect activeArray, in convertFaceFromLegacy()
[all …]
/frameworks/base/media/java/android/media/
DFaceDetector.java35 public class Face { class in FaceDetector
89 private Face() { in Face() method in FaceDetector.Face
139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces()
158 faces[i] = new Face(); in findFaces()
191 native private void fft_get_face(Face face, int i); in fft_get_face()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java39 import android.hardware.Camera.Face;
59 FrameValues facesFrame = createFrame(FrameType.array(Camera.Face.class), new int[] {1,1}). in testFaceSquareFilter()
66 Face face = new Face(); in testFaceSquareFilter()
71 Face[] faces = new Face[1]; in testFaceSquareFilter()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java48 import android.hardware.camera2.params.Face;
591 private boolean setFaces(Face[] faces) { in setFaces()
600 for (Face face : faces) { in setFaces()
607 if (face.getId() == Face.ID_UNSUPPORTED) { in setFaces()
623 for (Face face : faces) { in setFaces()
655 private Face[] getFaces() { in getFaces()
671 return new Face[0]; in getFaces()
676 return new Face[0]; in getFaces()
683 return new Face[0]; in getFaces()
710 ArrayList<Face> faceList = new ArrayList<Face>(); in getFaces()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DFace.java29 public final class Face { class
88 public Face(Rect bounds, int score, int id, in Face() method in Face
132 public Face(Rect bounds, int score) { in Face() method in Face
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java22 import android.hardware.Camera.Face;
51 FrameType facesType = FrameType.array(Camera.Face.class); in getSignature()
67 Face[] faces = (Face[]) facesFrame.getValues(); in onProcess()
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java3098 public static final Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES =
3099 …new Key<android.hardware.camera2.params.Face[]>("android.statistics.faces", android.hardware.camer…
/frameworks/base/docs/html/design/downloads/
Dindex.jd154 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Sp…
174 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Ex…
194 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Ex…
214 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Ex…
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java38 import android.hardware.camera2.params.Face;
1034 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1052 Face[] resultSimpleFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1055 assertEquals(Face.ID_UNSUPPORTED, resultSimpleFaces[i].getId()); in testReadWriteOverride()
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd9 <li><a href="#Initialize">Initialize Your Watch Face</a></li>
13 <li><a href="#Drawing">Draw Your Watch Face</a></li>
42 <h2 id="Initialize">Initialize Your Watch Face</h2>
191 as described in <a href="#Drawing">Drawing Your Watch Face</a>.</p>
424 <h2 id="Drawing">Draw Your Watch Face</h2>
Dinformation.jd10 <li><a href="#AddData">Add Data to Your Watch Face</a></li>
72 <h2 id="AddData">Add Data to Your Watch Face</h2>
Dindex.jd61 Building a Watch Face Service</a></dt>
Dservice.jd1 page.title=Building a Watch Face Service
194 <h2 id="RegisterService">Register the Watch Face Service</h2>
Dperformance.jd39 Face</a>.</p>
/frameworks/base/core/java/android/hardware/
DCamera.java1141 mFaceListener.onFaceDetection((Face[])msg.obj, mCamera); in handleMessage()
1634 void onFaceDetection(Face[] faces, Camera camera); in onFaceDetection()
1713 public static class Face { class in Camera
1717 public Face() { in Face() method in Camera.Face
/frameworks/base/docs/html-intl/intl/zh-cn/design/style/
Dwriting.jd290 <li>正式功能的名称(Android Beam、Face Unlock)</li>
/frameworks/base/docs/html/distribute/essentials/quality/
Dwear.jd213 Watch Face
221 Apps that include watch faces use the official Watch Face API.
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); in onFaceDetection()
DAndroidCameraAgentImpl.java1334 final Camera.Face[] faces, Camera camera) { in onFaceDetection()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd36 <li><a href="#face-detection">Face detection</a></li>
1101 <li><a href="#face-detection">Face detection</a></li>
1119 <td><a href="#face-detection">Face Detection</a></td>
1305 <li>Face detection</li>
1366 <h3 id="face-detection">Face detection</h3>
1398 public void onFaceDetection(Face[] faces, Camera camera) {
1401 " Face 1 Location X: " + faces[0].rect.centerX() +
1421 // Try starting Face Detection
/frameworks/base/docs/html/design/style/
Dwriting.jd295 <li>Named features (Android Beam, Face Unlock)</li>
/frameworks/base/docs/html/about/versions/
Dandroid-4.0-highlights.jd597 <div style="padding-bottom:1em;margin-top:0;padding-top:0;font-size:.9em">Face recognition lets you
602 <p style="margin-top:1em;margin-bottom:.75em;"><strong>Face Unlock</strong></p>
605 each person's device even more personal &mdash; Face Unlock is a new screen-lock
Dandroid-4.0.jd421 <h4>Face detection</h4>
436 {@link android.hardware.Camera.Face} objects.</p>
438 <p>An instance of the {@link android.hardware.Camera.Face} class provides various information about
450 <p class="note"><strong>Note:</strong> Face detection may not be supported on some
454 in which case, those fields in the {@link android.hardware.Camera.Face} object will be null.</p>
/frameworks/base/docs/html/guide/topics/graphics/
Dopengl.jd455 commonly used feature of OpenGL, called face culling. Face culling is an option for the OpenGL

12