/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 26 * Identifies the faces of people in a 103 * be analysed and the maximum number of faces that can be detected. 109 * @param maxFaces the maximum number of faces to identify 125 * Finds all the faces found in a given {@link android.graphics.Bitmap}. 130 * @param faces an array in which to place all found 133 * @return the number of faces found 139 public int findFaces(Bitmap bitmap, Face[] faces) argument 148 if (faces.length < mMaxFaces) { 150 "faces[] smaller than maxFaces"); 157 if (faces[ [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Type.java | 29 * detail), Faces (faces of a cube map). The X,Y,Z dimensions can be assigned 141 int faces = 1; 143 faces = 6; 155 int count = x * y * z * faces; 168 count += x * y * z * faces;
|
H A D | RenderScript.java | 243 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); argument 244 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { argument 246 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces);
|
/frameworks/rs/cpp/ |
H A D | Type.cpp | 35 uint32_t faces = 1; local 37 faces = 6; 49 uint32_t count = x * y * z * faces; 61 count += x * y * z * faces;
|
/frameworks/rs/ |
H A D | rsType.cpp | 59 rsAssert(mHal.state.faces); 106 if (mHal.state.faces) { 153 mHal.state.faces); 172 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); 195 uint8_t faces = stream->loadU8(); local 196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); 248 nt->mHal.state.faces = dimFaces; 308 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) { 311 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces); 320 // mHal.state.lodCount; mHal.state.faces; mElemen 307 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces) argument [all...] |
H A D | rsType.h | 52 bool faces; member in struct:android::renderscript::Type::Hal::State 70 bool getDimFaces() const {return mHal.state.faces;}
|
H A D | rs.spec | 36 param bool faces
|
/frameworks/av/camera/ |
H A D | ICameraClient.cpp | 64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); 108 metadata->faces = (camera_face_t *) data.readInplace(
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
H A D | rs_structs.h | 216 bool faces; member in struct:Type::__anon1251::__anon1252
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 343 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); 344 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); 345 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); 346 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); 349 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 430 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) 432 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i)", 433 con, eid, dimx, dimy, dimz, mips, faces); 435 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces); 429 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 212 * The direction that the camera faces. It should be 1187 * Notify the listener of the detected faces in the preview frame. 1189 * @param faces The detected faces in a list 1192 void onFaceDetection(Face[] faces, Camera camera); argument 1196 * Registers a listener to be notified about the faces detected in the 1210 * faces in the preview frame. The detected faces may be the same as the 1218 * have no effect. The camera uses the detected faces to do auto-white balance, 1632 private static final String KEY_MAX_NUM_DETECTED_FACES_HW = "max-num-detected-faces [all...] |