100406 Commits

Author SHA1 Message Date
Christopher Tate
5cb5c337d5 Be cool in backup/restore of apps that can't touch external storage
Bug: 8241337
Change-Id: I23f6eeba8448b234a7b18ce50d2ced2ba54b4ebd
2013-02-21 15:43:52 -08:00
Ed Heyl
780294be50 Merge remote-tracking branch 'goog/jb-mr2-release' 2013-02-20 13:47:29 -08:00
Daniel Sandler
fd171e43e4 Merge "Switch to system process before modifying rotation." 2013-02-20 21:35:53 +00:00
Daniel Sandler
3de830b82b Switch to system process before modifying rotation.
Bug: 8218133
Change-Id: Ib44d64d48dbdf3095182c409dd2211f6a3b726ad
2013-02-20 15:23:52 -05:00
Fabrice Di Meglio
04de3b8141 Merge "Make Spinner widget RTL-aware" 2013-02-20 19:20:22 +00:00
Svetoslav
aa7cc1e2ab Merge "Adding idle maintenance service." 2013-02-20 19:11:07 +00:00
Chris Craik
8a47d8eaec Merge "Clean up clipping and deferral logic" 2013-02-20 18:40:03 +00:00
Romain Guy
14bd8359a8 Merge "Wallpaper software rendering fallback Bug #8230579" 2013-02-20 18:33:05 +00:00
Dianne Hackborn
1a0939cd13 Merge "Overscan improvement: all apps extend to overscan area." 2013-02-20 18:28:32 +00:00
Romain Guy
c8d983f725 Wallpaper software rendering fallback
Bug #8230579

If the wallpaper fails to render with OpenGL, fall back to software
rendering instead of throwing an exception and crashing the wallpaper.

