Searched refs:face (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/core/jni/android/graphics/
H A 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);
H A DTypeface.cpp33 Typeface* face = Typeface::createRelative(family, (SkTypeface::Style)style); local
36 if (NULL == face) {
37 face = Typeface::createRelative(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
39 for (int i = 0; NULL == face && i < 4; i++) {
40 face = Typeface::createRelative(family, (SkTypeface::Style)i);
42 return reinterpret_cast<jlong>(face);
70 Typeface* face = Typeface::createWithDifferentBaseWeight(family, weight); local
71 return reinterpret_cast<jlong>(face);
75 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
76 delete face;
80 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
85 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
103 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
108 Typeface* face = reinterpret_cast<Typeface*>(faceHandle); local
[all...]
H A DHarfBuzzNGFaceSkia.cpp141 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData) argument
166 hb_font_t* createFont(hb_face_t* face, SkPaint* paint, float sizeX, float sizeY) { argument
167 hb_font_t* font = hb_font_create(face);
/frameworks/minikin/libs/minikin/
H A DMinikinInternal.cpp38 hb_face_t* face = hb_font_get_face(font); local
39 hb_blob_t* blob = hb_face_reference_table(face, tag);
H A DHbFontCache.cpp105 hb_face_t* face; local
110 face = hb_face_create(blob, minikinFont->GetFontIndex());
113 hb_font_t* parent_font = hb_font_create(face);
116 unsigned int upem = hb_face_get_upem(face);
126 hb_face_destroy(face);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp136 ALOGE("%s: Camera %d: Unable to read face scores",
148 ALOGE("%s: Camera %d: Unable to read face landmarks",
157 ALOGE("%s: Camera %d: Unable to read face IDs",
190 camera_face_t face; local
192 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop(
194 face.rect[1] = l.mParameters.arrayYToNormalizedWithCrop(
196 face.rect[2] = l.mParameters.arrayXToNormalizedWithCrop(
198 face.rect[3] = l.mParameters.arrayYToNormalizedWithCrop(
201 face.score = faceScores[i];
203 face
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DTypefaceCreatePerfTest.java52 Typeface face = Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL);
61 Typeface face = Typeface.create("monospace", Typeface.NORMAL);
72 Typeface face = Typeface.createFromAsset(am, TEST_FONT_NAME);
101 Typeface face = Typeface.createFromFile(outFile);
/frameworks/rs/cpu_ref/
H A DrsCpuCoreRuntime.h35 uint32_t face; member in struct:RsLaunchDimensions
/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp149 RsAllocationCubemapFace face) {
151 ptr += face * alloc->mHal.drvState.faceOffset;
159 void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { argument
164 uint16_t *oPtr = (uint16_t *)GetOffsetPtr(alloc, 0, y, 0, lod + 1, face);
166 (uint16_t *)GetOffsetPtr(alloc, 0, 0, y * 2, lod, face);
168 (uint16_t *)GetOffsetPtr(alloc, 0, 0, y * 2 + 1, lod, face);
179 void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { argument
184 uint32_t *oPtr = (uint32_t *)GetOffsetPtr(alloc, 0, y, 0, lod + 1, face);
186 (uint32_t *)GetOffsetPtr(alloc, 0, y * 2, 0, lod, face);
188 (uint32_t *)GetOffsetPtr(alloc, 0, y * 2 + 1, 0, lod, face);
147 GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument
199 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
338 rsovAllocationData2D(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
431 rsovAllocationRead2D(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
[all...]
/frameworks/base/libs/hwui/hwui/
H A DTypeface.h81 static void setDefault(Typeface* face);
/frameworks/rs/driver/
H A DrsdAllocation.cpp86 uint32_t lod, RsAllocationCubemapFace face) {
88 ptr += face * alloc->mHal.drvState.faceOffset;
98 RsAllocationCubemapFace face, uint32_t w, uint32_t h) {
107 t = gFaceOrder[face];
127 for (uint32_t face = 0; face < faceCount; face ++) {
129 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face);
133 t = gFaceOrder[face];
837 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
84 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument
96 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
836 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
949 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
1132 mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1150 mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
1168 mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp172 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, argument
177 ((face != RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X) && !mHal.state.hasFaces) ||
184 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array);
212 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
214 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
242 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
258 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
701 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
704 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
805 for (uint32_t face
888 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
909 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 DrsAllocation.h133 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
139 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
191 void * getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face,
196 RsAllocationCubemapFace face = RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
/frameworks/rs/script_api/
H A Drs_allocation_data.spec70 arg: rs_allocation_cubemap_face dstFace, "Cubemap face of the destination allocation. Ignored for allocations that aren't cubemaps."
77 arg: rs_allocation_cubemap_face srcFace, "Cubemap face of the source allocation. Ignored for allocations that aren't cubemaps."
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java642 for (Face face : faces) {
643 if (face == null) {
645 Log.w(TAG, "setFaces - null face detected, skipping");
649 if (face.getId() == Face.ID_UNSUPPORTED) {
665 for (Face face : faces) {
666 if (face == null) {
670 faceRectangles[i] = face.getBounds();
671 faceScores[i] = (byte)face.getScore();
674 faceIds[i] = face.getId();
678 faceLandmarks[i * FACE_LANDMARK_SIZE + j++] = 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/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...]
H A DGLErrorWrapper.java510 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 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/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec19 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 DLegacyFaceDetectMapper.java42 * 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 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java66 Face face = new Face();
68 // These are the values for image 141 with 1 face
70 face.rect = faceRect;
72 faces[0] = face;
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java652 // C function void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
655 int face,
660 // C function void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params )
663 int face,
669 // C function void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params )
672 int face,
677 // C function void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
680 int face,
685 // C function void glMaterialxv ( GLenum face, GLenum pname, const GLfixed *params )
688 int face,
654 glMaterialf( int face, int pname, float param ) argument
662 glMaterialfv( int face, int pname, float[] params, int offset ) argument
671 glMaterialfv( int face, int pname, java.nio.FloatBuffer params ) argument
679 glMaterialx( int face, int pname, int param ) argument
687 glMaterialxv( int face, int pname, int[] params, int offset ) argument
696 glMaterialxv( int face, int pname, java.nio.IntBuffer params ) argument
1406 glGetMaterialfv( int face, int pname, float[] params, int offset ) argument
1415 glGetMaterialfv( int face, int pname, java.nio.FloatBuffer params ) argument
1423 glGetMaterialxv( int face, int pname, int[] params, int offset ) argument
1432 glGetMaterialxv( int face, int pname, java.nio.IntBuffer params ) argument
[all...]

Completed in 2122 milliseconds

123