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.cpp402 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
403 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
404 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
405 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata()
408 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata()
410 bool optionalFields = metadata->faces[i].id != 0 in postMetadata()
411 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000 in postMetadata()
412 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -2000 in postMetadata()
413 && metadata->faces[i].mouth[0] != -2000 && metadata->faces[i].mouth[1] != -2000; in postMetadata()
415 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/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/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DBiometricTestSessionImpl.java186 List<Face> faces = FaceUtils.getInstance(mSensorId) in acceptAuthentication() local
188 if (faces.isEmpty()) { in acceptAuthentication()
192 final int fid = faces.get(0).getBiometricId(); in acceptAuthentication()
DFaceProvider.java618 final List<Face> faces = FaceUtils.getInstance(sensorId) in scheduleRemoveAll() local
620 final int[] faceIds = new int[faces.size()]; in scheduleRemoveAll()
621 for (int i = 0; i < faces.size(); i++) { in scheduleRemoveAll()
622 faceIds[i] = faces.get(i).getBiometricId(); in scheduleRemoveAll()
669 final List<Face> faces = FaceUtils.getInstance(sensorId) in scheduleSetFeature() local
671 if (faces.isEmpty()) { in scheduleSetFeature()
690 final List<Face> faces = FaceUtils.getInstance(sensorId) in scheduleGetFeature() local
692 if (faces.isEmpty()) { in scheduleGetFeature()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DTestHal.java133 final List<Face> faces = FaceUtils.getInstance(mSensorId) in remove() local
136 for (Face face : faces) { in remove()
DHidlToAidlSessionAdapter.java330 List<Face> faces = faceManager.getEnrolledFaces(mUserId); in getFaceId() local
331 if (faces.isEmpty()) { in getFaceId()
338 return faces.get(0).getBiometricId(); in getFaceId()
/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.cpp296 ScopedLongArrayRO faces(env, faceHandles); in Typeface_writeTypefaces() local
298 typefaces.reserve(faces.size()); in Typeface_writeTypefaces()
299 for (size_t i = 0; i < faces.size(); i++) { in Typeface_writeTypefaces()
300 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()
/frameworks/rs/script_api/include/
Drs_object_types.rsh93 * rs_allocation_cubemap_face: Enum for selecting cube map faces
95 * An enum used to specify one the six faces of a cubemap.

12