summaryrefslogtreecommitdiffstats
path: root/media/java
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), ↵gwang@google.com2009-10-062-2/+4
| | | | and Fix bad links in ToneGenerator documentation.
* Music visualizer support hack.Marco Nelissen2009-10-061-0/+5
| | | | This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
* Update from API review.Dianne Hackborn2009-09-301-1/+1
| | | | Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
* Merge change Id60fa26a into eclairAndroid (Google) Code Review2009-10-012-35/+175
|\ | | | | | | | | * changes: Fix issue 2152541 thumbnail images stretched.
| * Fix issue 2152541 thumbnail images stretched.Ray Chen2009-09-302-35/+175
| |
* | Fix Issue 2158631: AudioService: volume control sometimes not restored after ↵Eric Laurent2009-09-301-5/+8
|/ | | | | | | | media server process crash. The problem comes from the fact that the AudioSystem callback indicating that the media server is active again is ignored if it is received before the delayed message indicating media server death. This happens if another application or service running in the system server process makes a request to the AudioSystem in the interval between the death of the media server and the reception of the corresponding delayed message. The fix consists in resetting mMediaServerOk flags immediately when the death callback is received and not when the delayed message is received.
* Merge change If5722b3f into eclairAndroid (Google) Code Review2009-09-291-1/+3
|\ | | | | | | | | * changes: Dont NPE if the thumbnail file cannot be opened.
| * Dont NPE if the thumbnail file cannot be opened.Chih-Chung Chang2009-09-291-1/+3
| |
* | Merge change I19f2928b into eclairAndroid (Google) Code Review2009-09-292-6/+23
|\ \ | |/ |/| | | | | * changes: Fix issue 2141503: Keyclick sound doesn't honor volume settings.
| * Fix issue 2141503: Keyclick sound doesn't honor volume settings.Eric Laurent2009-09-292-6/+23
| | | | | | | | Use music stream volume minus 3 dB for sound effects if volume is not explicitly requested by application.
* | Unify Java NIO to read/write MiniThumbFile.Ray Chen2009-09-291-37/+33
|/
* Merge change 27449 into eclairAndroid (Google) Code Review2009-09-281-0/+7
|\ | | | | | | | | * changes: Always consider m4a files as audio, even when they contain a video track.
| * Always consider m4a files as audio, even when they contain a video track.Marco Nelissen2009-09-281-0/+7
| |
* | Merge change 27318 into eclairAndroid (Google) Code Review2009-09-271-1/+2
|\ \ | |/ | | | | | | * changes: Check that playlist entries refer to a row in the audio table.
| * Check that playlist entries refer to a row in the audio table.Marco Nelissen2009-09-271-1/+2
| |
* | Remove fflush when storing thumbanil to sdcard.Ray Chen2009-09-271-1/+0
|/
* Only scan windows media files when those codecs are enabled.Marco Nelissen2009-09-271-3/+8
|
* Fix issue 2128896 The thumbnail generated after picture capture with max ↵Ray Chen2009-09-241-1/+1
| | | | zoom is overlapped with previous thumbnail.
* Add new thumbnail API.Ray Chen2009-09-233-0/+683
|
* Make media scanner read the jpeg orientation tag.Chih-Chung Chang2009-09-221-0/+22
|
* Improve ExifInterface API.Chih-Chung Chang2009-09-182-94/+40
| | | | Change-Id: Ic6c4df8244b51b9a0d1c73c3797847220d86604d
* Merge change 25291 into eclairAndroid (Google) Code Review2009-09-161-1/+1
|\ | | | | | | | | * changes: Try to fix sdk build again.
| * Try to fix sdk build again.Chih-Chung Chang2009-09-171-1/+1
| |
* | Merge change 25286 into eclairAndroid (Google) Code Review2009-09-161-1/+1
|\ \ | |/ | | | | | | * changes: Fix sdk build.
| * Fix sdk build.Chih-Chung Chang2009-09-171-1/+1
| |
* | Merge change 25272 into eclairAndroid (Google) Code Review2009-09-161-1/+0
|\ \ | |/ | | | | | | * changes: Make ExifInterface public.
| * Make ExifInterface public.Chih-Chung Chang2009-09-161-1/+0
| |
* | Merge change 25155 into eclairAndroid (Google) Code Review2009-09-161-0/+31
|\ \ | |/ |/| | | | | * changes: Fix bug 2115258 where the AudioManager javadoc doesn't warn against misuse of some of the methods that should only be used to implement the Settings and Phone apps, and the audio service.
| * Fix bug 2115258 where the AudioManager javadoc doesn't warn againstJean-Michel Trivi2009-09-151-0/+31
| | | | | | | | | | misuse of some of the methods that should only be used to implement the Settings and Phone apps, and the audio service.
* | Clean ExifInterface. Prepare to make it public.Chih-Chung Chang2009-09-162-221/+161
|/ | | | Change-Id: Ibff719d02f525c1e8583d1892737224a0cc42c37
* API_CHANGE: Cleanup, javadoc and unhide more Bluetooth API.Nick Pelly2009-09-101-16/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a large batch, and covers: -- Bluetooth Device Discovery -- BluetoothAdapter.ACTION_DISCOVERY_STARTED BluetoothAdapter.ACTION_DISCOVERY_FINISHED BluetoothAdapter.startDiscovery() BluetoothAdapter.cancelDiscovery() BluetoothAdapter.isDiscovering() -- Bluetooth bonding (pairing) -- BluetoothAdapter.getBondedDevices() BluetoothDevice.ACTION_BOND_STATE_CHANGED BluetoothDevice.EXTRA_BOND_STATE BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE BluetoothDevice.BOND_NONE BluetoothDevice.BOND_BONDING BluetoothDevice.BOND_BONDED BluetoothDevice.getBondState() BluetoothDevice.createBond() BluetoothDevice.cancelBondProcess() BluetoothDevice.removeBond() -- BluetoothClass -- BluetoothDevice.ACTION_CLASS_CHANGED BluetoothDevice.EXTRA_CLASS BluetoothDevice.getBluetoothClass() BluetoothClass.Service.* BluetoothClass.Device.Major.* BluetoothClass.Device.* BluetoothClass.getDeviceClass() BluetoothClass.getMajorDeviceClass() BluetoothClass.hasService() -- Misc BluetoothDevice -- BluetoothDevice.ACTION_ACL_CONNECTED BluetoothDevice.ACTION_ACL_DISCONNECTED_REQUESTED BluetoothDevice.ACTION_ACL_DISCONNECTED BluetoothDevice.ACTION_DISCOVERED BluetoothDevice.ACTION_NAME_CHANGED BluetoothDevice.EXTRA_DEVICE BluetoothDevice.EXTRA_NAME BluetoothDevice.EXTRA_RSSI -- Misc BluetoothAdapter -- BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED BluetoothAdapter.EXTRA_LOCAL_NAME BluetoothAdapter.checkBluetoothAddress() I deprecated BluetoothIntent and moved each intent into the class it relates to. Change-Id: I877b1280428ab46278b2bc25668bb44cda22dc36
* Fix issue android.permission.cts.NoAudioPermissionTest:testRouting is failing.Eric Laurent2009-09-101-0/+6
| | | | Add audio permission checks in setSpeakerphoneOn() and setBluetoothScoOn() methods.
* RIO-7461: Update media scanner to scan AAC files.James Stokebrand2009-09-091-10/+17
| | | | (Change in frameworks/base git)
* Fix issue 1992233: DTMF tones on Sholes is really long.Eric Laurent2009-09-081-2/+13
| | | | | Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged. Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
* Merge change 23835 into eclairAndroid (Google) Code Review2009-09-032-1/+19
|\ | | | | | | | | * changes: When encountering a .nomedia file, notify the MediaScannerClient, so that it can erase the data column for entries that are in the folder containing the .nomedia file. This prevents us from deleting (via a delete trigger) files when somebody adds a .nomedia file after the fact.
| * When encountering a .nomedia file, notify the MediaScannerClient,Marco Nelissen2009-09-032-1/+19
| | | | | | | | | | | | | | so that it can erase the data column for entries that are in the folder containing the .nomedia file. This prevents us from deleting (via a delete trigger) files when somebody adds a .nomedia file after the fact.
* | Fix issue 2097083: STREAM_SYSTEM should be at max volume.Eric Laurent2009-09-031-2/+2
|/ | | | Changed default volume for STREAM_SYSTEM and STREAM_SYSTEM_ENFORCED to the maximum value.
* Fix 2081525: NPE in MediaScannerService.Chih-Chung Chang2009-09-011-0/+1
| | | | | | Handle the case where the datetime string in jpeg exif is not in the format we expect. Change-Id: I5462052c3dd723d01bce45f4924137632d081400
* Set Routing to A2DP only when state is Connected.Jaikumar Ganesh2009-08-271-1/+2
| | | | | | | | We were setting the routing to A2DP when the state was Connecting too. This was incorrect and can cause problems. One such problem was when handling an incoming connection we set the routing to A2DP before authorization. And even if authorization succeeds we get out sync with AVDTP command state.
* Fix issue 2076322: AudioService, too many stream volume steps.Eric Laurent2009-08-261-10/+10
| | | | MAX_STREAM_VOLUME[] now contains the maximum valid index instead of the number of indexes for all stream types.
* Fix build.Dianne Hackborn2009-08-241-1/+1
| | | | Change-Id: I7a21bc2151fb2a9a1135f676b563f40609bc997b
* I am getting tired of the java doc warnings, so fix them.Dianne Hackborn2009-08-244-11/+19
| | | | Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
* Fix AudioService on HFP power off due to new Bluetooth API.Nick Pelly2009-08-191-14/+19
| | | | | HEADSET_STATE_CHANGED_ACTION contains a null BluetoothDevice when the HFP disconnects.
* Bluetooth: API change.Nick Pelly2009-08-181-28/+23
| | | | | | | | | | | | | | | Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc
* Fix 1860351: Put datetime in jpeg exif to datetaken field.Chih-Chung Chang2009-08-172-1/+31
|
* DO NOT MERGE, ALready merged to master.Sahil Sachdeva2009-08-142-0/+5
| | | | 1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.
* Change the number of volume steps from 6 to 7 per Verizon RequirementsJared Suttles2009-08-132-15/+23
| | | | | Submitted on behalf of Helen Tran <Helen.Tran@motorola.com> Signed-off-by: Jared Suttles <jared.suttles@motorola.com>
* am cb2b2378: Merge change 20729 into donutWu-cheng Li2009-08-111-1/+4
|\ | | | | | | | | | | | | Merge commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90' * commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90': Fix the bug that EXIF attributes are always cached.
| * Fix the bug that EXIF attributes are always cached.Wu-cheng Li2009-08-111-1/+4
| | | | | | | | b2039501
* | AudioService now differentiates BT headsets and car kits.Eric Laurent2009-08-071-14/+49
| | | | | | | | | | The BT headset detection now makes the difference between car kits and headsets, which can be used by audio policy manager. The headset connection is also detected earlier, that is when the headset is connected and not when the SCO socket is connected as it was the case before. This allows the audio policy manager to suspend A2DP output while ringing if a SCO headset is connected.