Loading tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +20 −2 Original line number Diff line number Diff line Loading @@ -165,6 +165,8 @@ public class NotificationTestList extends TestActivity Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xff0000ff; n.ledOnMS = 1; n.ledOffMS = 0; mNM.notify(1, n); } }, Loading @@ -175,6 +177,8 @@ public class NotificationTestList extends TestActivity Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffff0000; n.ledOnMS = 1; n.ledOffMS = 0; mNM.notify(1, n); } }, Loading @@ -185,6 +189,20 @@ public class NotificationTestList extends TestActivity Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffffff00; n.ledOnMS = 1; n.ledOffMS = 0; mNM.notify(1, n); } }, new Test("Lights off") { public void run() { Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0x00000000; n.ledOnMS = 0; n.ledOffMS = 0; mNM.notify(1, n); } }, Loading @@ -194,7 +212,7 @@ public class NotificationTestList extends TestActivity { Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffffff00; n.ledARGB = 0xff0000ff; n.ledOnMS = 1300; n.ledOffMS = 1300; mNM.notify(1, n); Loading @@ -206,7 +224,7 @@ public class NotificationTestList extends TestActivity { Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffffff00; n.ledARGB = 0xff0000ff; n.ledOnMS = 300; n.ledOffMS = 300; mNM.notify(1, n); Loading Loading
tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +20 −2 Original line number Diff line number Diff line Loading @@ -165,6 +165,8 @@ public class NotificationTestList extends TestActivity Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xff0000ff; n.ledOnMS = 1; n.ledOffMS = 0; mNM.notify(1, n); } }, Loading @@ -175,6 +177,8 @@ public class NotificationTestList extends TestActivity Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffff0000; n.ledOnMS = 1; n.ledOffMS = 0; mNM.notify(1, n); } }, Loading @@ -185,6 +189,20 @@ public class NotificationTestList extends TestActivity Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffffff00; n.ledOnMS = 1; n.ledOffMS = 0; mNM.notify(1, n); } }, new Test("Lights off") { public void run() { Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0x00000000; n.ledOnMS = 0; n.ledOffMS = 0; mNM.notify(1, n); } }, Loading @@ -194,7 +212,7 @@ public class NotificationTestList extends TestActivity { Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffffff00; n.ledARGB = 0xff0000ff; n.ledOnMS = 1300; n.ledOffMS = 1300; mNM.notify(1, n); Loading @@ -206,7 +224,7 @@ public class NotificationTestList extends TestActivity { Notification n = new Notification(); n.flags |= Notification.FLAG_SHOW_LIGHTS; n.ledARGB = 0xffffff00; n.ledARGB = 0xff0000ff; n.ledOnMS = 300; n.ledOffMS = 300; mNM.notify(1, n); Loading