100213 Commits

Author SHA1 Message Date
Mathias Agopian
f798a8e8d4 fix typo introduced in SurfaceTextureClient to Surface renaming
Change-Id: Iaf1ecc9f5b83a029067b278bc15180d68a113587
2013-02-15 16:35:21 -08:00
Mathias Agopian
ceec31b7da Merge changes I5a218ca1,I853a76d9
* changes:
  Refactoring: Rename SurfaceTextureClient to Surface
  clean-up following Surface split
2013-02-15 22:08:40 +00:00
Romain Guy
aa8307b991 Merge "Remove obsolete header file" 2013-02-15 21:58:29 +00:00
Adam Powell
fdc61af16f Merge "Fix missing onSingleTapConfirmed calls in GestureDetector" 2013-02-15 21:08:07 +00:00
Mathias Agopian
5280061794 Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: I5a218ca11abeeec05e3a4c3cfc581bcc788814ea
2013-02-15 12:47:40 -08:00
Mathias Agopian
29479ebe10 clean-up following Surface split
Change-Id: I853a76d92d957ee38a36fcdd280d6407ec316987
2013-02-15 12:47:40 -08:00
Romain Guy
13ba005484 Remove obsolete header file
We now use the same mechanism to compare keys everywhere in libhwui.

Change-Id: I8b3cb25b13f4f38eb6f12aed0356f796a773617c
2013-02-15 12:47:26 -08:00
Svetoslav
c145317d0b Merge "User switch not handled properly in the accessibility manager service." 2013-02-15 20:30:17 +00:00
Svetoslav
5fec0c5ee5 User switch not handled properly in the accessibility manager service.
On user switch the transient state of the old user was not cleared
which means that when we switch back to this user the operational
state such as which event types were dispatched, what state was sent
to local managers, etc is stale. This leads to semi-updated state
and broken behavior. Now if the user becomes inactive, we are clearing
all transient state which will be recreated when the user becomes
active.

bug:8196652

Change-Id: Ie9e0d712b6d567e5074b328f1bb87afaa5395c06
2013-02-15 12:29:17 -08:00
Christopher Tate
afc43ed9a7 Merge "Full backup now saves getExternalFilesDir() content with the app data" 2013-02-15 19:38:08 +00:00
Adam Powell
eca3e6065e Fix missing onSingleTapConfirmed calls in GestureDetector
Eliminate the short period of time between the tap timeout and long
press causing onSingleTapConfirmed not to be dispatched when apps
expect.

Bug 8124095

Change-Id: I9841ab2a8eb3fee7d57e744e1c8e0e42e108d5f6
2013-02-15 11:27:02 -08:00
Christopher Tate
416c39e8d4 Full backup now saves getExternalFilesDir() content with the app data
... instead of only saving it with the enormous "shared storage" generic
data blob.  In parallel, we no longer store managed app-specific files
on external storage as part of the generic shared-storage blob.

At restore time we just go ahead and apply such files, though,
because they're a priori going to be part of an archive generated by
an older version of the platform, so that's how the data is expected
to be handled in those circumstances.

Bug 6718844

Change-Id: I4410514d368b11d74b3afe6b92d363d4115a3415
2013-02-14 18:46:53 -08:00
Michael Wright
00e592272e Merge "Fix default behavior for gamepad buttons" 2013-02-15 01:47:38 +00:00
Chris Craik
101ae3bb39 Merge "Move DisplayList to its own cpp file" 2013-02-15 00:50:52 +00:00
Jeff Sharkey
7b3745fe9a Merge "Update scrubClass() to match CoreTestRunner." 2013-02-15 00:30:52 +00:00
Victoria Lease
c69bce2e41 Merge "fix argument mismatches in Paint JNI" 2013-02-15 00:15:29 +00:00
Adam Powell
9d40d8720d Merge "Add support for shadows in TextAppearance styles" 2013-02-15 00:06:56 +00:00
Jeff Sharkey
dd86cb7caf Update scrubClass() to match CoreTestRunner.
AndroidTestCase.scrubClass() is quite aggressive, and would end up
clearing out final fields like these:

private static final byte[] TEST_DATA = new byte[1];

