84330 Commits

Author SHA1 Message Date
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
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
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
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
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
623232da92 am 6beee269: am a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit '6beee2694c523c39ee9200508996e64fa6e64348':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:48:27 -07:00
Sascha Prueter
6beee2694c am a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit 'a3503f2688c69b49a309763d8da7e7c04327d6d7':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:46:13 -07:00
Sascha Prueter
a3503f2688 am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit '6ee6615d8f923a68021d04dc06b20d72c3f8498a':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:43:59 -07:00
Sascha Prueter
6ee6615d8f Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev 2012-08-31 11:40:52 -07:00
Sascha Prueter
f14f01cc26 Revert "Update Back softkey icon Bug: 6020915"
This reverts commit 962daf9b1c4b12aff68a137472b6a7f4db123c65

Change-Id: If60099643336e35fe5bf7dcbf68a419bcd7ebae3
2012-08-31 11:39:44 -07:00
Adam Powell
2556b4ea1f am 9ecd02bf: am b9445141: (-s ours) am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev
* commit '9ecd02bfb9265f0849c0060df3dbe777117ae04e':
  DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
2012-08-31 11:32:47 -07:00
Adam Powell
9ecd02bfb9 am b9445141: (-s ours) am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev
* commit 'b94451411bbdea42eb61ece08c1d759e0b1bf177':
  DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
2012-08-31 11:29:45 -07:00
Adam Powell
df9af39a54 am 89bc8636: Merge "Add an OnDismissListener to AutoCompleteTextView" into jb-mr1-dev
* commit '89bc8636c5aeedd2421ffa4f903e783d4a2a993c':
  Add an OnDismissListener to AutoCompleteTextView
2012-08-31 11:29:36 -07:00
Adam Powell
b94451411b am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev
* commit 'f1faf7743f39f56cc57d6f2a520e5c8ecf4e58b5':
  DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
2012-08-31 11:27:31 -07:00
Adam Powell
89bc8636c5 Merge "Add an OnDismissListener to AutoCompleteTextView" into jb-mr1-dev 2012-08-31 11:26:54 -07:00
Adam Powell
f1faf7743f Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev 2012-08-31 11:24:30 -07:00
Adam Powell
39263601cc DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
Bug 7088494

Change-Id: I723e9b77f0d0473f9d769e53aaa568c4aaac90aa
2012-08-31 11:16:11 -07:00
Adam Powell
011e0285b2 am f4247c25: Merge "GestureDetector - Mask action when checking POINTER_UP" into jb-mr1-dev
* commit 'f4247c250dd0ce50c8fa4e59bad33d0ba9b68692':
  GestureDetector - Mask action when checking POINTER_UP
2012-08-31 11:15:18 -07:00
Adam Powell
f4247c250d Merge "GestureDetector - Mask action when checking POINTER_UP" into jb-mr1-dev 2012-08-31 11:13:16 -07:00
Adam Powell
f90165aeda GestureDetector - Mask action when checking POINTER_UP
Bug 7088494

Change-Id: I723e9b77f0d0473f9d769e53aaa568c4aaac90aa
2012-08-31 11:11:39 -07:00
Jeff Brown
68a6f2a737 am 00453e7a: Merge "Tweak overlay display adapter scaling." into jb-mr1-dev
* commit '00453e7a0182b50cf01e65c97650b526284fe084':
  Tweak overlay display adapter scaling.
2012-08-31 00:43:56 -07:00
Jeff Brown
00453e7a01 Merge "Tweak overlay display adapter scaling." into jb-mr1-dev 2012-08-31 00:41:15 -07:00
Baligh Uddin
09dc35ee3b am 0cc2e9b2: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '0cc2e9b2e9ff3697388c966d658c9dc5a7293fda':
  Import translations. DO NOT MERGE
2012-08-30 22:19:30 -07:00
Baligh Uddin
0cc2e9b2e9 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-30 22:16:42 -07:00
Jim Miller
258341c377 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

