public abstract class SdlRemoteDisplay extends Presentation
invalidate() to alert any
other interfaces that are listening for those types of events.| Modifier and Type | Class and Description |
|---|---|
static interface |
SdlRemoteDisplay.Callback |
static class |
SdlRemoteDisplay.Creator |
DialogInterface.OnCancelListener, DialogInterface.OnClickListener, DialogInterface.OnDismissListener, DialogInterface.OnKeyListener, DialogInterface.OnMultiChoiceClickListener, DialogInterface.OnShowListener| Modifier and Type | Field and Description |
|---|---|
protected SdlRemoteDisplay.Callback |
callback |
protected ScheduledExecutorService |
executor |
protected View |
mainView |
protected Runnable |
mStartRefreshTaskCallback |
protected ScheduledFuture<?> |
refreshTaskScheduledFuture |
protected Handler |
uiHandler |
protected Window |
w |
BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3| Constructor and Description |
|---|
SdlRemoteDisplay(Context context,
Display display) |
| Modifier and Type | Method and Description |
|---|---|
void |
dismissPresentation() |
View |
getMainView() |
void |
handleMotionEvent(MotionEvent motionEvent) |
void |
invalidate() |
protected void |
onCreate(Bundle savedInstanceState) |
abstract void |
onViewResized(int width,
int height) |
void |
resizeView(int newWidth,
int newHeight) |
protected void |
startRefreshTask() |
void |
stop() |
protected void |
stopRefreshTask() |
getDisplay, getResources, onDisplayChanged, onDisplayRemoved, onStart, onStop, showaddContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenuclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonPointerCaptureChanged, onProvideKeyboardShortcutsprotected Window w
protected View mainView
protected final ScheduledExecutorService executor
protected ScheduledFuture<?> refreshTaskScheduledFuture
protected final Handler uiHandler
protected SdlRemoteDisplay.Callback callback
protected final Runnable mStartRefreshTaskCallback
protected void startRefreshTask()
protected void stopRefreshTask()
public View getMainView()
public void invalidate()
public void resizeView(int newWidth,
int newHeight)
public abstract void onViewResized(int width,
int height)
public void handleMotionEvent(MotionEvent motionEvent)
public void stop()
public void dismissPresentation()