HomeSort by relevance Sort by last modified time
    Searched refs:light (Results 1 - 25 of 232) sorted by null

1 2 3 4 5 6 7 8 910

  /hardware/interfaces/tests/extension/light/2.0/
ILight.hal 17 // Would normally be 'vendor.example.extension.light@2.0' however, this is
20 package android.hardware.tests.extension.light@2.0;
22 import android.hardware.light@2.0::ILight;
23 import android.hardware.light@2.0::Status;
24 import android.hardware.light@2.0::Type;
26 interface ILight extends android.hardware.light@2.0::ILight {
34 * @param type logical light to set
35 * @param state describes what the light should look like.
types.hal 17 package android.hardware.tests.extension.light@2.0;
22 import android.hardware.light@2.0::Brightness;
23 import android.hardware.light@2.0::LightState;
35 enum Brightness : android.hardware.light@2.0::Brightness {
53 android.hardware.light@2.0::LightState state;
  /hardware/interfaces/light/2.0/default/
service.cpp 17 #define LOG_TAG "android.hardware.light@2.0-service"
19 #include <android/hardware/light/2.0/ILight.h>
22 using android::hardware::light::V2_0::ILight;
Light.h 19 #include <android/hardware/light/2.0/ILight.h>
28 namespace light { namespace in namespace:android::hardware
32 using ::android::hardware::light::V2_0::ILight;
33 using ::android::hardware::light::V2_0::LightState;
34 using ::android::hardware::light::V2_0::Status;
35 using ::android::hardware::light::V2_0::Type;
42 struct Light : public ILight {
43 Light(std::map<Type, light_device_t*> &&lights);
58 } // namespace light
  /test/vts/script/
run-local.sh 17 PYTHONPATH=$PYTHONPATH:.. python -m vts.testcases.host.light.conventional.SampleLightTest
  /external/clang/test/Index/
print-bitwidth.c 10 unsigned light : 1; member in struct:X
22 // CHECK: FieldDecl=light:10:12 (Definition) bitwidth=1
  /external/skia/src/effects/
SkEmbossMaskFilter.cpp 26 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) {
31 Light newLight = light;
32 normalize3(newLight.fDirection, light.fDirection);
47 SkEmbossMaskFilter::Light light; local
49 memcpy(light.fDirection, direction, sizeof(light.fDirection));
51 light.fAmbient = SkUnitScalarClampToByte(ambient)
104 Light light = fLight; local
124 Light light; local
    [all...]
SkEmbossMaskFilter.h 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount.
19 struct Light {
26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light);
39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
43 Light fLight;
  /external/skqp/src/effects/
SkEmbossMaskFilter.cpp 16 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) {
17 return sk_sp<SkMaskFilter>(new SkEmbossMaskFilter(blurSigma, light));
27 SkEmbossMaskFilter::Light light; local
29 memcpy(light.fDirection, direction, sizeof(light.fDirection));
31 light.fAmbient = SkUnitScalarClampToByte(ambient);
34 light.fSpecular = static_cast<U8CPU>(SkScalarPin(specular, 0, 16) * kSpecularMultiplier + 0.5);
36 return SkEmbossMaskFilter::Make(blurSigma, light);
91 Light light = fLight; local
111 Light light; local
    [all...]
SkEmbossMaskFilter.h 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount.
19 struct Light {
26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light);
39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
43 Light fLight;
  /hardware/interfaces/light/2.0/vts/functional/
VtsHalLightV2_0TargetTest.cpp 22 #include <android/hardware/light/2.0/ILight.h>
23 #include <android/hardware/light/2.0/types.h>
27 using ::android::hardware::light::V2_0::Brightness;
28 using ::android::hardware::light::V2_0::Flash;
29 using ::android::hardware::light::V2_0::ILight;
30 using ::android::hardware::light::V2_0::LightState;
31 using ::android::hardware::light::V2_0::Status;
32 using ::android::hardware::light::V2_0::Type;
76 // Test environment for Light HIDL HAL.
93 light = ::testing::VtsHalHidlTargetTestBase::getService<ILight>
104 sp<ILight> light; member in class:LightHidlTest
    [all...]
  /hardware/interfaces/light/utils/
main.cpp 21 #include <android/hardware/light/2.0/ILight.h>
30 using ::android::hardware::light::V2_0::Brightness;
31 using ::android::hardware::light::V2_0::Flash;
32 using ::android::hardware::light::V2_0::ILight;
33 using ::android::hardware::light::V2_0::LightState;
34 using ::android::hardware::light::V2_0::Status;
35 using ::android::hardware::light::V2_0::Type;
40 error("Could not retrieve light service.");
  /hardware/interfaces/tests/extension/light/2.0/default/
Light.h 19 #include <android/hardware/tests/extension/light/2.0/ILight.h>
27 namespace light { namespace in namespace:android::hardware::tests::extension
31 using ::android::hardware::tests::extension::light::V2_0::LightState;
32 using ::android::hardware::tests::extension::light::V2_0::ILight;
35 using OldLightState = ::android::hardware::light::V2_0::LightState;
36 using ::android::hardware::light::V2_0::Status;
37 using ::android::hardware::light::V2_0::Type;
43 struct Light : public ILight {
44 // Methods from ::android::hardware::light::V2_0::ILight follow.
48 // Methods from ::android::hardware::example::extension::light::V2_0::ILight follow
    [all...]
service.cpp 16 #define LOG_TAG "android.hardware.tests.extension.light@2.0-service"
21 #include "Light.h"
27 using android::hardware::light::V2_0::ILight;
28 using android::hardware::tests::extension::light::V2_0::implementation::Light;
31 android::sp<ILight> service = new Light();
  /frameworks/base/services/core/jni/
com_android_server_lights_LightsService.cpp 23 #include <android/hardware/light/2.0/ILight.h>
24 #include <android/hardware/light/2.0/types.h>
33 using Brightness = ::android::hardware::light::V2_0::Brightness;
34 using Flash = ::android::hardware::light::V2_0::Flash;
35 using ILight = ::android::hardware::light::V2_0::ILight;
36 using LightState = ::android::hardware::light::V2_0::LightState;
37 using Status = ::android::hardware::light::V2_0::Status;
38 using Type = ::android::hardware::light::V2_0::Type;
74 static bool validate(jint light, jint flash, jint brightness) {
77 if (light < 0 || light >= static_cast<jint>(Type::COUNT))
    [all...]
  /test/vts-testcase/hal/light/V2_0/target/
Android.mk 22 VTS_CONFIG_SRC_DIR := testcases/hal/light/V2_0/target
  /test/vts-testcase/hal/light/V2_0/target_profiling/
Android.mk 22 VTS_CONFIG_SRC_DIR := testcases/hal/light/V2_0/target_profiling
  /test/vts-testcase/hal/light/V2_0/target_replay/
Android.mk 22 VTS_CONFIG_SRC_DIR := testcases/hal/light/V2_0/target_replay
  /cts/tests/tests/systemui/src/android/systemui/cts/
LightBarActivity.java 34 private void setLightBar(boolean light, int systemUiFlag) {
36 if (light) {
  /hardware/interfaces/light/2.0/
ILight.hal 17 package android.hardware.light@2.0;
24 * @param type logical light to set
25 * @param state describes what the light should look like.
  /external/mesa3d/src/mesa/tnl/
t_vb_lighttmp.h 52 GLfloat (*base)[3] = ctx->Light._BaseColor;
76 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3];
81 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3];
94 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3];
96 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3];
108 /* Add contribution from each enabled light source */
109 mask = ctx->Light._EnabledLights;
112 struct gl_light *light = &ctx->Light.Light[l] local
291 struct gl_light *light = &ctx->Light.Light[l]; local
426 const struct gl_light *light = local
585 const struct gl_light *light = &ctx->Light.Light[l]; local
    [all...]
  /external/mesa3d/src/mesa/main/
light.c 32 #include "light.h"
47 if (ctx->Light.ShadeModel == mode)
56 ctx->Light.ShadeModel = mode;
85 if (ctx->Light.ProvokingVertex == mode)
89 ctx->Light.ProvokingVertex = mode;
95 * per-light state.
103 struct gl_light *light; local
106 light = &ctx->Light.Light[lnum]
628 struct gl_light *light = &ctx->Light.Light[i]; local
638 struct gl_light *light = &ctx->Light.Light[i]; local
662 struct gl_light *light = &ctx->Light.Light[i]; local
672 struct gl_light *light = &ctx->Light.Light[i]; local
683 struct gl_light *light = &ctx->Light.Light[i]; local
693 struct gl_light *light = &ctx->Light.Light[i]; local
893 struct gl_light *light = &ctx->Light.Light[i]; local
964 struct gl_light *light = &ctx->Light.Light[i]; local
    [all...]
light.h 48 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
51 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
54 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
57 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
72 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
75 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DrawParameters.java 18 import com.android.cts.verifier.sensors.sixdof.Renderer.Renderable.Light;
26 private Light mLight;
33 public void update(float[] viewMatrix, float[] projectionMatrix, Light light) {
35 mLight = light;
46 public Light getLight() {
  /frameworks/base/services/core/java/com/android/server/lights/
Light.java 19 import android.hardware.light.V2_0.Flash;
20 import android.hardware.light.V2_0.Brightness;
22 public abstract class Light {
28 * Light brightness is managed by a user setting.
33 * Light brightness is managed by a light sensor.
38 * Low-persistence light mode.

Completed in 1096 milliseconds

1 2 3 4 5 6 7 8 910