This change updates the logic to match InstrumentationCoreTestRunner
in the cleanup() method.

Change-Id: Iba455ea35b2628473ce0ccc1431ab47c1caad45c
2013-02-14 16:04:37 -08:00
Jeff Sharkey
07aef1c78a Merge "Remove throttle settings, no longer needed." 2013-02-15 00:02:17 +00:00
Victoria Lease
b61fb10fe4 fix argument mismatches in Paint JNI
Paint.getTextRunCursor() no longer has a "flags" argument on the Java
side. The native side, however, still had the argument, and was being
called with misaligned arguments, causing all manner of madcap fun.

Also, the version of Paint.getTextRunCursor() that took String as an
argument needed to lose the "flags" argument, as well, to prevent an
infinite loop in the CharSequence version of the function, which was
supposed to be calling the String version but was actually calling
itself.

Bug: 8201224
Change-Id: Iad0dabaf81185f29a082566cc64590f2ba9bc31c
2013-02-14 15:58:46 -08:00
Jeff Sharkey
7ee9f63628 Merge "Expose longer statfs values, add derived values." 2013-02-14 23:46:01 +00:00
Chris Craik
0776a60693 Move DisplayList to its own cpp file
Change-Id: Ic9c1bbf4673ad5c756f3908b2ab7e699edd6a119
2013-02-14 15:40:03 -08:00
Mathias Agopian
bfcae35959 Surface doens't have an identity anymore
Change-Id: Ic62c0f6ba9aae9b67335a2029a5de1caa3fc5b94
2013-02-14 15:39:04 -08:00
Mathias Agopian
30d7ab9a10 fix docs build
Change-Id: I9819693cfa9ad5b8b15b62eab60ddd35a53c5531
2013-02-14 15:39:04 -08:00
Craig Mautner
22ee9aad83 Merge "Reset and reuse Iterators and don't new() one." 2013-02-14 22:22:35 +00:00
Adam Powell
ac91df87fc Add support for shadows in TextAppearance styles
Allow developers to specify shadow properties for text in a
TextAppearance, not just in direct TextView attributes.

Change-Id: I873fbaf2c26683895e1eea2d02b5d9b17ca333d0
2013-02-14 13:48:47 -08:00
Kenny Root
0786207be5 am dc7b3e3b: am 9657ba0e: Merge "KeyStore: stop using state()"
# Via Android Git Automerger (1) and others
* commit 'dc7b3e3b6e1aa3f347c7d843ee453688c4d90e29':
  KeyStore: stop using state()
2013-02-14 12:50:34 -08:00
Craig Mautner
343ad71d7c Reset and reuse Iterators and don't new() one.
Save time and memory by resuing permanent mTmpXxxIterator for
AllWindowsIterator and AppTokenIterator.

Change-Id: I2e5143364651d9471e9e70eee514d3f45d595468
2013-02-14 12:48:53 -08:00
Kenny Root
dc7b3e3b6e am 9657ba0e: Merge "KeyStore: stop using state()"
# Via Gerrit Code Review (1) and Kenny Root (1)
* commit '9657ba0edc8bab5a36c26bcd94366149aed63331':
  KeyStore: stop using state()
2013-02-14 12:48:18 -08:00
Mathias Agopian
58a1ca6642 Merge "split Surface in two classes: SurfaceControl and Surface" 2013-02-14 20:25:08 +00:00
Mathias Agopian
a41b23d55d Merge "get rid of Surface.getIdentity()" 2013-02-14 20:22:33 +00:00
Mathias Agopian
3866f0d581 split Surface in two classes: SurfaceControl and Surface
SurfaceControl is the window manager side; it can
control the attributes of a surface but cannot push buffers
to it. Surface on the other hand is the application (producer)
side and is used to push buffers to the surface.

Change-Id: Ib6754c968924e87e8dd02a2073c7a447f729f4dd
2013-02-14 12:19:11 -08:00
Kenny Root
9657ba0edc Merge "KeyStore: stop using state()" 2013-02-14 20:18:09 +00:00
Dirk Dougherty
dfb306b2bc am f16de3f3: am 0f4a378d: am da9ac596: am 9a93e079: am f857c51d: Doc change: add notice for iab v3 subscriptions launch.
# Via Android Git Automerger (4) and Dirk Dougherty (1)
* commit 'f16de3f3f622a04d48cd595c76165ac60a3efcfa':
  Doc change: add notice for iab v3 subscriptions launch.
