OSDN Git Service

android-x86/frameworks-base.git
11 years agoAndroidKeyStore: Add encrypted flag
Kenny Root [Wed, 10 Apr 2013 18:30:58 +0000 (11:30 -0700)]
AndroidKeyStore: Add encrypted flag

Add the encrypted flag for the KeyPairGenerator and the KeyStore so that
applications can choose to allow entries when there is no lockscreen.

Bug: 8122243
Change-Id: Ia802afe965f2377ad3f282dab8c512388c705850

11 years agokeystore: Add flag for blobs to be unencrypted
Kenny Root [Wed, 10 Apr 2013 17:37:55 +0000 (10:37 -0700)]
keystore: Add flag for blobs to be unencrypted

In order to let apps use keystore more productively, make the blob
encryption optional. As more hardware-assisted keystores (i.e., hardware
that has a Keymaster HAL) come around, encrypting blobs start to make
less sense since the thing it's encrypting is usually a token and not
any raw key material.

Bug: 8122243
Change-Id: If9af0d992d68edec006e630c687df3d03a7c9608

11 years agoMerge "Make BluetoothGattServer.close() public" into jb-mr2-dev
Matthew Xie [Thu, 11 Apr 2013 06:07:33 +0000 (06:07 +0000)]
Merge "Make BluetoothGattServer.close() public" into jb-mr2-dev

11 years agoMerge "Clean up USAGE_SHARED and add syncing for USAGE_SHARED." into jb-mr2-dev
Tim Murray [Thu, 11 Apr 2013 04:50:31 +0000 (04:50 +0000)]
Merge "Clean up USAGE_SHARED and add syncing for USAGE_SHARED." into jb-mr2-dev

11 years agoam bc80d99b: am 55aa87b2: am bd6b22d8: am 0cdbd5a5: am 1c2dea05: add meta tags to...
Scott Main [Thu, 11 Apr 2013 02:30:08 +0000 (19:30 -0700)]
am bc80d99b: am 55aa87b2: am bd6b22d8: am 0cdbd5a5: am 1c2dea05: add meta tags to the rest of the training classes

* commit 'bc80d99bd9bbf747b42137a24d63a17f71e276d2':
  add meta tags to the rest of the training classes

11 years agoam 55aa87b2: am bd6b22d8: am 0cdbd5a5: am 1c2dea05: add meta tags to the rest of...
Scott Main [Thu, 11 Apr 2013 02:25:59 +0000 (19:25 -0700)]
am 55aa87b2: am bd6b22d8: am 0cdbd5a5: am 1c2dea05: add meta tags to the rest of the training classes

* commit '55aa87b2b36359441c3acb4222980fda8ba2c980':
  add meta tags to the rest of the training classes

11 years agoam bd6b22d8: am 0cdbd5a5: am 1c2dea05: add meta tags to the rest of the training...
Scott Main [Thu, 11 Apr 2013 02:22:46 +0000 (19:22 -0700)]
am bd6b22d8: am 0cdbd5a5: am 1c2dea05: add meta tags to the rest of the training classes

* commit 'bd6b22d8088df8d2c98e4d8f289ce0024164a1ad':
  add meta tags to the rest of the training classes

11 years agoMerge "Don't sync from adapters that haven't opted in to restricted accounts" into...
Amith Yamasani [Thu, 11 Apr 2013 02:21:37 +0000 (02:21 +0000)]
Merge "Don't sync from adapters that haven't opted in to restricted accounts" into jb-mr2-dev

11 years agoam 0cdbd5a5: am 1c2dea05: add meta tags to the rest of the training classes
Scott Main [Thu, 11 Apr 2013 02:19:14 +0000 (19:19 -0700)]
am 0cdbd5a5: am 1c2dea05: add meta tags to the rest of the training classes

* commit '0cdbd5a5b2b81cb5138ee62526689c2046b2a149':
  add meta tags to the rest of the training classes

