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, looseSignatures=true) public class ShadowPhoneWindow extends ShadowWindow
Shadow for PhoneWindow for APIs 23+
-
-
Field Summary
Fields Modifier and Type Field Description protected Window
realWindow
-
Fields inherited from class org.robolectric.shadows.ShadowWindow
backgroundDrawable, title
-
-
Constructor Summary
Constructors Constructor Description ShadowPhoneWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getOptionsPanelGravity()
void
setBackgroundDrawable(Drawable drawable)
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 Detail
-
realWindow
@RealObject protected Window realWindow
-
-
Method Detail
-
setTitle
@Implementation(minSdk=23) public void setTitle(CharSequence title)
-
setBackgroundDrawable
@Implementation(minSdk=23) public void setBackgroundDrawable(Drawable drawable)
-
getOptionsPanelGravity
@Implementation protected int getOptionsPanelGravity()
-
-