85038 Commits

Author SHA1 Message Date
Baligh Uddin
d1f6439974 Merge "Import translations. DO NOT MERGE" 2012-09-04 09:06:24 -07:00
Craig Mautner
bd6cc4973d am 1f7b5c30: am e94831e5: Merge "Minor refactors." into jb-mr1-dev
* commit '1f7b5c3043c5eda7932c8e1f6bbee4f06c593f15':
  Minor refactors.
2012-09-02 07:55:58 -07:00
Craig Mautner
1f7b5c3043 am e94831e5: Merge "Minor refactors." into jb-mr1-dev
* commit 'e94831e5ed4aa3b1ebc5444cc1b16cdab8cb92f8':
  Minor refactors.
2012-09-02 07:54:19 -07:00
Craig Mautner
e94831e5ed Merge "Minor refactors." into jb-mr1-dev 2012-09-02 07:51:28 -07:00
Craig Mautner
398341927f Minor refactors.
- Refactor DragState to take Display instead of DisplayContent.
- Rename xxxAnimationLw methods in WindowManagerPolicy to xxxPostLayout
to reflect animation refactoring.

Change-Id: I502f2aa45a699ad395a249a12abf9843294623f0
2012-09-02 07:47:24 -07:00
Romain Guy
59765dd76c am 0eea6913: am 0baaac5e: Revert "Revert "Add more support for transformed clip rects and paths""
* commit '0eea6913705a10a2f64d53e72bf9175367ee36d1':
  Revert "Revert "Add more support for transformed clip rects and paths""
2012-08-31 20:36:48 -07:00
Romain Guy
0eea691370 am 0baaac5e: Revert "Revert "Add more support for transformed clip rects and paths""
* commit '0baaac5e9adf3ee280ae1239e2e58754a9d2b099':
  Revert "Revert "Add more support for transformed clip rects and paths""
2012-08-31 20:33:49 -07:00
Romain Guy
0baaac5e9a Revert "Revert "Add more support for transformed clip rects and paths""
This reverts commit a8557d2169e14997637f57bc897640c8882d4a46.

Change-Id: I36d4883d548fc47ba6c0b4a42012107d0d2f85a6
2012-08-31 20:31:32 -07:00
Mathias Agopian
08c017fe52 am 0a8dba73: am a8557d21: Revert "Add more support for transformed clip rects and paths"
* commit '0a8dba7387232ae678732796e8b71e434089f457':
  Revert "Add more support for transformed clip rects and paths"
2012-08-31 20:10:03 -07:00
Mathias Agopian
0a8dba7387 am a8557d21: Revert "Add more support for transformed clip rects and paths"
* commit 'a8557d2169e14997637f57bc897640c8882d4a46':
  Revert "Add more support for transformed clip rects and paths"
2012-08-31 20:07:14 -07:00
Mathias Agopian
a8557d2169 Revert "Add more support for transformed clip rects and paths"
this introduced a dead lock in GradientCache's ctor.

This reverts commit dfe082f63e94cde9aee271c94d13de5e7217e036.

Bug: 7096001
Change-Id: I57b8bbab11fb7cb502fa58e3bbf5d19864db874f
2012-08-31 20:04:18 -07:00
Romain Guy
657c5aca20 am d80df918: am 703bd326: Merge "Add more support for transformed clip rects and paths" into jb-mr1-dev
* commit 'd80df918d14aeb6ed6b228afe392490cbebd4201':
  Add more support for transformed clip rects and paths
2012-08-31 17:22:48 -07:00
Romain Guy
d80df918d1 am 703bd326: Merge "Add more support for transformed clip rects and paths" into jb-mr1-dev
* commit '703bd32647556524fa8cadbe869c8a8d734640ef':
  Add more support for transformed clip rects and paths
2012-08-31 17:20:29 -07:00
Romain Guy
703bd32647 Merge "Add more support for transformed clip rects and paths" into jb-mr1-dev 2012-08-31 17:18:04 -07:00
Kenny Root
a2c28638d7 am df6e7100: am a4640c08: Add some NullPointerExceptions to AndroidKeyStore
* commit 'df6e7100691b73ee015ecc7ce1ce0143eebd425b':
  Add some NullPointerExceptions to AndroidKeyStore
