/hardware/interfaces/tests/extension/light/2.0/ |
IExtLight.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; 24 interface IExtLight extends android.hardware.light@2.0::ILight { 29 * @param type logical light to set 30 * @param state describes what the light should look like.
|
types.hal | 17 package android.hardware.tests.extension.light@2.0; 19 import android.hardware.light@2.0;
|
/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;
|
Android.mk | 4 LOCAL_MODULE := android.hardware.light@2.0-impl 8 Light.cpp \ 19 android.hardware.light@2.0 \ 26 LOCAL_MODULE := android.hardware.light@2.0-service 27 LOCAL_INIT_RC := android.hardware.light@2.0-service.rc 42 android.hardware.light@2.0 \
|
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); 45 // Methods from ::android::hardware::light::V2_0::ILight follow. 57 } // namespace light [all...] |
/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/core/ |
SkLights.cpp | 49 Light light = Light::MakePoint(color, dirOrPos, intensity, isRadial); local 50 light.setShadowMap(depthMap); 51 builder.add(light); 53 Light light = Light::MakeDirectional(color, dirOrPos, isRadial); local 54 light.setShadowMap(depthMap); 55 builder.add(light); 67 const Light& light = this->light(l); local [all...] |
SkRadialShadowMapShader.h | 21 * It can only take in 1 light to generate one shader at a time. 24 sk_sp<SkLights> light,
|
/test/vts/testcases/host/light/conventional/ |
SampleLightTest.py | 30 self.dut.hal.InitConventionalHal(target_type="light", 34 target_package="hal.conventional.light") 35 self.dut.hal.light.OpenConventionalHal("backlight") 40 arg = self.dut.hal.light.light_state_t( 42 flashMode=self.dut.hal.light.LIGHT_FLASH_HARDWARE, 45 brightnessMode=self.dut.hal.light.BRIGHTNESS_MODE_USER) 46 self.dut.hal.light.set_light(None, arg) 50 arg = self.dut.hal.light.light_state_t( 52 flashMode=self.dut.hal.light.LIGHT_FLASH_HARDWARE, 55 brightnessMode=self.dut.hal.light.BRIGHTNESS_MODE_USER [all...] |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/host/light/conventional
|
/hardware/interfaces/tests/extension/light/2.0/default/ |
Android.mk | 4 LOCAL_MODULE := android.hardware.tests.extension.light@2.0-service 5 LOCAL_INIT_RC := android.hardware.tests.extension.light@2.0-service.rc 9 Light.cpp \ 16 android.hardware.light@2.0 \ 17 android.hardware.tests.extension.light@2.0 \
|
Light.h | 19 #include <android/hardware/tests/extension/light/2.0/IExtLight.h> 27 namespace light { namespace in namespace:android::hardware::tests::extension 31 using ::android::hardware::tests::extension::light::V2_0::ExtLightState; 32 using ::android::hardware::tests::extension::light::V2_0::IExtLight; 33 using ::android::hardware::light::V2_0::ILight; 34 using ::android::hardware::light::V2_0::LightState; 35 using ::android::hardware::light::V2_0::Status; 36 using ::android::hardware::light::V2_0::Type; 43 struct Light : public IExtLight { 44 // Methods from ::android::hardware::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();
|
/external/skia/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...] |
/hardware/interfaces/light/2.0/vts/functional/ |
VtsHalLightV2_0TargetTest.cpp | 20 #include <android/hardware/light/2.0/ILight.h> 21 #include <android/hardware/light/2.0/types.h> 26 using ::android::hardware::light::V2_0::Brightness; 27 using ::android::hardware::light::V2_0::Flash; 28 using ::android::hardware::light::V2_0::ILight; 29 using ::android::hardware::light::V2_0::LightState; 30 using ::android::hardware::light::V2_0::Status; 31 using ::android::hardware::light::V2_0::Type; 78 light = ::testing::VtsHalHidlTargetTestBase::getService<ILight>(); 80 ASSERT_NE(light, nullptr) 88 sp<ILight> light; member in class:LightHidlTest [all...] |
/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> 32 using Brightness = ::android::hardware::light::V2_0::Brightness; 33 using Flash = ::android::hardware::light::V2_0::Flash; 34 using ILight = ::android::hardware::light::V2_0::ILight; 35 using LightState = ::android::hardware::light::V2_0::LightState; 36 using Status = ::android::hardware::light::V2_0::Status; 37 using Type = ::android::hardware::light::V2_0::Type; 73 static bool validate(jint light, jint flash, jint brightness) { 76 if (light < 0 || light >= static_cast<jint>(Type::COUNT)) [all...] |
/test/vts/testcases/fuzz/hal_light/conventional/ |
LightFuzzTest.py | 34 self.dut.hal.InitConventionalHal(target_type="light", 38 target_package="hal.conventional.light") 39 self.dut.hal.light.OpenConventionalHal("backlight") 41 [self.dut.hal.light.LIGHT_ID_BACKLIGHT, 42 self.dut.hal.light.LIGHT_ID_NOTIFICATIONS, 43 self.dut.hal.light.LIGHT_ID_ATTENTION]) 46 # self.dut.hal.light.LIGHT_ID_KEYBOARD 47 # self.dut.hal.light.LIGHT_ID_BUTTONS 48 # self.dut.hal.light.LIGHT_ID_BATTERY 49 # self.dut.hal.light.LIGHT_ID_BLUETOOT [all...] |
/test/vts/testcases/fuzz/hal_light/conventional_standalone/ |
StandaloneLightFuzzTest.py | 36 self.dut.hal.InitConventionalHal(target_type="light", 40 target_package="hal.conventional.light") 41 self.dut.hal.light.OpenConventionalHal("backlight") 43 [self.dut.hal.light.LIGHT_ID_BACKLIGHT, 44 self.dut.hal.light.LIGHT_ID_NOTIFICATIONS, 45 self.dut.hal.light.LIGHT_ID_ATTENTION]) 52 # self.dut.hal.light.LIGHT_ID_KEYBOARD 53 # self.dut.hal.light.LIGHT_ID_BUTTONS 54 # self.dut.hal.light.LIGHT_ID_BATTERY 55 # self.dut.hal.light.LIGHT_ID_BLUETOOT [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
|
/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 | 53 GLfloat (*base)[3] = ctx->Light._BaseColor; 77 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 82 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 91 struct gl_light *light; local 95 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 97 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 109 /* Add contribution from each enabled light source */ 110 foreach (light, &ctx->Light.EnabledList) { 116 GLfloat VP[3]; /* unit vector from vertex to light */ 269 struct gl_light *light; local 423 const struct gl_light *light = ctx->Light.EnabledList.next; local 534 const struct gl_light *light; local [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.hlsl | 31 float4 light;
48 float3 light : LIGHT;
57 result.light = light - view;
66 float3 nlight = normalize(input.light);
|