24805 Commits

Author SHA1 Message Date
Joe Onorato
6475786ac5 am 66d7d01e: Get icon updating working. 2010-06-02 16:24:24 -07:00
Joe Onorato
5581c500f1 am 514ad663: Set the visibility of the icons. 2010-06-02 16:24:13 -07:00
Joe Onorato
8c10ebf630 am fb78cd99: Put the icons in the right order. 2010-06-02 16:24:00 -07:00
Joe Onorato
12cd606d70 am 0cbda99f: The status bar draws its icons now. 2010-06-02 16:23:48 -07:00
Joe Onorato
27d3ae58c6 am 503007dd: Checkpoint status bar factoring. Now it builds and doesn\'t crash at boot. 2010-06-02 16:23:36 -07:00
Joe Onorato
c2436b2353 am 94c98c0e: PhoneStatusBarService 2010-06-02 16:23:23 -07:00
Joe Onorato
47e4aa80f1 am 089de88f: StatusBarService -> StatusBarManagerService 2010-06-02 16:23:11 -07:00
Joe Onorato
627cfa9452 am 90233a1e: Add IStatusBar 2010-06-02 16:22:44 -07:00
Joe Onorato
e0b2ae1191 am 25f95f92: Rename IStatusBar to IStatusBarService. 2010-06-02 16:22:31 -07:00
Kenny Root
3e7432f823 Merge "Fix IndexOutOfBoundsException when measuring text." 2010-06-02 16:21:31 -07:00
Jeff Brown
ca583f0966 Merge "Fixed some minor bugs in MotionEvent recycling." into kraken 2010-06-02 15:46:13 -07:00
Jeff Brown
d28f4be870 Fixed some minor bugs in MotionEvent recycling.
1. MotionEvent.recycle() never set mRecycled to true so it couldn't actually
   detect doubly-recycled events (unless the TRACK_RECYCLED_LOCATION debuging
   flag was enabled).

2. MotionEvent.obtain() did not set mNext to null before returning the event
   so it would unnecessarily retain a reference to other events in the
   recycled event linked list until recycled again.

Change-Id: I93709c402d260691875f632dfc080a355f85fbb0
2010-06-02 15:36:01 -07:00
Joe Onorato
2cbaf806c1 am 2314aab5: First pass at splitting the status bar for the different devices. 2010-06-02 15:32:06 -07:00
Joe Onorato
169af47b00 remove logging
Change-Id: I42c2332c3c114700f5ade77b63b4f6010ea5507a
2010-06-02 14:48:46 -07:00
Joe Onorato
c91460d2c3 Pull the carrier name display in the windowshade out into its own view.
Change-Id: I76ea5e72288245b69273c76a470b54eaec890361
2010-06-02 14:48:46 -07:00
Joe Onorato
1a86dd10c1 Use the built-in handler instead of allocating another one.
Change-Id: Ia2e5db99b751d3f299c4a9b587ef718212bd8161
2010-06-02 14:48:46 -07:00
Joe Onorato
f551054055 Get the ticker working again.
Change-Id: Idb7e456bc302578c3866448334eb0ebf0ba235d4
2010-06-02 14:48:46 -07:00
Joe Onorato
9834d53469 better debugging "slot" for the notification icons.
Change-Id: Ib7c130a97826f6950f51462ef915a9d0a5f847d6
2010-06-02 14:48:46 -07:00
Joe Onorato
75199e3ddc Populate the notifications at startup of SystemUI.apk.
Change-Id: Ie0b3fd9ed4bc9a012791372e6276f0b5908370a5
2010-06-02 14:48:46 -07:00
Joe Onorato
b77f53b21c Get the IconMerger working again.
Change-Id: I73719f4fd475a39d4c1245de45c6a13c31e6323b
2010-06-02 14:48:46 -07:00
Daniel Sandler
87937dbcd1 New shadowy status bar, direct from Z'ha'dum.
Artwork is FPO but serviceable enough. Many hardcoded font
colors & styles were moved to styles.xml where they belong.
AM/PM finally given the old heave-ho (but configurable in
StatusBarPolicy.java).

Notification content remains on a light-gray background for
now (so as not to screw up custom RemoteViews) but status
icons will definitely need across-the-board rework to look
better against a dark background.

(Re-integrated on top of new status bar code.)

Change-Id: Ia180b3c2ba8e23c9a2f50cf46f98f12958022b53
2010-06-02 14:48:45 -07:00
Joe Onorato
798ac4c7d7 Start moving resources to SystemUI.apk.
Change-Id: Ibf30b8196d65d7fbca1177968cefa5f7a875bf1d
2010-06-02 14:48:45 -07:00
Joe Onorato
79de0c5500 Move the StatusBarPhone package into a new catch-all SystemUI.apk. 2010-06-02 14:48:45 -07:00
Joe Onorato
7dd8c6e4ea Remove unused files from the service package.
Change-Id: Ia28fd7b3c42a842137afd12c4822e9b7cb4310a0
2010-06-02 14:48:44 -07:00
Joe Onorato
175f79c5a5 In fact, switching an item between ongoing and notifications works.
The test just wasn't testing that.

