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
Erik Faye-Lund
92ce5734b5
Canvas.drawVertices: correct color range-check
...
The range-check in drawVertices previously checked that the color
count was equal to the vertex count. However, the vertex count is
specified in array elements, and there's two array elements per
vertex for the positions, but only one array element per vertex
for the colors.
Correct the code so the check is consistent with the element count.
Change-Id: Id043f1003f9245f18adc91bac49dc33727ca765e
2010-06-02 23:47:01 +02:00
Scott Main
aed8f21690
am c87d5849: am 105e1c5a: am 6a297118: Merge "docs: a couple doc bug fixes" into froyo
2010-06-02 13:49:10 -07:00
Scott Main
c87d5849f2
am 105e1c5a: am 6a297118: Merge "docs: a couple doc bug fixes" into froyo
...
Merge commit '105e1c5adc3da14996d659ac403e7254b81bcb76' into kraken
* commit '105e1c5adc3da14996d659ac403e7254b81bcb76':
docs: a couple doc bug fixes
2010-06-02 13:46:53 -07:00
Scott Main
105e1c5adc
am 6a297118: Merge "docs: a couple doc bug fixes" into froyo
...
Merge commit '6a297118724f31b1063b74f52295d459ec4f58dc' into froyo-plus-aosp
* commit '6a297118724f31b1063b74f52295d459ec4f58dc':
docs: a couple doc bug fixes
2010-06-02 13:44:44 -07:00
Scott Main
6a29711872
Merge "docs: a couple doc bug fixes" into froyo
2010-06-02 13:43:18 -07:00
Scott Main
20a7612504
docs: a couple doc bug fixes
...
Change-Id: I37b2adf9d30249eb9c0cbb007d9172d3956421b5
2010-06-02 13:01:49 -07:00
The Android Open Source Project
8f1259bec9
am b705eea7: am 1bd7597b: merge from open-source master
2010-06-02 09:05:18 -07:00
The Android Open Source Project
b705eea702
am 1bd7597b: merge from open-source master
...
Merge commit '1bd7597b8cdaf39d1183077c463cb30596eb31b0' into kraken
* commit '1bd7597b8cdaf39d1183077c463cb30596eb31b0':
Replaced raw string arguments for Context.getSystemService() with final Context variables
2010-06-02 09:03:04 -07:00
The Android Open Source Project
afca60ddfd
am 59c82376: am c8763858: merge from open-source master
2010-06-02 08:56:19 -07:00
The Android Open Source Project
59c82376e5
am c8763858: merge from open-source master
...
Merge commit 'c8763858cfcae8be89c0f88df87bf9a3ad90ae64' into kraken
* commit 'c8763858cfcae8be89c0f88df87bf9a3ad90ae64':
Fix for issue 895 (missing android: prefix), Removed unused imports
2010-06-02 08:54:59 -07:00
The Android Open Source Project
1bd7597b8c
merge from open-source master
...
Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
2010-06-02 08:54:47 -07:00
The Android Open Source Project
c8763858cf
merge from open-source master
...
Change-Id: Ife78a3e7582be1853d28bbcef41f5d06f3b97ef6
2010-06-02 08:41:59 -07:00
John Eckerdal
dad86349be
Add better error handling for savePicture and restorePicture
...
If an Exception occurs when storing the file treat this as an error
and always fail to try to prevent corrupted pictures to be stored to
the file system.
Close files if they were opened, the caller might want to perform other
file operations on the file and if it is still open these may fail.
Change-Id: Ic68596b5c745bbe413096c22684c388e853a7643
2010-06-02 10:59:46 +02:00
Kenny Root
e99c012503
Merge "Improved error-handling in Rfc822Tokenizer"
2010-06-01 22:56:39 -07:00
Kenny Root
112ad01dbb
am 501b2b40: am a6703415: am 85fb2066: Amend previous ndc commit
2010-06-01 20:55:59 -07:00
Kenny Root
501b2b400a
am a6703415: am 85fb2066: Amend previous ndc commit
...
Merge commit 'a6703415ead229d6387973c25f5b833cefd26e9b' into kraken
* commit 'a6703415ead229d6387973c25f5b833cefd26e9b':
Amend previous ndc commit
2010-06-01 20:54:21 -07:00
Kenny Root
a6703415ea
am 85fb2066: Amend previous ndc commit
...
Merge commit '85fb20665feadda526ad422c093b859e8c4d40bc' into froyo-plus-aosp
* commit '85fb20665feadda526ad422c093b859e8c4d40bc':
Amend previous ndc commit
2010-06-01 20:52:38 -07:00
Kenny Root
85fb20665f
Amend previous ndc commit
...
Submitted wrong patchset. This includes the delta for the latest
patchset.
Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
2010-06-01 20:50:21 -07:00
Kenny Root
dcb1901f52
am 7c1cf2e2: am 847b82d8: am 89bc1395: Merge "Add more error checking for ndc" into froyo
2010-06-01 19:59:57 -07:00
Kenny Root
7c1cf2e27d
am 847b82d8: am 89bc1395: Merge "Add more error checking for ndc" into froyo
...
Merge commit '847b82d8a6d3cc6969cbeeaf9ca7e879abab482a' into kraken
* commit '847b82d8a6d3cc6969cbeeaf9ca7e879abab482a':
Add more error checking for ndc
2010-06-01 19:58:32 -07:00