2387 Commits

Author SHA1 Message Date
James Dong
11eab056dd Publish MediaMetadataRetriever.java as public API
o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc

o part of a multi-project change.

bug - 2433195

Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
2011-01-12 14:14:11 -08:00
Gilles Debunne
ee3aadbc95 am 54c38bf0: Merge "New QuickContactBadge holo style." into honeycomb
* commit '54c38bf05da42e40b8726ab2b5a33762081e9345':
  New QuickContactBadge holo style.
2011-01-12 14:09:42 -08:00
Gilles Debunne
54c38bf05d Merge "New QuickContactBadge holo style." into honeycomb 2011-01-12 14:07:26 -08:00
Jason Sams
fc6528ecd1 am 8f597fdf: Merge "Cleanup bitmap uploads Implement standalone mipmap generation." into honeycomb
* commit '8f597fdfacd1b9cda6dfebf4f3a1c34d1ffb5b2f':
  Cleanup bitmap uploads Implement standalone mipmap generation.
2011-01-12 13:33:22 -08:00
Jason Sams
8f597fdfac Merge "Cleanup bitmap uploads Implement standalone mipmap generation." into honeycomb 2011-01-12 13:30:41 -08:00
Jason Sams
f7086090cf Cleanup bitmap uploads
Implement standalone mipmap generation.

Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
2011-01-12 13:28:37 -08:00
Dianne Hackborn
45a1ada570 am 02e852f9: Merge "Make ProgressDialog a little less lame." into honeycomb
* commit '02e852f968bac83947cd97a5fe7c7a7064774c5a':
  Make ProgressDialog a little less lame.
2011-01-12 13:01:42 -08:00
Dianne Hackborn
02e852f968 Merge "Make ProgressDialog a little less lame." into honeycomb 2011-01-12 12:59:27 -08:00
Alex Sakhartchouk
941f86590c am 27d11608: Merge "Adding ability to load cubemaps from individual faces." into honeycomb
* commit '27d116085ebbb112ec1fd959763a027ec08f7179':
  Adding ability to load cubemaps from individual faces.
2011-01-12 11:55:54 -08:00
Alex Sakhartchouk
27d116085e Merge "Adding ability to load cubemaps from individual faces." into honeycomb 2011-01-12 11:53:42 -08:00
Jamie Gennis
b0ba48c95e Add getTransformMatrix to the SurfaceTexture API.
Change-Id: Icd11ed4982220be9d08b00498aef02531610ce1f
2011-01-12 11:28:38 -08:00
Dianne Hackborn
4389434c1d Make ProgressDialog a little less lame.
Change-Id: Ic3f1dd8ba32dd02d422ee6f05fff5541e54bb8a1
2011-01-12 11:17:17 -08:00
Michael Jurka
bc5340548b am b609881f: Merge "Add sym_def_app_icon to mipmap directory" into honeycomb
* commit 'b609881fb0f27c7e6fd3ec955a35d2c78a5852ab':
  Add sym_def_app_icon to mipmap directory
2011-01-12 11:08:28 -08:00
Michael Jurka
b609881fb0 Merge "Add sym_def_app_icon to mipmap directory" into honeycomb 2011-01-12 11:06:44 -08:00
Chet Haase
0ba9ab2956 am 535d5eda: Merge "New interpolator resources now found in interpolator/ directory" into honeycomb
* commit '535d5edad225a2855e952a1883310c4a0fa43b72':
  New interpolator resources now found in interpolator/ directory
2011-01-12 11:04:22 -08:00
Chet Haase
535d5edad2 Merge "New interpolator resources now found in interpolator/ directory" into honeycomb 2011-01-12 11:01:50 -08:00
Dianne Hackborn
20acd9d93d am 6014527c: Add "min size" facility to the Window class.
* commit '6014527c350895383b99ba91d3d009a32b1d22a6':
  Add "min size" facility to the Window class.
2011-01-12 10:39:58 -08:00
Dianne Hackborn
6014527c35 Add "min size" facility to the Window class.
This allows us to have a new dialog theme that behaves like an alert dialog
for both Dialog and Activity versions.  Very useful with so many more things
being displayed as dialogs on our nice large screen.

Note I didn't change the existing dialog themes to have this behavior, since
it will probably break things.  Instead there is a new variation.  And the
DialogWhenLarge variations now use this for their dialog form, to fix many
of the real new dialogs we have that need this behavior.

Removed the public definition of the one alert dialog theme.  None of the
others have ever been public, this one shouldn't be.

Added new .Panel versions of the Holo themes, like we already had for the
original themes.

