WindowManager.LayoutParams.type

 int android.view.WindowManager.LayoutParams.type




@ExportedProperty(mapping={
@IntToString(from=1, to="TYPE_BASE_APPLICATION"), 
@IntToString(from=2, to="TYPE_APPLICATION"), 
@IntToString(from=3, to="TYPE_APPLICATION_STARTING"), 
@IntToString(from=1000, to="TYPE_APPLICATION_PANEL"),
@IntToString(from=1001, to="TYPE_APPLICATION_MEDIA"),
@IntToString(from=1002, to="TYPE_APPLICATION_SUB_PANEL"),
@IntToString(from=1003, to="TYPE_APPLICATION_ATTACHED_DIALOG"),
@IntToString(from=1004, to="TYPE_APPLICATION_MEDIA_OVERLAY"), 
@IntToString(from=2000, to="TYPE_STATUS_BAR"), 
@IntToString(from=2001, to="TYPE_SEARCH_BAR"), 
@IntToString(from=2002, to="TYPE_PHONE"), 
@IntToString(from=2003, to="TYPE_SYSTEM_ALERT"),
@IntToString(from=2004, to="TYPE_KEYGUARD"),
@IntToString(from=2005, to="TYPE_TOAST"),
@IntToString(from=2006, to="TYPE_SYSTEM_OVERLAY"),
@IntToString(from=2007, to="TYPE_PRIORITY_PHONE"), 
@IntToString(from=2008, to="TYPE_SYSTEM_DIALOG"),
@IntToString(from=2009, to="TYPE_KEYGUARD_DIALOG"),
@IntToString(from=2010, to="TYPE_SYSTEM_ERROR"),
@IntToString(from=2011, to="TYPE_INPUT_METHOD"),
@IntToString(from=2012, to="TYPE_INPUT_METHOD_DIALOG"), 
@IntToString(from=2013, to="TYPE_WALLPAPER"),
@IntToString(from=2014, to="TYPE_STATUS_BAR_PANEL"), 
@IntToString(from=2015, to="TYPE_SECURE_SYSTEM_OVERLAY"),
@IntToString(from=2016, to="TYPE_DRAG"),
@IntToString(from=2017, to="TYPE_STATUS_BAR_SUB_PANEL"), 
@IntToString(from=2018, to="TYPE_POINTER"),
@IntToString(from=2019, to="TYPE_NAVIGATION_BAR"), 
@IntToString(from=2020, to="TYPE_VOLUME_OVERLAY"),
@IntToString(from=2021, to="TYPE_BOOT_PROGRESS"),
@IntToString(from=2022, to="TYPE_HIDDEN_NAV_CONSUMER"), 
@IntToString(from=2023, to="TYPE_DREAM"), 
@IntToString(from=2024, to="TYPE_NAVIGATION_BAR_PANEL"),
@IntToString(from=2026, to="TYPE_DISPLAY_OVERLAY"),
@IntToString(from=2027, to="TYPE_MAGNIFICATION_OVERLAY"), 
@IntToString(from=2030, to="TYPE_PRIVATE_PRESENTATION")})




public int type 
Added in API level 1 
The general type of window. There are three main classes of window types: 


Application windows (ranging from FIRST_APPLICATION_WINDOW to LAST_APPLICATION_WINDOW) are normal top-level application windows. For these types of windows, the token must be set to the token of the activity they are a part of (this will normally be done for you if token is null). 
Sub-windows (ranging from FIRST_SUB_WINDOW to LAST_SUB_WINDOW) are associated with another top-level window. For these types of windows, the token must be the token of the window it is attached to. 
System windows (ranging from FIRST_SYSTEM_WINDOW to LAST_SYSTEM_WINDOW) are special types of windows for use by the system for specific purposes. They should not normally be used by applications, and a special permission is required to use them. 


See Also
TYPE_BASE_APPLICATION
TYPE_APPLICATION
TYPE_APPLICATION_STARTING
TYPE_APPLICATION_PANEL
TYPE_APPLICATION_MEDIA
TYPE_APPLICATION_SUB_PANEL
TYPE_APPLICATION_ATTACHED_DIALOG
TYPE_STATUS_BAR
TYPE_SEARCH_BAR
TYPE_PHONE
TYPE_SYSTEM_ALERT
TYPE_KEYGUARD
TYPE_TOAST
TYPE_SYSTEM_OVERLAY
TYPE_PRIORITY_PHONE
TYPE_STATUS_BAR_PANEL
TYPE_SYSTEM_DIALOG
TYPE_KEYGUARD_DIALOG
TYPE_SYSTEM_ERROR
TYPE_INPUT_METHOD
TYPE_INPUT_METHOD_DIALOG 

你可能感兴趣的:(WindowManager.LayoutParams.type)