Commit Graph

5234 Commits

Author SHA1 Message Date
Robert Carr
49b593efae Remove unused SurfaceView state.
Use progressively declined over N, until I noticed
they were no longer used at all.

Change-Id: I05db2e8569d26b69f91f753564ffa5f40aa05a61
2016-07-11 12:22:06 -07:00
TreeHugger Robot
e7d27dd2fc Merge "Add onTerminate runner to MtpServer." 2016-07-11 03:04:03 +00:00
TreeHugger Robot
ede2e7d822 Merge "Add @NonNull / @Nullable annotations to android.mtp API." 2016-07-11 02:29:12 +00:00
Daichi Hirono
f1d69ee247 Add onTerminate runner to MtpServer.
The CL adds onTerminate runner to MtpServer constructor's arguments to
know when MtpServer stops its thread.

BUG=29971895

Change-Id: I685ad6bc663f76e04ae3837129cbe12805d2093c
2016-07-11 10:15:41 +09:00
Jean-Michel Trivi
95a8724dff Merge \\\"More javadoc for audio recording activity API\\\" into nyc-dev am: 8d5fd92314 am: a90df50109
am: 7cd1622ca3

Change-Id: Ic2453ac826b5fc80a73b9a03d99c84cfd0132186
2016-07-08 20:03:58 +00:00
Jean-Michel Trivi
7cd1622ca3 Merge \\"More javadoc for audio recording activity API\\" into nyc-dev am: 8d5fd92314
am: a90df50109

Change-Id: I256b03cae0e76b7a5c61a691c9359a091f1f666a
2016-07-08 19:55:08 +00:00
Jean-Michel Trivi
a90df50109 Merge \"More javadoc for audio recording activity API\" into nyc-dev
am: 8d5fd92314

Change-Id: I58f991a41a6d17ca8e854109dad6ab41b14bc65a
2016-07-08 19:45:54 +00:00
Jean-Michel Trivi
8d5fd92314 Merge "More javadoc for audio recording activity API" into nyc-dev 2016-07-08 19:36:33 +00:00
Daichi Hirono
0639fe0aa9 Add @NonNull / @Nullable annotations to android.mtp API.
BUG=26758882

Change-Id: Ic86d2253114b487d68a069f3e63f19b200d6cb97
2016-07-08 11:28:00 +09:00
Eric Laurent
69ab143351 Merge \\\"SoundPool: fix enforced camera shutter sound\\\" into nyc-dev am: a2266f7a0f am: a165d12737
am: be50351b72

Change-Id: Ib25af848035f9bf1376c3c48506d9c5f882a9cb5
2016-07-07 21:08:03 +00:00
Eric Laurent
be50351b72 Merge \\"SoundPool: fix enforced camera shutter sound\\" into nyc-dev am: a2266f7a0f
am: a165d12737

Change-Id: I8e79a3f627ec38c736decdca2c88b56a4f5b5452
2016-07-07 20:57:54 +00:00
Eric Laurent
a165d12737 Merge \"SoundPool: fix enforced camera shutter sound\" into nyc-dev
am: a2266f7a0f

Change-Id: I6ae2457bd8bd9f53b35373fb1be7eb66f80f1510
2016-07-07 20:46:20 +00:00
Eric Laurent
1913e5acc4 SoundPool: fix enforced camera shutter sound
Make sure that camera shutter sound is played in
total silence DND mode when enforced by country
regulation.

Bug: 29973005
Change-Id: I208f7ae5b07777eac48597f68feae6358999b2c3
2016-07-07 18:47:03 +00:00
Bryan Mawhinney
b5a1d80471 Merge \\"Make MediaScanner extract \\"date taken\\" from videos, if present\\" into nyc-mr1-dev am: d63dbfdb6b
am: 1cba847a71

Change-Id: I02937c5323fc6523b796cc6282ddc38a172b3fa0
2016-07-07 09:33:38 +00:00
Bryan Mawhinney
1cba847a71 Merge \"Make MediaScanner extract \"date taken\" from videos, if present\" into nyc-mr1-dev
am: d63dbfdb6b

Change-Id: I5ea0eafbc2e122f2756098ac98b50c03fe773be5
2016-07-07 09:28:03 +00:00
Jin Seok Park
385821b07b Merge "ExifInterface: Add support for preview images" 2016-07-07 05:44:05 +00:00
Jean-Michel Trivi
7872affa96 More javadoc for audio recording activity API
Better overview of feature inside AudioRecordingConfiguration
 class description.
Addition of @see links in AudioManager query and callback methods.

Bug 27929523