2013-02-14 12:11:30 -08:00
Dirk Dougherty
f16de3f3f6 am 0f4a378d: am da9ac596: am 9a93e079: am f857c51d: Doc change: add notice for iab v3 subscriptions launch.
# Via Android Git Automerger (3) and Dirk Dougherty (1)
* commit '0f4a378dc7da59a4fe45c111c09f52696dbb6476':
  Doc change: add notice for iab v3 subscriptions launch.
2013-02-14 12:09:16 -08:00
Dirk Dougherty
0f4a378dc7 am da9ac596: am 9a93e079: am f857c51d: Doc change: add notice for iab v3 subscriptions launch.
# Via Android Git Automerger (2) and Dirk Dougherty (1)
* commit 'da9ac596a171ff46a241f52a89015a0090e9ba18':
  Doc change: add notice for iab v3 subscriptions launch.
2013-02-14 12:07:39 -08:00
Kenny Root
b9594ce9eb KeyStore: stop using state()
Change-Id: I721974fd95f8d1ab06a3fd1bbb4c9b4d9d1d7752
2013-02-14 12:06:51 -08:00
Dirk Dougherty
da9ac596a1 am 9a93e079: am f857c51d: Doc change: add notice for iab v3 subscriptions launch.
# Via Android Git Automerger (1) and Dirk Dougherty (1)
* commit '9a93e079791b7a94ca62a08963ff18951429700e':
  Doc change: add notice for iab v3 subscriptions launch.
2013-02-14 12:05:49 -08:00
Dirk Dougherty
9a93e07979 am f857c51d: Doc change: add notice for iab v3 subscriptions launch.
# Via Dirk Dougherty
* commit 'f857c51d77d2199cfb3351e0e1c93a55e8564dc4':
  Doc change: add notice for iab v3 subscriptions launch.
2013-02-14 12:03:35 -08:00
Dirk Dougherty
f857c51d77 Doc change: add notice for iab v3 subscriptions launch.
Change-Id: I3b1365cee219ab7fb8ac27cf333609986a947b3c
2013-02-14 11:47:36 -08:00
Craig Mautner
3beb8757ac Merge "Remove AppWindowToken lists." 2013-02-14 19:40:23 +00:00
Russell Brenner
b3d71a106e Merge "Adjust captive portal test for setup wizard" 2013-02-14 19:31:46 +00:00
Russell Brenner
108da0cfa4 Adjust captive portal test for setup wizard
During setup wizard, perform captive portal test without the typical
delays.

Change-Id: If596948e732966817aae6201440e87e19be0c2f8
2013-02-14 11:02:10 -08:00
Craig Mautner
496bdbba30 Remove AppWindowToken lists.
No longer necessary.

Change-Id: I0d2b96f69152fb93b6ba56f02ce9693ff1370cbc
2013-02-14 10:56:11 -08:00
Romain Guy
10c0aa246d Merge "Implement support for drawBitmapMesh's colors array" 2013-02-14 18:51:28 +00:00
Craig Mautner
45dc56f3cc Merge "Fix build." 2013-02-14 18:36:10 +00:00
Craig Mautner
ee006a14b2 Fix build.
Change-Id: I6fb00530536e5203d89805141792289ed7c1d8e3
2013-02-14 10:35:32 -08:00
Craig Mautner
534d136aa6 Merge "Remove unused App methods." 2013-02-14 18:13:26 +00:00
Jeff Sharkey
ead9389fd2 Remove throttle settings, no longer needed.
Since the throttle feature has been removed, its configuration
settings are no longer needed.

Change-Id: Iaf3cb74a372d43d580f42566d21843a2eb653d3e
2013-02-14 09:52:42 -08:00
Robert Greenwalt
fd869887c3 Merge "Fix a permissions probem in ConnectivityManager" 2013-02-14 16:43:33 +00:00