WindowManager.LayoutParams.flags

2015/04/29 00:42
阅读数 95
 int android.view.WindowManager.LayoutParams.flags




@ExportedProperty(flagMapping={
@FlagToString(mask=1, equals=1, name="FLAG_ALLOW_LOCK_WHILE_SCREEN_ON"), 
@FlagToString(mask=2, equals=2, name="FLAG_DIM_BEHIND"), 
@FlagToString(mask=4, equals=4, name="FLAG_BLUR_BEHIND"), 
@FlagToString(mask=8, equals=8, name="FLAG_NOT_FOCUSABLE"), 
@FlagToString(mask=16, equals=16, name="FLAG_NOT_TOUCHABLE"), 
@FlagToString(mask=32, equals=32, name="FLAG_NOT_TOUCH_MODAL"), 
@FlagToString(mask=64, equals=64, name="FLAG_TOUCHABLE_WHEN_WAKING"), 
@FlagToString(mask=128, equals=128, name="FLAG_KEEP_SCREEN_ON"), 
@FlagToString(mask=256, equals=256, name="FLAG_LAYOUT_IN_SCREEN"), 
@FlagToString(mask=512, equals=512, name="FLAG_LAYOUT_NO_LIMITS"), 
@FlagToString(mask=1024, equals=1024, name="FLAG_FULLSCREEN"), 
@FlagToString(mask=2048, equals=2048, name="FLAG_FORCE_NOT_FULLSCREEN"), 
@FlagToString(mask=4096, equals=4096, name="FLAG_DITHER"), 
@FlagToString(mask=8192, equals=8192, name="FLAG_SECURE"), 
@FlagToString(mask=16384, equals=16384, name="FLAG_SCALED"), 
@FlagToString(mask=32768, equals=32768, name="FLAG_IGNORE_CHEEK_PRESSES"), 
@FlagToString(mask=65536, equals=65536, name="FLAG_LAYOUT_INSET_DECOR"), 
@FlagToString(mask=131072, equals=131072, name="FLAG_ALT_FOCUSABLE_IM"), 
@FlagToString(mask=262144, equals=262144, name="FLAG_WATCH_OUTSIDE_TOUCH"), @FlagToString(mask=524288, equals=524288, name="FLAG_SHOW_WHEN_LOCKED"), 
@FlagToString(mask=1048576, equals=1048576, name="FLAG_SHOW_WALLPAPER"), 
@FlagToString(mask=2097152, equals=2097152, name="FLAG_TURN_SCREEN_ON"), 
@FlagToString(mask=4194304, equals=4194304, name="FLAG_DISMISS_KEYGUARD"), @FlagToString(mask=8388608, equals=8388608, name="FLAG_SPLIT_TOUCH"), 
@FlagToString(mask=16777216, equals=16777216, name="FLAG_HARDWARE_ACCELERATED"),
@FlagToString(mask=268435456, equals=268435456, name="FLAG_LOCAL_FOCUS_MODE"),
@FlagToString(mask=67108864, equals=67108864, name="FLAG_TRANSLUCENT_STATUS"),
@FlagToString(mask=134217728, equals=134217728, name="FLAG_TRANSLUCENT_NAVIGATION")})






public int flags 
Added in API level 1 


Various behavioral options/flags. Default is none.


See Also
FLAG_ALLOW_LOCK_WHILE_SCREEN_ON
FLAG_DIM_BEHIND
FLAG_NOT_FOCUSABLE
FLAG_NOT_TOUCHABLE
FLAG_NOT_TOUCH_MODAL
FLAG_TOUCHABLE_WHEN_WAKING
FLAG_KEEP_SCREEN_ON
FLAG_LAYOUT_IN_SCREEN
FLAG_LAYOUT_NO_LIMITS
FLAG_FULLSCREEN
FLAG_FORCE_NOT_FULLSCREEN
FLAG_SECURE
FLAG_SCALED
FLAG_IGNORE_CHEEK_PRESSES
FLAG_LAYOUT_INSET_DECOR
FLAG_ALT_FOCUSABLE_IM
FLAG_WATCH_OUTSIDE_TOUCH
FLAG_SHOW_WHEN_LOCKED
FLAG_SHOW_WALLPAPER
FLAG_TURN_SCREEN_ON
FLAG_DISMISS_KEYGUARD
FLAG_SPLIT_TOUCH
FLAG_HARDWARE_ACCELERATED
FLAG_LOCAL_FOCUS_MODE 
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部