624 Commits

Author SHA1 Message Date
Chih-Chung Chang
412933234a am 8bbba0e3: Merge change If5722b3f into eclair
Merge commit '8bbba0e35b0dd5191c94b2aa039aa4eae0aecad0' into eclair-plus-aosp

* commit '8bbba0e35b0dd5191c94b2aa039aa4eae0aecad0':
  Dont NPE if the thumbnail file cannot be opened.
2009-09-29 17:00:24 -07:00
Android (Google) Code Review
8bbba0e35b Merge change If5722b3f into eclair
* changes:
  Dont NPE if the thumbnail file cannot be opened.
2009-09-29 19:52:23 -04:00
Chih-Chung Chang
f5722b3f22 Dont NPE if the thumbnail file cannot be opened. 2009-09-29 16:31:16 -07:00
Eric Laurent
efc42d3a5b am 7d987180: Merge change I19f2928b into eclair
Merge commit '7d9871805beef4ea5e319f1a11ab32f610031845' into eclair-plus-aosp

* commit '7d9871805beef4ea5e319f1a11ab32f610031845':
  Fix issue 2141503: Keyclick sound doesn't honor volume settings.
2009-09-29 15:18:10 -07:00
Android (Google) Code Review
7d9871805b Merge change I19f2928b into eclair
* changes:
  Fix issue 2141503: Keyclick sound doesn't honor volume settings.
2009-09-29 18:12:54 -04:00
Eric Laurent
a2ef57dba9 Fix issue 2141503: Keyclick sound doesn't honor volume settings.
Use music stream volume minus 3 dB for sound effects if volume is not explicitly requested by application.
2009-09-29 15:00:40 -07:00
James Dong
b8bf70acee am 4c232c5b: Merge change Idd16976f into eclair
Merge commit '4c232c5b3f7fcbea73cd3cec2d3befe06e85c068' into eclair-plus-aosp

* commit '4c232c5b3f7fcbea73cd3cec2d3befe06e85c068':
  Fix some metadata retriever issues:
2009-09-29 13:32:28 -07:00
Ray Chen
06e5b76667 am 0167263b: Merge change Ide90d0cc into eclair
Merge commit '0167263bf457164a17f612ec551313f1b9e42972' into eclair-plus-aosp

* commit '0167263bf457164a17f612ec551313f1b9e42972':
  Unify Java NIO to read/write MiniThumbFile.
2009-09-29 13:32:14 -07:00
Android (Google) Code Review
4c232c5b3f Merge change Idd16976f into eclair
* changes:
  Fix some metadata retriever issues: 1. mRetriever was initialized twice: one in the constructor and the other in the setDataSource 2. cached the mode so that setMode can still be called before setDataSource.    mRetriever won't be initialized until data source is set; thus we have to do this
2009-09-29 16:27:27 -04:00
Ray Chen
ecc97cc949 Unify Java NIO to read/write MiniThumbFile. 2009-09-29 13:11:20 -07:00
James Dong
67fc234a2f Fix some metadata retriever issues:
1. mRetriever was initialized twice: one in the constructor and the other in the setDataSource
2. cached the mode so that setMode can still be called before setDataSource.
   mRetriever won't be initialized until data source is set; thus we have to do this
2009-09-29 12:43:12 -07:00
James Dong
d4a9711057 am 9365c8fa: am 99638e74: Merge change 27466 into eclair
Merge commit '9365c8fa7c66c62de98b859f08c881ea2ad65980'

* commit '9365c8fa7c66c62de98b859f08c881ea2ad65980':
  Turn on thubmnail capture unit test for media metadata retriever
2009-09-28 11:53:55 -07:00
James Dong
9365c8fa7c am 99638e74: Merge change 27466 into eclair
Merge commit '99638e747251929191f7773d2a81bbea223f1e09' into eclair-plus-aosp

* commit '99638e747251929191f7773d2a81bbea223f1e09':
  Turn on thubmnail capture unit test for media metadata retriever
2009-09-28 11:49:22 -07:00
Android (Google) Code Review
99638e7472 Merge change 27466 into eclair
* changes:
  Turn on thubmnail capture unit test for media metadata retriever
2009-09-28 14:40:34 -04:00
James Dong
525ad18663 Turn on thubmnail capture unit test for media metadata retriever 2009-09-28 10:57:17 -07:00
Marco Nelissen
3089841a4d am 14e8e988: am 7d973514: Merge change 27449 into eclair
Merge commit '14e8e988cfdd01b665f5b49fb6f95a6c11ce3660'

* commit '14e8e988cfdd01b665f5b49fb6f95a6c11ce3660':
  Always consider m4a files as audio, even when they contain a video track.
2009-09-28 10:07:30 -07:00
Marco Nelissen
7425821ff0 am aa507136: am dba93b68: Merge change 27318 into eclair
Merge commit 'aa507136493b24a899b270367b08a7158085c9b8'