Change-Id: I9159ffd40d68f7c65f59570119821087643f9030
2016-07-06 18:12:01 -07:00
TreeHugger Robot
5f76c3712f Merge "Add NonNull and Nullable annotations to MtpDevice." 2016-07-06 06:31:48 +00:00
Jin Park
1674546669 ExifInterface: Add support for preview images
A RAW format file may contain a preview image, in addition to a
primary image and a thumbnail image. This CL detects and parses the
preview image metadata.

Bug: 29409358
Change-Id: Ide176ea0d93228b45c50a97f82273132de25e27a
2016-07-06 14:15:15 +09:00
Jin Seok Park
8c1a674879 Merge "ExifInterface: Update image length/width values" 2016-07-06 02:33:39 +00:00
Daichi Hirono
452e8fe559 Add NonNull and Nullable annotations to MtpDevice.
BUG=26758882

Change-Id: I5fa7130b671c71aefca848c109bf37389f57b9da
2016-07-05 17:29:48 +09:00
Jin Park
e70aab7f8a ExifInterface: Update image length/width values
A RAW file may store extra pixels around the edges of the image,
resulting in width and length tags that are larger than they actually
are. This CL addresses this issue by finding the actual values and
updating accordingly.

Bug: 29409358
Change-Id: I804bdbd7883ea860fe3425e6ce9c71334d1341a0
2016-07-04 15:18:57 +09:00
Sungsoo Lim
43635ca3f7 MediaBrowserService: Add a constant for suggestion keywords
EXTRA_SUGGESTION_KEYWORDS will be used for denoting specific keywords
which will be considered when the browser service suggests media items.

Bug: 28210241
Change-Id: I3831c0819f9d3ffa3fdd628031063069a5a62006
2016-07-01 15:57:59 +09:00
Jaewan Kim
96fd61cf31 Merge "Add more comment for MediaSession.setMetadata" 2016-07-01 02:35:52 +00:00
Jin Seok Park
943dfc32b9 Merge "ExifInterface: Remove dependency on Piex for DNG Test File" 2016-06-30 06:39:17 +00:00
Jin Park
a59d058e15 ExifInterface: Remove dependency on Piex for DNG Test File
This CL removes dependency from Piex for a DNG Test file currently in
ExifInterfaceTest.java.
Specific functions include identifying and setting the byte order of
the data, parsing and saving Exif tags, and retrieving thumbnail
image data and information.
The marker HANDLE_RAW will determine whether to use Piex or not.

Bug: 29409358
Change-Id: I4cd9916ac0c6f294fc44d8b76f52d456aeee8cdc
2016-06-30 15:08:13 +09:00
Jaewan Kim
762194c22d Add more comment for MediaSession.setMetadata
To reduce the memory usage, MediaSession may have a scaled down copy
of Bitmap metadata. Add the comment for that not to surprise developers.

Bug: 29149751
Change-Id: I6d3542a3bf40e218c31b0e269309de7a51dbc87d
2016-06-30 13:34:30 +09:00
Bryan Mawhinney
5f0c3a5319 Make MediaScanner extract "date taken" from videos, if present
Bug: 29530912
Change-Id: I0f6847a4844e06609cd990e7727edddef4c028fa
2016-06-29 17:59:51 +01:00
Lajos Molnar
dc74e5fa9b Merge \\\"media: document rotation and scaling issues for MediaCodec\\\" into nyc-dev am: af9d9f9b3e am: 2d9139410f
am: 3cdb912b8a

Change-Id: Ie16da0d7856495f659f8f90bbf2c490312555e38
2016-06-28 22:37:28 +00:00
Lajos Molnar
818f7c8c1a Merge \"media: document VP9 CSD for MediaCodec\" into nyc-dev
am: 1fe8871f04

Change-Id: I20c207b5bc735221eaf8982759d00b7a2a89a983
2016-06-28 22:32:07 +00:00
Lajos Molnar
3cdb912b8a Merge \\"media: document rotation and scaling issues for MediaCodec\\" into nyc-dev am: af9d9f9b3e
am: 2d9139410f

Change-Id: I7f46ee8cf0cc5c16b235186c30bb72db8005fa6a
2016-06-28 22:31:55 +00:00
Lajos Molnar
1fe8871f04 Merge "media: document VP9 CSD for MediaCodec" into nyc-dev 2016-06-28 22:27:53 +00:00
Lajos Molnar
2d9139410f Merge \"media: document rotation and scaling issues for MediaCodec\" into nyc-dev
am: af9d9f9b3e

Change-Id: I9a34f84efbc54d49ecc90c1e095be643d26876d3
2016-06-28 22:27:05 +00:00
Lajos Molnar
29522123db Merge \"media: document format keys for MediaExtractor/CodecCapabilities\" into nyc-dev
am: 556e012979

