diff options
author | Chris Wren <cwren@android.com> | 2013-06-28 16:54:01 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2013-07-09 11:12:49 -0400 |
commit | 157026f820f9ff08a63c78368f928a505cb11ec5 (patch) | |
tree | 02463830591879c1915ffec3baaddcdd24bdf6b9 /packages/SystemUI/res/drawable | |
parent | 38b2322567e2407753cc9a4bed626b3cc47ccece (diff) | |
download | frameworks_base-157026f820f9ff08a63c78368f928a505cb11ec5.zip frameworks_base-157026f820f9ff08a63c78368f928a505cb11ec5.tar.gz frameworks_base-157026f820f9ff08a63c78368f928a505cb11ec5.tar.bz2 |
heads up notifications, v0.1
1. re-name intruder alerts to heads up notifications
2. use interrupt for the verb form, instead of intrude
3. new policy: no full screen, high priority, screen on, not locked or dreaming
4. controlled by global setting, with an observer
5. only content view for now, expandable is a todo
to turn it on:
adb shell settings put global heads_up_enabled 1
calendar notifications (not pop-up) work well.
Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
Diffstat (limited to 'packages/SystemUI/res/drawable')
-rw-r--r-- | packages/SystemUI/res/drawable/heads_up_notification_row_bg.xml (renamed from packages/SystemUI/res/drawable/intruder_row_bg.xml) | 5 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/heads_up_window_bg.9.png (renamed from packages/SystemUI/res/drawable/intruder_window_bg.9.png) | bin | 272 -> 272 bytes |
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/res/drawable/intruder_row_bg.xml b/packages/SystemUI/res/drawable/heads_up_notification_row_bg.xml index 1c7c9c4..59d9fcf 100644 --- a/packages/SystemUI/res/drawable/intruder_row_bg.xml +++ b/packages/SystemUI/res/drawable/heads_up_notification_row_bg.xml @@ -15,6 +15,7 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android" - android:exitFadeDuration="@android:integer/config_mediumAnimTime"> - <item android:state_pressed="true" android:drawable="@drawable/intruder_bg_pressed" /> + android:exitFadeDuration="@android:integer/config_mediumAnimTime"> + <item android:state_pressed="true" + android:drawable="@drawable/heads_up_notification_bg_pressed" /> </selector> diff --git a/packages/SystemUI/res/drawable/intruder_window_bg.9.png b/packages/SystemUI/res/drawable/heads_up_window_bg.9.png Binary files differindex caad169..caad169 100644 --- a/packages/SystemUI/res/drawable/intruder_window_bg.9.png +++ b/packages/SystemUI/res/drawable/heads_up_window_bg.9.png |