Android--WindowManager,kotlin协程异常

intALPHA_CHANGED用于表示成员变量alpha是否被改变
intANIMATION_CHANGED用于表示成员变量windowAnimations是否被改变
intDIM_AMOUNT_CHANGED用于表示成员变量dimAmount是否被改变
intFLAGS_CHANGED用于表示成员变量flags是否被改变
intLAYOUT_CHANGED用于表示layout是否被改变.这里的layout是指以下变量所包含的信息:
width,height,x,y, verticalMargin,verticalWeight,horizontalMargin,horizontalWeight
intSCREEN_BRIGHTNESS_CHANGED用于表示brightness是否被改变.
这里的brightness是

《Android学习笔记总结+最新移动架构视频+大厂安卓面试真题+项目实战源码讲义》

**开源项目:【qq.cn.hn/FTe】 **

指以下变量对应的信息:screenBrightness,buttonBrightnessintSCREEN_ORIENTATION_CHANGED用于表示成员变量screenOrientation是否被改变intSOFT_INPUT_MODE_CHANGED用于表示成员变量softInputMode是否被改变intTITLE_CHANGED用于表示成员变量title是否被改变intTYPE_CHANGED用于表示成员变量type是否被改变intFORMAT_CHANGEDConstant Value: 8 (0x00000008)
用于表示成员变量format是否被改变

成员变量

继承于 ViewGroup.LayoutParams 的成员变量

public intheightInformation about how tall the view wants to be.
public  LayoutAnimationController.AnimationParameterslayoutAnimationParametersUsed to animate layouts.
public intwidthInformation about how wide the view wants to be.

自身的成员变量

public static final  Creator< WindowManager.LayoutParams>CREATOR 
public floatalphaAn alpha value to apply to this entire window.
public floatbuttonBrightnessThis can be used to override the standard behavior of the button and keyboard backlights.
public floatdimAmountWhen FLAG_DIM_BEHIND is set, this is the amount of dimming to apply.
public intflagsVarious behavioral options/flags.
public intformatThe desired bitmap format.
public intgravityPlacement of window within the screen as per Gravity.
public floathorizontalMarginThe horizontal margin, as a percentage of the container's width, between the container and the widget.
public floathorizontalWeightIndicates how much of the extra space will be allocated horizontally to the view associated with these LayoutParams.
public intmemoryTypeThis field is deprecated. this is ignored
public  StringpackageNameName of the package owning this window.
public floatscreenBrightnessThis can be used to override the user's preferred brightness of the screen.
public intscreenOrientationSpecific orientation value for a window.
public intsoftInputModeDesired operating mode for any soft input area.
public intsystemUiVisibilityControl the visibility of the status bar.
public  IBindertokenIdentifier for this window.
public inttypeThe general type of window.
public floatverticalMarginThe vertical margin, as a percentage of the container's height, between the container and the widget.
public floatverticalWeightIndicates how much of the extra space will be allocated vertically to the view associated with these LayoutParams.
public intwindowAnimationsA style resource defining the animations to use for this window.
public intxX position for this window.
public intyY position for this window.

成员函数

| ublic Methods |

| — |

| final int | copyFrom( WindowManager.LayoutParams o) |

| String | debug( String output)

Returns a String representation of this set of layout parameters.

|

| int | describeContents()

Describe the kinds of special objects contained in this Parcelable’s marshalled representation.

|

| final  CharSequence | getTitle() |

| static boolean | mayUseInputMethod(int flags)

Given a particular set of window manager flags, determine whether such a window may be a target for an input method when it has focus.

|

| final void | setTitle( CharSequence title) |

Android开发除了flutter还有什么是必须掌握的吗?

相信大多数从事Android开发的朋友们越来越发现,找工作越来越难了,面试的要求越来越高了

除了基础扎实的java知识,数据结构算法,设计模式还要求会底层源码,NDK技术,性能调优,还有会些小程序和跨平台,比如说flutter,以思维脑图的方式展示在下图;

些小程序和跨平台,比如说flutter,以思维脑图的方式展示在下图;

[外链图片转存中…(img-483dBQUM-1641552080539)]

本文已被CODING开源项目:《Android学习笔记总结+移动架构视频+大厂面试真题+项目实战源码》收录

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值