Changed the alert dialog layout to no longer use WeightedLinearLayout,
since the window now takes care of that.  This allowed for the removal
of the xlarge version of those layouts.

Change-Id: I0c8372bde25eb9af47404a719b3f07230baf73bf
2011-01-12 10:33:13 -08:00
Kenny Root
af604587c9 Add sym_def_app_icon to mipmap directory
The default activity icon was a drawable so different densities were
being stripped out during build time. Copying it to the mipmap
directory allows all different scales to be used.

Bug: 3325002
Change-Id: Id7138aa243ba11c02b33f0e3e9154569542592e8
2011-01-12 10:14:21 -08:00
Patrick Scott
b3b7197cd4 am 92a9a3c5: Merge "Do not merge." into honeycomb
* commit '92a9a3c5ef9774863b4cee93d43b67582a02c2f0':
  Do not merge.
2011-01-12 09:47:09 -08:00
Patrick Scott
d1737edc13 Do not merge.
Cherry picked:

Add an api to toggle content url access.

By default, WebView allows access to content providers on the system.  This
setting allows applications to turn off content urls.

Bug: 1196879
Change-Id: I49eaea6d7b9ccc3b3a4443d712222556087568c0
2011-01-12 12:42:51 -05:00
John Reck
87745ce21f WebStorage public API change
Bug: 3241140
 Adds generic type parameters to the Map in the getOrigins method
 and makes WebStorage.Origin class public.

Change-Id: I20e38d294486126f4719bad5fa99f5e3320a1026
2011-01-12 08:56:34 -08:00
Chet Haase
efcceb856a New interpolator resources now found in interpolator/ directory
Change-Id: Ib08200d71fce1706a0c683df104f0ff3d777ca17
2011-01-12 07:41:31 -08:00
Wei-Ta Chen
25bce3a673 Do not merge.
Backport changes related to BitmapRegionDecoder from HoneyComb to
Gingerbread.

Bug: 3309014

////////////////////////////////////////////////////
This is a combination of 7 commits.
Revert "Do not merge."

This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82.

Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6

Fix a initialization bug in BitmapRegionDecoder.

Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5

Fix segfault when tring to throw IOException.

Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f

Fix 3122139, where previewing an attachment for the second time will
fail.

Use AutoFDSeek to mark and restore the position before we read data from
the descriptor.

Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195

Add inPreferQualityOverSpeed into BitmapFactory.Options.

The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.

The field by default is not set and thus does not affect existing
applications.

Bug: 3238925
Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4

Unhide inPreferQualityOverSpeed in BitmapFactory.Options.

The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.

The field by default is not set and thus does not affect existing
applications.

Bug: 3238925

Related changes: https://android-git.corp.google.com/g/#change,83291 and
                 https://android-git.corp.google.com/g/#change,83294

Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4

Correct the API comments.

BitmapRegionDecoder supports PNG as well.
2011-01-11 22:54:10 -08:00
Christopher Tate
771fcc5e3d am 28514f8f: Merge "API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"" into honeycomb
* commit '28514f8f9cdac95799d5654a30fe36ef05443dd3':
  API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
2011-01-11 20:03:57 -08:00
Christopher Tate
02d2b3ba9b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application.  For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
2011-01-11 18:30:23 -08:00
Dianne Hackborn
b5637c467d am 45a8f53b: Merge "Get rid of old ParcelFileDescriptor API." into honeycomb
* commit '45a8f53b25c8306c7f2c37f3a1d70ace21956e28':
  Get rid of old ParcelFileDescriptor API.
2011-01-11 18:00:26 -08:00
Dianne Hackborn
540f86aa42 Get rid of old ParcelFileDescriptor API.
Also some new debugging code in AsyncTaskLoader.

Change-Id: Ib13386b7862821cf0ee31b003bedef78f46240f1
2011-01-11 17:56:12 -08:00
Alex Sakhartchouk
dcc231955d Adding ability to load cubemaps from individual faces.
Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
2011-01-11 14:47:44 -08:00
Jean-Michel Trivi
9011ec832d Fix bug 2084122: enable application control over text synth volume
This CL unhides two "keys" an application can use to specify for
 an utterance its playback volume and pan. Those two new keys
 use the same mechanism already in place for an application to
 specify stream type and utterance ID.

Change-Id: I020363487d7a0f471fb8d3ed739c561d2ab4b0a9
2011-01-11 13:42:44 -08:00
Chet Haase
0eef63d8c8 am d8650114: All animator resources moved to res/animator
* commit 'd865011473aae8dcddc4a8a1350c46d6aed4079a':
  All animator resources moved to res/animator
