Package org.robolectric.shadows
Interface ShadowViewRootImpl.ViewRootImplReflector
- Enclosing class:
- ShadowViewRootImpl
protected static interface ShadowViewRootImpl.ViewRootImplReflector
Reflector interface for
ViewRootImpl
's internals.-
Method Summary
Modifier and Type Method Description void
dispatchResized(int w, int h, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig)
default void
dispatchResized(Rect frame)
void
dispatchResized(Rect frame, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig)
void
dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig)
void
dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, boolean reportDraw, Configuration newConfig)
void
dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Configuration newConfig)
void
dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Configuration newConfig, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar)
void
dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Object mergedConfiguration, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId)
void
dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Object mergedConfiguration, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId, Object displayCutout)
Display
getDisplay()
int
getNewInsetsMode()
SurfaceControl
getSurfaceControl()
void
setConfigCallbacks(ArrayList<ViewRootImpl.ConfigChangedCallback> callbacks)
void
setFirstDrawComplete(boolean isComplete)
void
setFirstDrawHandlers(ArrayList<Runnable> handlers)
void
setRunQueues(ThreadLocal<HandlerActionQueue> threadLocal)
void
setView(View view, WindowManager.LayoutParams attrs, View panelParentView)
void
setView(View view, WindowManager.LayoutParams attrs, View panelParentView, int userId)
void
setWinFrame(Rect winFrame)
void
windowFocusChanged(boolean hasFocus)
void
windowFocusChanged(boolean hasFocus, boolean inTouchMode)
-
Method Details
-
setView
-
setView
-
setRunQueues
-
setFirstDrawHandlers
-
setFirstDrawComplete
void setFirstDrawComplete(boolean isComplete) -
setConfigCallbacks
-
getNewInsetsMode
int getNewInsetsMode() -
setWinFrame
-
getDisplay
Display getDisplay() -
getSurfaceControl
SurfaceControl getSurfaceControl() -
dispatchResized
void dispatchResized(int w, int h, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig) -
dispatchResized
void dispatchResized(Rect frame, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig) -
dispatchResized
void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig) -
dispatchResized
-
dispatchResized
-
dispatchResized
-
dispatchResized
-
dispatchResized
-
dispatchResized
-
windowFocusChanged
void windowFocusChanged(boolean hasFocus, boolean inTouchMode) -
windowFocusChanged
void windowFocusChanged(boolean hasFocus)
-