Searched defs:face (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/rs/
H A DrsAdapter.h45 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} argument
77 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} argument
H A DrsType.cpp58 size_t Type::getOffsetForFace(uint32_t face) const {
133 uint32_t Type::getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, argument
138 if (face != 0) {
140 offset += faceOffset * face;
148 ALOGV("%s Type: x=%u y=%u z=%u mip=%i face=%i", prefix,
H A Drs_hal.h59 RsAllocationCubemapFace face; member in struct:android::renderscript::__anon1554
158 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
162 uint32_t lod, RsAllocationCubemapFace face,
170 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
174 uint32_t lod, RsAllocationCubemapFace face,
H A DrsAllocation.cpp91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
96 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
109 uint32_t lod, RsAllocationCubemapFace face,
127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
142 uint32_t lod, RsAllocationCubemapFace face,
510 void rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, argument
522 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
525 a->data(rsc, xoff, yoff, lod, face,
108 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) argument
141 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsAdapter.h45 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} argument
77 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} argument
H A DrsType.cpp58 size_t Type::getOffsetForFace(uint32_t face) const {
133 uint32_t Type::getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, argument
138 if (face != 0) {
140 offset += faceOffset * face;
148 ALOGV("%s Type: x=%u y=%u z=%u mip=%i face=%i", prefix,
H A Drs_hal.h59 RsAllocationCubemapFace face; member in struct:android::renderscript::__anon1583
158 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
162 uint32_t lod, RsAllocationCubemapFace face,
170 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
174 uint32_t lod, RsAllocationCubemapFace face,
H A DrsAllocation.cpp86 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
91 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
104 uint32_t lod, RsAllocationCubemapFace face,
122 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
133 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
137 uint32_t lod, RsAllocationCubemapFace face,
448 void rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, argument
460 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
463 a->data(rsc, xoff, yoff, lod, face,
103 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) argument
136 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DFrameProcessor.cpp215 ALOGE("%s: Camera %d: Unable to read face scores",
227 ALOGE("%s: Camera %d: Unable to read face landmarks",
236 ALOGE("%s: Camera %d: Unable to read face IDs",
252 camera_face_t face; local
254 face.rect[0] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 0]);
255 face.rect[1] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 1]);
256 face.rect[2] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 2]);
257 face.rect[3] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 3]);
259 face.score = faceScores[i];
261 face
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp32 SkTypeface* face; local
35 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style);
39 face = SkTypeface::CreateFromName(str.c_str(), style);
41 return face;
48 static void Typeface_unref(JNIEnv* env, jobject obj, SkTypeface* face) { argument
49 SkSafeUnref(face);
52 static int Typeface_getStyle(JNIEnv* env, jobject obj, SkTypeface* face) { argument
53 return face->style();
134 SkTypeface* face = SkTypeface::CreateFromStream(stream); local
139 return face;
[all...]
H A DTextLayoutCache.cpp832 mShaperItem.face = getCachedHBFace(typeface);
849 typeface, typeface->uniqueID(), mShaperItem.face);
906 HB_Face face = HB_NewFace(typeface, harfbuzzSkiaGetTable); local
907 if (face) {
909 ALOGD("Created HB_NewFace %p from paint typeface = %p", face, typeface);
911 mCachedHBFaces.add(fontId, face);
913 return face;
/frameworks/base/media/java/android/media/
H A DFaceDetector.java33 * of a face in a bitmap.
36 /** The minimum confidence factor of good face recognition */
38 /** The x-axis Euler angle of a face. */
40 /** The y-axis Euler angle of a face. */
42 /** The z-axis Euler angle of a face. */
47 * certain what has been found is actually a face. A confidence
56 * face's mid-point
69 * Returns the face's pose. That is, the rotations around either
75 * @return the Euler angle of the of the face, for the given axis
127 * face foun
191 fft_get_face(Face face, int i) argument
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java648 String face = attributes.getValue("", "face");
651 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK);
824 public Font(String color, String face) { argument
826 mFace = face;
/frameworks/native/opengl/libagl/
H A Dlight.cpp93 c->lighting.colorMaterial.face = GL_FRONT_AND_BACK;
565 static void materialx(GLenum face, GLenum pname, GLfixed param, ogles_context_t* c) argument
567 if (ggl_unlikely(face != GL_FRONT_AND_BACK)) {
746 void glMaterialf(GLenum face, GLenum pname, GLfloat param) argument
749 materialx(face, pname, gglFloatToFixed(param), c);
752 void glMaterialx(GLenum face, GLenum pname, GLfixed param) argument
755 materialx(face, pname, param, c);
759 GLenum face, GLenum pname, const GLfloat *params)
762 if (ggl_unlikely(face != GL_FRONT_AND_BACK)) {
799 GLenum face, GLenu
758 glMaterialfv( GLenum face, GLenum pname, const GLfloat *params) argument
798 glMaterialxv( GLenum face, GLenum pname, const GLfixed *params) argument
[all...]
H A Dprimitives.cpp830 const GLenum face = (winding == c->cull.frontFace) ? GL_FRONT : GL_BACK; local
831 if (face == c->cull.cullFace)
/frameworks/rs/driver/
H A DrsdAllocation.cpp82 RsAllocationCubemapFace face) {
85 ptr += face * drv->faceOffset;
94 RsAllocationCubemapFace face, uint32_t w, uint32_t h) {
102 t = gFaceOrder[face];
120 for (uint32_t face = 0; face < faceCount; face ++) {
122 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, lod, (RsAllocationCubemapFace)face);
126 t = gFaceOrder[face];
593 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
80 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument
92 Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h) argument
592 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
619 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument
636 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
658 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument
769 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
788 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
807 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdAllocation.cpp42 RsAllocationCubemapFace face) {
45 ptr += face * drv->faceOffset;
54 RsAllocationCubemapFace face, uint32_t w, uint32_t h) {
286 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
295 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face);
308 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h);
314 uint32_t lod, RsAllocationCubemapFace face,
330 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
339 const uint8_t *src = GetOffsetPtr(alloc, xoff, yoff, lod, face);
353 uint32_t lod, RsAllocationCubemapFace face,
40 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument
52 Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h) argument
285 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
312 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument
329 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
351 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument
462 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
481 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
500 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp336 ALOGE("Couldn't allocate face metadata array");
341 jobject face = env->NewObject(mFaceClass, fields.face_constructor); local
342 env->SetObjectArrayElement(obj, i, face);
350 env->SetObjectField(face, fields.face_rect, rect);
351 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
353 env->DeleteLocalRef(face);
822 snprintf(msg, sizeof(msg), "invalid face detection type=%d", type);
825 jniThrowRuntimeException(env, "start face detection failed");
836 jniThrowRuntimeException(env, "stop face detection failed");
H A Dandroid_opengl_GLES11.cpp1332 /* void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) */
1335 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) {
1395 (GLenum)face,
1410 /* void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) */
1413 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
1462 (GLenum)face,
1476 /* void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) */
1479 (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
1539 (GLenum)face,
1554 /* void glGetMaterialxv ( GLenum face, GLenu
1334 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
1412 android_glGetMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1478 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1556 android_glGetMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_opengl_GLES10.cpp2606 /* void glMaterialf ( GLenum face, GLenum pname, GLfloat param ) */
2609 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloat param) {
2611 (GLenum)face,
2617 /* void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params ) */
2620 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) {
2680 (GLenum)face,
2695 /* void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params ) */
2698 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
2747 (GLenum)face,
2761 /* void glMaterialx ( GLenum face, GLenu
2608 android_glMaterialf__IIF(JNIEnv *_env, jobject _this, jint face, jint pname, jfloat param) argument
2619 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
2697 android_glMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
2763 android_glMaterialx__III(JNIEnv *_env, jobject _this, jint face, jint pname, jint param) argument
2774 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
2852 android_glMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp1016 /* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
1019 (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
1045 (GLenum)face,
1060 /* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
1063 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
1075 (GLenum)face,
1448 /* void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param ) */
1451 (JNIEnv *_env, jobject _this, jint face, jint pname, jint param) {
1453 (GLenum)face,
1459 /* void glMaterialxvOES ( GLenum face, GLenu
1018 android_glGetMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1062 android_glGetMaterialxvOES__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1450 android_glMaterialxOES__III(JNIEnv *_env, jobject _this, jint face, jint pname, jint param) argument
1461 android_glMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1505 android_glMaterialxvOES__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
477 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
488 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
493 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
499 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
504 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
510 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java392 // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
395 int face,
401 // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
404 int face,
409 // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
412 int face,
418 // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
421 int face,
394 glGetMaterialfv( int face, int pname, float[] params, int offset ) argument
403 glGetMaterialfv( int face, int pname, java.nio.FloatBuffer params ) argument
411 glGetMaterialxv( int face, int pname, int[] params, int offset ) argument
420 glGetMaterialxv( int face, int pname, java.nio.IntBuffer params ) argument
H A DGLES11Ext.java405 // C function void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params )
408 int face,
414 // C function void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params )
417 int face,
522 // C function void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param )
525 int face,
530 // C function void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params )
533 int face,
539 // C function void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params )
542 int face,
407 glGetMaterialxvOES( int face, int pname, int[] params, int offset ) argument
416 glGetMaterialxvOES( int face, int pname, java.nio.IntBuffer params ) argument
524 glMaterialxOES( int face, int pname, int param ) argument
532 glMaterialxvOES( int face, int pname, int[] params, int offset ) argument
541 glMaterialxvOES( int face, int pname, java.nio.IntBuffer params ) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java326 int face,
333 int face,
339 int face,
346 int face,
325 glGetMaterialfv( int face, int pname, float[] params, int offset ) argument
332 glGetMaterialfv( int face, int pname, java.nio.FloatBuffer params ) argument
338 glGetMaterialxv( int face, int pname, int[] params, int offset ) argument
345 glGetMaterialxv( int face, int pname, java.nio.IntBuffer params ) argument

Completed in 1208 milliseconds

12