Change-Id: I259b49699bf3e606da8e40aba85288b5a41fe31f
2016-06-28 22:26:58 +00:00
Lajos Molnar
eb6fac8029 Merge \"media: document rotation and scaling issues for MediaCodec\" into nyc-dev
am: af9d9f9b3e

Change-Id: Ie9d890df1b77c8fd79766e5ea329e5f8db4a94eb
2016-06-28 22:26:44 +00:00
Lajos Molnar
af9d9f9b3e Merge "media: document rotation and scaling issues for MediaCodec" into nyc-dev 2016-06-28 22:21:02 +00:00
Lajos Molnar
556e012979 Merge "media: document format keys for MediaExtractor/CodecCapabilities" into nyc-dev 2016-06-28 22:19:30 +00:00
Lajos Molnar
457cdac667 Merge \\"media: document format keys for MediaExtractor/CodecCapabilities\\" into nyc-mr1-dev am: 41f0e20739
am: b353834077

Change-Id: I4dd81ce125ba6bb0b5ff10c5b84cb5a1e4c958de
2016-06-28 19:07:26 +00:00
Lajos Molnar
b353834077 Merge \"media: document format keys for MediaExtractor/CodecCapabilities\" into nyc-mr1-dev
am: 41f0e20739

Change-Id: I482ec13bc3cdf1d7b1a485c2c7baee5131102c56
2016-06-28 19:01:57 +00:00
Lajos Molnar
4461356ea8 media: document rotation and scaling issues for MediaCodec
Bug: 23709311
Bug: 28512795
Change-Id: Iddebd13b4cd4c50bca8736d3aca71571ad16633a
2016-06-28 10:38:34 -07:00
Lajos Molnar
db56549ff2 media: document format keys for MediaExtractor/CodecCapabilities
Bug: 29618892
Change-Id: I78049997c153fe00fbcf4475eeefdc937de284dd
2016-06-28 17:20:09 +00:00
Lajos Molnar
ed1de77125 Merge \\"media: document VP9 CSD for MediaCodec\\" into nyc-mr1-dev am: 5b2fd818a0
am: c8fea44e5e

Change-Id: I7b6ceeb3192b7b421916bf957a868b1fc8816a62
2016-06-28 16:07:35 +00:00
Lajos Molnar
c8fea44e5e Merge \"media: document VP9 CSD for MediaCodec\" into nyc-mr1-dev
am: 5b2fd818a0

Change-Id: Id7ed6f9342601ee8f67ff28f37c9b38b96e9c084
2016-06-28 16:02:13 +00:00
Lajos Molnar
671da98e2d media: document VP9 CSD for MediaCodec
Also document that concatenated CSD is only supported for AVC.

Bug: 10672559
Change-Id: I54867655068802ef35f92a6341f8b5bb068555ee
2016-06-28 14:20:31 +00:00
Lajos Molnar
9cecd0a9a2 Merge \\\"media: document format keys for MediaMuxer\\\" into nyc-dev am: 5059e65fec am: 3e81ab2c73
am: 3f5ca3d314

Change-Id: I33e9b56ec09cae183621ccb6ea42361425c265e7
2016-06-27 16:25:20 +00:00
Lajos Molnar
83bdc9033a Merge \\\"media: document output image crop and layout for MediaCodec\\\" into nyc-dev am: 939484b8ab am: 69484dcd8a
am: 9cb2dfcdeb

Change-Id: If000d886c7681e3badb5e585d3b0ea106eb0859a
2016-06-27 16:25:13 +00:00
Lajos Molnar
3e81ab2c73 Merge \"media: document format keys for MediaMuxer\" into nyc-dev
am: 5059e65fec

Change-Id: I69c5b31fda557ea8d9ca0540f3878f566ada9b56
2016-06-27 16:16:41 +00:00
Lajos Molnar
69484dcd8a Merge \"media: document output image crop and layout for MediaCodec\" into nyc-dev
am: 939484b8ab

Change-Id: Iee0b8c9d07ac7847248e18f23fc26c5d8939f5bb
2016-06-27 16:16:37 +00:00
TreeHugger Robot
5059e65fec Merge "media: document format keys for MediaMuxer" into nyc-dev 2016-06-27 16:10:39 +00:00
Sungsoo Lim
d7e7813734 MediaMetadata: Unhide METADATA_KEY_MEDIA_URI
Bug: 29025504
Change-Id: I38973366ead5878a121b266ce7daf63689858cd0
2016-06-27 11:49:09 +09:00