summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
Commit message (Collapse)AuthorAgeFilesLines
* Hide navigation buttons and clock on lockscreen.Daniel Sandler2010-12-031-6/+7
| | | | | | | | | (This introduces a StatusBarManager disable flag to ask the status bar to hide just the clock, which might be useful in other situations, such as clock/dock apps.) Bug: 3130393 Change-Id: Ia08627508518e2ed3713ffbf856e4ec42952b3a8
* Fix build.Daniel Sandler2010-11-301-0/+22
| | | | Change-Id: Iccbe1609bbe582180d1c61f908b8dce4d485494b
* When updating notifications, always reuse the last row.Daniel Sandler2010-11-301-0/+48
| | | | | | | | | | | | Ordinarily, changing the "when" slot when updating a Notification will move its expanded payload to the bottom of the notification panel's list. But if it's already at the bottom, this causes an unsightly out-then-in animation sequence. We now check for that exact situation. Bug: 3222274 Bug: 3162218 Change-Id: I8b643b3f8bce64e57a22bdbb06d92c196c2484c2
* Add a better notification test and clean up the flag handling in the ↵Joe Onorato2010-11-225-64/+1216
| | | | | | notification builder. Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4
* The large icon for notifications.Joe Onorato2010-11-212-26/+32
| | | | Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
* Test for using the right size of notification info text.Joe Onorato2010-11-211-1/+18
| | | | Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c
* Show the number in the expanded notification instead of in the bar.Joe Onorato2010-11-211-0/+19
| | | | Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
* Update the look of the notifications. Includes adding a new ↵Joe Onorato2010-11-215-89/+165
| | | | | | Notification.Builder class. Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
* The CHEEK_TOUCH stuff never worked. Remove it.Joe Onorato2010-11-081-24/+4
| | | | | Bug: 3104906 Change-Id: Ia37236ba1775fc3ec8c111e2e0b85b105e0dea6a
* Allow both contentIntent and setOnClickPendingIntent in notificationsJoe Onorato2010-10-312-0/+34
| | | | | | | | | | From the app developer's request: Intents assigned to specific views should take precedence over the content intent, but it should not be required to set the content intent to null in order for the view-intents to work Bug: 3107945 Change-Id: Ic5282d441277a9a8c8c700ef3f43872f3405b58a
* Notification flyovers.Daniel Sandler2010-10-2914-4/+33
| | | | | | | | | | | Hold your finger on an individual notification icon to quickly show that notification's payload. Also: Quickly swipe up on any icon to open the tray. Bug: 2994009 Change-Id: I2ae2b546fcfa62994b63b9376f487289b2d06796
* Allow notifications to not specify a contentIntent.Joe Onorato2010-10-131-0/+18
| | | | | | | | | | | If they don't, the click events will be passed through to the individual views in the notification view, which may have their own PendingIntents attached. Previously, it was against the UX spec to allow this, but now we are changing that and will have buttons in there. Change-Id: I674234212f64b2b8802a0708b7eed0614e147ca3
* Revert "Merge "Allow notifications to not specify a contentIntent.""Jason Chen2010-10-081-18/+0
| | | | | This reverts commit 8885321046622d6a8c0a4214af98dc27eecd48a0, reversing changes made to 61b8aaadd742f0be708cd37971d2c9e822bf778a.
* Allow notifications to not specify a contentIntent.Joe Onorato2010-10-081-0/+18
| | | | | | | | | | | If they don't, the click events will be passed through to the individual views in the notification view, which may have their own PendingIntents attached. Previously, it was against the UX spec to allow this, but now we are changing that and will have buttons in there. Change-Id: Ie3b2e96c6a1c4449fa86ed571f3ad0f047320d31
* am 2c164747: am f7872780: Merge "PowerManagerService needs yet another ↵Joe Onorato2010-10-071-0/+20
|\ | | | | | | | | | | | | | | | | flag..." into gingerbread Merge commit '2c164747d364c3e51964d03ecefc5752c7c0c6ba' * commit '2c164747d364c3e51964d03ecefc5752c7c0c6ba': PowerManagerService needs yet another flag...
| * am f7872780: Merge "PowerManagerService needs yet another flag..." into ↵Joe Onorato2010-10-051-0/+20
| |\ | | | | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit 'f7872780ca3dae9584251b1e3495aed12110254c' into gingerbread-plus-aosp * commit 'f7872780ca3dae9584251b1e3495aed12110254c': PowerManagerService needs yet another flag...
| | * PowerManagerService needs yet another flag...Joe Onorato2010-10-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | ... to make sure that if you press the power button to turn off the screen, that the prox sensor won't turn it back on. Bug: 3011618 Change-Id: Id16c1d65417539d4592f485b1c3efb737540c3cd
* | | manual merge Merge commit '77e42376' into workJoe Onorato2010-10-051-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Conflicts: packages/SystemUI/res/values/colors.xml packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java Change-Id: I891c8a9f6410037ca7805507e85a17f1655c115e
| * | am 87efbbb5: Merge "implement the number bubbles on the status bar" into ↵Joe Onorato2010-10-041-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '87efbbb563ef96a74ffd2fbbe5c0865a450254df' into gingerbread-plus-aosp * commit '87efbbb563ef96a74ffd2fbbe5c0865a450254df': implement the number bubbles on the status bar
| | * implement the number bubbles on the status barJoe Onorato2010-10-041-1/+1
| | | | | | | | | | | | | | | Bug: 2993482 Change-Id: I73b1f8c39e995fd4f986c25ea04127eb23c3cd07
* | | Merge commit 'f9f9e248' into manualmergeJoe Onorato2010-09-271-0/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Conflicts: packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java Change-Id: Ibbb2fec2d8c6f5d41398272753d271dfae698100
| * | am 6fa4de3c: Merge "If an icon add remove get coalesced, don\'t remove some ↵Joe Onorato2010-09-271-0/+21
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | other icon." into gingerbread Merge commit '6fa4de3cffe1390f699051fa0c7d21e8058a5ebd' into gingerbread-plus-aosp * commit '6fa4de3cffe1390f699051fa0c7d21e8058a5ebd': If an icon add remove get coalesced, don't remove some other icon.
| | * If an icon add remove get coalesced, don't remove some other icon.Joe Onorato2010-09-271-0/+21
| | | | | | | | | | | | | | | | | | Also adds a test case and turns off the extra logging we added to debug this. Change-Id: I8640938ae4d1e75c88213177888f363e05ce0fa0
| * | am d02bdaab: Remove experimental immersive mode support. DO NOT MERGEDaniel Sandler2010-08-271-13/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'd02bdaab495641ab50e2123fdfd99a819cc40540' into gingerbread-plus-aosp * commit 'd02bdaab495641ab50e2123fdfd99a819cc40540': Remove experimental immersive mode support. DO NOT MERGE
| | * Remove experimental immersive mode support. DO NOT MERGEDaniel Sandler2010-08-271-13/+2
| | | | | | | | | | | | | | | | | | Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
| * | am 3f677b1b: Merge "Fix periodically disappearing status icons." into ↵Daniel Sandler2010-08-201-0/+14
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '3f677b1b3e45240728de39d60441d791c0e8d3f8' into gingerbread-plus-aosp * commit '3f677b1b3e45240728de39d60441d791c0e8d3f8': Fix periodically disappearing status icons.
| | * Fix periodically disappearing status icons.Daniel Sandler2010-08-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occasionally the animation listener wasn't being told that the ticker animation had completed; this callback was essential to keeping the status bar's internal state correct (namely, setting mTicking=false). The safest thing to do is simply set mTicking to false immediately upon tickerDone() or tickerHalting(). Bug: 2915280 Change-Id: I997911b12fa2985fa83b42154fb3485220886219
* | | Implement disable() on the status bar.Joe Onorato2010-09-261-0/+18
| | | | | | | | | | | | | | | | | | | | | This includes adding the new DISABLE_NAVIGATION flag. Bug: 3000770 Change-Id: I6d1c3586198e13e06b5d26e8b23a9495dc4ba02e
* | | Touching the blue glow should close the system and notification panels.Joe Onorato2010-09-261-2/+6
| | | | | | | | | | | | | | | Bug: 3029373 Change-Id: I96760656dcda20ab238305900f9964083a8e5273
* | | Tablet ticker.Joe Onorato2010-09-201-3/+116
| | | | | | | | | | | | Change-Id: Ia3db5cc29eac1703123de3e1c6dc7c22e7d024eb
* | | Plumb lights out mode through from the window manager to the status bar ↵Joe Onorato2010-09-121-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | running in the system ui process. Lights out mode itself isn't implemented. Change-Id: Ieeef0eb9ae5be23000f770e74e8ee66472f4c673
* | | Generated hdpi drawable size reducedGilles Debunne2010-08-039-0/+0
| | | | | | | | | | | | Change-Id: Id17bb27500ba8729c33613bbf457f1b3193ced38
* | | frameworks/base/ : added scaled hdpi version of assets that were moved to ↵Gilles Debunne2010-08-039-0/+0
| | | | | | | | | | | | | | | | | | drawable-mdpi Change-Id: I95c7e6afb84af981867c32fe7f86b140f643b5b9
* | | Move pngs from drawable to drawable-mdpi in project frameworks/baseGilles Debunne2010-08-029-0/+0
|/ / | | | | | | | | | | After error during file transfer... Change-Id: I21da694f81a4290e9af1f7647a8ceb6c6d3d806b
* | am 9150cff6: Merge "Replaced /sdcard with ↵Jean-Baptiste Queru2010-07-291-7/+3
|\ \ | |/ |/| | | | | | | | | | | | | Environment.getExternalStorageDirectory()" Merge commit '9150cff64abc79927ade28061ac99a1ebf812905' into gingerbread-plus-aosp * commit '9150cff64abc79927ade28061ac99a1ebf812905': Replaced /sdcard with Environment.getExternalStorageDirectory()
| * Replaced /sdcard with Environment.getExternalStorageDirectory()Christian Mehlmauer2010-07-191-7/+3
| | | | | | | | Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
* | Fix icon size in intruder alerts.Daniel Sandler2010-07-073-4/+5
| | | | | | | | | | | | (Updated test app to confirm the fix.) Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
* | Support for tapping on an immersive-mode priority notification.Daniel Sandler2010-06-291-0/+2
| | | | | | | | | | | | | | | | | | When the user taps on an intruder alert (the priority notification in immersive mode), the .contentIntent in the Notification object will be sent, just as we handle tapping on a normal Notification in the windowshade. Change-Id: Ib6991837b0b2122fe138cddacf347fdbc426b99d
* | Updated StatusBar test app for new notifications API.Daniel Sandler2010-06-245-0/+148
| | | | | | | | | | | | | | | | | | New actions: - Toggle activity's immersive mode - Post a priority notification with fullScreenIntent that launches an alert-like activity Change-Id: Ie38372209985577b6db856924c19914c000e1cec
* | Add a test item the turns on a bunch of extra icons.Joe Onorato2010-06-091-0/+17
| | | | | | | | Change-Id: Ia5884ef46a5b0fa2d608c7924b3eb12293a1da8b
* | Handle errors inflating notifications (and their icons).Joe Onorato2010-06-091-15/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | On an inflation error, the StatusBarService cleans up, removes / doesn't add the views, and calls into the StatusBarManagerService, which tells the NotificationManagerService to remove the notification. That then calls all the way back into the StatusBarService, but I think being extra careful is okay. Throughout the status bar, it's all keyed off of the IBinder key, so if the app comes in with a good notification while we're cleaning up, we won't lose the new notification or anything like that. Change-Id: Iea78a637495a8b67810c214b951d5ddb93becacb
* | Add some disabled logging and another test case for reapplying the ↵Joe Onorato2010-06-091-1/+12
| | | | | | | | | | | | notification views. Change-Id: I839d7771ab42a5d508ce7d15385f6ac6a4e3be83
* | In fact, switching an item between ongoing and notifications works.Joe Onorato2010-06-021-1/+1
| | | | | | | | | | | | The test just wasn't testing that. Change-Id: If1af2a7258d2a3764f845d9862a0a0ff62b1d7ed
* | Handle bad icon resources.Joe Onorato2010-06-021-0/+10
| | | | | | | | Change-Id: I87c5fe68ad8016596068ba7889f3b6d36da3386b
* | updateNotifications works.Joe Onorato2010-06-021-3/+1
| | | | | | | | Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
* | Add expand and collapse.Joe Onorato2010-06-021-15/+2
|/ | | | Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
* merge from open-source masterThe Android Open Source Project2010-06-021-2/+3
|\ | | | | | | Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
| * Replaced raw string arguments for Context.getSystemService() with final ↵Christian Mehlmauer2010-05-311-2/+3
| | | | | | | | | | | | Context variables Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
* | merge from open-source masterThe Android Open Source Project2010-05-171-2/+20
|\ \ | |/ | | | | Change-Id: I139c349b80b2cecfbdc30bd697cba099740293d9
| * Updated RGB LED test casesMattias Östergren2010-03-051-2/+20
| | | | | | | | | | | | The test cases for turning on the RGB LED with persistent light was corrected. The color for blinking was updated to blue. And finally an option for turning off the lights was added.