/**@class android.view.WindowManagerGlobal
@extends java.lang.Object

 Provides low-level communication with the system window manager for
 operations that are not associated with any particular context.

 This class is only used internally to implement global functions where
 the caller already knows the display and relevant compatibility information
 for the operation.  For most purposes, you should use {@link android.view.WindowManager} instead
 since it is bound to a context.

 @see WindowManagerImpl
 @hide
*/
var WindowManagerGlobal = {

/** The user is navigating with keys (not the touch screen), so
 navigational focus should be shown.
*/
RELAYOUT_RES_IN_TOUCH_MODE : "1",
/** This is the first time the window is being drawn,
 so the client must call drawingFinished() when done
*/
RELAYOUT_RES_FIRST_TIME : "2",
/** The window manager has changed the surface from the last call.
*/
RELAYOUT_RES_SURFACE_CHANGED : "4",
/** The window is being resized by dragging on the docked divider. The client should render
 at (0, 0) and extend its background to the background frame passed into
 {@link IWindow#resized}.
*/
RELAYOUT_RES_DRAG_RESIZING_DOCKED : "8",
/** The window is being resized by dragging one of the window corners,
 in this case the surface would be fullscreen-sized. The client should
 render to the actual frame location (instead of (0,curScrollY)).
*/
RELAYOUT_RES_DRAG_RESIZING_FREEFORM : "16",
/** The window manager has changed the size of the surface from the last call.
*/
RELAYOUT_RES_SURFACE_RESIZED : "32",
/** In multi-window we force show the system bars. Because we don't want that the surface size
 changes in this mode, we instead have a flag whether the system bar sizes should always be
 consumed, so the app is treated like there is no virtual system bars at all.
*/
RELAYOUT_RES_CONSUME_ALWAYS_SYSTEM_BARS : "64",
/** Flag for relayout: the client will be later giving
 internal insets; as a result, the window will not impact other window
 layouts until the insets are given.
*/
RELAYOUT_INSETS_PENDING : "1",
/** Flag for relayout: the client may be currently using the current surface,
 so if it is to be destroyed as a part of the relayout the destroy must
 be deferred until later.  The client will call performDeferredDestroy()
 when it is okay.
*/
RELAYOUT_DEFER_SURFACE_DESTROY : "2",
/***/
ADD_FLAG_APP_VISIBLE : "2",
/***/
ADD_FLAG_IN_TOUCH_MODE : "1",
/** Like {@link #RELAYOUT_RES_CONSUME_ALWAYS_SYSTEM_BARS}, but as a "hint" when adding the
 window.
*/
ADD_FLAG_ALWAYS_CONSUME_SYSTEM_BARS : "4",
/***/
ADD_OKAY : "0",
/***/
ADD_BAD_APP_TOKEN : "-1",
/***/
ADD_BAD_SUBWINDOW_TOKEN : "-2",
/***/
ADD_NOT_APP_TOKEN : "-3",
/***/
ADD_APP_EXITING : "-4",
/***/
ADD_DUPLICATE_ADD : "-5",
/***/
ADD_STARTING_NOT_NEEDED : "-6",
/***/
ADD_MULTIPLE_SINGLETON : "-7",
/***/
ADD_PERMISSION_DENIED : "-8",
/***/
ADD_INVALID_DISPLAY : "-9",
/***/
ADD_INVALID_TYPE : "-10",
/**
*/
initialize : function(  ) {},

/**
*/
getInstance : function(  ) {},

/**
*/
getWindowManagerService : function(  ) {},

/**
*/
getWindowSession : function(  ) {},

/**
*/
peekWindowSession : function(  ) {},

/**
*/
getViewRootNames : function(  ) {},

/**
*/
getRootViews : function(  ) {},

/**
@return {Object {java.util.ArrayList}} the list of all views attached to the global window manager
*/
getWindowViews : function(  ) {},

/**
*/
getWindowView : function(  ) {},

/**
*/
getRootView : function(  ) {},

/**
*/
addView : function(  ) {},

/**
*/
updateViewLayout : function(  ) {},

/**
*/
removeView : function(  ) {},

/**Remove all roots with specified token.
@param {Object {IBinder}} token app or window token.
@param {String} who name of caller, used in logs.
@param {String} what type of caller, used in logs.
*/
closeAll : function(  ) {},

/**Remove all roots with specified token, except maybe one view.
@param {Object {IBinder}} token app or window token.
@param {Object {View}} view view that should be should be preserved along with it's root.
             Pass null if everything should be removed.
@param {String} who name of caller, used in logs.
@param {String} what type of caller, used in logs.
*/
closeAllExceptView : function(  ) {},

/**
*/
shouldDestroyEglContext : function(  ) {},

/**
*/
trimMemory : function(  ) {},

/**
*/
trimForeground : function(  ) {},

/**
*/
dumpGfxInfo : function(  ) {},

/**
*/
setStoppedState : function(  ) {},

/**
*/
reportNewConfiguration : function(  ) {},

/**
@hide 
*/
changeCanvasOpacity : function(  ) {},


};