3199 Commits

Author SHA1 Message Date
Martijn Coenen
8c99ab849e Unhide BIND_NFC_SERVICE permission.
Needs to be held by host-based card emulation
apps in order to work.

Bug: 11352063
Change-Id: I8ba42446cd3066b38309d8e9cbc51d140a023547
2013-10-23 10:43:16 -07:00
George Mount
e6702cb0f6 Merge "Add ofArgb to ObjectAnimator and ValueAnimator." 2013-10-21 21:13:08 +00:00
Nick Kralevich
69002ae2a2 Fix build.
Change-Id: Icf14e63d759b021b5f9f79f09efa1d101764b9b7
2013-10-19 08:43:08 -07:00
Dianne Hackborn
e05df630bc am 9039b9a7: am 63a16e0e: am 6834ae69: Merge "Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞..." into klp-dev
* commit '9039b9a7efd6d42e842de35d2246971e74753035':
  Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞...
2013-10-17 18:32:22 -07:00
Dianne Hackborn
6834ae6922 Merge "Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞..." into klp-dev 2013-10-18 01:25:00 +00:00
Dianne Hackborn
09acb7ca89 Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞...
Well, how about 400.  400 is a real number.

Change-Id: I29ac61b7d629d582c7b68367365a7f81fcf679a2
2013-10-17 17:28:09 -07:00
Brian Carlstrom
eccef05255 Merge "make update-api to fix the build" 2013-10-17 06:12:35 +00:00
Brian Carlstrom
4dd5449529 make update-api to fix the build
Change-Id: I940aadcf30abbf6f1b87ac4a3ada6f4a96258e55
2013-10-16 23:08:44 -07:00
Satoshi Kataoka
03e1c70802 Merge "Introduce an API to get the recommended height of the InputMethodWindow" 2013-10-17 05:24:01 +00:00
Svetoslav
58867899b2 am 53998c0f: am 13bc41a5: am 265a099c: Merge "Add APIs for an advanced print options activity." into klp-dev
* commit '53998c0f503f258b65d4333e621ceda0ba4b5a5d':
  Add APIs for an advanced print options activity.
2013-10-16 16:48:18 -07:00
Svetoslav
1c43fceaaa Add APIs for an advanced print options activity.
This is the API part needed to implement support for custom print
options by a print service. Some printers have quite fancy options
and we want users to benefit using them.

bug:11241800

Change-Id: I3a9df771c0ded559b61c597c686795840d702b27
2013-10-16 15:47:44 -07:00
Jeff Sharkey
d70d2d8ee3 am 25b99efb: am ac0cb359: am 8e656df0: Merge "Add extras to AFD, send orientation metadata." into klp-dev
* commit '25b99efb3259c9f6d7bcdacd3cb2bafd6b1a0e63':
  Add extras to AFD, send orientation metadata.
2013-10-15 04:02:48 -07:00
Satoshi Kataoka
658c7b896a Introduce an API to get the recommended height of the InputMethodWindow
Bug: 11035379
Bug: 5137498

Change-Id: I0e920ee79c526c3aea6872b063cf294e2ab081c8
2013-10-15 14:35:18 +09:00
Jeff Sharkey
c1c8f3f97d Add extras to AFD, send orientation metadata.
AssetFileDescriptor augments a ParcelFileDescriptor with details
about how it should be interpreted, so extend it to support a Bundle
of extras.  Then use these extras to share thumbnail orientation
metadata.

The raw image data of EXIF thumbnails matches the orientation of
the enclosing image, but the thumbnail data doesn't repeat the EXIF
flags.  This meant that receivers of openDocumentThumbnail() would
get an image that needed to be transformed, but without enough
context to actually transform it.

Instead of transforming and recompressing the image on the fly on
the provider side, send a transformation hint that the receiver
side can interpret.

Bug: 11205688
Change-Id: Ibc5a7ad002377a55e6ffcb5ac5c8829841002e06
2013-10-14 15:28:19 -07:00
Jason Sams
8bca372a40 Merge "Utility API for creating types." 2013-10-14 21:18:07 +00:00
Aravind Akella
45484ee6bb am 67af9ce3: am c73810de: am 45ca531e: Merge "Adding stepcounter & stepdetector feature strings." into klp-dev
* commit '67af9ce31e7642ffc5737b9c29812c4bfdf789e0':
  Adding stepcounter & stepdetector feature strings.
