Methods Summary |
---|
public abstract void | addWindowToken(android.os.IBinder token, int type)Adds a window token for a given window type.
|
public abstract MagnificationSpec | getCompatibleMagnificationSpecForWindow(android.os.IBinder windowToken)Gets the magnification and translation applied to a window given its token.
Not all windows are magnified and the window manager policy determines which
windows are magnified. The returned result also takes into account the compat
scale if necessary.
|
public abstract android.os.IBinder | getFocusedWindowToken()Gets the token of the window that has input focus.
|
public abstract void | getWindowFrame(android.os.IBinder token, android.graphics.Rect outBounds)Gets the frame of a window given its token.
|
public abstract boolean | isKeyguardLocked()
|
public abstract void | removeWindowToken(android.os.IBinder token, boolean removeWindows)Removes a window token.
|
public abstract void | requestTraversalFromDisplayManager()Request that the window manager call
{@link DisplayManagerInternal#performTraversalInTransactionFromWindowManager}
within a surface transaction at a later time.
|
public abstract void | setInputFilter(IInputFilter filter)Sets a filter for manipulating the input event stream.
|
public abstract void | setMagnificationCallbacks(android.view.WindowManagerInternal$MagnificationCallbacks callbacks)Set by the accessibility layer to observe changes in the magnified region,
rotation, and other window transformations related to display magnification
as the window manager is responsible for doing the actual magnification
and has access to the raw window data while the accessibility layer serves
as a controller.
|
public abstract void | setMagnificationSpec(MagnificationSpec spec)Set by the accessibility layer to specify the magnification and panning to
be applied to all windows that should be magnified.
|
public abstract void | setWindowsForAccessibilityCallback(android.view.WindowManagerInternal$WindowsForAccessibilityCallback callback)Sets a callback for observing which windows are touchable for the purposes
of accessibility.
|
public abstract void | showGlobalActions()Opens the global actions dialog.
|
public abstract void | waitForAllWindowsDrawn(java.lang.Runnable callback, long timeout)Invalidate all visible windows. Then report back on the callback once all windows have
redrawn.
|