55941 Commits

Author SHA1 Message Date
Gloria Wang
9f8e0153b2 Merge "Re-calculate mCurrentTimeUs for MP3 CBR seek because we might have called Resync() which changes mCurrentPos. For bug 4869063." 2011-08-02 09:56:51 -07:00
Mike Lockwood
e51099f110 UsbManager: add getDefaultFunction()
Bug: 5108883

Change-Id: I211f1ee39987da4a5456d86b49b954c564fa3bf4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-02 12:54:49 -04:00
Gloria Wang
ba5ddf5cfc Merge "Fix ordering assumption of argument evaluation." 2011-08-02 09:22:05 -07:00
Gloria Wang
ae8cf7c5a6 Merge "Fix ordering assumption of argument evaluation." 2011-08-02 09:21:53 -07:00
Yu Shan Emily Lau
81d7035b9e Merge "Replace the hard coded video recording properties with media profile." 2011-08-02 08:39:01 -07:00
Justin Ho
7ef38ff91e Merge "Updated btn_default and btn_toggle assets Bug: 5076695" 2011-08-02 07:27:38 -07:00
Justin Ho
407b13440b Merge "Updated scrollbars and fast scroller assets. Bug: 5076695" 2011-08-02 07:27:22 -07:00
Justin Ho
c4badaf035 Merge "Updated progress bar and scrubbers, adding xhdpi Bug: 5076695" 2011-08-02 07:27:12 -07:00
Justin Ho
26508fcbc0 Merge "Updated spinners Bug: 5076695" 2011-08-02 07:27:03 -07:00
Derek Sollenberger
09a22e33e7 Reverting until we can find a better way to address this issue without affecting nine-patches with large stretchable areas.
Revert "Fix NinePatch decoder when the target is smaller than the source."

This reverts commit c4c458c678567b899aae04631570460c5e729512
2011-08-02 05:17:49 -07:00
Daniel Sandler
2124ef9ebe Merge "Refresh tablet notification drawer." 2011-08-02 04:39:46 -07:00
Daniel Sandler
da2089695e Merge "Merging ongoing + latest notifications on phone UI to match tablets." 2011-08-02 04:39:35 -07:00
Wu-cheng Li
bb1e275c0e Pass camera frame metadata from camera service to Java.
bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
2011-08-02 15:48:41 +08:00
Wu-cheng Li
0175028b73 Merge "Add camera recording hint parameter." 2011-08-02 00:16:28 -07:00
satok
9407c601ea Merge "Move SpellCheckerSession" 2011-08-02 00:11:06 -07:00
satok
aafd955fa8 Move SpellCheckerSession
SpellCheckerSession should be in android.view.textservice because this class will be used directly by users.

Change-Id: I0df6d7958adda421312b5f641ac4459ca4739cc9
2011-08-02 16:04:39 +09:00
Yu Shan Emily Lau
55c1ad9994 Replace the hard coded video recording
properties with media profile.

Change-Id: I431838839f52431e68183eebe7ebce382a44bdb7
2011-08-01 23:52:47 -07:00
Wu-cheng Li
25d8fb51da Add camera recording hint parameter.
The API is still hidden.

bug:4266229
Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
2011-08-02 14:27:58 +08:00
Shih-wei Liao
d6793460ea Merge "Finish the refactor work of bccPrepareExecutable" 2011-08-01 23:26:39 -07:00
Daniel Sandler
1347c30824 Refresh tablet notification drawer.
* New "X" button appears in the system bar, allowing the
    user to clear all notifications. Only appears when the
    notifications list is showing and there are clearable
    items. (Note: the textual button on phones has also been
    replaced with an X.)

  * Updated panel background artwork and positioning.

  * Removed a bunch of old art.

Bug: 4970588
Bug: 4974043
Bug: 3509407 (regression)

Change-Id: Ibadb638cd18c4faa751cd1f311d73ceda65cb3ca
2011-08-02 01:38:55 -04:00
satok
5b9b5a9553 Change SpellCheckerInfo IPC inputs to String
Change-Id: I4c3f3c7aa7587e3f2582b43702108fa78f37ec54
2011-08-02 14:04:43 +09:00
Mathias Agopian
a0bd0d8455 Add a h/w composer API to allow the HAL to trigger a redraw
This is useful in various situations, for instance if the HAL
wants to change its compositing strategy.

