Package org.robolectric.shadows
Class ShadowWindowManagerGlobal
java.lang.Object
org.robolectric.shadows.ShadowWindowManagerGlobal
@Implements(value=android.view.WindowManagerGlobal.class,
isInAndroidSdk=false,
looseSignatures=true)
public class ShadowWindowManagerGlobal
extends Object
Shadow for
WindowManagerGlobal
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Clears the data returned bygetLastDragClipData()
.static boolean
static ClipData
Returns the lastClipData
passed to a drag initiated from a call toView.startDrag(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
orView.startDragAndDrop(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
, or null if there isn't one.static Object
protected static IWindowSession
protected static Object
getWindowSession
(Looper looper) protected static IWindowSession
static void
reset()
-
Constructor Details
-
ShadowWindowManagerGlobal
public ShadowWindowManagerGlobal()
-
-
Method Details
-
reset
-
getInTouchMode
public static boolean getInTouchMode() -
getLastDragClipData
Returns the lastClipData
passed to a drag initiated from a call toView.startDrag(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
orView.startDragAndDrop(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
, or null if there isn't one. -
clearLastDragClipData
public static void clearLastDragClipData()Clears the data returned bygetLastDragClipData()
. -
getWindowSession
-
getWindowSession
-
peekWindowSession
-
getWindowManagerService
- Throws:
RemoteException
-