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

12

/frameworks/minikin/libs/minikin/
H A DMinikinInternal.cpp90 hb_face_t* face = hb_font_get_face(font); local
91 hb_blob_t* blob = hb_face_reference_table(face, tag);
H A DHbFontCache.cpp31 static hb_blob_t* referenceTable(hb_face_t* /* face */, hb_tag_t tag, void* userData) {
120 hb_face_t* face; local
123 face = hb_face_create_for_tables(referenceTable, minikinFont, nullptr);
128 face = hb_face_create(blob, minikinFont->GetFontIndex());
131 hb_font_t* parent_font = hb_font_create(face);
134 unsigned int upem = hb_face_get_upem(face);
139 hb_face_destroy(face);
H A DLayout.cpp333 int Layout::findFace(FakedFont face, LayoutContext* ctx) { argument
336 if (mFaces[ix].font == face.font) {
340 mFaces.push_back(face);
344 hb_font_t* font = getHbFontLocked(face.font);
910 MinikinFontFreeType* face = static_cast<MinikinFontFreeType*>(mf); local
914 bool ok = face->Render(glyph.glyph_id, paint, &glyphBitmap);
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp31 Typeface* face = Typeface::createFromTypeface(family, (SkTypeface::Style)style); local
34 if (NULL == face) {
35 face = Typeface::createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
37 for (int i = 0; NULL == face && i < 4; i++) {
38 face = Typeface::createFromTypeface(family, (SkTypeface::Style)i);
40 return reinterpret_cast<jlong>(face);
45 Typeface* face = Typeface::createWeightAlias(family, weight); local
46 return reinterpret_cast<jlong>(face);
50 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
51 if (face !
57 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
72 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
[all...]
H A DFontFamily.cpp56 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face, const void* fontData, argument
58 MinikinFont* minikinFont = new MinikinFontSkia(face, fontData, fontSize, ttcIndex);
109 SkTypeface* face = fm->createFromStream(fontData.release(), params); local
110 if (face == NULL) {
115 return addSkTypeface(fontFamily, face, fontPtr, (size_t)fontSize, ttcIndex);
175 SkTypeface* face = fm->createFromStream(fontData.release(), params); local
176 if (face == NULL) {
181 MinikinFont* minikinFont = new MinikinFontSkia(face, fontPtr, (size_t)fontSize, ttcIndex);
217 SkTypeface* face = SkTypeface::CreateFromStream(stream); local
218 if (face
[all...]
H A DHarfBuzzNGFaceSkia.cpp139 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData) argument
164 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { argument
165 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);
/frameworks/rs/cpu_ref/
H A DrsCpuCoreRuntime.h35 uint32_t face; member in struct:RsLaunchDimensions
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp149 ALOGE("%s: Camera %d: Unable to read face scores",
161 ALOGE("%s: Camera %d: Unable to read face landmarks",
170 ALOGE("%s: Camera %d: Unable to read face IDs",
203 camera_face_t face; local
205 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop(
207 face.rect[1] = l.mParameters.arrayYToNormalizedWithCrop(
209 face.rect[2] = l.mParameters.arrayXToNormalizedWithCrop(
211 face.rect[3] = l.mParameters.arrayYToNormalizedWithCrop(
214 face.score = faceScores[i];
216 face
[all...]
/frameworks/base/libs/hwui/hwui/
H A DTypeface.cpp163 void Typeface::setDefault(Typeface* face) { argument
164 gDefaultTypeface = 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/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
900 * Convert an api1 face into an active-array based api2 face.
904 * @param face a non-{@code null} api1 face
908 * @return a non-{@code null} api2 face
912 convertFaceFromLegacy(Camera.Face face, Rect activeArray, ZoomData zoomData) argument
[all...]
/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/base/core/java/android/text/
H A DHtml.java1152 String face = attributes.getValue("", "face");
1161 if (!TextUtils.isEmpty(face)) {
1162 start(text, new Font(face));
1290 public Font(String face) { argument
1291 mFace = face;
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp371 ALOGE("Couldn't allocate face metadata array");
376 jobject face = env->NewObject(mFaceClass, fields.face_constructor); local
377 env->SetObjectArrayElement(obj, i, face);
385 env->SetObjectField(face, fields.face_rect, rect);
386 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
394 env->SetIntField(face, fields.face_id, id);
399 env->SetObjectField(face, fields.face_left_eye, leftEye);
405 env->SetObjectField(face, fields.face_right_eye, rightEye);
411 env->SetObjectField(face, fields.face_mouth, mouth);
415 env->DeleteLocalRef(face);
[all...]
H A Dandroid_opengl_GLES11.cpp1525 /* void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) */
1528 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) {
1583 (GLenum)face,
1598 /* void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) */
1601 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
1645 (GLenum)face,
1659 /* void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) */
1662 (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
1717 (GLenum)face,
1732 /* void glGetMaterialxv ( GLenum face, GLenu
1527 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
1600 android_glGetMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1661 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1734 android_glGetMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_opengl_GLES10.cpp2041 /* void glMaterialf ( GLenum face, GLenum pname, GLfloat param ) */
2044 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloat param) {
2046 (GLenum)face,
2052 /* void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params ) */
2055 (JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) {
2110 (GLenum)face,
2125 /* void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params ) */
2128 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
2172 (GLenum)face,
2186 /* void glMaterialx ( GLenum face, GLenu
2043 android_glMaterialf__IIF(JNIEnv *_env, jobject _this, jint face, jint pname, jfloat param) argument
2054 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
2127 android_glMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
2188 android_glMaterialx__III(JNIEnv *_env, jobject _this, jint face, jint pname, jint param) argument
2199 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
2272 android_glMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp1339 /* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
1342 (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
1368 (GLenum)face,
1383 /* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
1386 (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
1398 (GLenum)face,
1771 /* void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param ) */
1774 (JNIEnv *_env, jobject _this, jint face, jint pname, jint param) {
1776 (GLenum)face,
1782 /* void glMaterialxvOES ( GLenum face, GLenu
1341 android_glGetMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1385 android_glGetMaterialxvOES__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1773 android_glMaterialxOES__III(JNIEnv *_env, jobject _this, jint face, jint pname, jint param) argument
1784 android_glMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1828 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.cpp93 uint32_t lod, RsAllocationCubemapFace face) {
95 ptr += face * alloc->mHal.drvState.faceOffset;
105 RsAllocationCubemapFace face, uint32_t w, uint32_t h) {
114 t = gFaceOrder[face];
134 for (uint32_t face = 0; face < faceCount; face ++) {
136 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face);
140 t = gFaceOrder[face];
891 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
91 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument
103 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
890 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
1003 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
1186 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1204 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1222 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
[all...]
/frameworks/base/libs/hwui/debug/
H A Dnullgles.cpp226 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) {} argument
228 void glStencilMaskSeparate(GLenum face, GLuint mask) {} argument
230 void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) {} argument
/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/rs/
H A DrsAllocation.cpp170 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, argument
175 ((face != RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X) && !mHal.state.hasFaces) ||
182 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array);
209 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
211 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
238 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
253 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
741 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
744 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
845 for (uint32_t face
928 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
949 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...]

Completed in 3806 milliseconds

12