2013-10-14 10:52:15 -07:00
Aravind Akella
45ca531e77 Merge "Adding stepcounter & stepdetector feature strings." into klp-dev 2013-10-13 22:48:03 +00:00
Aravind Akella
068b0c05fe Adding stepcounter & stepdetector feature strings.
Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56
2013-10-12 18:47:00 -07:00
Eino-Ville Talvala
cd92588528 DO NOT MERGE: Hide new camera API.
Not yet ready.

Bug: 11141002

Change-Id: I4704bffb9ba36af47a66dc5b49cbba00be623aae
2013-10-11 19:26:08 +00:00
George Mount
1ffb280a7d Add ofArgb to ObjectAnimator and ValueAnimator.
Bug 10396985

Change-Id: Ib1fcea04b5a915800fc415b3d548a8853b05389c
2013-10-11 12:06:45 -07:00
Aravind Akella
986481d52a am 554069ee: am d18920f5: am d9b09fa9: Merge "Fix registerListener and flush bugs." into klp-dev
* commit '554069ee8c3a0c06d0849d198325eda9c0128097':
  Fix registerListener and flush bugs.
2013-10-10 19:27:03 -07:00
Aravind Akella
d9b09fa97e Merge "Fix registerListener and flush bugs." into klp-dev 2013-10-11 02:05:53 +00:00
Michael Jurka
691e0273c1 am d6277213: am f6a2133f: am 5f0a6009: Merge "Add API to get the built-in wallpaper" into klp-dev
* commit 'd6277213f6cb52bff73200a62a125c343ac331a5':
  Add API to get the built-in wallpaper
2013-10-10 08:24:10 -07:00
Aravind Akella
4bdc37d315 Fix registerListener and flush bugs.
1) Fix registerListener to return false when called with a Trigger sensor. Correct java documentation.
2) Remove reservedFlags and FlushCompleteListener parameters from the public API.
3) Create SensorEventListener2 which extends SensorEventListener and has the onFlushCompleted callback.
3) Change flush(Sensor) API to flush(SensorEventListener).

Change-Id: I56ce4e0b6e329483e129a14ad7e8a0cd35665ffe
Bug: 10894703
2013-10-09 19:00:22 -07:00
Michael Jurka
5f0a600925 Merge "Add API to get the built-in wallpaper" into klp-dev 2013-10-10 01:17:38 +00:00
Dianne Hackborn
0fae349f19 am 353ec474: am 8029493f: am f012b777: Merge "Fix some doc issues." into klp-dev
* commit '353ec47422cbd1bb40f19e7ec9ec6b4f300ee3ab':
  Fix some doc issues.
2013-10-09 18:05:32 -07:00
Dianne Hackborn
f012b77791 Merge "Fix some doc issues." into klp-dev 2013-10-10 00:48:00 +00:00
Dianne Hackborn
ebc15ef80f Fix some doc issues.
Bug: 11079621
Bug: 10461610
Bug: 10461369
Bug: 10461417
Change-Id: I7fd966f3cda0660ba20fa15d7164dcac95efadd3
2013-10-09 17:36:57 -07:00
Jason Sams
ec44e5dc2f Utility API for creating types.
Change-Id: I3263cb4440ef3a60cd418f0559b8c5638a9b8bf3
2013-10-09 17:15:44 -07:00
Alan Viverette
359404288c am 9f57774e: am 972de252: am 24305da7: Merge "Add listener for changes to touch exploration state" into klp-dev
* commit '9f57774ebb3b400b6597a9dbe854b4b6b1c8afd4':
  Add listener for changes to touch exploration state
2013-10-09 15:21:22 -07:00
Jeff Sharkey
6699ae2b76 am 45d23585: am 11591b73: am b3da3db3: Merge "Surface outgoing Uri permission grants." into klp-dev
* commit '45d2358510f9670ddf25cc49ee2639e3d41708f7':
  Surface outgoing Uri permission grants.
2013-10-09 15:17:34 -07:00
Alan Viverette
24305da7d6 Merge "Add listener for changes to touch exploration state" into klp-dev 2013-10-09 22:13:29 +00:00
Jeff Sharkey
b3da3db34a Merge "Surface outgoing Uri permission grants." into klp-dev 2013-10-09 22:07:11 +00:00
Alan Viverette
5baeb9ad1e Add listener for changes to touch exploration state
BUG: 11141708
Change-Id: I353dfa2542ebd5e2ac89029dcd88623cc4c688e7
2013-10-09 14:42:05 -07:00
Jeff Sharkey
bcaac0adec Surface outgoing Uri permission grants.
This enables apps to discover and clean up persisted Uri grants when
the underlying Uri becomes invalid, such as when an account is
removed.

