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 voiddispatchResized(int w, int h, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig)default voiddispatchResized(Rect frame)voiddispatchResized(Rect frame, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig)voiddispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, boolean reportDraw, Configuration newConfig)voiddispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, boolean reportDraw, Configuration newConfig)voiddispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Configuration newConfig)voiddispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Configuration newConfig, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar)voiddispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Object mergedConfiguration, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId)voiddispatchResized(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)DisplaygetDisplay()intgetNewInsetsMode()SurfaceControlgetSurfaceControl()voidsetConfigCallbacks(ArrayList<ViewRootImpl.ConfigChangedCallback> callbacks)voidsetFirstDrawComplete(boolean isComplete)voidsetFirstDrawHandlers(ArrayList<Runnable> handlers)voidsetRunQueues(ThreadLocal<HandlerActionQueue> threadLocal)voidsetView(View view, WindowManager.LayoutParams attrs, View panelParentView)voidsetView(View view, WindowManager.LayoutParams attrs, View panelParentView, int userId)voidsetWinFrame(Rect winFrame)voidwindowFocusChanged(boolean hasFocus)voidwindowFocusChanged(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)
-