2011-01-11 13:18:47 -08:00
Chet Haase
d865011473 All animator resources moved to res/animator
Change-Id: I9342ff21e9a15ba29da946e091343a6f8223c181
2011-01-11 12:50:24 -08:00
Gilles Debunne
923505803a New QuickContactBadge holo style.
The background is removed. A blue triangle is displayed on the lower right corner.
Now theme dependant.

Change-Id: I984ac5185039569bd378af9f15b59d11fd1b5c8f
2011-01-11 11:12:51 -08:00
Chet Haase
44efd13afc am 53ee3316: Rename RGBEvaluator to ArgbEvaluator
* commit '53ee3316bcb3590ff156b3fd7108903c0817c35d':
  Rename RGBEvaluator to ArgbEvaluator
2011-01-11 07:05:37 -08:00
Chet Haase
53ee3316bc Rename RGBEvaluator to ArgbEvaluator
Change-Id: Iee74b475960d623fa757349e4053bd7c58cf5734
2011-01-11 06:46:44 -08:00
Mike Lockwood
374816d47a am 3459e27e: un@hide android.os.Environment.isExternalStorageEmulated()
* commit '3459e27e5d2f92d2d5487c189c9386c031e79fc1':
  un@hide android.os.Environment.isExternalStorageEmulated()
2011-01-10 19:38:44 -08:00
Mike Lockwood
3459e27e5d un@hide android.os.Environment.isExternalStorageEmulated()
Change-Id: I35e7dc59763595523cb5af569e237bcff5cf1b49
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-10 22:12:31 -05:00
Joe Onorato
af39af61c9 am 9c3850f2: Merge "current.xml" into honeycomb
* commit '9c3850f24e66d4c61337e749da843444cbb65d10':
  current.xml
2011-01-10 17:44:16 -08:00
Joe Onorato
cb649050a9 am e5e95588: Merge "add ComponentInfo.isEnabled()" into honeycomb
* commit 'e5e9558871df227a09420fed6f16c33e6af0e3e7':
  add ComponentInfo.isEnabled()
2011-01-10 17:36:42 -08:00
Joe Onorato
77bbf6f066 current.xml
Change-Id: I58cacb79f4d44a0cf90ddbe5efcdcb50f6db81ce
2011-01-10 17:35:21 -08:00
Romain Guy
5e96448fd9 am 58818ab5: Merge "Fix the build" into honeycomb
* commit '58818ab5b5dd14f5b40602cd07114de78c110b58':
  Fix the build
2011-01-10 17:34:22 -08:00
Joe Onorato
e5e9558871 Merge "add ComponentInfo.isEnabled()" into honeycomb 2011-01-10 17:33:18 -08:00
Romain Guy
58818ab5b5 Merge "Fix the build" into honeycomb 2011-01-10 17:30:57 -08:00
Romain Guy
c71ad30f0c Fix the build
Change-Id: I39fde4140240bdd7fdb5d2823e990efbfde4a83e
2011-01-10 17:33:55 -08:00
Joe Onorato
a85a91573a add ComponentInfo.isEnabled()
Change-Id: I5ce59f62dc0ce3ce446bdbe397d1515e43031d76
2011-01-10 17:26:39 -08:00
Mike Lockwood
b0dbc1b5a6 am f9a04233: @hide android.permission.WRITE_MEDIA_STORAGE
* commit 'f9a04233c1db22a6ddd989b55db725badeae7539':
  @hide android.permission.WRITE_MEDIA_STORAGE
2011-01-10 17:02:42 -08:00
Mike Lockwood
f9a04233c1 @hide android.permission.WRITE_MEDIA_STORAGE
This permission is not needed for non-system or unbundled apps,
so we don't need it in the public API

Change-Id: I1a2a0349c6c5b7b5dc3104d69f4e39e95b878db9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-10 19:59:02 -05:00
Romain Guy
3b703f2d11 Hide Canvas.getGL()
Change-Id: I6d81cf9f43ce0c990fe30b3b3159c95ac738ae79
2011-01-10 16:42:55 -08:00
Romain Guy
c39adfd005 am 3b703f2d: Hide Canvas.getGL()
* commit '3b703f2d11f20efaa953ad31d6c97fe3561efb03':
  Hide Canvas.getGL()
2011-01-10 16:41:54 -08:00
Alex Sakhartchouk
20cbfc4274 am fe852e21: Updating cubemap loading code.
* commit 'fe852e216fdfab20e7b3d3e55247f70634d267b9':
  Updating cubemap loading code.
2011-01-10 16:29:27 -08:00