Home
last modified time | relevance | path

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

12345

/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp193 camera_face_t face; in processFaceDetect() local
195 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
197 face.rect[1] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect()
199 face.rect[2] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
201 face.rect[3] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect()
203 face.score = faceScores[i]; in processFaceDetect()
205 face.id = faceIds[i]; in processFaceDetect()
206 face.left_eye[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
208 face.left_eye[1] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect()
210 face.right_eye[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
[all …]
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp43 Typeface* face = Typeface::createRelative(family, (Typeface::Style)style); in Typeface_createFromTypeface() local
46 if (NULL == face) { in Typeface_createFromTypeface()
47 face = Typeface::createRelative(family, (Typeface::Style)(style ^ Typeface::kItalic)); in Typeface_createFromTypeface()
49 for (int i = 0; NULL == face && i < 4; i++) { in Typeface_createFromTypeface()
50 face = Typeface::createRelative(family, (Typeface::Style)i); in Typeface_createFromTypeface()
52 return toJLong(face); in Typeface_createFromTypeface()
117 Typeface* face = toTypeface(faceHandle); in Typeface_getSupportedAxes() local
118 const std::unordered_set<minikin::AxisTag>& tagSet = face->fFontCollection->getSupportedTags(); in Typeface_getSupportedAxes()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java56 Typeface face = Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); in testCreate_fromFamily() local
65 Typeface face = Typeface.create("monospace", Typeface.NORMAL); in testCreate_fromFamilyName() local
76 Typeface face = Typeface.createFromAsset(am, TEST_FONT_NAME); in testCreate_fromAsset() local
105 Typeface face = Typeface.createFromFile(outFile); in testCreate_fromFile() local
117 Typeface face = r.getFont(R.font.samplefont); in testCreate_fromResources() local
/frameworks/base/core/java/android/hardware/face/
DIFaceServiceReceiver.aidl16 package android.hardware.face;
18 import android.hardware.face.Face;
27 void onAuthenticationSucceeded(long deviceId, in Face face, int userId); in onAuthenticationSucceeded() argument
DFaceManager.java17 package android.hardware.face;
97 public void onAuthenticationSucceeded(long deviceId, Face face, int userId) {
98 mHandler.obtainMessage(MSG_AUTHENTICATION_SUCCEEDED, userId, 0, face).sendToTarget();
413 public void remove(Face face, int userId, RemovalCallback callback) { in remove() argument
417 mRemovalFace = face; in remove()
418 mService.remove(mToken, face.getBiometricId(), userId, mServiceReceiver, in remove()
423 callback.onRemovalError(face, FACE_ERROR_HW_UNAVAILABLE, in remove()
753 public AuthenticationResult(CryptoObject crypto, Face face, int userId) { in AuthenticationResult() argument
755 mFace = face; in AuthenticationResult()
906 public void onRemovalError(Face face, int errMsgId, CharSequence errString) { in onRemovalError() argument
[all …]
DIFaceService.aidl16 package android.hardware.face;
20 import android.hardware.face.IFaceServiceReceiver;
21 import android.hardware.face.Face;
/frameworks/rs/driver/
DrsdAllocation.cpp89 uint32_t lod, RsAllocationCubemapFace face) { in GetOffsetPtr() argument
91 ptr += face * alloc->mHal.drvState.faceOffset; in GetOffsetPtr()
101 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
110 t = gFaceOrder[face]; in Update2DTexture()
130 for (uint32_t face = 0; face < faceCount; face ++) { in Upload2DTexture() local
132 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face); in Upload2DTexture()
136 t = gFaceOrder[face]; in Upload2DTexture()
849 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
861 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
891 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
[all …]
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.cpp53 void loadGlyphOrDie(uint32_t glyphId, float size, FT_Face face) { in loadGlyphOrDie() argument
55 LOG_ALWAYS_FATAL_IF(FT_Set_Char_Size(face, scale, scale, 72 /* dpi */, 72 /* dpi */), in loadGlyphOrDie()
57 LOG_ALWAYS_FATAL_IF(FT_Load_Glyph(face, glyphId, LOAD_FLAG), "Failed to load glyph"); in loadGlyphOrDie()
58 LOG_ALWAYS_FATAL_IF(face->glyph->format != FT_GLYPH_FORMAT_OUTLINE, in loadGlyphOrDie()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java17 package com.android.server.biometrics.face;
38 import android.hardware.biometrics.face.V1_0.IBiometricsFace;
39 import android.hardware.biometrics.face.V1_0.IBiometricsFaceClientCallback;
40 import android.hardware.biometrics.face.V1_0.OptionalBool;
41 import android.hardware.biometrics.face.V1_0.Status;
42 import android.hardware.face.Face;
43 import android.hardware.face.FaceManager;
44 import android.hardware.face.IFaceService;
45 import android.hardware.face.IFaceServiceReceiver;
862 final Face face = new Face(getBiometricUtils()
[all …]
DFaceConstants.java17 package com.android.server.biometrics.face;
19 import android.hardware.face.FaceManager;
DFaceUtils.java17 package com.android.server.biometrics.face;
21 import android.hardware.face.Face;
/frameworks/minikin/libs/minikin/
DMinikinInternal.h61 HbBlob(const HbFaceUniquePtr& face, uint32_t tag) in HbBlob() argument
62 : mBlob(hb_face_reference_table(face.get(), tag)) {} in HbBlob()
/frameworks/rs/
DrsAllocation.cpp172 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, in getPointer() argument
177 ((face != RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X) && !mHal.state.hasFaces) || in getPointer()
184 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer()
212 …ation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in data() argument
214 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
242 …ation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in read() argument
258 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
701 …xt *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DData() argument
704 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
805 for (uint32_t face = 0; face < 6; face ++) { in rsi_AllocationCubeCreateFromBitmap() local
[all …]
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/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 …]
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
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
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
/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/com/google/android/gles_jni/
DGLImpl.java658 int face, in glMaterialf() argument
666 int face, in glMaterialfv() argument
675 int face, in glMaterialfv() argument
683 int face, in glMaterialx() argument
691 int face, in glMaterialxv() argument
700 int face, in glMaterialxv() argument
1410 int face, in glGetMaterialfv() argument
1419 int face, in glGetMaterialfv() argument
1427 int face, in glGetMaterialxv() argument
1436 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/packages/SystemUI/docs/
Dclock-plugins.md30 For clock face that contain color, it is recommended to use an all white
31 version of the face. Since white has the highest luminosity, this version of
32 the clock face represents the worst case scenario.
91 action should be taken to change the shape of the clock face or increase the
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java241 for (Camera.Face face : faces) { in mapResultFaces()
242 if (face != null) { in mapResultFaces()
244 ParameterUtils.convertFaceFromLegacy(face, activeArray, zoomData)); in mapResultFaces()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp168 sk_sp<SkTypeface> face(fm->makeFromStream(std::move(fontData), params)); in Font_Builder_build() local
169 if (face == nullptr) { in Font_Builder_build()
175 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, in Font_Builder_build()

12345