Fixes bugs 7088482, 7088631

Change-Id: I23099feae3b7446ec291d8f860601bfc12f9edd8
2012-08-30 21:40:44 -07:00
rich cannings
d3fe930da9 am a2875f48: Merge "Notify verifiers that verification is complete" into jb-mr1-dev
* commit 'a2875f481bc40fb5c7e5ae2d475dfb6d557294c0':
  Notify verifiers that verification is complete
2012-08-30 20:36:56 -07:00
rich cannings
a2875f481b Merge "Notify verifiers that verification is complete" into jb-mr1-dev 2012-08-30 20:35:08 -07:00
Chet Haase
983f71da9c am 6cab6005: Merge "Make detachViewFromParent more robust" into jb-mr1-dev
* commit '6cab6005a8746bdf86fd98a2a004f08d9473a445':
  Make detachViewFromParent more robust
2012-08-30 19:56:36 -07:00
Chet Haase
6cab6005a8 Merge "Make detachViewFromParent more robust" into jb-mr1-dev 2012-08-30 19:54:32 -07:00
Adam Powell
c8f2fcb535 am b2fc49bc: Merge "Integrate new assets from UX that include layout bounds." into jb-mr1-dev
* commit 'b2fc49bceb13f8584e44c07a6416f1cbc7990006':
  Integrate new assets from UX that include layout bounds.
2012-08-30 18:28:34 -07:00
Adam Powell
b2fc49bceb Merge "Integrate new assets from UX that include layout bounds." into jb-mr1-dev 2012-08-30 18:25:39 -07:00
Wink Saville
c25494a4a1 am a559f882: am 0e90f738: am f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"
* commit 'a559f8826f1f1f35a33fc86e30b8b2bf9a2267ba':
  Fix code problem in writePidDns
2012-08-30 18:18:35 -07:00
Wink Saville
a559f8826f am 0e90f738: am f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"
* commit '0e90f738aa82d9b30e6b4f43cd321e3f9cad2fc1':
  Fix code problem in writePidDns
2012-08-30 18:16:30 -07:00
Wink Saville
0e90f738aa am f5311768: am 0dab1a19: Merge "Fix code problem in writePidDns"
* commit 'f5311768e3dfdc6be60288363da4f120b0c88e28':
  Fix code problem in writePidDns
2012-08-30 18:14:15 -07:00
Wink Saville
f5311768e3 am 0dab1a19: Merge "Fix code problem in writePidDns"
* commit '0dab1a198e19c9993897b031d425a61a3bfec562':
  Fix code problem in writePidDns
2012-08-30 18:11:30 -07:00
Adam Powell
dc2cf24ecf Integrate new assets from UX that include layout bounds.
Change-Id: I682b3f693d8eedb741ea689f56363532cde32132
2012-08-30 18:06:38 -07:00
Adam Powell
780c491fb9 Add an OnDismissListener to AutoCompleteTextView
Bug 4551310

Change-Id: I702301ad3360828ec6637b6c09789e00d9661271
2012-08-30 17:46:11 -07:00
Chet Haase
ca479d468b Make detachViewFromParent more robust
Calling detachViewFromParent() without calling remove or attach in the
same drawing frame could, in some situations, cause a crash in the native
DisplayList code. detach/attach are intended to be very lightweight and do
not manage the native DisplayList content the same way that add/remove do.
Nor do they cause an invalidate() or requestLayout(), which would cause the
native structures to get recreated appropriately.

This fix makes this process more robust in two ways:
- DisplayLists should not get finalized (therefore destroying their native
structures) when there are still parent DisplayLists referring to them
(each DisplayList keeps references to its child DisplayLists). This will
prevent the native crash associated with unmatched detach*() calls.
- The docs for detach/attach have been enhanced to make it easier for
developers to understand how to use these methods more correctly and
successfully.

Issue #7064818 detachViewFromParent() should be more robust

Change-Id: I53befc04d5d58c225060f397725566d470488c9b
2012-08-30 17:36:54 -07:00