2012-08-31 17:18:03 -07:00
Romain Guy
dfe082f63e Add more support for transformed clip rects and paths
Change-Id: I41791b1e1bffef77d503dc9e52428395d2309688
2012-08-31 17:17:40 -07:00
Kenny Root
df6e710069 am a4640c08: Add some NullPointerExceptions to AndroidKeyStore
* commit 'a4640c082c8ccf66ebfb50ace5747409ab6aee55':
  Add some NullPointerExceptions to AndroidKeyStore
2012-08-31 17:15:43 -07:00
Kenny Root
a4640c082c Add some NullPointerExceptions to AndroidKeyStore
Existing KeyStore implementations throw NullPointerExceptions beacuse
the KeyStoreSpi doesn't check these arguments for null. Add in checks so
we don't accidentally check some bogus values.

Also switch a RuntimeException to a KeyStoreException

Change-Id: I18f4d4474d607cb2057ea8069b901e0992275e78
2012-08-31 16:45:24 -07:00
Dianne Hackborn
37f5ec2a21 am 9b52f007: am 2701f325: Merge "Remove Binder.getOrigCallingUid()." into jb-mr1-dev
* commit '9b52f0071780160355376484a3992d2710160a3f':
  Remove Binder.getOrigCallingUid().
2012-08-31 16:28:41 -07:00
Amith Yamasani
cb3c5d8d11 am d92518fd: am 430e5b23: Merge "Centralize the creation of the user system directory" into jb-mr1-dev
* commit 'd92518fd4b7eaa8c8abdda4b6b97f7acca3f95cf':
  Centralize the creation of the user system directory
2012-08-31 16:28:36 -07:00
Dianne Hackborn
9b52f00717 am 2701f325: Merge "Remove Binder.getOrigCallingUid()." into jb-mr1-dev
* commit '2701f325a6d4acd920637d2ff6fd6972a9cf836b':
  Remove Binder.getOrigCallingUid().
2012-08-31 16:26:05 -07:00
Amith Yamasani
d92518fd4b am 430e5b23: Merge "Centralize the creation of the user system directory" into jb-mr1-dev
* commit '430e5b23cf702d57aa662972c43d546806147d76':
  Centralize the creation of the user system directory
2012-08-31 16:26:02 -07:00
Dianne Hackborn
2701f325a6 Merge "Remove Binder.getOrigCallingUid()." into jb-mr1-dev 2012-08-31 16:23:47 -07:00
Amith Yamasani
430e5b23cf Merge "Centralize the creation of the user system directory" into jb-mr1-dev 2012-08-31 16:22:52 -07:00
Chet Haase
6edad59dd8 am 923bd69d: am ce20a45e: Merge "Paramaterize and adjust the glyph cache sizes" into jb-mr1-dev
* commit '923bd69d6c48dd68fd5cb1bb5634ea840b9ae319':
  Paramaterize and adjust the glyph cache sizes
2012-08-31 16:02:34 -07:00
Chet Haase
923bd69d6c am ce20a45e: Merge "Paramaterize and adjust the glyph cache sizes" into jb-mr1-dev
* commit 'ce20a45e03c2748e79daea187f7d21c33bdfe643':
  Paramaterize and adjust the glyph cache sizes
2012-08-31 16:00:17 -07:00
Chet Haase
ce20a45e03 Merge "Paramaterize and adjust the glyph cache sizes" into jb-mr1-dev 2012-08-31 15:57:28 -07:00
Jeff Brown
b7b396cf5b am 697b1a01: am f83ec838: Merge "More improvements to the display manager." into jb-mr1-dev
* commit '697b1a015efde0ed69cfa69de4f9a908640a4ec1':
  More improvements to the display manager.
