Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a181da10 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "Fix broken @see javadoc in android.media.* classes" into lmp-mr1-dev

parents 47772ac8 1e88cf07
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -398,7 +398,7 @@ public final class MediaFormat {
     * 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.
     *
     * @see MediaCodecInfo.CodecCapabilities.EncoderCapabilities#getComplexityRange
     * @see MediaCodecInfo.EncoderCapabilities#getComplexityRange()
     */
    public static final String KEY_COMPLEXITY = "complexity";

@@ -411,7 +411,7 @@ public final class MediaFormat {
     *
     * @hide
     *
     * @see MediaCodecInfo.CodecCapabilities.EncoderCapabilities#getQualityRange
     * @see MediaCodecInfo.EncoderCapabilities#getQualityRange()
     */
    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.
     * 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";

+6 −6
Original line number Diff line number Diff line
@@ -1640,7 +1640,7 @@ public class MediaPlayer implements SubtitleController.Listener
     * 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
     * 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.
     * {@link android.media.audiofx.EnvironmentalReverb}), retrieve its ID with
     * {@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
     * {@see #attachAuxEffect(int)}. The level value range is 0 to 1.0.
     * Sets the send level of the player to the attached auxiliary effect.
     * 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
     * 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
@@ -2283,9 +2283,9 @@ public class MediaPlayer implements SubtitleController.Listener
     * when {@code trackType} is not one of audio, video, or subtitle.
     * @throws IllegalStateException if called after {@link #release()}
     *
     * @see {@link #getTrackInfo()}
     * @see {@link #selectTrack(int)}
     * @see {@link #deselectTrack(int)}
     * @see #getTrackInfo()
     * @see #selectTrack(int)
     * @see #deselectTrack(int)
     */
    public int getSelectedTrack(int trackType) throws IllegalStateException {
        if (trackType == TrackInfo.MEDIA_TRACK_TYPE_SUBTITLE && mSubtitleController != null) {
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ public class MediaScannerConnection implements ServiceConnection {
     * @param callback Optional callback through which you can receive the
     * scanned URI and MIME type; If null, the file will be scanned but
     * 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,
            OnScanCompletedListener callback) {
+1 −2
Original line number Diff line number Diff line
@@ -126,8 +126,7 @@ public final class MediaProjection {
     * invoked, or null if the callback should be invoked on the calling
     * thread's main {@link android.os.Looper}.
     *
     * @see android.hardware.display.DisplayManager#createVirtualDisplay(
     * String, int, int, int, int, Surface, VirtualDisplay.Callback, Handler)
     * @see android.hardware.display.VirtualDisplay
     */
    public VirtualDisplay createVirtualDisplay(@NonNull String name,
            int width, int height, int dpi, int flags, @Nullable Surface surface,