* commit 'aa507136493b24a899b270367b08a7158085c9b8':
  Check that playlist entries refer to a row in the audio table.
2009-09-28 10:04:50 -07:00
Marco Nelissen
14e8e988cf am 7d973514: Merge change 27449 into eclair
Merge commit '7d9735142f75c3bf30b420fdd006dc356f32fede' into eclair-plus-aosp

* commit '7d9735142f75c3bf30b420fdd006dc356f32fede':
  Always consider m4a files as audio, even when they contain a video track.
2009-09-28 09:27:10 -07:00
Android (Google) Code Review
7d9735142f Merge change 27449 into eclair
* changes:
  Always consider m4a files as audio, even when they contain a video track.
2009-09-28 12:24:08 -04:00
Marco Nelissen
1851db6804 Always consider m4a files as audio, even when they contain a video track. 2009-09-28 09:03:33 -07:00
Ray Chen
df6276ad40 am 1055e0d8: am cc96652c: Remove fflush when storing thumbanil to sdcard.
Merge commit '1055e0d830f9e594721ee8e64fa3f2c29dd163dd'

* commit '1055e0d830f9e594721ee8e64fa3f2c29dd163dd':
  Remove fflush when storing thumbanil to sdcard.
2009-09-28 01:13:29 -07:00
Marco Nelissen
32eb22c03a am c46f886b: am 0faa5c6c: Merge change 27271 into eclair
Merge commit 'c46f886b63772be33c6e6864475140606a79e126'

* commit 'c46f886b63772be33c6e6864475140606a79e126':
  Only scan windows media files when those codecs are enabled.
2009-09-28 01:11:59 -07:00
Marco Nelissen
aa50713649 am dba93b68: Merge change 27318 into eclair
Merge commit 'dba93b68326f139f669aefa6770d50daff032746' into eclair-plus-aosp

* commit 'dba93b68326f139f669aefa6770d50daff032746':
  Check that playlist entries refer to a row in the audio table.
2009-09-27 19:50:49 -07:00
Android (Google) Code Review
dba93b6832 Merge change 27318 into eclair
* changes:
  Check that playlist entries refer to a row in the audio table.
2009-09-27 22:43:05 -04:00
Yu Shan Emily Lau
0a63934d97 am 20f8fcd9: am 7756cbee: Merge change 27073 into eclair
Merge commit '20f8fcd9fe2a1c034113431ecbab8aa03114bb63'

* commit '20f8fcd9fe2a1c034113431ecbab8aa03114bb63':
  Removed the device type checking
2009-09-27 15:42:30 -07:00
Marco Nelissen
d4f3586c93 Check that playlist entries refer to a row in the audio table. 2009-09-27 15:06:03 -07:00
Ray Chen
1055e0d830 am cc96652c: Remove fflush when storing thumbanil to sdcard.
Merge commit 'cc96652c7049569c1bc7b1f93ba454a7cb891fd8' into eclair-plus-aosp

* commit 'cc96652c7049569c1bc7b1f93ba454a7cb891fd8':
  Remove fflush when storing thumbanil to sdcard.
2009-09-27 14:03:32 -07:00
Ray Chen
cc96652c70 Remove fflush when storing thumbanil to sdcard. 2009-09-27 13:41:25 -07:00
Marco Nelissen
c46f886b63 am 0faa5c6c: Merge change 27271 into eclair
Merge commit '0faa5c6c5a6da598fd6cdac3a5c1f1f9a2090ad2' into eclair-plus-aosp

* commit '0faa5c6c5a6da598fd6cdac3a5c1f1f9a2090ad2':
  Only scan windows media files when those codecs are enabled.
2009-09-27 12:24:17 -07:00
Android (Google) Code Review
0faa5c6c5a Merge change 27271 into eclair
* changes:
  Only scan windows media files when those codecs are enabled.
2009-09-27 15:19:27 -04:00
Marco Nelissen
0ddbc35dc4 Only scan windows media files when those codecs are enabled. 2009-09-27 11:25:49 -07:00
Yu Shan Emily Lau
20f8fcd9fe am 7756cbee: Merge change 27073 into eclair
Merge commit '7756cbeef475127ed56bfeabecb3c291366a952f' into eclair-plus-aosp

* commit '7756cbeef475127ed56bfeabecb3c291366a952f':
  Removed the device type checking
2009-09-25 16:47:24 -07:00
Android (Google) Code Review
7756cbeef4 Merge change 27073 into eclair
* changes:
  Removed the device type checking
2009-09-25 19:42:24 -04:00
Yu Shan Emily Lau
34831c9330 Removed the device type checking 2009-09-25 16:01:20 -07:00
Eric Laurent
df13a337e1 am df9879bf: am e9bd4788: Merge change 26881 into eclair
Merge commit 'df9879bf1fb8c9785b20bc3fbe0b2ad6e4f09dfd'

