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
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classShadowWindowManagerImpl.ShadowCompatModeWrapper
- 
Field SummaryFields Modifier and Type Field Description static intNEW_INSETS_MODE_FULL
- 
Constructor SummaryConstructors Constructor Description ShadowWindowManagerImpl()
- 
Method SummaryModifier and Type Method Description voidaddView(View view, ViewGroup.LayoutParams layoutParams)static voidconfigureDefaultDisplayForJBOnly(Configuration configuration, DisplayMetrics displayMetrics)internal onlyDisplaygetDefaultDisplay()List<View>getViews()protected WindowInsetsgetWindowInsetsFromServer(WindowManager.LayoutParams attrs, Rect bounds)Re implement to avoid server callvoidremoveView(View view)protected voidremoveViewImmediate(View view)static voidreset()
- 
Field Details- 
NEW_INSETS_MODE_FULLpublic static final int NEW_INSETS_MODE_FULL- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
ShadowWindowManagerImplpublic ShadowWindowManagerImpl()
 
- 
- 
Method Details- 
configureDefaultDisplayForJBOnlypublic static void configureDefaultDisplayForJBOnly(Configuration configuration, DisplayMetrics displayMetrics)internal only
- 
addView
- 
removeView
- 
removeViewImmediate
- 
getViews
- 
getDefaultDisplay
- 
getWindowInsetsFromServer@Implementation(minSdk=30, maxSdk=32) protected WindowInsets getWindowInsetsFromServer(WindowManager.LayoutParams attrs, Rect bounds)Re implement to avoid server call
- 
reset
 
-