Home
last modified time | relevance | path

Searched refs:light (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarActivity.java49 private void setLightBarLegacy(boolean light, int systemUiFlag) { in setLightBarLegacy() argument
51 if (light) { in setLightBarLegacy()
67 private void setLightBarAppearance(boolean light, int appearanceFlag) { in setLightBarAppearance() argument
71 if (light) { in setLightBarAppearance()
DLightBarTests.java317 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats() argument
322 final String spec = light ? "60% black and 24% black" : "100% white and 30% white"; in assertStats()
327 final String unexpected = light ? "lighter" : "darker"; in assertStats()
328 final String expected = light ? "dark" : "light"; in assertStats()
329 final int sameHuePixels = light ? s.sameHueLightPixels : s.sameHueDarkPixels; in assertStats()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DLightNavigationBarVerifier.java154 (dark, light) -> Color.red(dark) - Color.red(light)), in verify()
156 (dark, light) -> Color.green(dark) - Color.green(light)), in verify()
158 (dark, light) -> Color.blue(dark) - Color.blue(light)), in verify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DDrawParameters.java33 public void update(float[] viewMatrix, float[] projectionMatrix, Light light) { in update() argument
35 mLight = light; in update()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DEnsureBarContrastTest.java140 private static Matcher<Bitmap> hasNoScrim(boolean light) { in hasNoScrim() argument
142 "must not have a " + (light ? "light" : "dark") + " scrim") { in hasNoScrim()
158 return backgroundForBar(light); in hasNoScrim()
163 private static Matcher<Bitmap> hasContrast(boolean light) {
165 (light ? "light" : "dark") + " bar must have contrast") {
169 int bg = backgroundForBar(light);
183 backgroundForBar(light));
/cts/apps/CameraITS/tests/scene8/
Dtest_ae_awb_regions.py135 def _do_ae_check(light, dark, file_name_with_path): argument
148 light_y = opencv_processing_utils.convert_to_y(light, 'RGB')
349 _, yellow, _, dark, _, light, _, blue = (
353 _, blue, _, light, _, dark, _, yellow = (
363 _do_ae_check(light, dark, file_name_with_path)
/cts/tests/openglperf2/assets/fragment/
Dperspective21 // Get a lighting direction vector from the light to the vertex.
23 // Calculate the dot product of the light vector and vertex normal.
Dwater28 // Get a lighting direction vector from the light to the vertex.
30 // Calculate the dot product of the light vector and vertex normal.
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java414 Light light = null; in testInputLightsManager() local
418 light = lights.get(i); in testInputLightsManager()
422 + " does not exist. Lights found: " + lights, light); in testInputLightsManager()
429 .addLight(light, (new LightState.Builder()) in testInputLightsManager()
433 .addLight(light, (new LightState.Builder()).setColor(test.lightColor) in testInputLightsManager()
459 assertThat(lightsManager.getLightState(light).getPlayerId()) in testInputLightsManager()
462 assertThat(lightsManager.getLightState(light).getColor()) in testInputLightsManager()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt13189 field public static final String FEATURE_SENSOR_LIGHT = "android.hardware.sensor.light";
18621 field public static final String STRING_TYPE_LIGHT = "android.sensor.light";