11 years agoam 1c2dea05: add meta tags to the rest of the training classes
Scott Main [Thu, 11 Apr 2013 02:15:39 +0000 (19:15 -0700)]
am 1c2dea05: add meta tags to the rest of the training classes

* commit '1c2dea05492b23aa8f19c93fccedbe390e100297':
  add meta tags to the rest of the training classes

11 years agoMake BluetoothGattServer.close() public
Andre Eisenbach [Fri, 5 Apr 2013 16:34:11 +0000 (09:34 -0700)]
Make BluetoothGattServer.close() public

This functino is needed for applications to un-register from the
Bluetooth stack.
bug 8591003

Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c

11 years agoadd meta tags to the rest of the training classes
Scott Main [Thu, 11 Apr 2013 01:59:29 +0000 (18:59 -0700)]
add meta tags to the rest of the training classes

Change-Id: I4db0acee547b198db754eaf0e78062614ac6f59a

11 years agoFix a security check in getting app restrictions
Amith Yamasani [Thu, 11 Apr 2013 01:40:51 +0000 (18:40 -0700)]
Fix a security check in getting app restrictions

Change-Id: I02fbab8765d3f8646d0fe62ee867566d1d14707d

11 years agoMerge "Show an error dialog when account type is requested on a limited user" into...
Amith Yamasani [Thu, 11 Apr 2013 00:27:49 +0000 (00:27 +0000)]
Merge "Show an error dialog when account type is requested on a limited user" into jb-mr2-dev

11 years agoMerge "Fix missing clock in keyguard" into jb-mr2-dev
Jim Miller [Thu, 11 Apr 2013 00:16:39 +0000 (00:16 +0000)]
Merge "Fix missing clock in keyguard" into jb-mr2-dev

11 years agoDon't sync from adapters that haven't opted in to restricted accounts
Amith Yamasani [Wed, 10 Apr 2013 23:58:19 +0000 (16:58 -0700)]
Don't sync from adapters that haven't opted in to restricted accounts

SyncManager should not allow syncing of data from apps that haven't opted
in to viewing restricted accounts in limited users.

Override getIsSyncable() to check if the sync adapter has the manifest
entry to enable restricted accounts of that account type. Return the default
isSyncable state if the adapter has opted in, otherwise return 0 for false.

Bug: 8566533
Change-Id: I3777f1e4fdb8debe1724ab083272e2d9bd2e63f2

11 years agoMerge "Implicitly enable system apps when updates installed" into jb-mr2-dev
Christopher Tate [Wed, 10 Apr 2013 23:58:37 +0000 (23:58 +0000)]
Merge "Implicitly enable system apps when updates installed" into jb-mr2-dev

11 years agoMerge "Debug logging improvement." into jb-mr2-dev
Craig Mautner [Wed, 10 Apr 2013 23:54:28 +0000 (23:54 +0000)]
Merge "Debug logging improvement." into jb-mr2-dev

11 years agoMerge "Fix for bug 8574856 - bad metrics in Roboto Italic" into jb-mr2-dev
Raph Levien [Wed, 10 Apr 2013 23:24:17 +0000 (23:24 +0000)]
Merge "Fix for bug 8574856 - bad metrics in Roboto Italic" into jb-mr2-dev

11 years agoFix missing clock in keyguard
Jim Miller [Wed, 10 Apr 2013 23:10:06 +0000 (16:10 -0700)]
Fix missing clock in keyguard

This fixes a bug where the clock sometimes doesn't show due to the
alpha values not being reset when the widget page order changes
due to removing a widget.

Fixes bug 8545025.

Change-Id: I17c531af4c844647b3262fcf56faa84fff8bafc5

11 years agoMerge "Make MediaRouter ignore remembered wifi displays when wifi display is off...
Adam Powell [Wed, 10 Apr 2013 23:08:47 +0000 (23:08 +0000)]
Merge "Make MediaRouter ignore remembered wifi displays when wifi display is off" into jb-mr2-dev