Bug: 11142566
Change-Id: Ieeb36cb1155acf226327ebe91cdd30b822d69d1b
2013-10-09 14:32:11 -07:00
George Mount
7d8589c156 Merge "Support for multiple value animations." 2013-10-09 20:23:43 +00:00
George Mount
d5df8a3665 Merge "Setter values can now have different type than animated values." 2013-10-09 20:23:19 +00:00
George Mount
c75b478ced Merge "Adds reuse Rect constructor for RectEvaluator." 2013-10-09 20:22:27 +00:00
Michael Jurka
b668d0ba7e Add API to get the built-in wallpaper
Change-Id: I71cf4111fb4e36bd8e78eb47695861349dc1750b
2013-10-09 12:12:34 -07:00
John Spurlock
4d873d87cc am bba545e7: am 4f241a29: am 92128144: Merge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev
* commit 'bba545e73ca63be2e275b6e982251ab930d0a644':
  Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
2013-10-09 11:45:54 -07:00
John Spurlock
a12dccc098 Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
The existing View.SYSTEM_UI_FLAG_IMMERSIVE flag will be somewhat
redefined.  Swiping will clear the flags, revealing the normal bars.

The new View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY flag will enable
hideybars - the auto-hiding, semi-transparent bar mode.

Bug:11062108
Change-Id: Ibf8be9072f0075953baa4580cd976e7562d44455
2013-10-09 12:35:52 -04:00
Jeff Sharkey
5b6372171c am 9d1383c6: am 5e02e0a9: am bcc77b50: Merge "Add <intent-filter> support to <provider>." into klp-dev
* commit '9d1383c61ca0932cb36b104a89c32db15de6a10e':
  Add <intent-filter> support to <provider>.
2013-10-07 15:16:14 -07:00
Jeff Sharkey
bcc77b502b Merge "Add <intent-filter> support to <provider>." into klp-dev 2013-10-07 21:41:45 +00:00
Jeff Sharkey
85f5f81320 Add <intent-filter> support to <provider>.
For the new documents work, we're only interested in the subset of
ContentProviders that actually implement DocumentsContract.  Instead
of returning all providers, add <intent-filter> support to make it
easier to limit the set of returned ProviderInfo.

Define a well-known action for DocumentsProviders, and start using it
when querying for roots.  Continue supporting the old <meta-data>
approach until all apps have been updated.

Bug: 8599233
Change-Id: I05f049bba21311f5421738002f99ee214447c909
2013-10-07 14:19:13 -07:00
George Mount
0f3f2983db Adds reuse Rect constructor for RectEvaluator.
Adds constructor to RectEvaluator that allows reuse of the
evaluated Rect Object.

Change-Id: I09ca4fd7dadb20d1501248c83dc008c00d901fd6
2013-10-07 14:01:56 -07:00
George Mount
4eed52944c Support for multiple value animations.
Bug 2805977
Support for multi-value setters in ObjectAnimator.

Change-Id: I7854dfcb82372afc6d9afb4c50a289ff9d41574e
2013-10-07 13:22:39 -07:00
George Mount
16d2c9cc6b Setter values can now have different type than animated values.
Add TypeConverter to convert animated values type to target
setter type.

Change-Id: I7f0581b18a5321b4aafd7e47f147a81573c45061
2013-10-07 12:55:02 -07:00
Jean-Michel Trivi
49fc2590c1 am 9633629b: am 65d57713: am bacb5422: Merge "Also rely on enabled notification listeners for RemoteController registration" into klp-dev
* commit '9633629b7916b5694ae1bd960b9c08610b47b7aa':
  Also rely on enabled notification listeners for RemoteController registration
2013-10-07 10:15:48 -07:00
Jean-Michel Trivi
bacb5422bc Merge "Also rely on enabled notification listeners for RemoteController registration" into klp-dev 2013-10-07 17:04:20 +00:00
Daniel Sandler
6071c3dcf6 Fix build.
API changes in patch bd95740648372449a4d5c164d7050eee352d4c24
(change If667a55b merged from klp-dev) conflicted with
aaca5d888a0dfdb6f9b7fdb6a6cf34f6a23ef68b (change I7c22c1ff).

Change-Id: I477d088f22aa80fc37a9ac78834bfcb5c11922ca
2013-10-07 01:28:57 -04:00