Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java87 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
88 int lengthFaces = faces == null ? 0 : faces.length; in LegacyFaceDetectMapper()
91 mFaces = faces; in LegacyFaceDetectMapper()
211 Camera.Face[] faces, previousFaces; in mapResultFaces() local
219 faces = mFaces; in mapResultFaces()
221 faces = null; in mapResultFaces()
227 mFacesPrev = faces; in mapResultFaces()
240 if (faces != null) { in mapResultFaces()
241 for (Camera.Face face : faces) { in mapResultFaces()
251 if (DEBUG && previousFaces != faces) { // Log only in verbose and IF the faces changed in mapResultFaces()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dindex.jd31 <p>Watch faces in Android Wear leverage a dynamic digital canvas to tell time using colors,
34 Wear companion app</a> provides watch faces with different styles and shapes. When
35 users select one of the available watch faces on the wearable or on the companion app, the
38 <p>Android Wear enables you to create custom watch faces for Wear devices. When users install a
40 app</a> with watch faces, they become available in the Android Wear companion app
43 <p>This class teaches you to implement custom watch faces and to package them inside a wearable
56 <dt><a href="{@docRoot}training/wearables/watch-faces/designing.html">
59 <dt><a href="{@docRoot}training/wearables/watch-faces/service.html">
62 <dt><a href="{@docRoot}training/wearables/watch-faces/drawing.html">
65 <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>
63 <img src="{@docRoot}training/wearables/watch-faces/images/AnalogNoCard.png" alt=""
65 <img src="{@docRoot}training/wearables/watch-faces/images/AnalogWithCard.png" alt=""
67 <p class="img-caption"><strong>Figure 1.</strong> Some analog watch faces require adjustments
73 <a href="{@docRoot}training/wearables/watch-faces/drawing.html#SystemUI">system UI style</a>. Your
77 <p>Analog watch faces can make adjustments when a notification card is present, like scaling
79 watch faces that display the time in the area of the screen not covered by peek cards do not
94 <img src="{@docRoot}training/wearables/watch-faces/images/Indicators_Cropped.png" alt=""
119 href="{@docRoot}training/wearables/watch-faces/drawing.html#SystemUI">Configure the System UI</a>
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>
Dservice.jd25 <p>Watch faces in Android Wear are implemented as <a
28 handheld app that contains a wearable app with watch faces, these watch faces become available
32 users select one of the available watch faces, the wearable device shows the watch face and
35 <p>This lesson shows you how to configure an Android project to include watch faces and how
86 implement watch faces. Browse the
113 <p>Watch faces in Android Wear are implemented as
197 href="{@docRoot}training/wearables/watch-faces/drawing.html">Drawing Watch Faces</a>.</p>
240 presenting users with all the watch faces installed on the device. To obtain this drawable,
245 <p>Watch faces that look substantially different on round devices can provide both round and
Dconfiguration.jd26 href="{@docRoot}training/wearables/apps/index.html">wearable app</a> with watch faces, these
27 watch faces become available in the Android Wear companion app on the companion device and in
32 <p>Some watch faces support configuration parameters to let users customize how the watch face
33 looks and behaves. For example, some watch faces let users pick a custom background color, and
34 watch faces that tell time for two different time zones can let users select which time zones
37 <p>Watch faces that support configuration parameters can let users customize a watch face using
Dperformance.jd32 Watch faces with animations must run smoothly while accommodating
123 <p>Many watch faces consist of a background image and other graphic assets that are transformed
128 <a href="{@docRoot}training/wearables/watch-faces/drawing.html#Drawing">Draw Your Watch
137 <img src="{@docRoot}training/wearables/watch-faces/images/ClockHandFull.png" alt=""
139 <img src="{@docRoot}training/wearables/watch-faces/images/ClockHandCropped.png" alt=""
174 <img src="{@docRoot}training/wearables/watch-faces/images/BitmapFilterDisabled.png" alt=""
176 <img src="{@docRoot}training/wearables/watch-faces/images/BitmapFilterEnabled.png" alt=""
Ddrawing.jd33 apply to any watch face, so you can reuse some of the code in your own watch faces.</p>
36 <img src="{@docRoot}training/wearables/watch-faces/images/preview_analog.png"
38 <img src="{@docRoot}training/wearables/watch-faces/images/preview_digital.png"
41 <strong>Figure 1.</strong> The analog and digital watch faces in
80 <dd>Most watch faces contain at least one bitmap image used as the background of the watch face,
82 <a href="{@docRoot}training/wearables/watch-faces/designing.html#ImplementationStrategy">Create an
86 <dd>The system notifies the watch face once a minute when the time changes, but some watch faces
327 <p>Watch faces should not interfere with system UI elements, as described in
413 <a href="{@docRoot}training/wearables/watch-faces/performance.html#BitmapFiltering">Bitmap
549 watch faces that you can refer to as examples of how to implement the
/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/rs/
DrsType.cpp118 if (mHal.state.faces) { in compute()
159 mHal.state.faces); in dumpLOGV()
176 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); in serialize()
200 p.faces = stream->loadU8(); in createFromStream()
239 if (t->getDimFaces() != params->faces) continue; in getTypeRef()
271 nt->mHal.state.faces = params->faces; in getTypeRef()
315 p.faces = getDimFaces(); in cloneAndResize2D()
365 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
374 p.faces = faces; in rsi_TypeCreate()
DrsType.h56 bool faces; member
75 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
DrsScriptC_Lib.cpp285 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, in rsrTypeCreate() argument
287 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsrTypeCreate()
/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.cpp380 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
381 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
382 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
383 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata()
386 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata()
388 bool optionalFields = metadata->faces[i].id != 0 in postMetadata()
389 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000 in postMetadata()
390 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -2000 in postMetadata()
391 && metadata->faces[i].mouth[0] != -2000 && metadata->faces[i].mouth[1] != -2000; in postMetadata()
393 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/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java155 int faces = 1; in calcElementCount() local
157 faces = 6; in calcElementCount()
169 int count = x * y * z * faces; in calcElementCount()
182 count += x * y * z * faces; in calcElementCount()
/frameworks/base/rs/java/android/renderscript/
DType.java188 int faces = 1; in calcElementCount() local
190 faces = 6; in calcElementCount()
202 int count = x * y * z * faces; in calcElementCount()
215 count += x * y * z * faces; in calcElementCount()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp123 Vector<camera_face_t> faces; in processFaceDetect() local
190 faces.setCapacity(metadata.number_of_faces); in processFaceDetect()
235 faces.push_back(face); in processFaceDetect()
238 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/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
194 notification. A small peek card leaves more room for your design. Round faces with analog hands
311 possible: Neither you nor the user should think of watch faces as full-fledged apps. Figure 1
[all …]
/frameworks/base/docs/html/wear/preview/features/
Dcomplications.jd52 Complications API is for both watch faces and data provider apps.
61 Watch faces can display extra information without needing code for
77 Apps that provide data to watch faces for complications are called
82 The consuming watch faces are responsible for drawing
87 Watch faces can receive complication data of
94 from providers to watch faces.
101 For creating or modifying watch faces, see <a href=
107 For writing apps that provide data to watch faces, see <a href=
163 users to choose providers for a particular complication. Watch faces can
197 face), but it is expected that watch faces accept taps on complications
[all …]
/frameworks/av/camera/
DICameraClient.cpp68 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); in dataCallback()
122 metadata->faces = (camera_face_t *) data.readInplace( in onTransact()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java605 private boolean setFaces(Face[] faces) { in setFaces() argument
606 if (faces == null) { in setFaces()
610 int numFaces = faces.length; in setFaces()
614 for (Face face : faces) { in setFaces()
637 for (Face face : faces) { in setFaces()
750 Face[] faces = new Face[faceList.size()]; in getFaces() local
751 faceList.toArray(faces); in getFaces()
752 return faces; in getFaces()
/frameworks/rs/api/
Drs_allocation_create.spec83 arg: bool faces, "Flag indicating if the Type is a cubemap"
99 faces indicates the presence of cubemap faces.
Drs_object_types.spec96 summary: Enum for selecting cube map faces
98 An enum used to specify one the six faces of a cubemap.

123