Home
last modified time | relevance | path

Searched refs:ambient (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/hwui/tests/microbench/
DShadowBench.cpp73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { in tessellateShadows() argument
77 testData.lightRadius, *ambient, *spot); in tessellateShadows()
87 VertexBuffer ambient; in BM_TessellateShadows_roundrect_opaque() local
89 tessellateShadows(shadowData, true, path, &ambient, &spot); in BM_TessellateShadows_roundrect_opaque()
90 benchmark::DoNotOptimize(&ambient); in BM_TessellateShadows_roundrect_opaque()
104 std::unique_ptr<VertexBuffer> ambient(new VertexBuffer); in BM_TessellateShadows_roundrect_translucent() local
106 tessellateShadows(shadowData, false, path, ambient.get(), spot.get()); in BM_TessellateShadows_roundrect_translucent()
107 benchmark::DoNotOptimize(ambient.get()); in BM_TessellateShadows_roundrect_translucent()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/
Ddevice_for_input_source.pfw10 ambient = 0
33 ambient = 0
56 ambient = 0
79 ambient = 0
102 ambient = 0
125 ambient = 0
148 ambient = 0
171 ambient = 0
194 ambient = 0
217 ambient = 0
[all …]
/frameworks/base/docs/html/training/wearables/apps/
Dalways-on.jd40 wearable device screen while the device is in a low-power ambient mode. Wear apps that run in both
41 ambient and interactive mode are called <i>always-on</i> apps.
45 while in ambient mode, and maintain backwards compatibility.
50 <p>For new and existing projects, you can add ambient mode support to your Wear app by updating
53 class, which provides all the methods you need to enable ambient mode in your app. The following
58 <p>In order to support ambient mode in your Wear app, you must update your Android SDK and configure
63 APIs to allow activities to go into ambient mode. For more information on how to update your SDK,
86 run-time to support ambient mode are also available at compile-time.
107 <h3 id="CreateActivity">Create an activity that supports ambient mode</h3>
109 <p>To enable ambient mode in your activity, use the
[all …]
Dindex.jd49 <p>To conserve power on a wearable device, you can enable ambient mode for your Wear app.
50 Devices transition from interactive to ambient mode when the user is idle on an activity or when
51 the user covers the screen with their palm. Wearable apps that can transition into ambient mode are
63 <p>On devices running versions prior to Android 5.1 or for apps that do not support ambient mode,
65 activity, the Wear home screen is displayed instead of your activity in ambient mode. If you
83 <dd>Learn how to enable ambient mode for your apps, so they remain visible while still saving
/frameworks/native/opengl/libagl/
Dlight.cpp68 c->lighting.lights[i].ambient.a = 0x10000; in ogles_init_light()
77 c->lighting.front.ambient.r = in ogles_init_light()
78 c->lighting.front.ambient.g = in ogles_init_light()
79 c->lighting.front.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
80 c->lighting.front.ambient.a = 0x10000; in ogles_init_light()
88 c->lighting.lightModel.ambient.r = in ogles_init_light()
89 c->lighting.lightModel.ambient.g = in ogles_init_light()
90 c->lighting.lightModel.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
91 c->lighting.lightModel.ambient.a = 0x10000; in ogles_init_light()
252 vmul3(l.implicitAmbient.v, material.ambient.v, l.ambient.v); in validate_light()
[all …]
Dcontext.h287 vec4_t ambient; member
307 vec4_t ambient; member
315 vec4_t ambient; member
/frameworks/base/graphics/java/android/graphics/
DEmbossMaskFilter.java29 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { in EmbossMaskFilter() argument
33 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); in EmbossMaskFilter()
36 …private static native long nativeConstructor(float[] direction, float ambient, float specular, flo… in nativeConstructor() argument
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java85 float ambient = .3f; in simpleSetup() local
95 mColor[p + AMB] = (byte) (255 * ambient); in simpleSetup()
120 float ambient = .3f; in setup() local
123 mMaterialProp[i].mAmbient = ambient; in setup()
153 float ambient = (material[i].length > 2) ? material[i][2] / 100.f : .2f; in setup() local
158 mMaterialProp[i].mAmbient = ambient; in setup()
185 float ambient = .3f; in setup() local
188 mMaterialProp[i].mAmbient = ambient; in setup()
272 float ambient = m[k].mAmbient * t1 + m[k + 1].mAmbient * t2; in buildMaterialProp() local
281 mColor[p + AMB] = (byte) (255 * ambient); in buildMaterialProp()
Dvr.rs168 float ambient = mat.x * (1/255.f);
171 float lop = (ambient + diffuse * dot_prod) * light * opf;
271 float ambient = mat.x * (1/255.f); // ambient
274 … float lop = (ambient + diffuse * dot_prod + specular * pow(spec, 10)) * light * opf;
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_input_source.pfw6 ambient = 0
24 ambient = 0
42 ambient = 0
64 ambient = 0
86 ambient = 0
108 ambient = 0
129 ambient = 0
148 ambient = 0
166 ambient = 0
188 ambient = 0
[all …]
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd214 <p class="note"><strong>Note:</strong> In ambient mode, the system does not reliably call the
215 custom timer. To update the watch face in ambient mode, see <a href="#TimeTick">Update the watch
216 face in ambient mode</a>.</p>
267 // whether we're in ambient mode, so we may need to start or stop the timer
301 <h3 id="TimeTick">Update the watch face in ambient mode</h3>
303 <p>In ambient mode, the system calls the
309 <p>In ambient mode, most watch face implementations simply invalidate the canvas to redraw the watch
338 <li>Show or hide cards when in ambient mode.</li>
385 low-bit ambient mode and whether the screen requires burn-in protection.</p>
402 <li>For devices that use low-bit ambient mode, the screen supports fewer bits for each color
[all …]
Ddesigning.jd60 <dd>Your watch face should support ambient mode with limited color and interactive mode with
64 <dd>In ambient mode, your watch face should keep most pixels black. Depending on the screen
100 in ambient mode. The background in ambient mode is often completely black. Background images for
111 <p>To increase battery life, the application code that draws your watch face in ambient mode
Dissues.jd85 <p>In ambient mode, peek cards have a transparent background. If your watch face contains details
86 near the card in ambient mode, consider drawing a black rectangle over them to ensure that users
Dservice.jd116 or when an important event occurs (like switching to ambient mode or receiving a new
153 /* get device features (burn-in, low-bit ambient) */
Dperformance.jd189 <p class="note"><strong>Note:</strong> In low-bit ambient mode, the system does not reliably
190 render the colors in the image for bitmap filtering to process successfully. When ambient mode is
Dinformation.jd66 minute. You can also refresh contextual data when the device switches from ambient to interactive
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd20 ambient modes, and consider how system user interface elements will interact with your design.</p>
110 <p>Android Wear devices operate in two main modes: ambient and interactive. Your watch face
112 in ambient mode, it will look even better in interactive mode. The opposite is not always
121 the screen is in ambient mode. The background color scheme is <em>strictly limited</em> to black,
123 provided it is unambiguous that the device is in ambient mode. You can use color elements for up
125 show hours and minutes in ambient mode; do not show seconds. Your watch face is notified when
126 the device switches to ambient mode, and you should thoughtfully design for it.</p>
134 and considerations. One important consideration when designing the ambient mode display for your
136 You can configure your watch face to display different ambient designs depending on the kind
146 <p>Some displays use a reduced color space in ambient mode to save power.</p>
[all …]
Dstructure.jd203 transition into an ambient mode called <i>always-on</i>.
206 <p>Your app can display dynamic data on the device, even when the app is in ambient mode. This
210 <p>Typical user experiences with apps that switch into ambient mode on Android Wear look like
221 <p class="img-caption">When the app switches to ambient mode, remove all elements that invite
233 <p>Don’t present any buttons or other interactive elements when the app is in ambient mode. This
244 <p>Consider the user’s privacy when designing and developing an app that displays data in ambient
247 time while the app is in ambient mode may bother some users. Consider removing potentially private
248 data after a short period of inactivity or refrain from showing sensitive data in ambient mode.
Dindex.jd70 …ill automatically be optimized for display in this state. Users can exit ambient mode by tapping o…
/frameworks/base/core/jni/android/graphics/
DMaskFilter.cpp31 …static jlong createEmboss(JNIEnv* env, jobject, jfloatArray dirArray, jfloat ambient, jfloat specu… in createEmboss() argument
42 direction, ambient, specular); in createEmboss()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DEmbossMaskFilter_Delegate.java58 /*package*/ static long nativeConstructor(float[] direction, float ambient, in nativeConstructor() argument
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_environment.jd37 You can use these sensors to monitor relative ambient humidity, illuminance, ambient pressure, and
38 ambient temperature near an Android-powered device. All four environment sensors are hardware-based
Dsensors_overview.jd56 positioning, or you want to monitor changes in the ambient environment near a device. For example, a
72 <p>These sensors measure various environmental parameters, such as ambient air temperature
134 <td>Measures the ambient room temperature in degrees Celsius (&deg;C). See note below.</td>
154 <td>Measures the ambient light level (illumination) in lx.</td>
168 <td>Measures the ambient geomagnetic field for all three physical axes (x, y, z) in
185 <td>Measures the ambient air pressure in hPa or mbar.</td>
199 <td>Measures the relative ambient humidity in percent (%).</td>
/frameworks/base/docs/html/wear/preview/
Dsupport.jd92 <li>Pressing the hardware button in ambient mode triggers active mode with
/frameworks/base/docs/html/wear/preview/features/
Dcomplications.jd247 often when the device is in ambient mode or is not being worn.

12