/**@class android.view.WindowManagerPolicyConstants Constants for interfacing with WindowManagerService and WindowManagerPolicyInternal. @hide */ var WindowManagerPolicyConstants = { /***/ FLAG_WAKE : "1", /***/ FLAG_VIRTUAL : "2", /***/ FLAG_INJECTED : "16777216", /***/ FLAG_TRUSTED : "33554432", /***/ FLAG_FILTERED : "67108864", /***/ FLAG_DISABLE_KEY_REPEAT : "134217728", /***/ FLAG_INTERACTIVE : "536870912", /***/ FLAG_PASS_TO_USER : "1073741824", /***/ KEYGUARD_GOING_AWAY_FLAG_TO_SHADE : "1", /***/ KEYGUARD_GOING_AWAY_FLAG_NO_WINDOW_ANIMATIONS : "2", /***/ KEYGUARD_GOING_AWAY_FLAG_WITH_WALLPAPER : "4", /***/ PRESENCE_INTERNAL : "1", /***/ PRESENCE_EXTERNAL : "2", /***/ NAV_BAR_INVALID : "-1", /***/ NAV_BAR_LEFT : "1", /***/ NAV_BAR_RIGHT : "2", /***/ NAV_BAR_BOTTOM : "4", /***/ NAV_BAR_MODE_3BUTTON : "0", /***/ NAV_BAR_MODE_2BUTTON : "1", /***/ NAV_BAR_MODE_GESTURAL : "2", /***/ NAV_BAR_MODE_3BUTTON_OVERLAY : "com.android.internal.systemui.navbar.threebutton", /***/ NAV_BAR_MODE_2BUTTON_OVERLAY : "com.android.internal.systemui.navbar.twobutton", /***/ NAV_BAR_MODE_GESTURAL_OVERLAY : "com.android.internal.systemui.navbar.gestural", /** Broadcast sent when a user activity is detected. */ ACTION_USER_ACTIVITY_NOTIFICATION : "android.intent.action.USER_ACTIVITY_NOTIFICATION", /** Sticky broadcast of the current HDMI plugged state. */ ACTION_HDMI_PLUGGED : "android.intent.action.HDMI_PLUGGED", /** Extra in {@link #ACTION_HDMI_PLUGGED} indicating the state: true if plugged in to HDMI, false if not. */ EXTRA_HDMI_PLUGGED_STATE : "state", /** Set to {@code true} when intent was invoked from pressing the home key. @hide */ EXTRA_FROM_HOME_KEY : "android.intent.extra.FROM_HOME_KEY", /**Screen turned off because of a device admin */ OFF_BECAUSE_OF_ADMIN : "1", /**Screen turned off because of power button */ OFF_BECAUSE_OF_USER : "2", /**Screen turned off because of timeout */ OFF_BECAUSE_OF_TIMEOUT : "3", /**Screen turned on because of a user-initiated action. */ ON_BECAUSE_OF_USER : "1", /**Screen turned on because of an application request or event */ ON_BECAUSE_OF_APPLICATION : "2", /**Screen turned on for an unknown reason */ ON_BECAUSE_OF_UNKNOWN : "3", /***/ APPLICATION_LAYER : "2", /***/ APPLICATION_MEDIA_SUBLAYER : "-2", /***/ APPLICATION_MEDIA_OVERLAY_SUBLAYER : "-1", /***/ APPLICATION_PANEL_SUBLAYER : "1", /***/ APPLICATION_SUB_PANEL_SUBLAYER : "2", /***/ APPLICATION_ABOVE_SUB_PANEL_SUBLAYER : "3", /**Convert the on reason to a human readable format */ onReasonToString : function( ) {}, /**Convert the off reason to a human readable format. */ offReasonToString : function( ) {}, };