11 years agoMake MediaRouter ignore remembered wifi displays when wifi display is off
Adam Powell [Wed, 10 Apr 2013 22:30:51 +0000 (15:30 -0700)]
Make MediaRouter ignore remembered wifi displays when wifi display is off

Bug 8417329

Change-Id: Ica9bf1b250be4b72ba32e63d7eb1a6ff0b727961

11 years agoMerge "Send joystick key repeat messages to correct handler" into jb-mr2-dev
Michael Wright [Wed, 10 Apr 2013 23:04:13 +0000 (23:04 +0000)]
Merge "Send joystick key repeat messages to correct handler" into jb-mr2-dev

11 years agoMerge "Obfuscate any phone numbers that pass through the event log." into jb-mr2-dev
Santos Cordon [Wed, 10 Apr 2013 22:53:08 +0000 (22:53 +0000)]
Merge "Obfuscate any phone numbers that pass through the event log." into jb-mr2-dev

11 years agoShow an error dialog when account type is requested on a limited user
Amith Yamasani [Wed, 10 Apr 2013 20:37:18 +0000 (13:37 -0700)]
Show an error dialog when account type is requested on a limited user

This covers the scenario where an app doesn't find an account of the
required type and requests the account manager to add one of that
type.

Bug: 8537648
Change-Id: I4d9c8842c2d90aa668f16034d3db007dc61714b8

11 years agoDebug logging improvement.
Craig Mautner [Wed, 10 Apr 2013 22:33:26 +0000 (15:33 -0700)]
Debug logging improvement.

Previously a change to a surface would be logged with the old value
and you had to scroll through the logs to see what the new value
was. This change reflects the change to the surface immediately.

Change-Id: I2a6566466287922d08f4ce2329c61aa46d692ee1

11 years agoGPS Hardware geofencing.
Jaikumar Ganesh [Wed, 3 Apr 2013 19:22:18 +0000 (12:22 -0700)]
GPS Hardware geofencing.

Add support for doing geofencing in hardware.

Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0

11 years agoSend joystick key repeat messages to correct handler
Michael Wright [Wed, 10 Apr 2013 22:20:56 +0000 (15:20 -0700)]
Send joystick key repeat messages to correct handler

Change-Id: I7f8dbe21c9088553ad2c5efe70585f516ab78141

11 years agoMerge "Permit null adapters in Spinners" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 22:17:31 +0000 (22:17 +0000)]
Merge "Permit null adapters in Spinners" into jb-mr2-dev

11 years agoFix for bug 8574856 - bad metrics in Roboto Italic
Raph Levien [Wed, 10 Apr 2013 21:51:06 +0000 (14:51 -0700)]
Fix for bug 8574856 - bad metrics in Roboto Italic

The last update to Roboto Italic has a stray point in delta.alt with a
y value of -11299. This causes metrics to give too much vertical space
in some cases.

This is a "hot patch" fix, with the stray point deleted using TTX. We
want to fix the font upstream as well, but this should fix things in
the mean time.

Change-Id: I08edae96f69753b2d46dfc3fd1cc3b9176dcb5ad

11 years agoMerge "Don't draw synchronously in onResume()" into jb-mr2-dev
Mathias Agopian [Wed, 10 Apr 2013 21:40:43 +0000 (21:40 +0000)]
Merge "Don't draw synchronously in onResume()" into jb-mr2-dev

11 years agoam 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL...
Joe Fernandez [Wed, 10 Apr 2013 21:30:17 +0000 (14:30 -0700)]
am 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '0b6162e148db58ff8f8a5f0a3422933cd0005216':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide...
Joe Fernandez [Wed, 10 Apr 2013 21:28:15 +0000 (14:28 -0700)]
am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '3f156d7331a0932755cea431b5c681f451055fdf':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 610432...
Joe Fernandez [Wed, 10 Apr 2013 21:24:51 +0000 (14:24 -0700)]
am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '12ee56aaad5614e010edd24f41654b6ab135492c':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb...
Joe Fernandez [Wed, 10 Apr 2013 21:22:36 +0000 (14:22 -0700)]
am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '5f27b4860b67ac35b8089c244c89832689a8297a':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoam 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
Joe Fernandez [Wed, 10 Apr 2013 21:20:31 +0000 (14:20 -0700)]
am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

