Package org.robolectric.shadows
Interface ShadowViewRootImpl.ViewRootImplReflector
-
- Enclosing class:
- ShadowViewRootImpl
protected static interface ShadowViewRootImpl.ViewRootImplReflectorReflector interface forViewRootImpl's internals.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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()WindowInsetsgetWindowInsets(boolean forceConstruct)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 Detail
-
setView
void setView(View view, WindowManager.LayoutParams attrs, View panelParentView)
-
setView
void setView(View view, WindowManager.LayoutParams attrs, View panelParentView, int userId)
-
setRunQueues
void setRunQueues(ThreadLocal<HandlerActionQueue> threadLocal)
-
setFirstDrawComplete
void setFirstDrawComplete(boolean isComplete)
-
setConfigCallbacks
void setConfigCallbacks(ArrayList<ViewRootImpl.ConfigChangedCallback> callbacks)
-
getNewInsetsMode
int getNewInsetsMode()
-
setWinFrame
void setWinFrame(Rect winFrame)
-
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
void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, boolean reportDraw, Configuration newConfig)
-
dispatchResized
void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Configuration newConfig)
-
dispatchResized
void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, Configuration newConfig, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar)
-
dispatchResized
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)
-
dispatchResized
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)
-
dispatchResized
default void dispatchResized(Rect frame)
-
windowFocusChanged
void windowFocusChanged(boolean hasFocus, boolean inTouchMode)
-
windowFocusChanged
void windowFocusChanged(boolean hasFocus)
-
getWindowInsets
WindowInsets getWindowInsets(boolean forceConstruct)
-
-