Home
last modified time | relevance | path

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

1234

/frameworks/base/core/jni/android/graphics/
DTypeface.cpp33 SkTypeface* face = NULL; in Typeface_create() local
37 face = SkTypeface::CreateFromName(str.c_str(), style); in Typeface_create()
39 if (NULL == face) { in Typeface_create()
40face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_create()
42 for (int i = 0; NULL == face && i < 4; i++) { in Typeface_create()
43 face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)i); in Typeface_create()
48 if (NULL == face) { in Typeface_create()
49 face = SkTypeface::CreateFromName(NULL, style); in Typeface_create()
51 return face; in Typeface_create()
55 SkTypeface* face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface() local
[all …]
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
163 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { in createFont() argument
164 hb_font_t* font = hb_font_create(face); in createFont()
DTextLayoutCache.cpp857 hb_face_t* face = referenceCachedHBFace(typeface); in shapeFontRun() local
861 hb_font_t* font = createFont(face, &mShapingPaint, sizeX, sizeY); in shapeFontRun()
862 hb_face_destroy(face); in shapeFontRun()
866 typeface, typeface->uniqueID(), face); in shapeFontRun()
884 hb_face_t* face = hb_face_create_for_tables(harfbuzzSkiaReferenceTable, typeface, NULL); in referenceCachedHBFace() local
886 ALOGD("Created HB_NewFace %p from paint typeface = %p", face, typeface); in referenceCachedHBFace()
888 mCachedHBFaces.add(fontId, face); in referenceCachedHBFace()
889 return hb_face_reference(face); in referenceCachedHBFace()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp175 camera_face_t face; in processFaceDetect() local
177 face.rect[0] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 0]); in processFaceDetect()
178 face.rect[1] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 1]); in processFaceDetect()
179 face.rect[2] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 2]); in processFaceDetect()
180 face.rect[3] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 3]); in processFaceDetect()
182 face.score = faceScores[i]; in processFaceDetect()
184 face.id = faceIds[i]; in processFaceDetect()
185 face.left_eye[0] = in processFaceDetect()
187 face.left_eye[1] = in processFaceDetect()
189 face.right_eye[0] = in processFaceDetect()
[all …]
/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.cpp112 …ation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in data() argument
114 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
139 …ation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in read() argument
153 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
547 …(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DElementData() argument
559 …xt *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DData() argument
562 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
647 for (uint32_t face = 0; face < 6; face ++) { in rsi_AllocationCubeCreateFromBitmap() local
649 texAlloc->data(rsc, 0, dI, 0, (RsAllocationCubemapFace)face, in rsi_AllocationCubeCreateFromBitmap()
726 uint32_t lod, RsAllocationCubemapFace face, uint32_t w, in rsi_Allocation2DRead() argument
[all …]
/frameworks/rs/driver/
DrsdAllocation.cpp94 uint32_t lod, RsAllocationCubemapFace face) { in GetOffsetPtr() argument
96 ptr += face * alloc->mHal.drvState.faceOffset; in GetOffsetPtr()
106 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
115 t = gFaceOrder[face]; in Update2DTexture()
135 for (uint32_t face = 0; face < faceCount; face ++) { in Upload2DTexture() local
137 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face); in Upload2DTexture()
141 t = gFaceOrder[face]; in Upload2DTexture()
799 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
811 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
841 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.java342 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
343 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
345 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
347 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
348 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
350 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
352 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
353 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
355 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
357 …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.java464 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
465 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
467 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
469 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
470 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
472 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
474 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
475 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
477 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
479 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java66 Face face = new Face(); in testFaceSquareFilter() local
70 face.rect = faceRect; in testFaceSquareFilter()
72 faces[0] = face; in testFaceSquareFilter()
/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