34198 Commits

Author SHA1 Message Date
Victoria Lease
73b21be0e4 am d7f5a51b: Merge "IME support for trackball and generic motion events" into jb-mr1-dev
* commit 'd7f5a51baf2c46436dc5bac3807fb0d46cbff304':
  IME support for trackball and generic motion events
2012-09-10 14:16:20 -07:00
Victoria Lease
d7f5a51baf Merge "IME support for trackball and generic motion events" into jb-mr1-dev 2012-09-10 14:12:48 -07:00
Victoria Lease
b38070caa5 IME support for trackball and generic motion events
Trackball and generic motion events now pass through the IME in case
it would like to handle them before passing them on to the view
hierarchy.

While I was at it, I also...
...fixed the documentation on InputMethodService.onKeyUp()
...added documentation to InputMethodService.onTrackballEvent()
...added trackball and generic motion events to the "input" command
...fixed input consistency verification involving ACTION_OUTSIDE

Bug: 7050005
Change-Id: I40ab68df4a9542af6df25de6ec2ec500e4c02902
2012-09-10 14:01:42 -07:00
Chet Haase
efba28f928 am e11dc0dd: Merge "Fix clone() for Animators with just a \'to\' value" into jb-mr1-dev
* commit 'e11dc0ddab438d3b6545bc5d1582e1deddb5d465':
  Fix clone() for Animators with just a 'to' value
2012-09-10 13:59:33 -07:00
Chet Haase
e11dc0ddab Merge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev 2012-09-10 13:56:47 -07:00
Chet Haase
00177e483d Fix clone() for Animators with just a 'to' value
Previously, clone() on an Animator with only one value would mistakenly
think that the clone had a real starting value (which would end up being 0 in the
int and float cases). Fix is to set the 'mHasFirstValue' flag appropriately for the
clone, based on the state of the cloned animator.

Issue #7106442 ObjectAnimator.clone() does not work properly for single parameter

Change-Id: I08bf03b7687a65eb613c1671a58e4cbfae66a30e
2012-09-10 13:42:07 -07:00
Jamie Gennis
4382ad1834 am cae2e388: Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev
* commit 'cae2e3887d826f1c50e2bdc621b824def7ab855e':
  SurfaceTexture: add updateTexImage synchronization
2012-09-10 13:35:51 -07:00
Jamie Gennis
cae2e3887d Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev 2012-09-10 13:31:39 -07:00
Eino-Ville Talvala
da2f0ea108 Camera: Add SCENE_MODE_HDR.
Change-Id: I43262e6ecd4bdd9a2ed2e94c05ad95435b32a0cd
2012-09-10 12:03:35 -07:00
Kenny Root
ddbe50df2c Move native libraries to /data/app-lib
Instead of unpacking libraries into /data/data/<appname>/lib, unpack
them into /data/app-lib so that multi-user applications can use the same
libraries.

Change-Id: I636dafb5a9eea8cf5a41f1360698e7695455f385
2012-09-10 11:54:36 -07:00
Svetoslav Ganov
d17937491c am 1434e29a: Merge "Check for null ViewRootImpl when saving accessibility focus in ListView." into jb-mr1-dev
* commit '1434e29ac6a157130c9882606ca577567c91ddc4':
  Check for null ViewRootImpl when saving accessibility focus in ListView.
2012-09-10 11:33:48 -07:00
alanv
27093def8d Check for null ViewRootImpl when saving accessibility focus in ListView.
Bug: 7135071
Change-Id: Ide8b6af38b7f1b9bb809e4f8b1c933cb5ddb5e86
2012-09-10 11:10:25 -07:00
Eino-Ville Talvala
69fe527bea Camera: Add enableShutterSound method.
Some camera apps may wish to replace the system camera shutter sound
with their own, especially if they are taking rapid bursts of
images. Add method to allow this when possible.

Hidden for now.

Change-Id: I6520f5441d28675626fafab48c6609c589fc6f7e
2012-09-10 09:09:13 -07:00
Wu-cheng Li
ed0878bfef am 753e1280: Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev
* commit '753e1280cbc3f0006b04f67385f02e1f92019f7d':
  Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE.
2012-09-10 00:50:50 -07:00
Wu-cheng Li
753e1280cb Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev 2012-09-10 00:48:26 -07:00
Jamie Gennis
f09263e957 SurfaceTexture: add updateTexImage synchronization
This change makes the SurfaceTexture JNI updateTexImage call the native
SurfaceTexture's doGLFenceWait method to perform the needed synchronization.

