summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
Commit message (Collapse)AuthorAgeFilesLines
* Make the Notify Builder test usable on phones.Daniel Sandler2011-06-1617-219/+279
| | | | Change-Id: Ibaa3b2b99bde7dfd3d9fc6bc4c0068fc1d7b914d
* Merge "Fix the status bar test app."Daniel Sandler2011-06-041-9/+4
|\
| * Fix the status bar test app.Daniel Sandler2011-02-071-9/+4
| | | | | | | | Change-Id: Ib7d047a5ed21393ea9cbcdc343cb0cfbb7c62ff7
* | It's lights out for you, navigation bar!Daniel Sandler2011-05-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | Views requesting lights out mode will cause the navbar to disappear (this is useful for viewing videos/photos/etc using every pixel of the screen). But there's a catch: any user activity at all will cause the lights to come back on and the navbar to return. Change-Id: I535ed3ba9ae7fab3282c402be256add765395b6f
* | Ongoing notification for GPS use.Daniel Sandler2011-02-031-0/+37
|/ | | | | | | | | | | | | | | | | | | | This change improves upon the notification priority API introduced in change I9e738cc4, allowing privileged clients to set the priority of a notification when posting it directly to INotificationManager. StatusBarTest is updated to test this new feature. The new LocationController in SystemUI uses this facility to post a high-priority ongoing notification whenever GPS is in use (replacing the functionality of the legacy GPS status bar icon). Also happens to fix http://b/3325472 (adding a log message when notifications are dropped because of a missing icon). Bug: 3412807 Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
* Allow the status bar disable flags to be used as View's system ui visibility ↵Joe Onorato2011-01-271-1/+7
| | | | | | | fields. Bug: 3363046 Change-Id: I50ba06ed9a4d2f5d0e0c807437aea9900f44fee9
* Fit and finish on status bar:Daniel Sandler2011-01-252-0/+0
| | | | | | | | | | | | | | | | | | | | | - Clock color fixed. [3374581] - Clock vertically aligned. [3388224] - Clock uses system font assets now. [3385564] - Solid version of AndroidClock added to build. [3385564] - Extraneous background glow removed from notification panel. - Removed solid black background from notifications. [3388223] - Added background image behind large notification icons and increased large size to 64dip [3388434, 3384355] - Corrected size & leading of notification text [3388577] Bug: 3374581 Bug: 3384355 Bug: 3385564 Bug: 3388223 Bug: 3388224 Bug: 3388434 Bug: 3388577 Change-Id: I8e443da5758deca412d1ce5944f887b35f6265ed
* visibility ("lights out") API.Joe Onorato2011-01-231-0/+24
| | | | | | | | | | | | | | | | 1. Views may setSystemUiVisibility() to recommend that the system chrome (status bar or other UI) show or hide itself. (This functionality was previously available only via the FLAG_FULLSCREEN window flag for some SystemUI implementations.) 2. Views may register a OnSystemUiVisibilityChangedListener on a view, and find out when the system UI actually appears or disappears, allowing apps to coordinate the appearance of their own UI if desired. Bug: 3241144 Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
* Need to update the largeIcon for notifications when we're reapplying the views.Joe Onorato2011-01-153-2/+18
| | | | | Bug: 3298062 Change-Id: I6bb72c0b93e00a9de8cc2633ac07add0a572a20f
* Possibly fix bad notification updates.Joe Onorato2011-01-121-1/+1
| | | | | | | | | I think what was happening is that it was using a different layout but we were trying to reapply the RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that might show us what else is happening. Bug: 3298062 Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
* Make AppWidgetService handle components enabling and disabling.Joe Onorato2011-01-102-0/+21
| | | | Change-Id: Ie6b75cb90be38bbce694ccf2d5a342d7f0172fa4
* Reimplement StatusBarManager.disable(DISABLE_SYSTEM_INFO).Daniel Sandler2010-12-161-0/+5
| | | | | Bug: 3284968 Change-Id: I7171b7770c2972bb56672a771c7ed5ca10fb4dda
* 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