Home
last modified time | relevance | path

Searched refs:Light (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/hardware/lights/
DLight.java32 public final class Light implements Parcelable { class
41 public Light(int id, int ordinal, int type) { in Light() method in Light
47 private Light(@NonNull Parcel in) { in Light() method in Light
68 public static final @android.annotation.NonNull Parcelable.Creator<Light> CREATOR =
69 new Parcelable.Creator<Light>() {
70 public Light createFromParcel(Parcel in) {
71 return new Light(in);
74 public Light[] newArray(int size) {
75 return new Light[size];
DILightsManager.aidl19 import android.hardware.lights.Light;
28 List<Light> getLights(); in getLights()
DLightsRequest.java67 public @NonNull Builder setLight(@NonNull Light light, @NonNull LightState state) { in setLight()
79 public @NonNull Builder clearLight(@NonNull Light light) { in clearLight()
DLight.aidl20 parcelable Light;
DLightsManager.java97 public @NonNull List<Light> getLights() { in getLights()
112 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState()
/frameworks/base/libs/hwui/
DCanvasTransform.cpp59 case ColorTransform::Light: in transformColor()
113 return hsv[2] >= .5f ? BitmapPalette::Light : BitmapPalette::Dark; in paletteForColorHSV()
121 SkColor color = palette == BitmapPalette::Light ? SK_ColorWHITE : SK_ColorBLACK; in filterPalette()
135 if (palette == BitmapPalette::Light && transform == ColorTransform::Dark) { in transformPaint()
138 if (palette == BitmapPalette::Dark && transform == ColorTransform::Light) { in transformPaint()
DCanvasTransform.h36 Light, enumerator
DRenderNode.cpp346 usage == UsageHint::Background ? ColorTransform::Dark : ColorTransform::Light); in handleForceDark()
DVectorDrawable.cpp699 return BitmapPalette::Light; in computePalette()
/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java27 import android.hardware.lights.Light;
124 Light micLight = manager.getLights().get(0); in testControlLights_onlyEffectiveForLifetimeOfClient()
145 Light micLight = manager.getLights().get(0); in testControlLights_firstCallerWinsContention()
171 Light micLight = manager.getLights().get(0); in testClearLight()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java165 private Light mLight;
250 private Light calculateLights() { in calculateLights()
260 Light light = getChannel().shouldShowLights() ? new Light(channelLightColor, in calculateLights()
267 light = new Light(notification.ledARGB, notification.ledOnMS, in calculateLights()
270 light = new Light(defaultLightColor, defaultLightOn, in calculateLights()
991 public Light getLight() { in getLight()
1305 static final class Light { class in NotificationRecord
1310 public Light(int color, int onMs, int offMs) { in Light() method in NotificationRecord.Light
1321 Light light = (Light) o; in equals()
DNotificationManagerService.java7179 NotificationRecord.Light light = ledNotification.getLight();
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java26 import android.hardware.lights.Light;
91 public List<Light> getLights() { in getLights()
96 final List<Light> lights = new ArrayList<Light>(); in getLights()
100 lights.add(new Light(hwLight.id, hwLight.ordinal, hwLight.type)); in getLights()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java110 private static final NotificationRecord.Light CUSTOM_LIGHT =
111 new NotificationRecord.Light(1, 2, 3);
397 NotificationRecord.Light expected = new NotificationRecord.Light( in testLights_upgrade_defaultLights()
413 NotificationRecord.Light expected = new NotificationRecord.Light( in testLights_upgrade()
/frameworks/base/libs/hwui/hwui/
DBitmap.h41 Light, enumerator
DBitmap.cpp418 return BitmapPalette::Light; in computePalette()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto313 // Amount of time the device was in Doze Light.
315 // How many times the device went into Doze Light mode.
317 // Amount of time the device was idling in Doze Light. Idling time
321 // How many times the device idling for Doze Light mode.
Denums.proto87 // Light throttling where UX is not impacted.
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto1419 // OPEN: Settings > Display > Night Light
1423 // Night Light on
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2451 // OPEN: Settings > Display > Night Light
2462 // OPEN: QS Night Light tile shown
2463 // ACTION: QS Night Light tile tapped
2468 // Night Light on
5468 // ACTION: Settings > Display > Night Light
5474 // ACTION: Settings > Display > Night Light
/frameworks/base/api/
Dtest-current.txt992 public final class Light implements android.os.Parcelable {
998 …field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.Light> CR…
1010 …S) public android.hardware.lights.LightState getLightState(@NonNull android.hardware.lights.Light);
1011 …permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();
1027 …c android.hardware.lights.LightsRequest.Builder clearLight(@NonNull android.hardware.lights.Light);
1028 …re.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.…
Dsystem-current.txt2498 public final class Light implements android.os.Parcelable {
2504 …field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.Light> CR…
2516 …permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();
2532 …c android.hardware.lights.LightsRequest.Builder clearLight(@NonNull android.hardware.lights.Light);
2533 …re.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.…
/frameworks/base/non-updatable-api/
Dsystem-current.txt2498 public final class Light implements android.os.Parcelable {
2504 …field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.Light> CR…
2516 …permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();
2532 …c android.hardware.lights.LightsRequest.Builder clearLight(@NonNull android.hardware.lights.Light);
2533 …re.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.…
/frameworks/base/services/
Dart-profile7832 HSPLcom/android/server/lights/LightsService$1;->getLight(I)Lcom/android/server/lights/Light;
9666 …on/NotificationRecord;->calculateLights()Lcom/android/server/notification/NotificationRecord$Light;
19386 Lcom/android/server/lights/Light;