summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorWei Jia <wjia@google.com>2015-02-09 16:05:53 -0800
committerWei Jia <wjia@google.com>2015-03-03 14:43:55 -0800
commitd93fcf400222e4d8b27a1025f6aa307839239b9f (patch)
tree2ee5493da351f10720df1885972fa4035f9ffca4 /api
parent4bd091414a8eab104875d0115347307411e27ebd (diff)
downloadframeworks_base-d93fcf400222e4d8b27a1025f6aa307839239b9f.zip
frameworks_base-d93fcf400222e4d8b27a1025f6aa307839239b9f.tar.gz
frameworks_base-d93fcf400222e4d8b27a1025f6aa307839239b9f.tar.bz2
MediaPlayer: add setPlaybackRate JAVA API.
Bug: 19196501 Change-Id: I43daced7d9b53bcaca4e6a8d81ca729b32efc79f
Diffstat (limited to 'api')
-rw-r--r--api/current.txt2
-rw-r--r--api/system-current.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 0046938..707999b 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -15404,6 +15404,7 @@ package android.media {
method public void setOnSeekCompleteListener(android.media.MediaPlayer.OnSeekCompleteListener);
method public void setOnTimedTextListener(android.media.MediaPlayer.OnTimedTextListener);
method public void setOnVideoSizeChangedListener(android.media.MediaPlayer.OnVideoSizeChangedListener);
+ method public void setPlaybackRate(float, int);
method public void setScreenOnWhilePlaying(boolean);
method public void setSurface(android.view.Surface);
method public void setVideoScalingMode(int);
@@ -15429,6 +15430,7 @@ package android.media {
field public static final int MEDIA_INFO_VIDEO_RENDERING_START = 3; // 0x3
field public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING = 700; // 0x2bc
field public static final java.lang.String MEDIA_MIMETYPE_TEXT_SUBRIP = "application/x-subrip";
+ field public static final int PLAYBACK_RATE_AUDIO_MODE_RESAMPLE = 0; // 0x0
field public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT = 1; // 0x1
field public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING = 2; // 0x2
}
diff --git a/api/system-current.txt b/api/system-current.txt
index d48fd0d..2ffc4e1 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -16400,6 +16400,7 @@ package android.media {
method public void setOnSeekCompleteListener(android.media.MediaPlayer.OnSeekCompleteListener);
method public void setOnTimedTextListener(android.media.MediaPlayer.OnTimedTextListener);
method public void setOnVideoSizeChangedListener(android.media.MediaPlayer.OnVideoSizeChangedListener);
+ method public void setPlaybackRate(float, int);
method public void setScreenOnWhilePlaying(boolean);
method public void setSurface(android.view.Surface);
method public void setVideoScalingMode(int);
@@ -16425,6 +16426,7 @@ package android.media {
field public static final int MEDIA_INFO_VIDEO_RENDERING_START = 3; // 0x3
field public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING = 700; // 0x2bc
field public static final java.lang.String MEDIA_MIMETYPE_TEXT_SUBRIP = "application/x-subrip";
+ field public static final int PLAYBACK_RATE_AUDIO_MODE_RESAMPLE = 0; // 0x0
field public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT = 1; // 0x1
field public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING = 2; // 0x2
}