Bug: 4488017
Change-Id: I5afc14e5917c6db7926d7417d48677d5aba50caa
2011-08-01 20:48:05 -07:00
Daniel Sandler
7c3e39de22 Merging ongoing + latest notifications on phone UI to match tablets.
Change-Id: Ie8ee72137e9eeb6740f3d113d5331e8cba629ab2
2011-08-01 23:26:21 -04:00
Mathias Agopian
3ab8855794 fix an issue where the screen could be stale after a surface size change
some GLES drivers dequeue buffers before a frame is started
(which is allowed), which can cause a that frame to be rendered
into a buffer of the wrong size. Such buffer will be ignored
by the compositor. If the application draws only once after a
size change, the screen might stay in this stale state.

this can be avoided by telling the GL driver to purge all its
pending buffers, which is done by making the surface not current
and then current again.

this solution is specific to android, but acceptable because
handled solely in the framework.

Bug: 2263168
Change-Id: I3d3c9a019979a9186e329d3160fa54adac78d3f7
2011-08-01 20:24:02 -07:00
satok
1164d776c6 Merge "Add a method to set the current spell checker" 2011-08-01 19:49:37 -07:00
satok
046cbe750b Add a method to set the current spell checker
Change-Id: I0e1fbe99538c873eed3723fb419bbfa626dec509
2011-08-02 11:41:20 +09:00
Christopher Tate
c58efa6052 Reduce backup manager logspew
...with particular attention to boot-time logging.  In particular, the
following kinds of messages are now cut unless someone turns on the new
MORE_DEBUG flag in their local build:

08-01 11:25:32.203   155   223 V BackupManagerService: starting timeout: token=4f52ccd1 interval=30000
08-01 11:25:32.211   155   223 V BackupManagerService: opComplete: 4f52ccd1
08-01 11:25:32.211   155   223 V BackupManagerService: operation 4f52ccd1 complete: finalState=1
08-01 11:25:32.211   155   223 V PerformBackupThread: doBackup() success

and

01-01 00:00:19.710   148   162 V BackupManagerService: Adding 9 backup participants:
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41af0380 android} agent=com.android.server.SystemBackupAgent uid=1000 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41aa5068 com.android.browser} agent=com.android.browser.BrowserBackupAgent uid=10005 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{4199ce28 com.android.nfc3} agent=com.android.nfc.NfcBackupAgent uid=1025 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41a6e170 com.android.providers.settings} agent=com.android.providers.settings.SettingsBackupAgent uid=1000 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{4198ba90 com.android.providers.userdictionary} agent=com.android.providers.userdictionary.DictionaryBackupAgent uid=10000 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41a80190 com.android.vending} agent=com.android.vending.VendingBackupAgent uid=10042 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41ac2980 com.google.android.calendar} agent=com.android.calendar.CalendarBackupAgent uid=10007 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41b14fb8 com.google.android.gm} agent=com.google.android.gm.persistence.GmailBackupAgent uid=10020 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41af89b8 com.google.android.inputmethod.latin} agent=com.android.inputmethod.latin.BackupAgent uid=10028 killAfterRestore=false

and

01-01 00:00:20.000   148   162 D BackupManagerService: Now awaiting backup for 1 participants:
01-01 00:00:20.000   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41b15110 android}} agent=com.android.server.SystemBackupAgent
01-01 00:00:20.000   148   162 I BackupManagerService: New app com.android.browser never backed up; scheduling
01-01 00:00:20.015   148   162 D BackupManagerService: Now awaiting backup for 2 participants:
01-01 00:00:20.015   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41b15110 android}} agent=com.android.server.SystemBackupAgent
01-01 00:00:20.015   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41ae5cf8 com.android.browser}} agent=com.android.browser.BrowserBackupAgent
01-01 00:00:20.015   148   162 I BackupManagerService: New app com.android.nfc3 never backed up; scheduling
01-01 00:00:20.031   148   162 D BackupManagerService: Now awaiting backup for 3 participants:
01-01 00:00:20.031   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41b15110 android}} agent=com.android.server.SystemBackupAgent
01-01 00:00:20.031   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41ae5cf8 com.android.browser}} agent=com.android.browser.BrowserBackupAgent
01-01 00:00:20.031   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41a47d88 com.android.nfc3}} agent=com.android.nfc.NfcBackupAgent
... [N times]

and various other overly-chatty messages that aren't useful for the midrange
debugging needs of early testing.

Bug 5104300

