6105 Commits

Author SHA1 Message Date
Przemyslaw Szczepaniak
6bbc3211c9 am 8399aae0: Add public SynthesisRequestV2 constructor.
* commit '8399aae0a0532863752e593050e8810d03737936':
  Add public SynthesisRequestV2 constructor.
2014-01-30 05:34:22 -08:00
Przemyslaw Szczepaniak
8399aae0a0 Add public SynthesisRequestV2 constructor.
While implementing the new TTS API, I found out that it's very difficult
to create an SynthesisRequestV2 instance for testing purposes - it's
a final class, with no publicly visible constructors.

Bug: 8259486
Change-Id: I88b84fd8ad1ac6960f3932863ca758657f9547ff
2014-01-30 13:27:00 +00:00
Przemyslaw Szczepaniak
787c1a160c am 1ca1d886: Allow clients to extend the TTS UtteranceId class.
* commit '1ca1d886588ce54ab0c0229eabc49fa8dff40bc5':
  Allow clients to extend the TTS UtteranceId class.
2014-01-30 02:44:13 -08:00
Przemyslaw Szczepaniak
1ca1d88658 Allow clients to extend the TTS UtteranceId class.
This change allows TTS clients to create (and use) classes derived from the
UtteranceId class. This allows to attach a custom data and methods that
can be reached later in callbacks that take the UtteranceId instance as
parameter.

Also, since we can't depend on the identityHashCode results being unique,
this change adds AtomicInteger to generate unique identifiers for UtteranceId
instances.

Bug: 8259486
Change-Id: Id1e9eabc890ec585a7f8570fd20e287dcda9a11d
2014-01-30 10:41:26 +00:00
Chris Craik
fb7949141b am de439dbe: Merge "Update reordering method names, and make 3d reordering API public"
* commit 'de439dbe2c395a0c61331ffad567af1124782e6b':
  Update reordering method names, and make 3d reordering API public
2014-01-29 14:54:11 -08:00
Chris Craik
6657a6c539 Update reordering method names, and make 3d reordering API public
IsContainedVolume -> hasIsolatedZVolume conveys that this affects Z
ordering of views

ProjectToContainedBackground -> ProjectBackwards, since it ended up
using its own projection target, separate from the 3d volume bit

Change-Id: Ia2cde838cc4da134366fe6ff623290fbd65e50c3
2014-01-29 13:55:39 -08:00
Jeff Brown
4c9133b7a0 am d16c409e: am 065d998a: Merge "Hide an old debug function." into klp-modular-dev
* commit 'd16c409e55e3d0fbe3e6d18ceca5806415ed1c92':
  Hide an old debug function.
2014-01-27 16:17:00 -08:00
Jeff Brown
d16c409e55 am 065d998a: Merge "Hide an old debug function." into klp-modular-dev
* commit '065d998a4c3d597e924f42635d1a3699a6fcf34b':
  Hide an old debug function.
2014-01-28 00:13:12 +00:00
Andreas Huber
dd6438c672 am 084d986c: Merge "API that allows usage of MediaCodec APIs without polling."
* commit '084d986c3a45e484283591eded9a6974b22b4799':
  API that allows usage of MediaCodec APIs without polling.
2014-01-27 11:41:30 -08:00
Andreas Huber
aba671392d API that allows usage of MediaCodec APIs without polling.
Change-Id: Iebccdd3aec74a2cfa9ad0bf16c0c6006a3b72999
related-to-bug: 11990118
2014-01-27 10:52:18 -08:00
Jeff Brown
8aca9e335f Hide an old debug function.
Change-Id: If12b967955847d257dac0431dabe0dca41865b58
2014-01-24 13:10:19 -08:00
Narayan Kamath
eb52b24dc3 am 8435cf0d: Merge "Hide android.os.Parcel.obtain(int)."
* commit '8435cf0d8b9e24715d5b310ed569fda918dcaa46':
  Hide android.os.Parcel.obtain(int).
2014-01-24 07:03:40 -08:00
Narayan Kamath
b34a4615f8 Hide android.os.Parcel.obtain(int).
This will break on 64 bit because 64 bit pointers are
wider than java int.

Also, this method technically isn't a public API because
it's a protected method on a final class. It shows up in
our api.txt files because of a quirk in the API generation
system.

Change-Id: I2b574943008ed34696b048195c0cac6af1aa0a3b
2014-01-23 14:26:29 +00:00
Narayan Kamath
25c8bcf49c am 62b570e2: Merge "Java7 Locale & Script related changes."
* commit '62b570e2febd1ab0614fd9000dc92412a8e109fd':
  Java7 Locale & Script related changes.
