Home
last modified time | relevance | path

Searched refs:face (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/av/services/camera/libcameraservice/camera2/
DFrameProcessor.cpp148 camera_face_t face; in processFaceDetect() local
150 face.rect[0] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 0]); in processFaceDetect()
151 face.rect[1] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 1]); in processFaceDetect()
152 face.rect[2] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 2]); in processFaceDetect()
153 face.rect[3] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 3]); in processFaceDetect()
155 face.score = faceScores[i]; in processFaceDetect()
157 face.id = faceIds[i]; in processFaceDetect()
158 face.left_eye[0] = in processFaceDetect()
160 face.left_eye[1] = in processFaceDetect()
162 face.right_eye[0] = in processFaceDetect()
[all …]
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp32 SkTypeface* face; in Typeface_create() local
35 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style); in Typeface_create()
39 face = SkTypeface::CreateFromName(str.c_str(), style); in Typeface_create()
41 return face; in Typeface_create()
48 static void Typeface_unref(JNIEnv* env, jobject obj, SkTypeface* face) { in Typeface_unref() argument
49 SkSafeUnref(face); in Typeface_unref()
52 static int Typeface_getStyle(JNIEnv* env, jobject obj, SkTypeface* face) { in Typeface_getStyle() argument
53 return face->style(); in Typeface_getStyle()
134 SkTypeface* face = SkTypeface::CreateFromStream(stream); in Typeface_createFromAsset() local
139 return face; in Typeface_createFromAsset()
DHarfBuzzNGFaceSkia.h53 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData);
55 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY);
DHarfBuzzNGFaceSkia.cpp138 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData) in harfbuzzSkiaReferenceTable() argument
164 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { in createFont() argument
165 hb_font_t* font = hb_font_create(face); in createFont()
DTextLayoutCache.cpp850 hb_face_t* face = referenceCachedHBFace(typeface); in shapeFontRun() local
854 hb_font_t* font = createFont(face, &mShapingPaint, sizeX, sizeY); in shapeFontRun()
855 hb_face_destroy(face); in shapeFontRun()
859 typeface, typeface->uniqueID(), face); in shapeFontRun()
876 hb_face_t* face = hb_face_create_for_tables(harfbuzzSkiaReferenceTable, typeface, NULL); in referenceCachedHBFace() local
878 ALOGD("Created HB_NewFace %p from paint typeface = %p", face, typeface); in referenceCachedHBFace()
880 mCachedHBFaces.add(fontId, face); in referenceCachedHBFace()
881 return hb_face_reference(face); in referenceCachedHBFace()
/frameworks/rs/
DrsAdapter.h45 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} in setFace() argument
77 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} in setFace() argument
DrsAllocation.cpp105 …ation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in data() argument
107 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
132 …ation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in read() argument
146 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
505 …(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DElementData() argument
517 …xt *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DData() argument
520 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
605 for (uint32_t face = 0; face < 6; face ++) { in rsi_AllocationCubeCreateFromBitmap() local
607 texAlloc->data(rsc, 0, dI, 0, (RsAllocationCubemapFace)face, in rsi_AllocationCubeCreateFromBitmap()
684 uint32_t lod, RsAllocationCubemapFace face, uint32_t w, in rsi_Allocation2DRead() argument
[all …]
DrsType.h61 size_t getOffsetForFace(uint32_t face) const;
94 uint32_t getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face,
/frameworks/rs/driver/
DrsdAllocation.cpp92 uint32_t lod, RsAllocationCubemapFace face) { in GetOffsetPtr() argument
94 ptr += face * alloc->mHal.drvState.faceOffset; in GetOffsetPtr()
104 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
113 t = gFaceOrder[face]; in Update2DTexture()
133 for (uint32_t face = 0; face < faceCount; face ++) { in Upload2DTexture() local
135 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face); in Upload2DTexture()
139 t = gFaceOrder[face]; in Upload2DTexture()
847 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
859 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
880 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
[all …]
/frameworks/native/opengl/libs/
Ddebug.in68 …xture, GLenum face, GLint level, GLenum pname, GLint *params), (texture, face, level, pname, param…
108 …ACE_GL_VOID(glGetMaterialfv, (GLenum face, GLenum pname, GLfloat *params), (face, pname, params), …
109 …ACE_GL_VOID(glGetMaterialxv, (GLenum face, GLenum pname, GLfixed *params), (face, pname, params), …
110 …_GL_VOID(glGetMaterialxvOES, (GLenum face, GLenum pname, GLfixed *params), (face, pname, params), …
154 TRACE_GL_VOID(glMaterialf, (GLenum face, GLenum pname, GLfloat param), (face, pname, param), 3, "GL…
155 …ACE_GL_VOID(glMaterialfv, (GLenum face, GLenum pname, const GLfloat *params), (face, pname, params…
156 TRACE_GL_VOID(glMaterialx, (GLenum face, GLenum pname, GLfixed param), (face, pname, param), 3, "GL…
157 TRACE_GL_VOID(glMaterialxOES, (GLenum face, GLenum pname, GLfixed param), (face, pname, param), 3, …
158 …ACE_GL_VOID(glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params), (face, pname, params…
159 …_GL_VOID(glMaterialxvOES, (GLenum face, GLenum pname, const GLfixed *params), (face, pname, params…
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java298 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
299 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
301 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
303 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
304 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
306 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
308 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
309 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
311 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
313 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java652 int face, in glMaterialf() argument
658 int face, in glMaterialfv() argument
665 int face, in glMaterialfv() argument
671 int face, in glMaterialx() argument
677 int face, in glMaterialxv() argument
684 int face, in glMaterialxv() argument
DGL11.java326 int face, in glGetMaterialfv() argument
333 int face, in glGetMaterialfv() argument
339 int face, in glGetMaterialxv() argument
346 int face, in glGetMaterialxv() argument
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java510 public void glMaterialf(int face, int pname, float param) { in glMaterialf() argument
512 mgl.glMaterialf(face, pname, param); in glMaterialf()
516 public void glMaterialfv(int face, int pname, float[] params, int offset) { in glMaterialfv() argument
518 mgl.glMaterialfv(face, pname, params, offset); in glMaterialfv()
522 public void glMaterialfv(int face, int pname, FloatBuffer params) { in glMaterialfv() argument
524 mgl.glMaterialfv(face, pname, params); in glMaterialfv()
528 public void glMaterialx(int face, int pname, int param) { in glMaterialx() argument
530 mgl.glMaterialx(face, pname, param); in glMaterialx()
534 public void glMaterialxv(int face, int pname, int[] params, int offset) { in glMaterialxv() argument
536 mgl.glMaterialxv(face, pname, params, offset); in glMaterialxv()
[all …]
DGLES11.java395 int face, in glGetMaterialfv() argument
404 int face, in glGetMaterialfv() argument
412 int face, in glGetMaterialxv() argument
421 int face, in glGetMaterialxv() argument
DGLES10.java830 int face, in glMaterialf() argument
838 int face, in glMaterialfv() argument
847 int face, in glMaterialfv() argument
855 int face, in glMaterialx() argument
863 int face, in glMaterialxv() argument
872 int face, in glMaterialxv() argument
DGLES11Ext.java408 int face, in glGetMaterialxvOES() argument
417 int face, in glGetMaterialxvOES() argument
525 int face, in glMaterialxOES() argument
533 int face, in glMaterialxvOES() argument
542 int face, in glMaterialxvOES() argument
DGLLogWrapper.java783 private String getFaceName(int face) { in getFaceName() argument
784 switch (face) { in getFaceName()
788 return getHex(face); in getFaceName()
1983 public void glMaterialf(int face, int pname, float param) { in glMaterialf() argument
1985 arg("face", getFaceName(face)); in glMaterialf()
1990 mgl.glMaterialf(face, pname, param); in glMaterialf()
1994 public void glMaterialfv(int face, int pname, float[] params, int offset) { in glMaterialfv() argument
1996 arg("face", getFaceName(face)); in glMaterialfv()
2002 mgl.glMaterialfv(face, pname, params, offset); in glMaterialfv()
2006 public void glMaterialfv(int face, int pname, FloatBuffer params) { in glMaterialfv() argument
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java655 int face, in glMaterialf() argument
663 int face, in glMaterialfv() argument
672 int face, in glMaterialfv() argument
680 int face, in glMaterialx() argument
688 int face, in glMaterialxv() argument
697 int face, in glMaterialxv() argument
1407 int face, in glGetMaterialfv() argument
1416 int face, in glGetMaterialfv() argument
1424 int face, in glGetMaterialxv() argument
1433 int face, in glGetMaterialxv() argument
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in37 void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) {
38 CALL_GL_API(glGetMaterialfv, face, pname, params);
64 void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) {
65 CALL_GL_API(glMaterialf, face, pname, param);
67 void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) {
68 CALL_GL_API(glMaterialfv, face, pname, params);
259 void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed *params) {
260 CALL_GL_API(glGetMaterialxv, face, pname, params);
316 void API_ENTRY(glMaterialx)(GLenum face, GLenum pname, GLfixed param) {
317 CALL_GL_API(glMaterialx, face, pname, param);
[all …]
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java414 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
415 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
417 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
419 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
420 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
422 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
424 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
425 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
427 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
429 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
[all …]
/frameworks/native/opengl/libagl/
Dlight.cpp93 c->lighting.colorMaterial.face = GL_FRONT_AND_BACK; in ogles_init_light()
565 static void materialx(GLenum face, GLenum pname, GLfixed param, ogles_context_t* c) in materialx() argument
567 if (ggl_unlikely(face != GL_FRONT_AND_BACK)) { in materialx()
746 void glMaterialf(GLenum face, GLenum pname, GLfloat param) in glMaterialf() argument
749 materialx(face, pname, gglFloatToFixed(param), c); in glMaterialf()
752 void glMaterialx(GLenum face, GLenum pname, GLfixed param) in glMaterialx() argument
755 materialx(face, pname, param, c); in glMaterialx()
759 GLenum face, GLenum pname, const GLfloat *params) in glMaterialfv() argument
762 if (ggl_unlikely(face != GL_FRONT_AND_BACK)) { in glMaterialfv()
799 GLenum face, GLenum pname, const GLfixed *params) in glMaterialxv() argument
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec61 void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
62 void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params )
63 void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
64 void glMaterialxv ( GLenum face, GLenum pname, const GLfixed *params )
DGLES11.spec19 void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
20 void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
DGLES11Ext.spec26 void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params )
35 void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param )
36 void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params )

1234