Package org.robolectric.shadows
Class ShadowPhoneWindowFor22
java.lang.Object
org.robolectric.shadows.ShadowWindow
org.robolectric.shadows.ShadowPhoneWindow
org.robolectric.shadows.ShadowPhoneWindowFor22
@Implements(className="com.android.internal.policy.impl.PhoneWindow",
maxSdk=22,
isInAndroidSdk=false)
public class ShadowPhoneWindowFor22
extends ShadowPhoneWindow
Shadow for the API 16-22 PhoneWindow.
-
Field Summary
Fields inherited from class org.robolectric.shadows.ShadowPhoneWindow
decorFitsSystemWindows, realWindow
Fields inherited from class org.robolectric.shadows.ShadowWindow
backgroundDrawable, title
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
void
setBackgroundDrawable
(Drawable drawable) void
setTitle
(CharSequence title) Methods inherited from class org.robolectric.shadows.ShadowPhoneWindow
getDecorFitsSystemWindows, setDecorFitsSystemWindows
Methods inherited from class org.robolectric.shadows.ShadowWindow
addOnFrameMetricsAvailableListener, addPrivateFlags, addSystemFlags, create, getBackgroundDrawable, getFlag, getPrivateFlag, getSoftInputMode, getTitle, removeOnFrameMetricsAvailableListener, reportOnFrameMetricsAvailable, reportOnFrameMetricsAvailable, setFlags, setSoftInputMode
-
Constructor Details
-
ShadowPhoneWindowFor22
public ShadowPhoneWindowFor22()
-
-
Method Details
-
setTitle
- Overrides:
setTitle
in classShadowPhoneWindow
-
setBackgroundDrawable
- Overrides:
setBackgroundDrawable
in classShadowPhoneWindow
-
getOptionsPanelGravity
- Overrides:
getOptionsPanelGravity
in classShadowPhoneWindow
-