/frameworks/base/core/jni/android/graphics/ |
H A D | Typeface.cpp | 31 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style); local 34 if (NULL == face) { 35 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic)); 37 for (int i = 0; NULL == face && i < 4; i++) { 38 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)i); 40 return reinterpret_cast<jlong>(face); 45 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight); local 46 return reinterpret_cast<jlong>(face); 50 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); local 51 TypefaceImpl_unref(face); 55 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); local 65 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); local [all...] |
H A D | TypefaceImpl.h | 57 void TypefaceImpl_unref(TypefaceImpl* face); 59 int TypefaceImpl_getStyle(TypefaceImpl* face); 61 void TypefaceImpl_setDefault(TypefaceImpl* face);
|
H A D | HarfBuzzNGFaceSkia.h | 53 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);
|
H A D | FontFamily.cpp | 52 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { argument 53 MinikinFont* minikinFont = new MinikinFontSkia(face); 62 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str()); local 63 if (face == NULL) { 68 return addSkTypeface(fontFamily, face); 75 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str()); local 76 if (face == NULL) { 81 MinikinFont* minikinFont = new MinikinFontSkia(face); 116 SkTypeface* face = SkTypeface::CreateFromStream(stream); local 117 if (face [all...] |
H A D | TypefaceImpl.cpp | 165 void TypefaceImpl_unref(TypefaceImpl* face) { argument 166 if (face != NULL) { 167 face->fFontCollection->Unref(); 169 delete face; 172 int TypefaceImpl_getStyle(TypefaceImpl* face) { argument 173 return face->fSkiaStyle; 176 void TypefaceImpl_setDefault(TypefaceImpl* face) { argument 177 gDefaultTypeface = face;
|
H A D | HarfBuzzNGFaceSkia.cpp | 140 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData) argument 165 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { argument 166 hb_font_t* font = hb_font_create(face);
|
/frameworks/minikin/sample/ |
H A D | example.cpp | 50 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/av/services/camera/libcameraservice/api1/client2/ |
H A D | FrameProcessor.cpp | 143 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/rs/cpu_ref/ |
H A D | rsCpuCoreRuntime.h | 35 uint32_t face; member in struct:RsLaunchDimensions
|
/frameworks/rs/ |
H A D | rsAdapter.h | 45 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} argument 77 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} argument
|
H A D | rsAllocation.cpp | 160 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, argument 165 ((face != RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X) && !mHal.state.hasFaces) || 172 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); 199 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 201 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 228 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 243 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 681 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 684 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 772 for (uint32_t face 844 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument 865 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...] |
H A D | rsAllocation.h | 130 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 136 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 185 void * getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, 190 RsAllocationCubemapFace face = RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 93 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]; 864 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 863 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 974 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 1157 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 1175 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument 1193 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 602 for (Face face : faces) { 603 if (face == null) { 605 Log.w(TAG, "setFaces - null face detected, skipping"); 609 if (face.getId() == Face.ID_UNSUPPORTED) { 625 for (Face face : faces) { 626 if (face == null) { 630 faceRectangles[i] = face.getBounds(); 631 faceScores[i] = (byte)face.getScore(); 634 faceIds[i] = face.getId(); 638 faceLandmarks[i * FACE_LANDMARK_SIZE + j++] = face [all...] |
/frameworks/rs/api/ |
H A D | rs_allocation_data.spec | 66 arg: rs_allocation_cubemap_face dstFace, "Cubemap face of the destination allocation. Ignored for allocations that aren't cubemaps." 73 arg: rs_allocation_cubemap_face srcFace, "Cubemap face of the source allocation. Ignored for allocations that aren't cubemaps."
|
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 33 * 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/opengl/java/android/opengl/ |
H A D | GLES11.java | 392 // 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 D | GLES11Ext.java | 405 // 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...] |
H A D | GLErrorWrapper.java | 510 public void glMaterialf(int face, int pname, float param) { argument 512 mgl.glMaterialf(face, pname, param); 516 public void glMaterialfv(int face, int pname, float[] params, int offset) { argument 518 mgl.glMaterialfv(face, pname, params, offset); 522 public void glMaterialfv(int face, int pname, FloatBuffer params) { argument 524 mgl.glMaterialfv(face, pname, params); 528 public void glMaterialx(int face, int pname, int param) { argument 530 mgl.glMaterialx(face, pname, param); 534 public void glMaterialxv(int face, int pname, int[] params, int offset) { argument 536 mgl.glMaterialxv(face, pnam 540 glMaterialxv(int face, int pname, IntBuffer params) argument 1118 glGetMaterialfv(int face, int pname, float[] params, int offset) argument 1124 glGetMaterialfv(int face, int pname, FloatBuffer params) argument 1130 glGetMaterialxv(int face, int pname, int[] params, int offset) argument 1136 glGetMaterialxv(int face, int pname, IntBuffer params) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 326 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/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 19 void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) 20 void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyFaceDetectMapper.java | 42 * Map legacy face detect callbacks into face detection results. 50 /** Is the camera capable of face detection? */ 52 /** Is the camera is running face detection? */ 56 /** Did the last request enable the face detect mode to ON? */ 64 * Instantiate a new face detect mapper. 96 "face detection was disabled"); 108 * Process the face detect mode from the capture request into an api1 face detect toggle. 134 "face detectio [all...] |
H A D | ParameterUtils.java | 118 * 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilterTest.java | 66 Face face = new Face(); 68 // These are the values for image 141 with 1 face 70 face.rect = faceRect; 72 faces[0] = face;
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 293 hb_blob_t* referenceTable(hb_face_t* face, hb_tag_t tag, void* userData) { argument 358 hb_face_t* face = cache.mCache.get(fontId); local 359 if (face == NULL) { 360 face = hb_face_create_for_tables(referenceTable, minikinFont, NULL); 361 cache.mCache.put(fontId, face); 363 return face; 367 hb_face_t* face = getHbFace(minikinFont); local 368 hb_font_t* font = hb_font_create(face); 390 int Layout::findFace(FakedFont face, LayoutContext* ctx) { argument 393 if (mFaces[ix].font == face 875 MinikinFontFreeType* face = static_cast<MinikinFontFreeType*>(mf); local [all...] |