@Implements(value=android.widget.VideoView.class) public class ShadowVideoView extends ShadowSurfaceView
ShadowSurfaceView.FakeSurfaceHolder
ShadowView.WindowIdHelper
Modifier and Type | Field and Description |
---|---|
static int |
PAUSE |
static int |
RESUME |
static int |
START |
static int |
STOP |
static int |
SUSPEND |
attributeSet, realView, scrollToCoordinates
Constructor and Description |
---|
ShadowVideoView() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canPause() |
protected int |
getCurrentPosition() |
int |
getCurrentVideoState() |
protected int |
getDuration() |
android.media.MediaPlayer.OnCompletionListener |
getOnCompletionListener() |
android.media.MediaPlayer.OnErrorListener |
getOnErrorListener() |
android.media.MediaPlayer.OnPreparedListener |
getOnPreparedListener() |
int |
getPrevVideoState() |
java.lang.String |
getVideoPath() |
java.lang.String |
getVideoURIString() |
protected boolean |
isPlaying() |
protected void |
pause() |
protected void |
resume() |
protected void |
seekTo(int msec) |
void |
setDuration(int duration) |
protected void |
setOnCompletionListener(android.media.MediaPlayer.OnCompletionListener l) |
protected void |
setOnErrorListener(android.media.MediaPlayer.OnErrorListener l) |
protected void |
setOnPreparedListener(android.media.MediaPlayer.OnPreparedListener l) |
protected void |
setVideoPath(java.lang.String path) |
protected void |
setVideoURI(android.net.Uri uri) |
protected void |
start() |
protected void |
stopPlayback() |
protected void |
suspend() |
getFakeSurfaceHolder, getHolder, onAttachedToWindow
__constructor__, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowId, innerText, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
public static final int STOP
public static final int START
public static final int SUSPEND
public static final int PAUSE
public static final int RESUME
@Implementation protected void setOnPreparedListener(android.media.MediaPlayer.OnPreparedListener l)
@Implementation protected void setOnErrorListener(android.media.MediaPlayer.OnErrorListener l)
@Implementation protected void setOnCompletionListener(android.media.MediaPlayer.OnCompletionListener l)
@Implementation protected void setVideoPath(java.lang.String path)
@Implementation protected void setVideoURI(android.net.Uri uri)
@Implementation protected void start()
@Implementation protected void stopPlayback()
@Implementation protected void suspend()
@Implementation protected void pause()
@Implementation protected void resume()
@Implementation protected boolean isPlaying()
@Implementation protected boolean canPause()
@Implementation protected void seekTo(int msec)
@Implementation protected int getCurrentPosition()
@Implementation protected int getDuration()
public android.media.MediaPlayer.OnPreparedListener getOnPreparedListener()
public android.media.MediaPlayer.OnErrorListener getOnErrorListener()
public android.media.MediaPlayer.OnCompletionListener getOnCompletionListener()
public java.lang.String getVideoPath()
public java.lang.String getVideoURIString()
public int getCurrentVideoState()
public int getPrevVideoState()
public void setDuration(int duration)