Change-Id: I40ed6056e6ea09b92b6cd441f16101dcc296fb8e
2013-02-20 10:05:36 -08:00
Kunter Gultekin
e72409fe77 Adds vp8 profile and levels to MediaCodecInfo.
In line with ongoing effort of adding vpx encoder to
stagefright (https://android-review.googlesource.com/50893)
we need to add profile and level values for VP8.

VP8 profiles and levels are defined in OMX IL 1.1.2
extension headers, which is also being added here
https://android-review.googlesource.com/51272

This alters the public API.

Change-Id: I2bbb91c0b8b522b90c3cdfadaba0d18134800408
Signed-off-by: Kunter Gultekin <kuntergultekin@google.com>
related-to-bug: 8226783
2013-02-20 09:35:57 -08:00
Craig Mautner
223b6b3bfe Merge "Begin switch over to task based history." 2013-02-20 16:42:17 +00:00
Daniel Sandler
f025404a8b Merge "New INotificationListener interface." 2013-02-20 14:40:05 +00:00
Luca Zanolin
1b15ba5d19 Resubmitting "Enable correction/deleting notification via EasyEditSpan.""
Re-run "make update-api"

Original CL Ic227b8fd50066699915f69a54f225fb5330867c4

Change-Id: Ifb1a0f61801c544b01193435fbfdedd7f3888971
2013-02-20 14:31:37 +00:00
The Android Automerger
967864159f merge in jb-mr2-release history after reset to master 2013-02-20 05:55:44 -08:00
Luca Zanolin
1b916301e0 Revert "Enable correction/deleting notification via EasyEditSpan."
This reverts commit 8cd8135b95da5b471804604b06084eecbe1cc23b

Change-Id: I6361cc47d58281ab37cb9ae0a67541b43f873147
2013-02-20 12:27:35 +00:00
Luca Zanolin
8cd8135b95 Enable correction/deleting notification via EasyEditSpan.
When the "delete" pop-up is clicked (and the wrapped text removed), the
creator of the span will receive a notification of the action.

Similarly, if the user modifies (i.e., add/remove a char), the creator of
the span will receive a notification too. The notification will not contain any
information about how the text has been modified.


Bug: 6905960
Change-Id: Ic227b8fd50066699915f69a54f225fb5330867c4
2013-02-20 11:35:19 +00:00
Daniel Sandler
8983d11c40 Merge "Looking for NaN values in status bar animations." 2013-02-20 04:01:28 +00:00
Daniel Sandler
42b3cf94d0 Looking for NaN values in status bar animations.
We should probably set these values to 0 when we find them,
but first I want to catch this bug in the act before I paper
over it with defensive programming.

Also standardizing on use of isStarted() instead of
isRunning() on animators.

Bug: 7686690
Change-Id: I9f93c443784d2ed795d3e16ad9bb03811371497c
2013-02-19 22:56:38 -05:00
Dianne Hackborn
313440842b Overscan improvement: all apps extend to overscan area.
Introduce another new rectangle in window layout, the
restricted overscan region.  This is for windows that can
be in the restricted region (that is, full screen but with
hard restrictions like the nav bar) but whose content can
be adjusted for the overscan constraints.

In other words, normal application windows now always extend
into the overscan region, and we push their content inside
of it.

Change-Id: Ibccf3d7f144912d49de3fc497c1ec2e8e0b7f714
2013-02-19 19:28:11 -08:00
Chris Craik
5d11676414 Clean up clipping and deferral logic
bug:8037003

-Merges replay methods
-Bounds checking for DrawBitmapMesh, DrawRects and DrawDisplayList
-Use clip as bounds for otherwise unbounded draw operations

Clip-as-bounds is correct for drawColor and functor, but other draw
operations (pos text, text on path, and layers) still need true bounds
calculation

Change-Id: I5d5149d2c624f01e3fe46628bf156e835e69b9d5
2013-02-19 18:56:10 -08:00
Craig Mautner
5d9c7be84d Begin switch over to task based history.
- Introduce the task history and add to and remove from it with
verification.

Change-Id: If97e74f5a13f85acdb1521fc6d0b066a7e8584ae
2013-02-19 18:11:33 -08:00
Ying Wang
278dac914d Merge "Use BUILD_PREBUILT to install the shell script" 2013-02-20 01:13:22 +00:00
Ying Wang
33c29b0e16 Use BUILD_PREBUILT to install the shell script
NOTICE files will be picked up automatically.

Change-Id: Ia4938aff013f1c010cbbfceacf5685722c86c39a
2013-02-19 16:42:16 -08:00
Romain Guy
9943155b4d Merge "Show Dalvik stack trace if an exception happens at draw time External bug: http://code.google.com/p/android/issues/detail?id=49379" 2013-02-19 23:34:30 +00:00
Jeff Sharkey
169d8a9630 Add DUMP permission to SystemUI for bugreports.
Bug: 8223786
Change-Id: Ie91167eaaa299fb7f0affa386407765efe4965a4
2013-02-19 15:33:37 -08:00
Jeff Sharkey
22cb5b37a5 Merge "Migrate to using Mockito directly." 2013-02-19 23:29:49 +00:00
Jeff Sharkey
3671b1e910 Migrate to using Mockito directly.
Change-Id: I1fcc5d1a780f5831bd6685f0735d4c0c6d245735
2013-02-19 15:28:19 -08:00
Jeff Sharkey
81aaf87d09 Merge "Open file:// Uris on client side of MediaPlayer." 2013-02-19 23:12:16 +00:00
Jeff Sharkey
c058a380de Open file:// Uris on client side of MediaPlayer.
Bug: 7962739
Change-Id: I674b437593fa083eb66ff3ca57b898cf9bd4a3e9
2013-02-19 15:10:41 -08:00
Michael Jurka
5b0324299a Merge "Fix one cause of slow scrolling in Recents" 2013-02-19 22:38:49 +00:00
Michael Jurka
67b03701b6 Fix one cause of slow scrolling in Recents
Bug: 8208782

Change-Id: I8153001d1cea0c01f929d3091a722fed842038fa
2013-02-19 14:23:16 -08:00
Romain Guy
d17043dcb4 Show Dalvik stack trace if an exception happens at draw time
External bug: http://code.google.com/p/android/issues/detail?id=49379

Drawing was previously wrapped in a try/finally block which was silently
swallowing user code exceptions. For instance, if a View throws a
NullPointerException in its onDraw() method, the previous implementation
would silently crash in native code.

This change extracts the section that builds display lists into a new
method that does not contain any try/finally block.

In addition, this change logs any exception thrown while drawing
display lists.

Change-Id: I0abffa4c9183d41aac8b0f8442813e56b957f08f
2013-02-19 14:12:55 -08:00
Michael Jurka
f9b9ead5d4 Merge "Fix bug with clock when keyguard widgets disabled" 2013-02-19 22:10:48 +00:00
Baligh Uddin
32a4fd8e14 Merge "Import translations. DO NOT MERGE" 2013-02-19 21:57:16 +00:00
Baligh Uddin
9f81aff74d Merge "Import translations. DO NOT MERGE" 2013-02-19 21:46:45 +00:00
Dianne Hackborn
ee973c27e3 Fix build.
Change-Id: I277de38a70f3a2e5c1997a3fe5c2e825692ae9e1
2013-02-19 13:36:32 -08:00
Jeff Sharkey
ccacb8e88b Merge "Add DUMP permission to SystemUI for bugreports." 2013-02-19 21:13:27 +00:00
Romain Guy
88b556f8d4 Merge "Fix the build" 2013-02-19 21:11:25 +00:00
Romain Guy
4bac6c1a54 Fix the build
Change-Id: I2a0e0d5a25e0c26872dfffeecfb42bace25c0f3c
2013-02-19 13:10:25 -08:00
Jeff Sharkey
a2c73ae969 Add DUMP permission to SystemUI for bugreports.
Bug: 8223786
Change-Id: Ie91167eaaa299fb7f0affa386407765efe4965a4
2013-02-19 13:01:35 -08:00
Dianne Hackborn
79ad13f172 Merge "Implement display overscan support." 2013-02-19 21:00:11 +00:00
Baligh Uddin
9cd4ffa6f0 Import translations. DO NOT MERGE
Change-Id: I0d54b8a3066875c4107699d0a9c1309b996362ba
Auto-generated-cl: translation import
2013-02-19 12:37:29 -08:00
Romain Guy
e91efabaf2 Merge "Expose display list APIs" 2013-02-19 20:32:17 +00:00
Baligh Uddin
cda90b6d80 Import translations. DO NOT MERGE
Change-Id: Id749bf92fae550427415636ec1816b9683a614b3
Auto-generated-cl: translation import
2013-02-19 12:30:44 -08:00
Romain Guy
52036b19a5 Expose display list APIs
The exposed APIs are slightly simpler than the full APIs used internally.
Only APIs useful to applications are exposed.

Change-Id: Ie03014628d40ad5ef63dedbc52ce3def84429d54
2013-02-19 12:30:02 -08:00
Daniel Sandler
09a247e9a8 New INotificationListener interface.
Use with INotificationManager.registerListener(). Limited to
system only right now.

Change-Id: I65b6a8778267022cdc5e58eb75ae607a54b1cc52
2013-02-19 15:26:37 -05:00
Dianne Hackborn
c652de8141 Implement display overscan support.
The window manager now keeps track of the overscan of
each display, with an API to set it.  The overscan impacts
how it positions windows in the display.  There is a new set
of APIs for windows to say they would like to go into the
overscan region.  There is a call into the window manager to
set the overscan region for a display, and it now has a
concept of display settings that it stores presistently.

Also added a new "wm" command, moving the window manager
specific commands from the "am" command to there and adding
a new now to set the overscan region.

Change-Id: Id2c8092db64fd0a982274fedac7658d82f30f9ff
2013-02-19 12:08:58 -08:00
Scott Main
404f87e540 am 1998060f: am 803a6b0d: am ed7713e1: am e5c4846d: am 9dbb0b35: docs: sanitize input for badge generator bug: 8002240
* commit '1998060f69714ede1f8add61bdfcfab62b2f97ea':
  docs: sanitize input for badge generator bug: 8002240
2013-02-19 12:05:54 -08:00
Scott Main
1998060f69 am 803a6b0d: am ed7713e1: am e5c4846d: am 9dbb0b35: docs: sanitize input for badge generator bug: 8002240
* commit '803a6b0da037e6ae6eaf51712cde5545ab140dce':
  docs: sanitize input for badge generator bug: 8002240
2013-02-19 12:03:42 -08:00