Package org.robolectric.shadows
Class ShadowWindowManagerImpl
java.lang.Object
org.robolectric.shadows.ShadowWindowManager
org.robolectric.shadows.ShadowWindowManagerImpl
@Implements(value=android.view.WindowManagerImpl.class,
isInAndroidSdk=false)
public class ShadowWindowManagerImpl
extends ShadowWindowManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addView
(View view, ViewGroup.LayoutParams layoutParams) getViews()
protected WindowInsets
getWindowInsetsFromServer
(WindowManager.LayoutParams attrs, Rect bounds) Re implement to avoid server callvoid
removeView
(View view) protected void
removeViewImmediate
(View view) static void
reset()
-
Field Details
-
NEW_INSETS_MODE_FULL
public static final int NEW_INSETS_MODE_FULL- See Also:
-
-
Constructor Details
-
ShadowWindowManagerImpl
public ShadowWindowManagerImpl()
-
-
Method Details
-
addView
-
removeView
-
removeViewImmediate
-
getViews
-
getWindowInsetsFromServer
@Implementation(minSdk=30, maxSdk=32) protected WindowInsets getWindowInsetsFromServer(WindowManager.LayoutParams attrs, Rect bounds) Re implement to avoid server call -
reset
-