FileDocCategorySizeDatePackage
IWindow.javaAPI DocAndroid 5.1 API16793Sat Mar 14 05:48:06 GMT 2015android.view

IWindow

public interface IWindow implements android.os.IInterface
API back to a client window that the Window Manager uses to inform it of interesting things happening. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidcloseSystemDialogs(java.lang.String reason)

public voiddispatchAppVisibility(boolean visible)

public voiddispatchDragEvent(android.view.DragEvent event)
Drag/drop events

public voiddispatchGetNewSurface()

public voiddispatchSystemUiVisibilityChanged(int seq, int globalVisibility, int localValue, int localChanges)
System chrome visibility changes

public voiddispatchWallpaperCommand(java.lang.String action, int x, int y, int z, android.os.Bundle extras, boolean sync)

public voiddispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync)
Called for wallpaper windows when their offsets change.

public voiddispatchWindowShown()
Called for non-application windows when the enter animation has completed.

public voiddoneAnimating()
If the window manager returned RELAYOUT_RES_ANIMATING from relayout(), this method will be called when the animation is done.

public voidexecuteCommand(java.lang.String command, java.lang.String parameters, android.os.ParcelFileDescriptor descriptor)
Invoked by the view server to tell a window to execute the specified command. Any response from the receiver must be sent through the specified file descriptor.

public voidmoved(int newX, int newY)

public voidresized(android.graphics.Rect frame, android.graphics.Rect overscanInsets, android.graphics.Rect contentInsets, android.graphics.Rect visibleInsets, android.graphics.Rect stableInsets, boolean reportDraw, android.content.res.Configuration newConfig)

public voidwindowFocusChanged(boolean hasFocus, boolean inTouchMode)
Tell the window that it is either gaining or losing focus. Keep it up to date on the current state showing navigational focus (touch mode) too.