@Implements(value=android.view.WindowManagerImpl.class, isInAndroidSdk=false) public class ShadowWindowManagerImpl extends ShadowWindowManager
Modifier and Type | Class | Description |
---|---|---|
static class |
ShadowWindowManagerImpl.ShadowCompatModeWrapper |
Constructor | Description |
---|---|
ShadowWindowManagerImpl() |
Modifier and Type | Method | Description |
---|---|---|
void |
addView(View view,
ViewGroup.LayoutParams layoutParams) |
|
static void |
configureDefaultDisplayForJBOnly(Configuration configuration,
DisplayMetrics displayMetrics) |
internal only
|
Display |
getDefaultDisplay() |
|
List<View> |
getViews() |
|
protected WindowInsets |
getWindowInsetsFromServer(WindowManager.LayoutParams attrs,
Rect bounds) |
Re implement to avoid server call
|
void |
removeView(View view) |
|
protected void |
removeViewImmediate(View view) |
|
static void |
reset() |
public static void configureDefaultDisplayForJBOnly(Configuration configuration, DisplayMetrics displayMetrics)
@Implementation public void addView(View view, ViewGroup.LayoutParams layoutParams)
@Implementation public void removeView(View view)
@Implementation protected void removeViewImmediate(View view)
@Implementation(maxSdk=16) public Display getDefaultDisplay()
@Implementation(minSdk=30) protected WindowInsets getWindowInsetsFromServer(WindowManager.LayoutParams attrs, Rect bounds)
@Resetter public static void reset()