Package org.robolectric.shadows
Class ShadowViewRootImpl
- java.lang.Object
-
- org.robolectric.shadows.ShadowViewRootImpl
-
@Implements(value=android.view.ViewRootImpl.class, isInAndroidSdk=false) public class ShadowViewRootImpl extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceShadowViewRootImpl.ViewRootImplReflectorAccessor interface forViewRootImpl's internals.
-
Field Summary
Fields Modifier and Type Field Description protected android.view.ViewRootImplrealObject
-
Constructor Summary
Constructors Constructor Description ShadowViewRootImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallDispatchResized()protected android.view.DisplaygetDisplay()static android.view.IWindowSessiongetWindowSession(android.os.Looper mainLooper)voidplaySoundEffect(int effectId)protected intrelayoutWindow(android.view.WindowManager.LayoutParams params, int viewVisibility, boolean insetsPending)static voidreset()protected voidsetView(android.view.View view, android.view.WindowManager.LayoutParams attrs, android.view.View panelParentView)
-
-
-
Method Detail
-
getWindowSession
@Implementation(maxSdk=16) public static android.view.IWindowSession getWindowSession(android.os.Looper mainLooper)
-
playSoundEffect
@Implementation public void playSoundEffect(int effectId)
-
relayoutWindow
@Implementation protected int relayoutWindow(android.view.WindowManager.LayoutParams params, int viewVisibility, boolean insetsPending) throws android.os.RemoteException- Throws:
android.os.RemoteException
-
callDispatchResized
public void callDispatchResized()
-
getDisplay
protected android.view.Display getDisplay()
-
setView
@Implementation protected void setView(android.view.View view, android.view.WindowManager.LayoutParams attrs, android.view.View panelParentView)
-
reset
@Resetter public static void reset()
-
-