Searched refs:lights (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/jni/
H A Dcom_android_server_LightsService.cpp26 #include <hardware/lights.h>
48 light_device_t* lights[LIGHT_COUNT]; member in struct:android::Devices
73 devices->lights[LIGHT_INDEX_BACKLIGHT]
75 devices->lights[LIGHT_INDEX_KEYBOARD]
77 devices->lights[LIGHT_INDEX_BUTTONS]
79 devices->lights[LIGHT_INDEX_BATTERY]
81 devices->lights[LIGHT_INDEX_NOTIFICATIONS]
83 devices->lights[LIGHT_INDEX_ATTENTION]
85 devices->lights[LIGHT_INDEX_BLUETOOTH]
87 devices->lights[LIGHT_INDEX_WIF
[all...]
/frameworks/native/opengl/libagl/
H A Dlight.cpp68 c->lighting.lights[i].ambient.a = 0x10000;
69 c->lighting.lights[i].position.z = 0x10000;
70 c->lighting.lights[i].spotDir.z = -0x10000;
71 c->lighting.lights[i].spotCutoff = gglIntToFixed(180);
72 c->lighting.lights[i].attenuation[0] = 0x10000;
74 init_white(c->lighting.lights[0].diffuse);
75 init_white(c->lighting.lights[0].specular);
223 light_t& l = c->lighting.lights[i];
251 light_t& l = c->lighting.lights[i];
323 light_t& l = c->lighting.lights[
[all...]
H A Dcontext.h322 light_t lights[OGLES_MAX_LIGHTS]; member in struct:android::gl::lighting_t
H A Dstate.cpp139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled;
/frameworks/base/services/java/com/android/server/
H A DBatteryService.java140 public BatteryService(Context context, LightsService lights) { argument
143 mLed = new Led(context, lights);
699 public Led(Context context, LightsService lights) { argument
700 mBatteryLight = lights.getLight(LightsService.LIGHT_ID_BATTERY);
739 // No lights if not charging and not low
H A DSystemServer.java130 LightsService lights = null;
278 lights = new LightsService(context);
281 battery = new BatteryService(context, lights);
293 // lights service, content providers and the battery service.
294 power.init(context, lights, ActivityManagerService.self(), battery,
572 notification = new NotificationManagerService(context, statusBar, lights);
H A DNotificationManagerService.java1302 LightsService lights)
1319 mNotificationLight = lights.getLight(LightsService.LIGHT_ID_NOTIFICATIONS);
1320 mAttentionLight = lights.getLight(LightsService.LIGHT_ID_ATTENTION);
1841 // so that we do not play sounds, show lights, etc. for invalid notifications
1960 //Slog.i(TAG, "notification.lights="
1961 // + ((old.notification.lights.flags & Notification.FLAG_SHOW_LIGHTS)
2241 // handle notification lights
1301 NotificationManagerService(Context context, StatusBarManagerService statusBar, LightsService lights) argument
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java228 RenderState lights = new RenderState(mGenericV, mLightsF, null, null);
252 mActiveScene.assignRenderStateToMaterial(lights, "^LightBlinn");
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerController.java181 // The lights service.
354 LightsService lights, TwilightService twilight, SensorManager sensorManager,
365 mLights = lights;
353 DisplayPowerController(Looper looper, Context context, Notifier notifier, LightsService lights, TwilightService twilight, SensorManager sensorManager, DisplayManagerService displayManager, SuspendBlocker displaySuspendBlocker, DisplayBlanker displayBlanker, Callbacks callbacks, Handler callbackHandler) argument

Completed in 441 milliseconds