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, looseSignatures=true, isInAndroidSdk=false) public class ShadowPhoneWindowFor22 extends ShadowPhoneWindow
Shadow for the API 16-22 PhoneWindow.li
-
-
Field Summary
-
Fields inherited from class org.robolectric.shadows.ShadowPhoneWindow
realWindow
-
Fields inherited from class org.robolectric.shadows.ShadowWindow
backgroundDrawable, title
-
-
Constructor Summary
Constructors Constructor Description ShadowPhoneWindowFor22()
-
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
-
-
-
-
Method Detail
-
setTitle
@Implementation(maxSdk=22) public void setTitle(CharSequence title)
- Overrides:
setTitle
in classShadowPhoneWindow
-
setBackgroundDrawable
@Implementation(maxSdk=22) public void setBackgroundDrawable(Drawable drawable)
- Overrides:
setBackgroundDrawable
in classShadowPhoneWindow
-
getOptionsPanelGravity
@Implementation(maxSdk=22) protected int getOptionsPanelGravity()
- Overrides:
getOptionsPanelGravity
in classShadowPhoneWindow
-
-