Change-Id: If1af2a7258d2a3764f845d9862a0a0ff62b1d7ed
2010-06-02 14:48:44 -07:00
Joe Onorato
5ee67ebff2 Get the text appearance compiling
Change-Id: I1bc0a2ad57f370a0661c30b92e14ac2fce5cdfcd
2010-06-02 14:48:44 -07:00
Joe Onorato
9c1d823465 Deal with broken notifications.
Change-Id: I21582ba4db70677f411a7e14bcdd7eac7d5a643e
2010-06-02 14:48:44 -07:00
Joe Onorato
871bdb9867 Handle bad icon resources.
Change-Id: I87c5fe68ad8016596068ba7889f3b6d36da3386b
2010-06-02 14:48:44 -07:00
Joe Onorato
20da8f8ac9 Implement setAreThereNotifications.
Change-Id: I8b69330c35d613ce808a472748dd2651adb5efa3
2010-06-02 14:48:44 -07:00
Joe Onorato
0e26dffd6c updateNotifications works.
Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
2010-06-02 14:48:44 -07:00
Joe Onorato
66b4c5bb36 Implement removeNotification.
Change-Id: I58b999901b45b4dce6d3af3a7701e0c9ad2b77df
2010-06-02 14:48:43 -07:00
Joe Onorato
aaba60b281 Notifications don't crash when you click them, and pass through events to NotificationManagerService
Change-Id: Iae4a636d3c6d5c617440b11eb5b8bc77838ad584
2010-06-02 14:48:43 -07:00
Joe Onorato
e345fff2f8 notifications show
Change-Id: I9240b803c643874828c95afcf1ba9ed91194dbc0
2010-06-02 14:48:43 -07:00
Joe Onorato
a0c56fe939 Checkpoint. Doesn't build.
Change-Id: I92e4d539ea71af9e22ced02cbdee7fbd456b7971
2010-06-02 14:48:43 -07:00
Joe Onorato
18e69dfc72 Checkpoint. Data structures for Notifications in place.
Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
2010-06-02 14:48:43 -07:00
Joe Onorato
6528b35585 Remove unused stuff.
Change-Id: I85864ed242cb39c7298e82cb83beba8f98db6a6d
2010-06-02 14:48:42 -07:00
Joe Onorato
4762c2d75a Add expand and collapse.
Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
2010-06-02 14:48:42 -07:00
Joe Onorato
f3f0e053f0 Make disable() work.
Change-Id: I93fea37e777b3e04fe7f9171d5b84821587c24f5
2010-06-02 14:48:42 -07:00
Joe Onorato
5368017294 Remove unused cruft.
Change-Id: I21a10d74106d1e4384a70cb654e4336b8f679e4a
2010-06-02 14:48:42 -07:00
Joe Onorato
263700df7b Clock 2010-06-02 14:48:42 -07:00
Joe Onorato
66d7d01ed9 Get icon updating working.
Change-Id: I749967545af5c97756e316231e740208fcd8ad3c
2010-06-02 14:48:42 -07:00
Joe Onorato
514ad663f0 Set the visibility of the icons.
Change-Id: Ib414718f1c51f1d306308a989d5d31d8e3ea7fd1
2010-06-02 14:48:41 -07:00
Joe Onorato
fb78cd99f9 Put the icons in the right order.
Change-Id: Ice077764b74221319291474bb5681b941b2f7364
2010-06-02 14:48:41 -07:00
Joe Onorato
0cbda99f87 The status bar draws its icons now. 2010-06-02 14:48:41 -07:00
Joe Onorato
503007dd02 Checkpoint status bar factoring. Now it builds and doesn't crash at boot.
Change-Id: I23f2045abfec0b414d5381f5e609b7267da7f21a
2010-06-02 14:48:41 -07:00
Joe Onorato
94c98c0ed5 PhoneStatusBarService
Change-Id: I8c71f827f6cfb4f5dd5f13891c54fcd1f9680a46
2010-06-02 14:48:40 -07:00
Joe Onorato
089de88fc2 StatusBarService -> StatusBarManagerService
Change-Id: I7efc245395bd91a656b30d420c9b080877162360
2010-06-02 14:48:40 -07:00
Joe Onorato
90233a1ee5 Add IStatusBar
Change-Id: Ie73d665085d5ce7358c285bf332ef1dc96005d0f
2010-06-02 14:48:40 -07:00
Joe Onorato
25f95f9200 Rename IStatusBar to IStatusBarService.
Change-Id: Icfec2a830f037b21f6afaa796bf49da610567e7b
2010-06-02 14:48:40 -07:00
Joe Onorato
2314aab506 First pass at splitting the status bar for the different devices.
Change-Id: I2f568df92f88dfe8de18d24dd004239f52761aa6
2010-06-02 14:48:39 -07:00