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

12

/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp32 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style); local
35 if (NULL == face) {
36 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
38 for (int i = 0; NULL == face && i < 4; i++) {
39 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)i);
41 return reinterpret_cast<jlong>(face);
46 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight); local
47 return reinterpret_cast<jlong>(face);
51 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); local
52 TypefaceImpl_unref(face);
56 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); local
66 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); local
[all...]
H A DFontFamily.cpp50 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { argument
51 MinikinFont* minikinFont = new MinikinFontSkia(face);
60 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str()); local
61 if (face == NULL) {
66 return addSkTypeface(fontFamily, face);
73 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str()); local
74 if (face == NULL) {
79 MinikinFont* minikinFont = new MinikinFontSkia(face);
104 SkTypeface* face = SkTypeface::CreateFromStream(stream); local
107 if (face
[all...]
H A DTypefaceImpl.cpp166 void TypefaceImpl_unref(TypefaceImpl* face) { argument
167 if (face != NULL) {
168 face->fFontCollection->Unref();
170 delete face;
173 int TypefaceImpl_getStyle(TypefaceImpl* face) { argument
174 return face->fSkiaStyle;
177 void TypefaceImpl_setDefault(TypefaceImpl* face) { argument
178 gDefaultTypeface = face;
H A DHarfBuzzNGFaceSkia.cpp138 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData) argument
163 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { argument
164 hb_font_t* font = hb_font_create(face);
/frameworks/minikin/sample/
H A Dexample.cpp50 FT_Face face; local
55 error = FT_New_Face(library, fn, 0, &face);
59 MinikinFont *font = new MinikinFontFreeType(face);
67 error = FT_New_Face(library, fn, 0, &face);
68 MinikinFont *font = new MinikinFontFreeType(face);
H A Dexample_skia.cpp58 FT_Face face; local
/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 DrsAllocation.cpp97 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, argument
102 ((face != RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X) && !mHal.state.hasFaces) ||
132 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
134 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
161 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
176 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
588 void rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, argument
600 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
603 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
688 for (uint32_t face
760 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
775 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp143 ALOGE("%s: Camera %d: Unable to read face scores",
155 ALOGE("%s: Camera %d: Unable to read face landmarks",
164 ALOGE("%s: Camera %d: Unable to read face IDs",
197 camera_face_t face; local
199 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop(
201 face.rect[1] = l.mParameters.arrayYToNormalizedWithCrop(
203 face.rect[2] = l.mParameters.arrayXToNormalizedWithCrop(
205 face.rect[3] = l.mParameters.arrayYToNormalizedWithCrop(
208 face.score = faceScores[i];
210 face
[all...]
/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/hardware/camera2/legacy/
H A DParameterUtils.java118 * then possible to convert to a more concrete type such as a metering rectangle or a face.
162 * Convert to a face; the rect is considered to be the bounds, and the weight
173 * @return a new face with the optional features set
188 * Convert to a face; the rect is considered to be the bounds, and the weight
196 * @return a new face without the optional features
897 * Convert an api1 face into an active-array based api2 face.
901 * @param face a non-{@code null} api1 face
905 * @return a non-{@code null} api2 face
909 convertFaceFromLegacy(Camera.Face face, Rect activeArray, ZoomData zoomData) argument
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java653 String face = attributes.getValue("", "face");
656 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK);
829 public Font(String color, String face) { argument
831 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/cpu_ref/
H A DrsCpuCore.h51 RsAllocationCubemapFace face; member in struct:android::renderscript::__anon1483
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp358 ALOGE("Couldn't allocate face metadata array");
363 jobject face = env->NewObject(mFaceClass, fields.face_constructor); local
364 env->SetObjectArrayElement(obj, i, face);
372 env->SetObjectField(face, fields.face_rect, rect);
373 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
381 env->SetIntField(face, fields.face_id, id);
386 env->SetObjectField(face, fields.face_left_eye, leftEye);
392 env->SetObjectField(face, fields.face_right_eye, rightEye);
398 env->SetObjectField(face, fields.face_mouth, mouth);
402 env->DeleteLocalRef(face);
[all...]
H A Dandroid_opengl_GLES11.cpp1403 /* void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) */
1406 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) {
1461 (GLenum)face,
1476 /* void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) */
1479 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
1523 (GLenum)face,
1537 /* void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) */
1540 (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
1595 (GLenum)face,
1610 /* void glGetMaterialxv ( GLenum face, GLenu
1405 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
1478 android_glGetMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1539 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1612 android_glGetMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_opengl_GLES10.cpp1922 /* void glMaterialf ( GLenum face, GLenum pname, GLfloat param ) */
1925 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloat param) {
1927 (GLenum)face,
1933 /* void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params ) */
1936 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) {
1991 (GLenum)face,
2006 /* void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params ) */
2009 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
2053 (GLenum)face,
2067 /* void glMaterialx ( GLenum face, GLenu
1924 android_glMaterialf__IIF(JNIEnv *_env, jobject _this, jint face, jint pname, jfloat param) argument
1935 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
2008 android_glMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
2069 android_glMaterialx__III(JNIEnv *_env, jobject _this, jint face, jint pname, jint param) argument
2080 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
2153 android_glMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp1221 /* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
1224 (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
1250 (GLenum)face,
1265 /* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
1268 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
1280 (GLenum)face,
1653 /* void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param ) */
1656 (JNIEnv *_env, jobject _this, jint face, jint pname, jint param) {
1658 (GLenum)face,
1664 /* void glMaterialxvOES ( GLenum face, GLenu
1223 android_glGetMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1267 android_glGetMaterialxvOES__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1655 android_glMaterialxOES__III(JNIEnv *_env, jobject _this, jint face, jint pname, jint param) argument
1666 android_glMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1710 android_glMaterialxvOES__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp94 uint32_t lod, RsAllocationCubemapFace face) {
96 ptr += face * alloc->mHal.drvState.faceOffset;
106 RsAllocationCubemapFace face, uint32_t w, uint32_t h) {
115 t = gFaceOrder[face];
135 for (uint32_t face = 0; face < faceCount; face ++) {
137 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face);
141 t = gFaceOrder[face];
816 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
92 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument
104 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
815 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, size_t stride) argument
926 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, size_t stride) argument
1117 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1135 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1153 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
[all...]
/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
/frameworks/minikin/libs/minikin/
H A DLayout.cpp286 hb_blob_t* referenceTable(hb_face_t* face, hb_tag_t tag, void* userData) { argument
357 hb_face_t* face = cache.mCache.get(fontId); local
358 if (face == NULL) {
359 face = hb_face_create_for_tables(referenceTable, minikinFont, NULL);
360 cache.mCache.put(fontId, face);
362 return face;
366 hb_face_t* face = getHbFace(minikinFont); local
367 hb_font_t* font = hb_font_create(face);
389 int Layout::findFace(FakedFont face, LayoutContext* ctx) { argument
392 if (mFaces[ix].font == face
819 MinikinFontFreeType* face = static_cast<MinikinFontFreeType*>(mf); local
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp490 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
496 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0);
501 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
507 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0);
512 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
518 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0);
523 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
529 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0);

Completed in 1056 milliseconds

12