* commit '53bbb4ff4970c52619a78c54da6356f2b5aeb2a7':
  docs: OpenGL Dev Guide, fix bug: 6104328

11 years agoMerge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
Joe Fernandez [Wed, 10 Apr 2013 21:17:21 +0000 (21:17 +0000)]
Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs

11 years agoMerge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats...
Dianne Hackborn [Wed, 10 Apr 2013 21:15:15 +0000 (21:15 +0000)]
Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev

11 years agoMerge "Stop marking gamepads as keyboards" into jb-mr2-dev
Michael Wright [Wed, 10 Apr 2013 21:14:27 +0000 (21:14 +0000)]
Merge "Stop marking gamepads as keyboards" into jb-mr2-dev

11 years agoMerge "Instrument views inflation in systrace" into jb-mr2-dev
Romain Guy [Wed, 10 Apr 2013 21:07:09 +0000 (21:07 +0000)]
Merge "Instrument views inflation in systrace" into jb-mr2-dev

11 years agoFix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
Dianne Hackborn [Wed, 10 Apr 2013 19:50:12 +0000 (12:50 -0700)]
Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats

Bluetooth GID was wrong and pointless and dumb and now gone.

Change-Id: Ibde563ef0c10c6d316428e1e683b013005b934d4

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Wed, 10 Apr 2013 19:36:55 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoDon't draw synchronously in onResume()
Mathias Agopian [Wed, 10 Apr 2013 19:33:15 +0000 (12:33 -0700)]
Don't draw synchronously in onResume()

this could cause a dead-lock if the applicaltion's draw
implementation blocks until something happenson the main
ui thread.

note: we're still doing this synchronous draw in onWindowResize() because
that's what the previous implementation did. Technically, it has the
same problem.

Bug: 8586305
Change-Id: I782568289cc9419346aeea73775d86faa28b3058

11 years agoSkip apps without launch intent.
Maxim Siniavine [Wed, 10 Apr 2013 18:57:57 +0000 (11:57 -0700)]
Skip apps without launch intent.

If an app from the apk cannot be launched then skip it in compatibility
test, rather than generate a null pointer exception.

Change-Id: I252031f249bfe25282b10394889ab8c5506cabcf

11 years agoMerge "Make download manager tests more reliable." into jb-mr2-dev
Maxim Siniavine [Wed, 10 Apr 2013 18:47:28 +0000 (18:47 +0000)]
Merge "Make download manager tests more reliable." into jb-mr2-dev

11 years agoInstrument views inflation in systrace
Romain Guy [Wed, 10 Apr 2013 18:42:44 +0000 (11:42 -0700)]
Instrument views inflation in systrace

Change-Id: If3cd80bc430893c701432f165b4c1f5943a4143c

11 years agoam 7104fda4: am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more...
Scott Main [Wed, 10 Apr 2013 18:40:15 +0000 (11:40 -0700)]
am 7104fda4: am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '7104fda428133e9ddfd859644b7cc6bef7479c4d':
  add a little more information to hierarchy view intro

11 years agoMerge "Add GC thread to RSGL." into jb-mr2-dev
Tim Murray [Wed, 10 Apr 2013 18:37:34 +0000 (18:37 +0000)]
Merge "Add GC thread to RSGL." into jb-mr2-dev

11 years agoam 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information...
Scott Main [Wed, 10 Apr 2013 18:36:30 +0000 (11:36 -0700)]
am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '915ece10b42d6f45ce9b7317fe94f3e845403ee1':
  add a little more information to hierarchy view intro

