/**@class android.view.WindowInsets.Type @extends java.lang.Object Class that defines different types of sources causing window insets. @hide pending unhide */ var Type = { /** @return {Number} An inset type representing the top bar of a window, which can be the status bar on handheld-like devices as well as a caption bar. */ topBar : function( ) {}, /** @return {Number} An inset type representing the window of an {@link InputMethod}. */ ime : function( ) {}, /** @return {Number} An inset type representing any system bars that are not {@link #topBar()}. */ sideBars : function( ) {}, /** @return {Number} An inset type representing decor that is being app-controlled. */ windowDecor : function( ) {}, /**Returns an inset type representing the system gesture insets. <p>The system gesture insets represent the area of a window where system gestures have priority and may consume some or all touch input, e.g. due to the a system bar occupying it, or it being reserved for touch-only gestures. <p>Simple taps are guaranteed to reach the window even within the system gesture insets, as long as they are outside the {@link #getSystemWindowInsets() system window insets}. <p>When {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} is requested, an inset will be returned even when the system gestures are inactive due to {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN} or {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. @see #getSystemGestureInsets() */ systemGestures : function( ) {}, /** @see #getMandatorySystemGestureInsets */ mandatorySystemGestures : function( ) {}, /** @see #getTappableElementInsets */ tappableElement : function( ) {}, /** @return {Number} All system bars. Includes {@link #topBar()} as well as {@link #sideBars()}, but not {@link #ime()}. */ systemBars : function( ) {}, /** @return {Number} All inset types combined. TODO: Figure out if this makes sense at all, mixing e.g {@link #systemGestures()} and {@link #ime()} does not seem very useful. */ all : function( ) {}, };