@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() |
MediaPlayer.OnCompletionListener |
getOnCompletionListener() |
MediaPlayer.OnErrorListener |
getOnErrorListener() |
MediaPlayer.OnPreparedListener |
getOnPreparedListener() |
int |
getPrevVideoState() |
String |
getVideoPath() |
String |
getVideoURIString() |
protected boolean |
isPlaying() |
protected void |
pause() |
protected void |
resume() |
protected void |
seekTo(int msec) |
void |
setDuration(int duration) |
protected void |
setOnCompletionListener(MediaPlayer.OnCompletionListener l) |
protected void |
setOnErrorListener(MediaPlayer.OnErrorListener l) |
protected void |
setOnPreparedListener(MediaPlayer.OnPreparedListener l) |
protected void |
setVideoPath(String path) |
protected void |
setVideoURI(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(MediaPlayer.OnPreparedListener l)
@Implementation protected void setOnErrorListener(MediaPlayer.OnErrorListener l)
@Implementation protected void setOnCompletionListener(MediaPlayer.OnCompletionListener l)
@Implementation protected void setVideoPath(String path)
@Implementation protected void setVideoURI(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 MediaPlayer.OnPreparedListener getOnPreparedListener()
public MediaPlayer.OnErrorListener getOnErrorListener()
public MediaPlayer.OnCompletionListener getOnCompletionListener()
public String getVideoPath()
public String getVideoURIString()
public int getCurrentVideoState()
public int getPrevVideoState()
public void setDuration(int duration)