Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java88 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
89 int lengthFaces = faces == null ? 0 : faces.length; in LegacyFaceDetectMapper()
92 mFaces = faces; in LegacyFaceDetectMapper()
212 Camera.Face[] faces, previousFaces; in mapResultFaces() local
220 faces = mFaces; in mapResultFaces()
222 faces = null; in mapResultFaces()
228 mFacesPrev = faces; in mapResultFaces()
241 if (faces != null) { in mapResultFaces()
242 for (Camera.Face face : faces) { in mapResultFaces()
252 if (VERBOSE && previousFaces != faces) { // Log only in verbose and IF the faces changed in mapResultFaces()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dindex.jd32 <p>Watch faces in Android Wear leverage a dynamic digital canvas to tell time using colors,
35 Wear companion app</a> provides watch faces with different styles and shapes. When
36 users select one of the available watch faces on the wearable or on the companion app, the
39 <p>Android Wear enables you to create custom watch faces for Wear devices. When users install a
41 app</a> with watch faces, they become available in the Android Wear companion app
44 <p>This class teaches you to implement custom watch faces and to package them inside a wearable
57 <dt><a href="{@docRoot}training/wearables/watch-faces/designing.html">
60 <dt><a href="{@docRoot}training/wearables/watch-faces/service.html">
63 <dt><a href="{@docRoot}training/wearables/watch-faces/drawing.html">
66 <dt><a href="{@docRoot}training/wearables/watch-faces/information.html">
[all …]
Dissues.jd22 issues that you may encounter as you implement your first few watch faces.</p>
60 <img src="{@docRoot}training/wearables/watch-faces/images/AnalogNoCard.png" alt=""
62 <img src="{@docRoot}training/wearables/watch-faces/images/AnalogWithCard.png" alt=""
64 <p class="img-caption"><strong>Figure 1.</strong> Some analog watch faces require adjustments
70 <a href="{@docRoot}training/wearables/watch-faces/drawing.html#SystemUI">system UI style</a>. Your
74 <p>Analog watch faces can make adjustments when a notification card is present, like scaling
76 watch faces that display the time in the area of the screen not covered by peek cards do not
89 <img src="{@docRoot}training/wearables/watch-faces/images/Indicators_Cropped.png" alt=""
109 href="{@docRoot}training/wearables/watch-faces/drawing.html#SystemUI">Configure the System UI</a>
Dservice.jd20 <p>Watch faces in Android Wear are implemented as <a
23 handheld app that contains a wearable app with watch faces, these watch faces become available
27 users select one of the available watch faces, the wearable device shows the watch face and
30 <p>This lesson shows you how to configure an Android project to include watch faces and how
79 implement watch faces. Browse the
91 <p>Watch faces require the <code>PROVIDE_BACKGROUND</code> and <code>WAKE_LOCK</code> permissions.
112 <p>Watch faces in Android Wear are implemented as
177 demonstrates how to implement analog and digital watch faces extending the
190 href="{@docRoot}training/wearables/watch-faces/drawing.html">Drawing Watch Faces</a>.</p>
235 presenting users with all the watch faces installed on the device. To obtain this drawable,
[all …]
Ddesigning.jd29 provide advanced capabilities for watch faces that you can leverage in your designs, such as
33 <p>This lesson provides a summary of the design considerations for watch faces and general
45 <img src="{@docRoot}training/wearables/watch-faces/images/Render_Next.png"
47 <img src="{@docRoot}training/wearables/watch-faces/images/Render_Interactive.png"
50 <strong>Figure 1.</strong> Example watch faces.</p>
82 <p>For more information about designing watch faces for Android Wear, see the <a
116 <p>The remaining lessons in this class show you how to implement watch faces in detail.</p>
Dperformance.jd24 computations. Watch faces in Android Wear run continuously on the device, so it is critical
34 <p>Many watch faces consist of a background image and other graphic assets that are transformed
38 <a href="{@docRoot}training/wearables/watch-faces/drawing.html#Drawing">Draw Your Watch
46 <img src="{@docRoot}training/wearables/watch-faces/images/ClockHandFull.png" alt=""
48 <img src="{@docRoot}training/wearables/watch-faces/images/ClockHandCropped.png" alt=""
87 <img src="{@docRoot}training/wearables/watch-faces/images/BitmapFilterDisabled.png" alt=""
89 <img src="{@docRoot}training/wearables/watch-faces/images/BitmapFilterEnabled.png" alt=""
Dconfiguration.jd21 href="{@docRoot}training/wearables/apps/index.html">wearable app</a> with watch faces, these
22 watch faces become available in the Android Wear companion app on the companion device and in
27 <p>Some watch faces support configuration parameters to let users customize how the watch face
28 looks and behaves. For example, some watch faces let users pick a custom background color, and
29 watch faces that tell time for two different time zones can let users select which time zones
32 <p>Watch faces that support configuration parameters can let users customize a watch face using
Ddrawing.jd30 apply to any watch face, so you can reuse some of the code in your own watch faces.</p>
33 <img src="{@docRoot}training/wearables/watch-faces/images/preview_analog.png"
35 <img src="{@docRoot}training/wearables/watch-faces/images/preview_digital.png"
38 <strong>Figure 1.</strong> The analog and digital watch faces in
71 <dd>Most watch faces contain at least one bitmap image used as the background of the watch face,
73 <a href="{@docRoot}training/wearables/watch-faces/designing.html#ImplementationStrategy">Create an
77 <dd>The system notifies the watch face once a minute when the time changes, but some watch faces
307 <p>Watch faces should not interfere with system UI elements, as described in
505 <p>The <em>WatchFace</em> sample in the Android SDK includes additional watch faces that you
Dinformation.jd30 <img src="{@docRoot}training/wearables/watch-faces/images/Render_Saturn.png"
32 <img src="{@docRoot}training/wearables/watch-faces/images/Render_Episode.png"
35 <strong>Figure 1.</strong> Examples of watch faces with integrated data.</p>
75 <img src="{@docRoot}training/wearables/watch-faces/images/preview_calendar.png"
/frameworks/base/media/java/android/media/
DFaceDetector.java139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces() argument
148 if (faces.length < mMaxFaces) { in findFaces()
157 if (faces[i] == null) in findFaces()
158 faces[i] = new Face(); in findFaces()
159 fft_get_face(faces[i], i); in findFaces()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java157 int faces = 1; in calcElementCount() local
159 faces = 6; in calcElementCount()
171 int count = x * y * z * faces; in calcElementCount()
184 count += x * y * z * faces; in calcElementCount()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java67 Face[] faces = (Face[]) facesFrame.getValues(); in onProcess() local
74 drawBoxes(pixels, faces, dims); in onProcess()
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes() argument
83 for(int i = 0; i < faces.length; i++) { in drawBoxes()
84 Rect tempRect = faces[i].rect; in drawBoxes()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp367 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
368 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
369 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
370 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata()
373 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata()
375 bool optionalFields = metadata->faces[i].id != 0 in postMetadata()
376 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000 in postMetadata()
377 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -2000 in postMetadata()
378 && metadata->faces[i].mouth[0] != -2000 && metadata->faces[i].mouth[1] != -2000; in postMetadata()
380 int32_t id = metadata->faces[i].id; in postMetadata()
[all …]
/frameworks/rs/cpp/
DType.cpp37 uint32_t faces = 1; in calcElementCount() local
39 faces = 6; in calcElementCount()
51 uint32_t count = x * y * z * faces; in calcElementCount()
63 count += x * y * z * faces; in calcElementCount()
/frameworks/rs/
DrsType.cpp115 if (mHal.state.faces) { in compute()
156 mHal.state.faces); in dumpLOGV()
173 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); in serialize()
195 uint8_t faces = stream->loadU8(); in createFromStream() local
196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0, 0); in createFromStream()
263 nt->mHal.state.faces = dimFaces; in getTypeRef()
331 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
334 return Type::getType(rsc, e, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsi_TypeCreate()
DrsType.h53 bool faces; member
72 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
/frameworks/base/rs/java/android/renderscript/
DType.java154 int faces = 1; in calcElementCount() local
156 faces = 6; in calcElementCount()
168 int count = x * y * z * faces; in calcElementCount()
181 count += x * y * z * faces; in calcElementCount()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp117 Vector<camera_face_t> faces; in processFaceDetect() local
184 faces.setCapacity(metadata.number_of_faces); in processFaceDetect()
229 faces.push_back(face); in processFaceDetect()
232 metadata.faces = faces.editArray(); in processFaceDetect()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java71 Face[] faces = new Face[1]; in testFaceSquareFilter() local
72 faces[0] = face; in testFaceSquareFilter()
73 facesFrame.setValue(faces); in testFaceSquareFilter()
/frameworks/av/camera/
DICameraClient.cpp64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); in dataCallback()
108 metadata->faces = (camera_face_t *) data.readInplace( in onTransact()
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd6 <a class="notice-developers right" href="{@docRoot}training/wearables/watch-faces/index.html"
14 <p>Android Wear supports custom watch faces with designs that can show contextually relevant
19 faces exist as part of the Wear user interface, so it is important to provide interactive and
22 <p>Follow the guidelines in this page to design your custom watch faces.</p>
35 Android Wear also lets you integrate data on watch faces for a higher level of personalization and
38 <p>These powerful new tools to create watch faces run the risk of overcomplicating a design. The
52 square and round faces as well as different resolutions. Some concepts work better in a certain
137 of screen available on the device. Consider the best design for your watch faces on all
197 notification. A small peek card leaves more room for your design. Round faces with analog hands
316 <p>The Android Wear companion app gives the user access to all installed watch faces and their
[all …]
Dindex.jd63 …, showing connectivity, charging status, airplane mode, and in some watch faces a count of unread …
68 <li><strong>Watch faces</strong> may be chosen by the user to appear in the background of the Home …
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java591 private boolean setFaces(Face[] faces) { in setFaces() argument
592 if (faces == null) { in setFaces()
596 int numFaces = faces.length; in setFaces()
600 for (Face face : faces) { in setFaces()
623 for (Face face : faces) { in setFaces()
736 Face[] faces = new Face[faceList.size()]; in getFaces() local
737 faceList.toArray(faces); in getFaces()
738 return faces; in getFaces()
/frameworks/base/docs/html/training/graphics/opengl/
Dshapes.jd41 basics of defining a shape, shape faces, as well as defining a triangle and a square.</p>
95 face feature. For more information about faces and culling, see the <a
96 href="{@docRoot}guide/topics/graphics/opengl.html#faces-winding">OpenGL ES</a> developer guide.</p>
/frameworks/rs/driver/runtime/
Drs_structs.h247 bool faces; member

12