Home
last modified time | relevance | path

Searched refs:light (Results 1 – 9 of 9) 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.java288 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats() argument
293 final String spec = light ? "60% black and 24% black" : "100% white and 30% white"; in assertStats()
298 final String unexpected = light ? "lighter" : "darker"; in assertStats()
299 final String expected = light ? "dark" : "light"; in assertStats()
300 final int sameHuePixels = light ? s.sameHueLightPixels : s.sameHueDarkPixels; in assertStats()
/cts/tests/inputmethod/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/
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/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.java421 Light light = null; in testInputLightsManager() local
425 light = lights.get(i); in testInputLightsManager()
429 + " does not exist. Lights found: " + lights, light); in testInputLightsManager()
436 .addLight(light, (new LightState.Builder()) in testInputLightsManager()
440 .addLight(light, (new LightState.Builder()).setColor(test.lightColor) in testInputLightsManager()
466 assertThat(lightsManager.getLightState(light).getPlayerId()) in testInputLightsManager()
469 assertThat(lightsManager.getLightState(light).getColor()) in testInputLightsManager()
/cts/apps/CameraITS/tests/inprog/scene2/
DREADME2 light sources capable of producing D65, D50, A, TL84, etc. illumination.