2012-08-31 15:53:47 -07:00
Jeff Brown
7768e5e829 am 058ebd25: am 3b9a4160: Merge "Initial draft of high-level multi-display APIs." into jb-mr1-dev
* commit '058ebd259ddc4e50eaae319126c0998f2702ddb0':
  Initial draft of high-level multi-display APIs.
2012-08-31 15:53:43 -07:00
Jeff Brown
697b1a015e am f83ec838: Merge "More improvements to the display manager." into jb-mr1-dev
* commit 'f83ec838915c13158ddfda0cf4da5865b260b9c6':
  More improvements to the display manager.
2012-08-31 15:50:36 -07:00
Jeff Brown
058ebd259d am 3b9a4160: Merge "Initial draft of high-level multi-display APIs." into jb-mr1-dev
* commit '3b9a4160c99b2375b4874ccabf92eac68be06af6':
  Initial draft of high-level multi-display APIs.
2012-08-31 15:50:32 -07:00
Jeff Brown
f83ec83891 Merge "More improvements to the display manager." into jb-mr1-dev 2012-08-31 15:49:17 -07:00
Jeff Brown
3b9a4160c9 Merge "Initial draft of high-level multi-display APIs." into jb-mr1-dev 2012-08-31 15:48:26 -07:00
Jeff Brown
4ed8fe75e1 More improvements to the display manager.
Added more complete support for logical displays with
support for mirroring, rotation and scaling.

Improved the overlay display adapter's touch interactions.

A big change here is that the display manager no longer relies
on a single-threaded model to maintain its synchronization
invariants.  Unfortunately we had to change this so as to play
nice with the fact that the window manager wants to own
the surface flinger transaction around display and surface
manipulations.  As a result, the display manager has to be able
to update displays from the context of any thread.

It would be nice to make this process more cooperative.
There are already several components competing to perform
surface flinger transactions including the window manager,
display manager, electron beam, overlay display window,
and mouse pointer.  They are not manipulating the same surfaces
but they can collide with one another when they make global
changes to the displays.

Change-Id: I04f448594241f2004f6f3d1a81ccd12c566bf296
2012-08-31 15:42:46 -07:00
Jeff Brown
a492c3a7b2 Initial draft of high-level multi-display APIs.
This patch introduces the ability to create a Context that
is bound to a Display.  The context gets its configuration and
metrics from that display and is able to provide a WindowManager
that is bound to the display.

To make it easier to use, we also add a new kind of Dialog
called a Presentation.  Presentation takes care of setting
up the context as needed and watches for significant changes
in the display configuration.  If the display is removed,
then the presentation simply dismisses itself.

Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d
2012-08-31 15:42:45 -07:00
Amith Yamasani
61f57379ca Centralize the creation of the user system directory
Environment.getUserSystemDirectory(int userId)

Use it all relevant places that was hardcoding it.
Also, wipe out the user's system directory when user is removed, otherwise old state
might be transferred to a new user.

Change-Id: I788ce9c4cf9624229e65efa7047bc0c019ccef0a
2012-08-31 15:33:21 -07:00
Dianne Hackborn
4120375d46 Remove Binder.getOrigCallingUid().
Replaced all remaining places that used it with explicit user
specification.

While doing this, I ran into stuff that was creating PendingIntent
objects (that now need to specify the explicit user they are for),
which are also posting notifications...  but have no way to specify
the user for the notification.

So the notification manager in the system process now also gets a
formal concept of a user associated with the notification, which
is passed in to all the necessary aidl calls.  I also removed the
old deprecated aidl interface for posting/cancelling notifications,
since we now always need a user supplied.

There is more work that needs to be done here, though.  For example
I think we need to be able to specify USER_ALL for a notification that
should be shown to all users (such as low storage or low battery).
Along with that, the PendingIntent creation needs to be tweaked to
be able to handle USER_CURRENT by evaluating the user at the point the
pending intent is sent.

That's for another change, however.

Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c
2012-08-31 15:11:13 -07:00
Christopher Tate
5af942d324 am fcfa228c: am 176d105d: Merge "Don\'t set the time zone under the caller\'s identity" into jb-mr1-dev
* commit 'fcfa228c4c88581d3792934e645e1048f5913017':
  Don't set the time zone under the caller's identity