11 years agoam 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy...
Scott Main [Wed, 10 Apr 2013 18:31:37 +0000 (11:31 -0700)]
am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '33702b8fd66b74fc291a96659327b3bdd4e81ba0':
  add a little more information to hierarchy view intro

11 years agoPermit null adapters in Spinners
Adam Powell [Wed, 10 Apr 2013 18:27:08 +0000 (11:27 -0700)]
Permit null adapters in Spinners

Bug 8538144

Change-Id: I83f0ae78ce15f46827fb721cd0df1972b7d9d198

11 years agoAdd GC thread to RSGL.
Tim Murray [Wed, 10 Apr 2013 18:19:54 +0000 (11:19 -0700)]
Add GC thread to RSGL.

bug 8585185

Change-Id: I06df29c3be831d6cd53fa8913ba3731f29c137d1

11 years agoam 09810499: am 26a5305f: add a little more information to hierarchy view intro
Scott Main [Wed, 10 Apr 2013 18:14:14 +0000 (11:14 -0700)]
am 09810499: am 26a5305f: add a little more information to hierarchy view intro

* commit '09810499650868eeaf3eff8fbd7cb8d538d75bf9':
  add a little more information to hierarchy view intro

11 years agoam 26a5305f: add a little more information to hierarchy view intro
Scott Main [Wed, 10 Apr 2013 18:10:23 +0000 (11:10 -0700)]
am 26a5305f: add a little more information to hierarchy view intro

* commit '26a5305f6638ccb221473866ae6188a0e34111f3':
  add a little more information to hierarchy view intro

11 years agoMerge "Fix Contacts animation jank" into jb-mr2-dev
Chet Haase [Wed, 10 Apr 2013 17:48:53 +0000 (17:48 +0000)]
Merge "Fix Contacts animation jank" into jb-mr2-dev

11 years agoMerge "Reduce duration of rotation xfade animation." into jb-mr2-dev
Dianne Hackborn [Wed, 10 Apr 2013 17:48:20 +0000 (17:48 +0000)]
Merge "Reduce duration of rotation xfade animation." into jb-mr2-dev

11 years agoMerge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev
Stephen Hines [Wed, 10 Apr 2013 17:17:50 +0000 (17:17 +0000)]
Merge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev

11 years agoadd a little more information to hierarchy view intro
Scott Main [Wed, 10 Apr 2013 16:51:41 +0000 (09:51 -0700)]
add a little more information to hierarchy view intro

Change-Id: I19f31a098d43e6bfcd575585732df5ec26f9bd2d