Change-Id: Ie70a1fe6b44d439d1ffe7b97689a421ff8c02fda
2012-09-09 17:53:27 -07:00
Kenny Root
c42f974e0b am be3267aa: Merge "Add a native library to test APKs" into jb-mr1-dev
* commit 'be3267aad1faacc0ee767e746018e7b795a9b151':
  Add a native library to test APKs
2012-09-09 15:20:38 -07:00
Kenny Root
57d1d078d6 am 785aaa2d: Merge "Add more testing for native libraries" into jb-mr1-dev
* commit '785aaa2d19c690248dfdb5db6e589474192709cf':
  Add more testing for native libraries
2012-09-09 15:18:55 -07:00
Kenny Root
be3267aad1 Merge "Add a native library to test APKs" into jb-mr1-dev 2012-09-09 15:18:35 -07:00
Kenny Root
785aaa2d19 Merge "Add more testing for native libraries" into jb-mr1-dev 2012-09-09 15:17:11 -07:00
Kenny Root
e64e097147 Add a native library to test APKs
In order to make sure we have unpacking and deletion working, add a fake
JNI library to every APK.

This can be expanded in the future to make sure replacement is working
correctly as well.

Change-Id: I1ad04c61df9518429aa17795b8a9d3608791cd8e
2012-09-09 15:12:16 -07:00
Kenny Root
7e921a157d Add more testing for native libraries
Make sure that native library paths have the correct permissions and
owners. Also make it easier to do a "String#startsWith" test so we can
get better errors when it fails.

Change the observer to have more sane semantics with a CountDownLatch
instead of weird synchronization on a local variable.

Change-Id: I2437e5ea886d6e6cb8b4edeab80d6053b79857d4
2012-09-09 15:12:16 -07:00
Dianne Hackborn
592877daab am 8727a731: Merge "A little cleanup." into jb-mr1-dev
* commit '8727a73127dde026a797511d28355868797f0e46':
  A little cleanup.
2012-09-09 14:49:11 -07:00
Dianne Hackborn
8727a73127 Merge "A little cleanup." into jb-mr1-dev 2012-09-09 14:45:58 -07:00
Dianne Hackborn
1b8ecc5031 A little cleanup.
Change-Id: Ie33fd1b02011606e67ce08df3cce887c07680c60
2012-09-09 14:41:34 -07:00
Kenny Root
e1f36f514f am 25c925e6: Throw ALL the exceptions! (in the PackageManagerTests)
* commit '25c925e6659e57f1cc8fef83be07f3917a108e3c':
  Throw ALL the exceptions! (in the PackageManagerTests)
2012-09-09 12:35:44 -07:00
Kenny Root
25c925e665 Throw ALL the exceptions! (in the PackageManagerTests)
Change all the test method headers to throw Exception so we don't have
to try to catch anything during the tests. Catching an exception might
mask an error during the tests.

Also fix a lot of formatting errors that have built up over the years.
This includes 3-space indentations instead of 4-space, missing spaces
between braces and parens, too-long lines, wrapping when it isn't
needed, etc.

Change-Id: Ifccea5f0706b6f9235f37974a5f80bee76c654dd
2012-09-09 12:32:03 -07:00
Jeff Brown
1c897dc9ac am a3909a93: Work around crash when display is removed.
* commit 'a3909a93958676d341424d574752bc7b3280d421':
  Work around crash when display is removed.
2012-09-09 01:15:56 -07:00
Jeff Brown
a3909a9395 Work around crash when display is removed.
After a display is removed, there may be a brief time
when a Context still exists that is bound to it.
We need to provide metrics in this case.

Bug: 7131637
Change-Id: I11b264a000653adbf0f3da399eaab66c4b40fb2a
2012-09-09 01:05:38 -07:00
Jeff Brown
2ff27aae3b am 20ec8ac5: Merge "Improve Wifi display discovery API." into jb-mr1-dev
* commit '20ec8ac58665e6e2991988c134ba3b8590911648':
  Improve Wifi display discovery API.
2012-09-09 00:26:09 -07:00
Jeff Brown
20ec8ac586 Merge "Improve Wifi display discovery API." into jb-mr1-dev 2012-09-09 00:23:59 -07:00
Jeff Brown
180bbc7181 Improve Wifi display discovery API.
Change-Id: I4d46503e5413f52da16f79bbc9c631cc5ae9c178
2012-09-08 23:15:00 -07:00
Amith Yamasani
c143c25e58 am 8f008e73: Merge "More multi-user methods in PM" into jb-mr1-dev
* commit '8f008e737a84be289d07cc603f98da1bbbfcf837':
  More multi-user methods in PM