* commit 'df9879bf1fb8c9785b20bc3fbe0b2ad6e4f09dfd':
  Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
2009-09-25 11:23:04 -07:00
Yu Shan Emily Lau
f5171c13a1 am 384350e8: am 3f790d87: Merge change 27011 into eclair
Merge commit '384350e8043b02e332ad4bea0a0c1e9b26f2e1bb'

* commit '384350e8043b02e332ad4bea0a0c1e9b26f2e1bb':
  Added the checking for the wma in the memory test.
2009-09-25 11:22:58 -07:00
Ray Chen
7945105cc1 am d503453c: am 80d8ace4: Merge change 26997 into eclair
Merge commit 'd503453ca093a1aac3781cdf6d86fd0700de6600'

* commit 'd503453ca093a1aac3781cdf6d86fd0700de6600':
  Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail.
2009-09-25 11:17:22 -07:00
Yu Shan Emily Lau
50ee15793b am 99c156cd: am 7d0bdfaf: Merge change 26948 into eclair
Merge commit '99c156cd9ff67119e20d4ebc851998d68492da05'

* commit '99c156cd9ff67119e20d4ebc851998d68492da05':
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-25 11:14:52 -07:00
Dianne Hackborn
4336317687 am 74468de2: am 9d31e1be: Merge change 26686 into eclair
Merge commit '74468de20b53a3ecea666b5557ec1a0e27f8946d'

* commit '74468de20b53a3ecea666b5557ec1a0e27f8946d':
  Fix broken build.
2009-09-25 10:53:52 -07:00
Ray Chen
4298f3e3b9 am 94cdc3d0: am 830207ca: Merge change 25635 into eclair
Merge commit '94cdc3d0e2c7f4f001177829f6bbf3b52ce07b98'

* commit '94cdc3d0e2c7f4f001177829f6bbf3b52ce07b98':
  Add new thumbnail API.
2009-09-25 10:49:09 -07:00
Eric Laurent
df9879bf1f am e9bd4788: Merge change 26881 into eclair
Merge commit 'e9bd4788d4370714374d833aed1339d17c5ded09' into eclair-plus-aosp

* commit 'e9bd4788d4370714374d833aed1339d17c5ded09':
  Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
2009-09-25 00:43:43 -07:00
Yu Shan Emily Lau
384350e804 am 3f790d87: Merge change 27011 into eclair
Merge commit '3f790d87838114a71bff96b4a0a51537ca879597' into eclair-plus-aosp

* commit '3f790d87838114a71bff96b4a0a51537ca879597':
  Added the checking for the wma in the memory test.
2009-09-25 00:41:03 -07:00
Android (Google) Code Review
e9bd4788d4 Merge change 26881 into eclair
* changes:
  Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
2009-09-25 03:37:03 -04:00
Android (Google) Code Review
3f790d8783 Merge change 27011 into eclair
* changes:
  Added the checking for the wma in the memory test.
2009-09-25 03:31:28 -04:00
Yu Shan Emily Lau
a56e653130 Added the checking for the wma in the memory test. 2009-09-25 00:07:47 -07:00
Eric Laurent
af141d529f Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
When the AudioTrack callback notification size is relatively high (Which is the case on Sholes and over A2DP), it is likely that the end of tone is reached during the first callback. In this case, the AudioTrack is stopped before exiting the callback which causes 2 problems:
- 1: If the AudioFlinger thread is scheduled before we exit the ToneGenerator callback, the track can be stopped and reset before the data is actually marked as present in the buffer by the AudioTrack callback => no audio will be processed by AudioFlinger.
- 2: In this case, the data write index in the AudioTrack buffer is incremented after the track was reset by the AudioFlinger which leaves unplayed data in the buffer. This data will be played the next time the AudioTrack is started if not flushed in between.

The fix consists in adding an intermediate state to ToneGenerator state machine so that we exit the callback function when the stop condition is reached and stop the AudioTrack the next time we execute the callback.
2009-09-24 23:49:40 -07:00
Ray Chen
d503453ca0 am 80d8ace4: Merge change 26997 into eclair
Merge commit '80d8ace484525f0272b8a56142ef838f5f4d38e4' into eclair-plus-aosp

* commit '80d8ace484525f0272b8a56142ef838f5f4d38e4':
  Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail.
2009-09-24 21:26:27 -07:00
Ray Chen
343449f018 Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail. 2009-09-24 20:22:37 -07:00
Yu Shan Emily Lau
99c156cd9f am 7d0bdfaf: Merge change 26948 into eclair
Merge commit '7d0bdfaf9adbdaee0b8979d3d23b5b7ecb8a90a9' into eclair-plus-aosp

* commit '7d0bdfaf9adbdaee0b8979d3d23b5b7ecb8a90a9':
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-24 16:59:59 -07:00
Android (Google) Code Review
7d0bdfaf9a Merge change 26948 into eclair
* changes:
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-24 19:53:57 -04:00