11 years agoMerge "Handle seek requests in AudioService" into jb-mr2-dev
Jean-Michel Trivi [Wed, 10 Apr 2013 16:29:18 +0000 (16:29 +0000)]
Merge "Handle seek requests in AudioService" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 10 Apr 2013 16:08:43 +0000 (09:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: I82df70ed91e543b19e8c8b0ed5002cecec5e293d
Auto-generated-cl: translation import

11 years agoFix Contacts animation jank
Chet Haase [Wed, 10 Apr 2013 14:43:29 +0000 (07:43 -0700)]
Fix Contacts animation jank

The last frame of an animation stays stuck on the screen for a couple of frames.
Specifically, the "Quick Contact" animation that animates the picture
closed (fades/scales it away) animates all the way to the end... then hangs there
briefly before being taken down.

The problem is a rendering bug where we correctly detect that a DisplayList
has nothing to draw (since the last frame is completely transparent, alpha==0),
but incorrectly ignore the fact that we cleared the transparent-background
window prior to not-drawing that DisplayList. When we detect that there's
nothing to draw, we don't bother swapping buffers. So even though we drew
the right thing (clearing the buffer), we didn't actually post the buffer to the
screen.

This change factors in both the clear and the draw to decide when to swap buffers.

Issue #8564865 Quick contact close animation jank redux

Change-Id: Ib922cff88a94f025b62f7461c1a29e96fe454838

11 years agoMerge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev
Derek Sollenberger [Wed, 10 Apr 2013 12:11:14 +0000 (12:11 +0000)]
Merge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev

11 years agoRewrite touch navigation dpad synthesis.
Jeff Brown [Wed, 10 Apr 2013 08:03:19 +0000 (01:03 -0700)]
Rewrite touch navigation dpad synthesis.

The new implementation more accurately tracks the velocity
of flings and takes care to avoid obvious discontinuities.
The main goal is for a fling to appear to be a linear
extension of the movement already in progress.  The minimum
fling velocity is set to ensure that flings appear to be
fairly smooth despite being discretized.

Use sequences of repeated key events instead of individual
down/up events to represent continuous motions in one
direction which can be helpful for stopping flings at boundaries
such as when flinging the cursor position within a text view.

Compute the movement thresholds based on the physical
size of the touch pad, if known.  If not known, we assume a
nominal size.

Support stopping flings with a tap just like we do for
normal touch events elsewhere in the framework.

Moved the detection of ASSIST swipes into the InputReader
where it belongs.  These swipes must be detected globally
to ensure consistent behavior across the all applications.

Added a custom protocol in EventHub to enable input device
drivers to override the timestamp of the following events
in a packet.  This change enables input device drivers
that have a better idea of when an input event was actually
generated to pass this information to the input system.
Particularly useful with uinput.

Bug: 8583760
Change-Id: I8ef4e827804786d549cfaa00793a2b9dd0fda465

11 years agoAdd touchnavigation to input debugging command.
Jeff Brown [Wed, 10 Apr 2013 03:13:12 +0000 (20:13 -0700)]
Add touchnavigation to input debugging command.

Bug: 8583760
Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558

11 years agoSplit up the event synthesis code by source.
Jeff Brown [Wed, 10 Apr 2013 00:46:25 +0000 (17:46 -0700)]
Split up the event synthesis code by source.

The goal is to better encapsulate this code to make it easier
to maintain and to facilitate some upcoming changes.

Some of the variables have been renamed but the logic is unchanged.

Bug: 8583760
Change-Id: I45501f7dabebcb938e42c386291d615d088a4c8c

11 years agoDefer RS cache creation until a ScriptC is built.
Stephen Hines [Wed, 10 Apr 2013 06:51:56 +0000 (23:51 -0700)]
Defer RS cache creation until a ScriptC is built.

Bug: 8582926
Change-Id: If017f41382f023f8f6ddd78ba198402d427c95f8

11 years agoMerge "Fix docs with deprecated resize1D" into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 05:17:29 +0000 (05:17 +0000)]
Merge "Fix docs with deprecated resize1D" into jb-mr2-dev

11 years agoMerge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:16:14 +0000 (05:16 +0000)]
Merge "Add liblog" into jb-mr2-dev

11 years agoFix docs with deprecated resize1D
Jason Sams [Wed, 10 Apr 2013 05:08:40 +0000 (22:08 -0700)]
Fix docs with deprecated resize1D

Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 04:54:12 +0000 (21:54 -0700)]
Add liblog

Bug: 8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f

11 years agoMerge "Implement RS GC worker thread." into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 04:21:01 +0000 (04:21 +0000)]
Merge "Implement RS GC worker thread." into jb-mr2-dev

11 years agoMerge "Cleanup Allocation and add 3D copies." into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 04:19:13 +0000 (04:19 +0000)]
Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev

11 years agoMerge "Integrate inverted menu panel assets" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 02:30:32 +0000 (02:30 +0000)]
Merge "Integrate inverted menu panel assets" into jb-mr2-dev

11 years agoIntegrate inverted menu panel assets
Adam Powell [Wed, 10 Apr 2013 02:18:50 +0000 (19:18 -0700)]
Integrate inverted menu panel assets

Add assets for menu panels when holo menus appear above their anchor
rather than below.

Bug 7049080

Change-Id: I7803f9414c2b2cb96274bf062adeccfc302a0d43