Change-Id: I2b2afb5ba68059cb1f4cccc07f2833e43cd6fe94
2011-08-01 19:25:18 -07:00
Dianne Hackborn
b1c44b1738 Merge "Move ImageWallpaper to SystemUI process." 2011-08-01 18:59:58 -07:00
Romain Guy
4b51247071 Merge "Reduce the amount of data cached by the gradients cache." 2011-08-01 18:57:43 -07:00
Romain Guy
6203f6c814 Reduce the amount of data cached by the gradients cache.
Change-Id: I8546f5a5ecf38031c9a40bdcc434d4c7f22da63d
2011-08-01 18:56:21 -07:00
Adam Powell
349f5d557b Merge "Fix bug 5105394 - Get rid of btn_default_small" 2011-08-01 18:31:40 -07:00
Gilles Debunne
3bdd2546d2 Bug 4280211: permission green checkboxes removed
Change-Id: Ic1d1d6f90b2105cd634eb49c1aba2636c1d9e0b5
2011-08-01 18:27:52 -07:00
James Dong
449eef989e Start thread pool for binder calls
Change-Id: Ie67f54ba06d7fdb42bcb041c1e0a50d8477ae423
related-to-bug: 5095635
2011-08-01 18:24:49 -07:00
Adam Powell
52eb4cc724 Fix bug 5105394 - Get rid of btn_default_small
Remove the small holo button resources and their preload entries.

Change-Id: I58a61e3f8d532b4d1887d39969dc81d5190d27ca
2011-08-01 18:15:48 -07:00
Dianne Hackborn
ba39839444 Move ImageWallpaper to SystemUI process.
Nice to not load 4MB bitmaps in the system process.

Also, hey, with how we are now scrolling the surface instead of
the bitmap, there is no reason to keep that 4MB bitmap loaded in
to memory.  So don't.

Unfortunately it looks like for some reason the VM is still
holding on to the bitmap.  I'll need to figure out why.  Later.

Change-Id: Ib3503756144502fc5c8d5e294248c2417c4fe8c8
2011-08-01 17:55:54 -07:00
Jeff Brown
2a2ec87b55 Merge "Refactor input reader to add stylus support. Bug: 5064702" 2011-08-01 17:48:21 -07:00
Romain Guy
8a2da33c77 Merge "Allow Canvas.setBitmap() to receive a null Bitmap." 2011-08-01 17:42:36 -07:00
Romain Guy
0965a3244b Allow Canvas.setBitmap() to receive a null Bitmap.
Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2
2011-08-01 17:39:21 -07:00
Eric Fischer
ba30be5754 Restore deleted string still referenced from a layout.
Change-Id: I5285b44118d08f3f18d9a2dc4065c20b4a3a22c2
2011-08-01 17:22:34 -07:00
Adam Powell
b1eaf8f552 Merge "Fix bug 5090996 - Crash on tapping Menu on dial pad" 2011-08-01 17:20:06 -07:00
Amith Yamasani
42722bfa13 Volume panel changes.
Combined volume panel only in tablets. On phones show active volume.
Added dummy assets for ring+notification icon.

Deprecated the NOTIFICATION_USES_RING_VOLUME. Now they are always
tied together. Audio manager changes still required to ensure that.

Initialize all feedback sounds to true.

Change-Id: I3ad7890c9be9334eedb5f3b709a4b6995fe24638
2011-08-01 16:45:28 -07:00
Mathias Agopian
34e1fb1ee2 Merge "connect/disconnect is now called from our EGL wrapper" 2011-08-01 16:36:02 -07:00
Jeff Sharkey
d20482de2f Merge "Add operation counts to network statistics." 2011-08-01 16:33:50 -07:00
Adam Powell
f0f5fffc6f Fix bug 5090996 - Crash on tapping Menu on dial pad
Let the FragmentManager handle deferring menu invalidation when
not currently resumed.

Change-Id: I6e5de9c8ab5288c7c90a59ce8e0c7bb9133b6eb5
2011-08-01 15:55:16 -07:00
Romain Guy
de7c93948f Merge "Use high precision iterators on specific GPUs Bug #5098359" 2011-08-01 15:29:56 -07:00
Romain Guy
a60c388971 Use high precision iterators on specific GPUs
Bug #5098359

Change-Id: I52ee8c7b4c9e8d4c7bedb684eaf7bef6c44c74b9
2011-08-01 15:28:16 -07:00
Justin Ho
8a36891727 Updated btn_default and btn_toggle assets
Bug: 5076695

Change-Id: Ie50af9d9a972ad84a0674d0f35fda6289adbb9f8
2011-08-01 15:19:32 -07:00
Justin Ho
489ba29843 Updated scrollbars and fast scroller assets.
Bug: 5076695

Change-Id: I4c013726e0cb1a5f692694cfc090e786a41a591d
2011-08-01 15:16:46 -07:00
Justin Ho
369a6bb941 Updated progress bar and scrubbers, adding xhdpi
Bug: 5076695

Change-Id: I6543ec9d24ac19cebd8a7a221ee8a3cac535ed69
2011-08-01 15:15:06 -07:00
Justin Ho
cbab966601 Updated spinners
Bug: 5076695

Change-Id: I69e94ca4c2333a24deb9015c90e24e067be3a84c
2011-08-01 15:13:24 -07:00