Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/media/java/android/media/
DFaceDetector.java139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces() argument
148 if (faces.length < mMaxFaces) { in findFaces()
157 if (faces[i] == null) in findFaces()
158 faces[i] = new Face(); in findFaces()
159 fft_get_face(faces[i], i); in findFaces()
/frameworks/rs/
DrsType.cpp117 if (mHal.state.faces) { in compute()
159 mHal.state.faces); in dumpLOGV()
176 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); in serialize()
200 p.faces = stream->loadU8(); in createFromStream()
239 if (t->getDimFaces() != params->faces) continue; in getTypeRef()
271 nt->mHal.state.faces = params->faces; in getTypeRef()
315 p.faces = getDimFaces(); in cloneAndResize2D()
363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
372 p.faces = faces; in rsi_TypeCreate()
DrsType.h58 bool faces; member
77 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
DrsInternalDefines.h219 bool faces; member
DrsScriptC_Lib.cpp340 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, in rsrTypeCreate() argument
342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsrTypeCreate()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUserState.java74 final ArrayList<Face> faces; in doWriteState() local
77 faces = getCopy(mBiometrics); in doWriteState()
82 final int count = faces.size(); in doWriteState()
84 Face f = faces.get(i); in doWriteState()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java67 Face[] faces = (Face[]) facesFrame.getValues(); in onProcess() local
74 drawBoxes(pixels, faces, dims); in onProcess()
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes() argument
83 for(int i = 0; i < faces.length; i++) { in drawBoxes()
84 Rect tempRect = faces[i].rect; in drawBoxes()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp403 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
404 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
405 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
406 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata()
409 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata()
411 bool optionalFields = metadata->faces[i].id != 0 in postMetadata()
412 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000 in postMetadata()
413 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -2000 in postMetadata()
414 && metadata->faces[i].mouth[0] != -2000 && metadata->faces[i].mouth[1] != -2000; in postMetadata()
416 int32_t id = metadata->faces[i].id; in postMetadata()
[all …]
/frameworks/rs/cpp/
DType.cpp39 uint32_t faces = 1; in calcElementCount() local
41 faces = 6; in calcElementCount()
53 uint32_t count = x * y * z * faces; in calcElementCount()
65 count += x * y * z * faces; in calcElementCount()
/frameworks/rs/support/java/src/androidx/renderscript/
DType.java160 int faces = 1; in calcElementCount() local
162 faces = 6; in calcElementCount()
174 int count = x * y * z * faces; in calcElementCount()
187 count += x * y * z * faces; in calcElementCount()
/frameworks/base/core/proto/android/server/
Dface.proto38 // The number of faces registered to this user.
52 // Number of accepted faces.
55 // Number of rejected faces.
/frameworks/base/rs/java/android/renderscript/
DType.java193 int faces = 1; in calcElementCount() local
195 faces = 6; in calcElementCount()
207 int count = x * y * z * faces; in calcElementCount()
220 count += x * y * z * faces; in calcElementCount()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DBiometricTestSessionImpl.java165 List<Face> faces = FaceUtils.getLegacyInstance(mSensorId) in acceptAuthentication() local
167 if (faces.isEmpty()) { in acceptAuthentication()
171 final int fid = faces.get(0).getBiometricId(); in acceptAuthentication()
DTestHal.java133 final List<Face> faces = FaceUtils.getInstance(mSensorId) in remove() local
136 for (Face face : faces) { in remove()
DFace10.java740 final List<Face> faces = getEnrolledFaces(sensorId, userId); in scheduleSetFeature() local
741 if (faces.isEmpty()) { in scheduleSetFeature()
748 final int faceId = faces.get(0).getBiometricId(); in scheduleSetFeature()
762 final List<Face> faces = getEnrolledFaces(sensorId, userId); in scheduleGetFeature() local
763 if (faces.isEmpty()) { in scheduleGetFeature()
770 final int faceId = faces.get(0).getBiometricId(); in scheduleGetFeature()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DBiometricTestSessionImpl.java177 List<Face> faces = FaceUtils.getInstance(mSensorId) in acceptAuthentication() local
179 if (faces.isEmpty()) { in acceptAuthentication()
183 final int fid = faces.get(0).getBiometricId(); in acceptAuthentication()
DFaceProvider.java454 final List<Face> faces = FaceUtils.getInstance(sensorId) in scheduleRemoveAll() local
456 final int[] faceIds = new int[faces.size()]; in scheduleRemoveAll()
457 for (int i = 0; i < faces.size(); i++) { in scheduleRemoveAll()
458 faceIds[i] = faces.get(i).getBiometricId(); in scheduleRemoveAll()
499 final List<Face> faces = FaceUtils.getInstance(sensorId) in scheduleSetFeature() local
501 if (faces.isEmpty()) { in scheduleSetFeature()
519 final List<Face> faces = FaceUtils.getInstance(sensorId) in scheduleGetFeature() local
521 if (faces.isEmpty()) { in scheduleGetFeature()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp144 Vector<camera_face_t> faces; in processFaceDetect() local
211 faces.setCapacity(metadata.number_of_faces); in processFaceDetect()
255 faces.push_back(face); in processFaceDetect()
258 metadata.faces = faces.editArray(); in processFaceDetect()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java71 Face[] faces = new Face[1]; in testFaceSquareFilter() local
72 faces[0] = face; in testFaceSquareFilter()
73 facesFrame.setValue(faces); in testFaceSquareFilter()
/frameworks/rs/script_api/
Drs_allocation_create.spec83 arg: bool faces, "Flag indicating if the Type is a cubemap"
99 faces indicates the presence of cubemap faces.
Drs_object_types.spec96 summary: Enum for selecting cube map faces
98 An enum used to specify one the six faces of a cubemap.
/frameworks/base/libs/hwui/jni/
DTypeface.cpp297 ScopedLongArrayRO faces(env, faceHandles); in Typeface_writeTypefaces() local
299 typefaces.reserve(faces.size()); in Typeface_writeTypefaces()
300 for (size_t i = 0; i < faces.size(); i++) { in Typeface_writeTypefaces()
301 typefaces.push_back(toTypeface(faces[i])); in Typeface_writeTypefaces()
/frameworks/av/camera/
DICameraClient.cpp69 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); in dataCallback()
151 metadata.faces = (camera_face_t *) data.readInplace( in onTransact()
/frameworks/rs/driver/runtime/
Drs_structs.h264 bool faces; member
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp264 bool faces, in CreateType() argument
297 if (faces) { in CreateType()
311 if (faces && dimY < 1) { in CreateType()
316 if (dimZ != 0 || dimY == 0 || faces || mipmaps) { in CreateType()
323 faces, yuv_format); in CreateType()
390 uint32_t dimZ, bool mipmaps, bool faces, in rsCreateType() argument
393 dimY, dimZ, mipmaps, faces, in rsCreateType()
419 bool mipmaps, bool faces, in rsCreateType() argument
421 return CreateType((RsElement) element.p, dimX, dimY, dimZ, mipmaps, faces, in rsCreateType()

12