Package org.robolectric.shadows
Class ShadowPhoneWindow
java.lang.Object
org.robolectric.shadows.ShadowWindow
org.robolectric.shadows.ShadowPhoneWindow
- Direct Known Subclasses:
ShadowPhoneWindowFor22
@Implements(className="com.android.internal.policy.PhoneWindow",
isInAndroidSdk=false,
minSdk=23)
public class ShadowPhoneWindow
extends ShadowWindow
Shadow for PhoneWindow for APIs 23+
-
Field Summary
Fields inherited from class org.robolectric.shadows.ShadowWindow
backgroundDrawable, title
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true with the last value passed tosetDecorFitsSystemWindows(boolean)
, or the default value (true).protected int
void
setBackgroundDrawable
(Drawable drawable) protected void
setDecorFitsSystemWindows
(boolean decorFitsSystemWindows) void
setTitle
(CharSequence title) Methods inherited from class org.robolectric.shadows.ShadowWindow
addOnFrameMetricsAvailableListener, addPrivateFlags, addSystemFlags, create, getBackgroundDrawable, getFlag, getPrivateFlag, getSoftInputMode, getTitle, removeOnFrameMetricsAvailableListener, reportOnFrameMetricsAvailable, reportOnFrameMetricsAvailable, setFlags, setSoftInputMode
-
Field Details
-
realWindow
-
decorFitsSystemWindows
protected boolean decorFitsSystemWindows
-
-
Constructor Details
-
ShadowPhoneWindow
public ShadowPhoneWindow()
-
-
Method Details
-
setTitle
-
setBackgroundDrawable
-
getOptionsPanelGravity
-
setDecorFitsSystemWindows
-
getDecorFitsSystemWindows
Returns true with the last value passed tosetDecorFitsSystemWindows(boolean)
, or the default value (true).
-