2012-08-31 14:52:14 -07:00
Christopher Tate
fcfa228c4c am 176d105d: Merge "Don\'t set the time zone under the caller\'s identity" into jb-mr1-dev
* commit '176d105d2f71198966b566d36d4e856a797695c7':
  Don't set the time zone under the caller's identity
2012-08-31 14:49:43 -07:00
Christopher Tate
176d105d2f Merge "Don't set the time zone under the caller's identity" into jb-mr1-dev 2012-08-31 14:47:35 -07:00
Christopher Tate
897798225d Don't set the time zone under the caller's identity
...otherwise you crash trying to send a broadcast to all users.

Change-Id: If627eeb3eadb1052242c986fe24482d87c8fc093
2012-08-31 14:44:25 -07:00
Chet Haase
eb32a49919 Paramaterize and adjust the glyph cache sizes
Add new parameters for the texture size used for the larger, fallback caches.
Bump up the defaults in some situations.

Issue #7045164 Adjust cache sizes for manta

Change-Id: I562118ce785d7f8b6e445178878672e9709d25f2
2012-08-31 14:18:46 -07:00
Jim Miller
06ce03f57e am 6d044921: am 58a2950b: Merge "Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account unlock mechanism so the user can use email account as backup for pattern unlock - Add mechanism to support future account recovery from non-pattern screen -
* commit '6d0449214aef65d60de81c8dcdf65974245f6b18':
  Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account unlock mechanism so the user can use email account as backup for pattern unlock - Add mechanism to support future account recovery from non-pattern screen - Tune animation timing for flipping security view. - Move password field to the top of the security view - Add padding and visual feedback to navigation area button
2012-08-31 14:02:36 -07:00
Jim Miller
6d0449214a am 58a2950b: Merge "Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account unlock mechanism so the user can use email account as backup for pattern unlock - Add mechanism to support future account recovery from non-pattern screen - Tune animatio
* commit '58a2950b66f049c0d9e9f1a9fce16884f0b50e19':
  Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account unlock mechanism so the user can use email account as backup for pattern unlock - Add mechanism to support future account recovery from non-pattern screen - Tune animation timing for flipping security view. - Move password field to the top of the security view - Add padding and visual feedback to navigation area button
2012-08-31 14:00:09 -07:00
Jim Miller
58a2950b66 Merge "Lots of keyguard improvements - Fix "too many attempts" dialogs - Fix account unlock mechanism so the user can use email account as backup for pattern unlock - Add mechanism to support future account recovery from non-pattern screen - Tune animation timing for flipping security view. - Move password field to the top of the security view - Add padding and visual feedback to navigation area button" into jb-mr1-dev 2012-08-31 13:57:27 -07:00
Daniel Sandler
c89a553739 am b5ad2fc3: am 8c890f8a: Merge "Work around instability of Display.getRotation()." into jb-mr1-dev
* commit 'b5ad2fc376bec612e21a702ecae6d86ab0eca5fb':
  Work around instability of Display.getRotation().
2012-08-31 12:13:50 -07:00
Daniel Sandler
b5ad2fc376 am 8c890f8a: Merge "Work around instability of Display.getRotation()." into jb-mr1-dev
* commit '8c890f8a69ea1e6f8f7fe989a610ffe738e91866':
  Work around instability of Display.getRotation().
2012-08-31 12:09:15 -07:00
Daniel Sandler
8c890f8a69 Merge "Work around instability of Display.getRotation()." into jb-mr1-dev 2012-08-31 12:06:42 -07:00
Daniel Sandler
7f3cf9586e Work around instability of Display.getRotation().
Ensures that the navigation buttons are properly oriented
each time the screen comes on.

Bug: 7086018
Change-Id: Iac6243792a8c64001ff7409108fb892bd470e4c4
2012-08-31 14:58:13 -04:00
Sascha Prueter
3a377eb519 am 623232da: am 6beee269: am a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit '623232da927a162fc15c4d560f0d49e472926e01':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:50:40 -07:00