11 years agoMerge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev
Mathias Agopian [Wed, 10 Apr 2013 02:03:06 +0000 (02:03 +0000)]
Merge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev

11 years agoMerge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 01:35:22 +0000 (01:35 +0000)]
Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev

11 years agorework GLSurfaceView so it can use the choreographer
Mathias Agopian [Thu, 4 Apr 2013 00:28:14 +0000 (17:28 -0700)]
rework GLSurfaceView so it can use the choreographer

GLSurfaceView will now automatically use the Choreographer to
schedule render updates on VSYNC. This happens only in
RENDERMODE_CONTINUOUSLY.

GLSurfaceView was rewriten to use a Looper and a HandlerThread
instead of a custom thread.

The basic mode of operation is unchanged, however the implementation
is largely different.

Removed support for older GPUs which had a limited number of contexts.

Bug: 8485730

Change-Id: I7b270f7ad7bb1259e858429054b1c8c9cc159dc6

11 years agoClean up USAGE_SHARED and add syncing for USAGE_SHARED.
Tim Murray [Wed, 10 Apr 2013 00:28:56 +0000 (17:28 -0700)]
Clean up USAGE_SHARED and add syncing for USAGE_SHARED.

bug 8567006

Change-Id: Ie9c01eeccdd3fa0a81893314dfbce7c012d3f7d3

11 years agoFix a monkey bug with AbsListView data set observers
Adam Powell [Wed, 10 Apr 2013 00:46:15 +0000 (17:46 -0700)]
Fix a monkey bug with AbsListView data set observers

Several conditions can cause an AbsListView's data set observer to be
removed and nulled out. If for some reason the view receives duplicate
onDetachedFromWindow events this could cause AbsListView to attempt to
unregister a null observer. Skip this unregister process if this
happens.

Bug 7088152

Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d

11 years agoImplicitly enable system apps when updates installed
Christopher Tate [Thu, 4 Apr 2013 22:40:04 +0000 (15:40 -0700)]
Implicitly enable system apps when updates installed

If someone explicitly installs an update to a system-bundled package,
we infer that this means they actually want to use the new code.

Bug 7467302

Change-Id: If2dc6f764bafbb3a5c94cbdd32273c030fd784b9

11 years agoMerge "Fix crash bug with mismatched iface names" into jb-mr2-dev
Robert Greenwalt [Wed, 10 Apr 2013 00:08:01 +0000 (00:08 +0000)]
Merge "Fix crash bug with mismatched iface names" into jb-mr2-dev

11 years agoMerge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into...
Adam Powell [Tue, 9 Apr 2013 23:40:12 +0000 (23:40 +0000)]
Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into jb-mr2-dev

11 years agoUpdate function comment for getAllCellInfo
Wink Saville [Tue, 9 Apr 2013 23:19:27 +0000 (16:19 -0700)]
Update function comment for getAllCellInfo

Bug: 8235566
Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1

11 years agoImplement RS GC worker thread.
Tim Murray [Tue, 9 Apr 2013 21:33:32 +0000 (14:33 -0700)]
Implement RS GC worker thread.

Bug 8579360

Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5

11 years agoCleanup Allocation and add 3D copies.
Jason Sams [Tue, 9 Apr 2013 22:59:24 +0000 (15:59 -0700)]
Cleanup Allocation and add 3D copies.

bug 8567058

Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85

11 years agoMerge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
Wink Saville [Tue, 9 Apr 2013 22:50:00 +0000 (22:50 +0000)]
Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev

11 years agoMerge "Add APIs for application-generated systrace events" into jb-mr2-dev
Jamie Gennis [Tue, 9 Apr 2013 22:30:52 +0000 (22:30 +0000)]
Merge "Add APIs for application-generated systrace events" into jb-mr2-dev

11 years agoMake download manager tests more reliable.
Maxim Siniavine [Tue, 9 Apr 2013 22:04:17 +0000 (15:04 -0700)]
Make download manager tests more reliable.

