Home
last modified time | relevance | path

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

/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/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/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
143 <p>Some displays use a reduced color space in ambient mode to save power.</p>
[all …]
Dindex.jd70 …ill automatically be optimized for display in this state. Users can exit ambient mode by tapping o…
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd200 <p class="note"><strong>Note:</strong> In ambient mode, the system does not reliably call the
201 custom timer. To update the watch face in ambient mode, see <a href="#TimeTick">Update the watch
202 face in ambient mode</a>.</p>
252 // whether we're in ambient mode), so we may need to start or stop the timer
284 <h3 id="TimeTick">Update the watch face in ambient mode</h3>
286 <p>In ambient mode, the system calls the <code>Engine.onTimeTick()</code> method every minute.
291 <p>In ambient mode, most watch face implementations simply invalidate the canvas to redraw the watch
318 <li>Show or hide cards when in ambient mode.</li>
361 the properties of the device screen, such as whether the device uses low-bit ambient mode and
379 <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.jd80 <p>In ambient mode, peek cards have a transparent background. If your watch face contains details
81 near the card in ambient mode, consider drawing a black rectangle over them to ensure that users
Dservice.jd115 or when an important event occurs (like switching to ambient mode or receiving a new
147 /* get device features (burn-in, low-bit ambient) */
Dinformation.jd61 minute. You can also refresh contextual data when the device switches from ambient to interactive
/frameworks/base/core/jni/android/graphics/
DMaskFilter.cpp29 …static jlong createEmboss(JNIEnv* env, jobject, jfloatArray dirArray, jfloat ambient, jfloat specu… in createEmboss() argument
40 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/about/versions/
Dandroid-4.0.jd1081 the ambient (room) temperature in degrees Celsius.</li>
1083 relative ambient (room) humidity as a percentage.</li>