summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-09-27 14:03:08 -0400
committerDaniel Sandler <dsandler@android.com>2012-09-27 14:03:08 -0400
commit11cf178100e71d3f9f34ab5865e03a277c5eadaa (patch)
tree1d150aa83ac276d99c9e9978118eadab94791c26 /tests
parent7bb89cf1632da6dc236e6603c4245301500eeb39 (diff)
downloadframeworks_base-11cf178100e71d3f9f34ab5865e03a277c5eadaa.zip
frameworks_base-11cf178100e71d3f9f34ab5865e03a277c5eadaa.tar.gz
frameworks_base-11cf178100e71d3f9f34ab5865e03a277c5eadaa.tar.bz2
Cleanup internal status bar APIs.
IStatusBarService.collapseQuickSettings is gone; collapseNotifications is now collapsePanels, which does what collapse() used to do. Similarly, IStatusBar.animateCollapseQuickSettings is now simply IStatusBar.animateCollapse(). Bug: 7245229 Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
Diffstat (limited to 'tests')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java26
1 files changed, 20 insertions, 6 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java
index 3b6e107..50f98b8 100644
--- a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java
+++ b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java
@@ -284,25 +284,39 @@ public class StatusBarTest extends TestActivity
}, 3000);
}
},
- new Test("Expand") {
+ new Test("Expand notifications") {
public void run() {
- mStatusBarManager.expandNotifications();
+ mStatusBarManager.expandNotificationsPanel();
}
},
- new Test("Expand in 3 sec.") {
+ new Test(" ... in 3 sec.") {
public void run() {
mHandler.postDelayed(new Runnable() {
public void run() {
- mStatusBarManager.expandNotifications();
+ mStatusBarManager.expandNotificationsPanel();
}
}, 3000);
}
},
- new Test("Collapse in 3 sec.") {
+ new Test("Expand settings") {
+ public void run() {
+ mStatusBarManager.expandSettingsPanel();
+ }
+ },
+ new Test(" ... in 3 sec.") {
+ public void run() {
+ mHandler.postDelayed(new Runnable() {
+ public void run() {
+ mStatusBarManager.expandSettingsPanel();
+ }
+ }, 3000);
+ }
+ },
+ new Test("Collapse panels in 3 sec.") {
public void run() {
mHandler.postDelayed(new Runnable() {
public void run() {
- mStatusBarManager.collapseNotifications();
+ mStatusBarManager.collapsePanels();
}
}, 3000);
}