2014-01-23 01:42:36 -08:00
Narayan Kamath
62b570e2fe Merge "Java7 Locale & Script related changes." 2014-01-23 09:39:44 +00:00
Andy Hung
9421818845 am bdf8db08: Merge "Add "throws IOException" to MediaCodec factory methods"
* commit 'bdf8db082827a914e7ab6df2978e8da587adfc80':
  Add "throws IOException" to MediaCodec factory methods
2014-01-21 15:06:29 -08:00
Andy Hung
bdf8db0828 Merge "Add "throws IOException" to MediaCodec factory methods" 2014-01-21 23:03:33 +00:00
Adam Powell
5613ffe133 am c9c93e75: Merge "Revert "Update smoothScrollToPosition to move faster for large offsets""
* commit 'c9c93e75ba80eee7309bd4adcdfa082747009ce7':
  Revert "Update smoothScrollToPosition to move faster for large offsets"
2014-01-21 10:43:43 -08:00
Adam Powell
c9c93e75ba Merge "Revert "Update smoothScrollToPosition to move faster for large offsets"" 2014-01-21 18:41:24 +00:00
Adam Powell
56032a37df Revert "Update smoothScrollToPosition to move faster for large offsets"
This reverts commit 203af24e4c2975c0b95fb4cc85ea03865e3b0e5b.

Change-Id: Ic56a9ded03eec188fb2834b42b60171f3cacb58b
2014-01-21 18:39:53 +00:00
Narayan Kamath
548fc32efc Java7 Locale & Script related changes.
The foundation for supporting ISO-639-3 languages.

Change-Id: I1327ee4f2c334acfd67dbc532680e1d721e09ac1
2014-01-20 10:33:58 +00:00
Narayan Kamath
491d865752 am 2ba4efff: Hide AssetInputStream.getAssetInt (Take 2)
* commit '2ba4efff8bece69f95401768e48db1b20afd077d':
  Hide AssetInputStream.getAssetInt (Take 2)
2014-01-20 02:22:04 -08:00
Narayan Kamath
2ba4efff8b Hide AssetInputStream.getAssetInt (Take 2)
This reverts commit b1bd1fe7fd9ed6b6e4518713ef5f5716a84d97e8.
2014-01-20 10:18:44 +00:00
Igor Murashkin
f973faaaa8 am b121ea54: Merge "camera2: Add android.request.partialResultCount"
* commit 'b121ea542a051181e32e8734caf7d4a55127c0ec':
  camera2: Add android.request.partialResultCount
2014-01-17 18:49:02 -08:00
Igor Murashkin
2086b58880 camera2: Add android.request.partialResultCount
Change-Id: Ie21010767ad1e58b3a46e977e7f9ee7f1951bad2
2014-01-17 18:36:07 -08:00
Igor Murashkin
f31a6853c7 am ae7d2f19: Merge "camera2: Add synchronization definitions to enable LIMITED HAL3 devices"
* commit 'ae7d2f19e4cd6f9b0515c757a4032e118163310d':
  camera2: Add synchronization definitions to enable LIMITED HAL3 devices
2014-01-17 18:33:45 -08:00
Igor Murashkin
3865a84255 camera2: Add synchronization definitions to enable LIMITED HAL3 devices
Change-Id: Ic5fda4bdc3dda0d21f4738c81b5742f86e4ef02c
2014-01-17 18:27:35 -08:00
Igor Murashkin
fa2b65c84e am 1e2d27a9: Merge "camera2: Add test patterns and pipeline depth information"
* commit '1e2d27a97f2f9c2621db953e8342c5e9a938011a':
  camera2: Add test patterns and pipeline depth information
2014-01-17 18:17:22 -08:00
Igor Murashkin
c127f05292 camera2: Add test patterns and pipeline depth information
Bug: 9625427
Change-Id: I11ff3a74f3a115ac9b699ce516400ed323c274f9
2014-01-17 18:13:52 -08:00
Ruben Brunk
b5a2cbd531 am ce29f438: Merge "camera3: Update sceneMode tag spec."
* commit 'ce29f4384546d45722b0b7fb0e5a9bcdc2bfce4d':
  camera3: Update sceneMode tag spec.
2014-01-17 17:53:12 -08:00
Ruben Brunk
e667936693 camera3: Update sceneMode tag spec.
Change-Id: I495435397086a295280c556d94fe8efd442a12c3
2014-01-17 17:34:32 -08:00
Doug Zongker
b4087c96c9 am 35974112: Merge "boot into recovery via the pre-recovery service"
* commit '35974112ecd6a296a49f04af0292de2569d039a2':
  boot into recovery via the pre-recovery service
2014-01-16 14:43:00 -08:00
Doug Zongker
3b0218b0ae boot into recovery via the pre-recovery service
Change PowerManagerService to start the pre-recovery service rather
than rebooting directly, when requested to reboot into recovery.  Add
a new RECOVERY permission which a caller needs (in addition to REBOOT)
in order to go to recovery.

