Home
last modified time | relevance | path

Searched refs:onMs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java365 int onMs; in buildNotification() local
369 onMs = 1300; in buildNotification()
373 onMs = 300; in buildNotification()
377 onMs = 1; in buildNotification()
382 onMs = 0; in buildNotification()
386 if (onMs != 0 && offMs != 0) { in buildNotification()
387 b.setLights(color, onMs, offMs); in buildNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1129 public final int onMs; field in NotificationRecord.Light
1132 public Light(int color, int onMs, int offMs) { in Light() argument
1134 this.onMs = onMs; in Light()
1146 if (onMs != light.onMs) return false; in equals()
1154 result = 31 * result + onMs; in hashCode()
1163 ", onMs=" + onMs + in toString()
DNotificationManagerService.java5939 light.onMs, light.offMs);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java160 builder.setLights(CUSTOM_LIGHT.color, CUSTOM_LIGHT.onMs, CUSTOM_LIGHT.offMs); in getNotification()
/frameworks/support/compat/src/main/java/androidx/core/app/
DNotificationCompat.java1066 public Builder setLights(@ColorInt int argb, int onMs, int offMs) { in setLights() argument
1068 mNotification.ledOnMS = onMs; in setLights()
/frameworks/base/core/java/android/app/
DNotification.java3856 public Builder setLights(@ColorInt int argb, int onMs, int offMs) { in setLights() argument
3858 mN.ledOnMS = onMs; in setLights()
3860 if (onMs != 0 || offMs != 0) { in setLights()