Home
last modified time | relevance | path

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

12345

/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp199 camera_face_t face; in processFaceDetect() local
201 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
203 face.rect[1] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect()
205 face.rect[2] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
207 face.rect[3] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect()
209 face.score = faceScores[i]; in processFaceDetect()
211 face.id = faceIds[i]; in processFaceDetect()
212 face.left_eye[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
214 face.left_eye[1] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect()
216 face.right_eye[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
[all …]
/frameworks/base/libs/hwui/jni/
DTypeface.cpp38 Typeface* face = Typeface::createRelative(family, (Typeface::Style)style); in Typeface_createFromTypeface() local
41 if (NULL == face) { in Typeface_createFromTypeface()
42 face = Typeface::createRelative(family, (Typeface::Style)(style ^ Typeface::kItalic)); in Typeface_createFromTypeface()
44 for (int i = 0; NULL == face && i < 4; i++) { in Typeface_createFromTypeface()
45 face = Typeface::createRelative(family, (Typeface::Style)i); in Typeface_createFromTypeface()
47 return toJLong(face); in Typeface_createFromTypeface()
112 Typeface* face = toTypeface(faceHandle); in Typeface_getSupportedAxes() local
113 const std::unordered_set<minikin::AxisTag>& tagSet = face->fFontCollection->getSupportedTags(); in Typeface_getSupportedAxes()
/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,
100 face).sendToTarget();
415 public void remove(Face face, int userId, RemovalCallback callback) { in remove() argument
419 mRemovalFace = face; in remove()
420 mService.remove(mToken, face.getBiometricId(), userId, mServiceReceiver, in remove()
425 callback.onRemovalError(face, FACE_ERROR_HW_UNAVAILABLE, in remove()
739 public AuthenticationResult(CryptoObject crypto, Face face, int userId, in AuthenticationResult() argument
742 mFace = face; in AuthenticationResult()
904 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/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/av/services/camera/libcameraservice/tests/
DRotateAndCropMapperTest.cpp112 auto face = std::vector<int32_t> {300,300,500,500}; in TEST()
114 face.data(), face.size()); in TEST()
128 EXPECT_THAT(face, ElementsAreArray(e.data.i32, e.count)); in TEST()
175 auto face = std::vector<int32_t> { in TEST()
179 face.data(), face.size()); in TEST()
266 auto face = std::vector<int32_t> { in TEST()
270 face.data(), face.size()); in TEST()
353 auto face = std::vector<int32_t> { in TEST()
358 face.data(), face.size()); in TEST()
/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/core/java/android/hardware/biometrics/
DIBiometricAuthenticator.aidl21 import android.hardware.face.IFaceServiceReceiver;
22 import android.hardware.face.Face;
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceConstants.java17 package com.android.server.biometrics.face;
19 import android.hardware.face.FaceManager;
DFaceService.java17 package com.android.server.biometrics.face;
39 import android.hardware.biometrics.face.V1_0.IBiometricsFace;
40 import android.hardware.biometrics.face.V1_0.IBiometricsFaceClientCallback;
41 import android.hardware.biometrics.face.V1_0.OptionalBool;
42 import android.hardware.biometrics.face.V1_0.Status;
43 import android.hardware.face.Face;
44 import android.hardware.face.FaceManager;
45 import android.hardware.face.IFaceService;
46 import android.hardware.face.IFaceServiceReceiver;
868 final Face face = new Face(getBiometricUtils()
[all …]
DFaceAuthenticator.java17 package com.android.server.biometrics.face;
21 import android.hardware.face.IFaceService;
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/base/libs/hwui/jni/fonts/
DFont.cpp108 sk_sp<SkTypeface> face(fm->makeFromStream(std::move(fontData), params)); in Font_Builder_build() local
109 if (face == nullptr) { in Font_Builder_build()
115 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, in Font_Builder_build()
/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 …]
/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 …]
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
/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/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.java243 for (Camera.Face face : faces) { in mapResultFaces()
244 if (face != null) { in mapResultFaces()
246 ParameterUtils.convertFaceFromLegacy(face, activeArray, zoomData)); in mapResultFaces()
/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 …]

12345