am a181da10: Merge "Fix broken @see javadoc in android.media.* classes" into lmp-mr1-dev
* commit 'a181da10ac5a7fc750d046e7789ba2244ee563b9': Fix broken @see javadoc in android.media.* classes
This commit is contained in:
@@ -398,7 +398,7 @@ public final class MediaFormat {
|
|||||||
* The associated value is an integer. These values are device and codec specific,
|
* The associated value is an integer. These values are device and codec specific,
|
||||||
* but lower values generally result in faster and/or less power-hungry encoding.
|
* but lower values generally result in faster and/or less power-hungry encoding.
|
||||||
*
|
*
|
||||||
* @see MediaCodecInfo.CodecCapabilities.EncoderCapabilities#getComplexityRange
|
* @see MediaCodecInfo.EncoderCapabilities#getComplexityRange()
|
||||||
*/
|
*/
|
||||||
public static final String KEY_COMPLEXITY = "complexity";
|
public static final String KEY_COMPLEXITY = "complexity";
|
||||||
|
|
||||||
@@ -411,7 +411,7 @@ public final class MediaFormat {
|
|||||||
*
|
*
|
||||||
* @hide
|
* @hide
|
||||||
*
|
*
|
||||||
* @see MediaCodecInfo.CodecCapabilities.EncoderCapabilities#getQualityRange
|
* @see MediaCodecInfo.EncoderCapabilities#getQualityRange()
|
||||||
*/
|
*/
|
||||||
public static final String KEY_QUALITY = "quality";
|
public static final String KEY_QUALITY = "quality";
|
||||||
|
|
||||||
@@ -428,7 +428,7 @@ public final class MediaFormat {
|
|||||||
* A key describing the desired bitrate mode to be used by an encoder.
|
* A key describing the desired bitrate mode to be used by an encoder.
|
||||||
* Constants are declared in {@link MediaCodecInfo.CodecCapabilities}.
|
* Constants are declared in {@link MediaCodecInfo.CodecCapabilities}.
|
||||||
*
|
*
|
||||||
* @see MediaCodecInfo.CodecCapabilities.EncoderCapabilities#isBitrateModeSupported
|
* @see MediaCodecInfo.EncoderCapabilities#isBitrateModeSupported(int)
|
||||||
*/
|
*/
|
||||||
public static final String KEY_BITRATE_MODE = "bitrate-mode";
|
public static final String KEY_BITRATE_MODE = "bitrate-mode";
|
||||||
|
|
||||||
|
|||||||
@@ -1640,7 +1640,7 @@ public class MediaPlayer implements SubtitleController.Listener
|
|||||||
* Attaches an auxiliary effect to the player. A typical auxiliary effect is a reverberation
|
* Attaches an auxiliary effect to the player. A typical auxiliary effect is a reverberation
|
||||||
* effect which can be applied on any sound source that directs a certain amount of its
|
* effect which can be applied on any sound source that directs a certain amount of its
|
||||||
* energy to this effect. This amount is defined by setAuxEffectSendLevel().
|
* energy to this effect. This amount is defined by setAuxEffectSendLevel().
|
||||||
* {@see #setAuxEffectSendLevel(float)}.
|
* See {@link #setAuxEffectSendLevel(float)}.
|
||||||
* <p>After creating an auxiliary effect (e.g.
|
* <p>After creating an auxiliary effect (e.g.
|
||||||
* {@link android.media.audiofx.EnvironmentalReverb}), retrieve its ID with
|
* {@link android.media.audiofx.EnvironmentalReverb}), retrieve its ID with
|
||||||
* {@link android.media.audiofx.AudioEffect#getId()} and use it when calling this method
|
* {@link android.media.audiofx.AudioEffect#getId()} and use it when calling this method
|
||||||
@@ -1654,8 +1654,8 @@ public class MediaPlayer implements SubtitleController.Listener
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the send level of the player to the attached auxiliary effect
|
* Sets the send level of the player to the attached auxiliary effect.
|
||||||
* {@see #attachAuxEffect(int)}. The level value range is 0 to 1.0.
|
* See {@link #attachAuxEffect(int)}. The level value range is 0 to 1.0.
|
||||||
* <p>By default the send level is 0, so even if an effect is attached to the player
|
* <p>By default the send level is 0, so even if an effect is attached to the player
|
||||||
* this method must be called for the effect to be applied.
|
* this method must be called for the effect to be applied.
|
||||||
* <p>Note that the passed level value is a raw scalar. UI controls should be scaled
|
* <p>Note that the passed level value is a raw scalar. UI controls should be scaled
|
||||||
@@ -2283,9 +2283,9 @@ public class MediaPlayer implements SubtitleController.Listener
|
|||||||
* when {@code trackType} is not one of audio, video, or subtitle.
|
* when {@code trackType} is not one of audio, video, or subtitle.
|
||||||
* @throws IllegalStateException if called after {@link #release()}
|
* @throws IllegalStateException if called after {@link #release()}
|
||||||
*
|
*
|
||||||
* @see {@link #getTrackInfo()}
|
* @see #getTrackInfo()
|
||||||
* @see {@link #selectTrack(int)}
|
* @see #selectTrack(int)
|
||||||
* @see {@link #deselectTrack(int)}
|
* @see #deselectTrack(int)
|
||||||
*/
|
*/
|
||||||
public int getSelectedTrack(int trackType) throws IllegalStateException {
|
public int getSelectedTrack(int trackType) throws IllegalStateException {
|
||||||
if (trackType == TrackInfo.MEDIA_TRACK_TYPE_SUBTITLE && mSubtitleController != null) {
|
if (trackType == TrackInfo.MEDIA_TRACK_TYPE_SUBTITLE && mSubtitleController != null) {
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ public class MediaScannerConnection implements ServiceConnection {
|
|||||||
* @param callback Optional callback through which you can receive the
|
* @param callback Optional callback through which you can receive the
|
||||||
* scanned URI and MIME type; If null, the file will be scanned but
|
* scanned URI and MIME type; If null, the file will be scanned but
|
||||||
* you will not get a result back.
|
* you will not get a result back.
|
||||||
* @see scanFile(String, String)
|
* @see #scanFile(String, String)
|
||||||
*/
|
*/
|
||||||
public static void scanFile(Context context, String[] paths, String[] mimeTypes,
|
public static void scanFile(Context context, String[] paths, String[] mimeTypes,
|
||||||
OnScanCompletedListener callback) {
|
OnScanCompletedListener callback) {
|
||||||
|
|||||||
@@ -126,8 +126,7 @@ public final class MediaProjection {
|
|||||||
* invoked, or null if the callback should be invoked on the calling
|
* invoked, or null if the callback should be invoked on the calling
|
||||||
* thread's main {@link android.os.Looper}.
|
* thread's main {@link android.os.Looper}.
|
||||||
*
|
*
|
||||||
* @see android.hardware.display.DisplayManager#createVirtualDisplay(
|
* @see android.hardware.display.VirtualDisplay
|
||||||
* String, int, int, int, int, Surface, VirtualDisplay.Callback, Handler)
|
|
||||||
*/
|
*/
|
||||||
public VirtualDisplay createVirtualDisplay(@NonNull String name,
|
public VirtualDisplay createVirtualDisplay(@NonNull String name,
|
||||||
int width, int height, int dpi, int flags, @Nullable Surface surface,
|
int width, int height, int dpi, int flags, @Nullable Surface surface,
|
||||||
|
|||||||
Reference in New Issue
Block a user