Bug: 12188746
Change-Id: I39121b701c4724558fe751adfbad79f8567faa43
2014-01-16 12:54:59 -08:00
Andy Hung
83511d2f49 Add "throws IOException" to MediaCodec factory methods
android.media.MediaCodec
(createByCodecName|createDecoderByType|createEncoderByType)
now explicitly throws IOException.

Requires changes to existing code for declaration compatibility.

Bug: 11364276
Change-Id: I105ecb7c4bd49bf803111253cd23bab161c988f9
Signed-off-by: Andy Hung <hunga@google.com>
2014-01-16 12:35:15 -08:00
Alan Viverette
475d732311 am 3abc47ac: Merge "Update smoothScrollToPosition to move faster for large offsets"
* commit '3abc47acf8ea2bea2f8a92a100bbceead2178914':
  Update smoothScrollToPosition to move faster for large offsets
2014-01-16 11:15:57 -08:00
Alan Viverette
3abc47acf8 Merge "Update smoothScrollToPosition to move faster for large offsets" 2014-01-16 19:13:32 +00:00
Jeff Sharkey
9c8cf2e589 am 4ca728c0: Detect removable and emulated secondary storage.
* commit '4ca728c064aeab644f6d044e0285eaa056818b8a':
  Detect removable and emulated secondary storage.
2014-01-15 17:17:56 -08:00
Jeff Sharkey
4ca728c064 Detect removable and emulated secondary storage.
Also rename existing secondary storage API to match naming
convention in rest of class.

Bug: 11536709
Change-Id: I2684c817de4982b414893d2d9927a21e3f171d53
2014-01-15 17:00:56 -08:00
Igor Murashkin
62208619f0 am 43200530: Merge "camera2: @hide android.statistics.predictedColor*"
* commit '432005306dc26fcd613ca75b6bfca6c84fc96dcd':
  camera2: @hide android.statistics.predictedColor*
2014-01-15 13:32:45 -08:00
Igor Murashkin
aef3b7ed9f camera2: @hide android.statistics.predictedColor*
Change-Id: I8c1b7596c1e0c311a4f9fabdd5de72b4b7b372b5
2014-01-15 13:28:19 -08:00
Jeff Hao
dfbd7eaa09 am 70216e59: am ac20b469: am 6c13f384: am 56b11064: am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
* commit '70216e599e678d46b0630e261e25b5209465255a':
  Add sample profiling interface to startMethodTracing.
2014-01-15 11:54:12 -08:00
Jeff Hao
70216e599e am ac20b469: am 6c13f384: am 56b11064: am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
* commit 'ac20b469259129df948bae1fa5434098b1801185':
  Add sample profiling interface to startMethodTracing.
2014-01-15 19:50:53 +00:00
Jeff Hao
ac20b46925 am 6c13f384: am 56b11064: am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
* commit '6c13f384749150e9fa6f930023a9161fe97402d0':
  Add sample profiling interface to startMethodTracing.
2014-01-15 19:48:18 +00:00
Jeff Hao
d02e60fbd4 Add sample profiling interface to startMethodTracing.
Frameworks base side of this change. Also changed art and libcore.

Change-Id: Ib5ba0445163dca714d1ae66430750346ff8811be
2014-01-15 11:27:24 -08:00
Glenn Kasten
d8308984cb am 0c5b6274: Merge "Unhide android.media.AudioTrack.setVolume(float)"
* commit '0c5b62744b1123f36dc8fe3c228a89899fec36d2':
  Unhide android.media.AudioTrack.setVolume(float)
2014-01-15 10:01:38 -08:00
Glenn Kasten
0c5b62744b Merge "Unhide android.media.AudioTrack.setVolume(float)" 2014-01-15 17:58:53 +00:00
Alan Viverette
6042e29105 am 0ae6a7a2: Merge "Cache display lists for Drawables"
* commit '0ae6a7a2cc7b11087b823f1e41ecc77b14a5e472':
  Cache display lists for Drawables
2014-01-14 17:33:47 -08:00
Alan Viverette
c062c7003f Cache display lists for Drawables
Change-Id: I86e2dd4cd4ac8871f4131450cb9082c2b8de2eed
2014-01-14 17:16:29 -08:00
Glenn Kasten
3e21cc8140 Unhide android.media.AudioTrack.setVolume(float)
Bug: 12534920
Change-Id: I7d7437f87f7002c42452011e347e89ddaa0bf6a5
2014-01-14 13:55:36 -08:00
Narayan Kamath
6b5747e415 am 3a248a14: am ec70f809: am d34950cf: am 80b0496a: am 2db26788: am e71afc2e: Merge "Revert "Hide AssetInputStream.getAssetInt.""
* commit '3a248a14938cc723942e68fc06ed2589efb53a4b':
  Revert "Hide AssetInputStream.getAssetInt."
2014-01-14 02:29:32 -08:00