Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java27 import android.hardware.camera2.params.Face;
61 private Camera.Face[] mFaces;
62 private Camera.Face[] mFacesPrev;
87 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
211 Camera.Face[] faces, previousFaces; in mapResultFaces()
239 List<Face> convertedFaces = new ArrayList<>(); in mapResultFaces()
241 for (Camera.Face face : faces) { in mapResultFaces()
255 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0])); in mapResultFaces()
DParameterUtils.java25 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()
912 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/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java48 import android.hardware.camera2.params.Face;
605 private boolean setFaces(Face[] faces) { in setFaces()
614 for (Face face : faces) { in setFaces()
621 if (face.getId() == Face.ID_UNSUPPORTED) { in setFaces()
637 for (Face face : faces) { in setFaces()
669 private Face[] getFaces() { in getFaces()
685 return new Face[0]; in getFaces()
690 return new Face[0]; in getFaces()
697 return new Face[0]; in getFaces()
724 ArrayList<Face> faceList = new ArrayList<Face>(); in getFaces()
[all …]
/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/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/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/docs/html/design/downloads/
Dindex.jd95 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Sp…
115 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Ex…
135 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Ex…
155 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Watch Face Ex…
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/
Dwear.jd212 Watch Face
220 Watch Face를 포함하는 앱이 공식 Watch Face API를 사용합니다.
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java3543 public static final Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES =
3544 …new Key<android.hardware.camera2.params.Face[]>("android.statistics.faces", android.hardware.camer…
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java38 import android.hardware.camera2.params.Face;
1038 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1056 Face[] resultSimpleFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1059 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>
46 <h2 id="Initialize">Initialize Your Watch Face</h2>
205 method, as described in <a href="#Drawing">Drawing Your Watch Face</a>.</p>
451 <h2 id="Drawing">Draw Your Watch Face</h2>
Dindex.jd60 Building a Watch Face Service</a></dt>
Dinformation.jd10 <li><a href="#AddData">Add Data to Your Watch Face</a></li>
77 <h2 id="AddData">Add Data to Your Watch Face</h2>
Dservice.jd1 page.title=Building a Watch Face Service
201 <h2 id="RegisterService">Register the Watch Face Service</h2>
Dinteracting.jd9 <li><a href="#Construct">Construct an Interactive Watch Face</a></li>
Dperformance.jd129 Face</a>.</p>
/frameworks/base/core/java/android/hardware/
DCamera.java1139 mFaceListener.onFaceDetection((Face[])msg.obj, mCamera); in handleMessage()
1638 void onFaceDetection(Face[] faces, Camera camera); in onFaceDetection()
1717 public static class Face { class in Camera
1721 public Face() { in Face() method in Camera.Face
/frameworks/base/docs/html/wear/preview/features/
Dcomplications.jd1 page.title=Watch Face Complications
13 Complications to a Watch Face</a>
34 Face sample app with complications</a></li>
100 Adding Complications to a Watch 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()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd31 <li><a href="#face-detection">Face detection</a></li>
921 <li><a href="#face-detection">Face detection</a></li>
939 <td><a href="#face-detection">Face Detection</a></td>
1125 <li>Face detection</li>
1186 <h3 id="face-detection">Face detection</h3>
1218 public void onFaceDetection(Face[] faces, Camera camera) {
1221 " Face 1 Location X: " + faces[0].rect.centerX() +
1241 // Try starting Face Detection
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/
Dwear.jd220 Приложения, изменяющие циферблат, должны использовать официальный API Watch Face.
/frameworks/base/docs/html/wear/preview/
Dapi-overview.jd85 Watch Face Complications</a>.

12