2012-09-08 20:24:11 -07:00
Amith Yamasani
8f008e737a Merge "More multi-user methods in PM" into jb-mr1-dev 2012-09-08 20:20:57 -07:00
Amith Yamasani
151ec4c9f8 More multi-user methods in PM
pm can list installed packages by user now.

Bug: 6926465

Change-Id: I822311bfd6e7e2d6fb315fc484739fbf953c9bb6
2012-09-08 19:14:00 -07:00
Jeff Brown
a24b598b28 am 1edf63ef: Merge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev
* commit '1edf63ef4c7484355a6d9371bea912d6518a7d1e':
  Enable auto-brightness adjustment feature with system prop.
2012-09-08 15:56:37 -07:00
Jeff Brown
1edf63ef4c Merge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev 2012-09-08 15:53:50 -07:00
Jeff Brown
631938f26d Enable auto-brightness adjustment feature with system prop.
This feature is experimental and disabled by default.

Change-Id: I183534370da7613557e4d1535f556873f8a763df
2012-09-08 15:11:11 -07:00
Jeff Brown
34cf966057 am b0d10aa9: Merge "Add new wifi display discovery API." into jb-mr1-dev
* commit 'b0d10aa9831fb74a28db63cac9d111559bed62ab':
  Add new wifi display discovery API.
2012-09-08 14:57:55 -07:00
Jeff Brown
b0d10aa983 Merge "Add new wifi display discovery API." into jb-mr1-dev 2012-09-08 14:55:02 -07:00
Jeff Brown
f1764a1fda am f82b5836: Merge "Add permissions to control and configure wifi display." into jb-mr1-dev
* commit 'f82b58368e1bd502f82ad7791647c5922ba5d0c0':
  Add permissions to control and configure wifi display.
2012-09-08 14:54:18 -07:00
Jeff Brown
e08ae388d6 Add new wifi display discovery API.
The API is quite simple.  There are a few extra functions
on DisplayManager to scan, connect and disconnect from
wifi displays and get status, and a single protected
broadcast sent when the status changes.

Change-Id: Ic91dbab5ee818e790b27fa32e1a1e93788793be0
2012-09-08 14:53:34 -07:00
Jeff Brown
f82b58368e Merge "Add permissions to control and configure wifi display." into jb-mr1-dev 2012-09-08 14:51:55 -07:00
Dianne Hackborn
25653cbca5 am 5d75052b: Merge "Add Binder.getCallingUserHandle()." into jb-mr1-dev
* commit '5d75052b2da7ed7c153faea69a28f13a4000788f':
  Add Binder.getCallingUserHandle().
2012-09-07 18:37:29 -07:00
Dianne Hackborn
5d75052b2d Merge "Add Binder.getCallingUserHandle()." into jb-mr1-dev 2012-09-07 18:35:02 -07:00
Dianne Hackborn
74ee8652e0 Add Binder.getCallingUserHandle().
Change-Id: I2a7eedfdc7baeeb4c2cd2ca0153aa95e0cf0bf45
2012-09-07 18:33:18 -07:00
Jim Miller
1ddefc779a am ddb12e84: Merge "Enable lazy-loading of security views in keyguard" into jb-mr1-dev
* commit 'ddb12e845d7c5eae7a6bca6af17702f9bc619ae9':
  Enable lazy-loading of security views in keyguard
2012-09-07 18:16:41 -07:00
Jim Miller
e46efc0460 Enable lazy-loading of security views in keyguard
This change removes all but the default KeyguardSelectorView from KeyguardViewHost
to (1) reduce the overall memory footprint (2) reduce initial layout inflation
time and (3) avoid initializing the camera until needed by face unlock.

Fixes bug 7127666

Change-Id: Ibac1838dd7a490dcadbfab5bdfdd82734b69055a
2012-09-07 18:07:59 -07:00
Jeff Brown
4b71e4e66c Add permissions to control and configure wifi display.
Change-Id: I54af6da53b7243516becd6a3d5985c0feda6c225
2012-09-07 17:50:57 -07:00
Jeff Brown
5ea4944a20 am 7017e483: Merge "Add support for Wifi display." into jb-mr1-dev
* commit '7017e48380ab0c1be033594bb2a9331898ad5be8':
  Add support for Wifi display.
2012-09-07 16:44:32 -07:00