@Implements(value=android.view.ViewRootImpl.class, isInAndroidSdk=false) public class ShadowViewRootImpl extends Object
Modifier and Type | Class | Description |
---|---|---|
protected static interface |
ShadowViewRootImpl.ViewRootImplReflector |
Accessor interface for
ViewRootImpl 's internals. |
Modifier and Type | Field | Description |
---|---|---|
protected ViewRootImpl |
realObject |
Constructor | Description |
---|---|
ShadowViewRootImpl() |
Modifier and Type | Method | Description |
---|---|---|
void |
callDispatchResized() |
|
protected Display |
getDisplay() |
|
static IWindowSession |
getWindowSession(Looper mainLooper) |
|
void |
playSoundEffect(int effectId) |
|
protected int |
relayoutWindow(WindowManager.LayoutParams params,
int viewVisibility,
boolean insetsPending) |
|
static void |
reset() |
|
protected void |
setView(View view,
WindowManager.LayoutParams attrs,
View panelParentView) |
@RealObject protected ViewRootImpl realObject
@Implementation(maxSdk=16) public static IWindowSession getWindowSession(Looper mainLooper)
@Implementation public void playSoundEffect(int effectId)
@Implementation protected int relayoutWindow(WindowManager.LayoutParams params, int viewVisibility, boolean insetsPending) throws RemoteException
RemoteException
public void callDispatchResized()
protected Display getDisplay()
@Implementation protected void setView(View view, WindowManager.LayoutParams attrs, View panelParentView)
@Resetter public static void reset()