Use larger files in tests. Using small files fails because downloads
complete too quickly. Using files that are too large fails because
downloads take too long.

Change-Id: I0786ece21e0acffa09dd8d85abf70ec4cde5e477

11 years agoHandle seek requests in AudioService
Jean-Michel Trivi [Tue, 9 Apr 2013 18:10:18 +0000 (11:10 -0700)]
Handle seek requests in AudioService

AudioService handles seek requests to RemoteControlClients.
Discard old or unprocessed seek requests when handling a new one.
Update javadoc for OnPlaybackPositionUpdateListener interface.

bug 8120740

Change-Id: Id17c2852b24d4b8af85e472a177484b98cfeba05

11 years agoMerge "Change the dither texture's swizzling" into jb-mr2-dev
Romain Guy [Tue, 9 Apr 2013 21:18:45 +0000 (21:18 +0000)]
Merge "Change the dither texture's swizzling" into jb-mr2-dev

11 years agoAdding public api support for finding contact changes.
Chiao Cheng [Wed, 20 Mar 2013 23:54:06 +0000 (16:54 -0700)]
Adding public api  support for finding contact changes.

DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.

A timestamp field has been added to contacts so clients can query
for changes.

Bug: 8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac

11 years agoFix for ActionBar#setSelectedNavigationItem() in collapsed tab mode
Adam Powell [Tue, 9 Apr 2013 20:57:22 +0000 (13:57 -0700)]
Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode

Make sure the selected item is properly propagated to the collapsed
spinner.

Bug 6754308

Change-Id: Iaa4e331b00106b31c5984980d33e3ac88853ae4d

11 years agoEnsure that a canvas is always backed by some form of SkDevice.
Derek Sollenberger [Tue, 9 Apr 2013 20:36:55 +0000 (16:36 -0400)]
Ensure that a canvas is always backed by some form of SkDevice.

bug: 8518884
Change-Id: Id6c597179878ce5b938c00422e88bef5f12e2e1f

11 years agoMerge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev
Jonathan Dixon [Tue, 9 Apr 2013 20:09:28 +0000 (20:09 +0000)]
Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev

11 years agoAdd APIs for application-generated systrace events
Jamie Gennis [Mon, 25 Mar 2013 21:18:25 +0000 (14:18 -0700)]
Add APIs for application-generated systrace events

This change adds new APIs to enable applications to generate custom Systrace
begin/end events.  Application-generated events use the ATRACE_APP_TAG tag,
which is enabled only if either the application has declared itself debuggable
in its manifest or ro.debuggable is set to 1 on the device.

Change-Id: I311d09e2e6ed1a30f5ffa84907f250e11cc0d48d

11 years agoMerge "Turn back on global proxy support." into jb-mr2-dev
Robert Greenwalt [Tue, 9 Apr 2013 18:15:06 +0000 (18:15 +0000)]
Merge "Turn back on global proxy support." into jb-mr2-dev

11 years agoam 405c6e2d: am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in...
Scott Main [Tue, 9 Apr 2013 17:50:29 +0000 (10:50 -0700)]
am 405c6e2d: am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample

* commit '405c6e2d656b628262ff3e3d0b79f58a46c839ec':
  fix xml error in sample

11 years agoam d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:47:50 +0000 (10:47 -0700)]
am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample

* commit 'd3724e02d898b66a5b94cf0f2d3bbfaec5295b32':
  fix xml error in sample

11 years agoam 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:43:38 +0000 (10:43 -0700)]
am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample

* commit '2568d7f0cb9ee568309a0347805a12b9e771b689':
  fix xml error in sample

11 years agoam 0bf013fd: am f417fc4a: fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:41:03 +0000 (10:41 -0700)]
am 0bf013fd: am f417fc4a: fix xml error in sample

* commit '0bf013fdbd11a18c010147aed5899034172feb9a':
  fix xml error in sample