2024年安卓最全Android WindowManager窗口类型,2024年最新b站hr面试

文末

很多人在刚接触这个行业的时候或者是在遇到瓶颈期的时候,总会遇到一些问题,比如学了一段时间感觉没有方向感,不知道该从那里入手去学习,对此我整理了一些资料,需要的可以免费分享给大家

这里笔者分享一份自己收录整理上述技术体系图相关的几十套腾讯、头条、阿里、美团等公司2021年的面试题,把技术点整理成了视频和PDF(实际上比预期多花了不少精力),包含知识脉络 + 诸多细节,由于篇幅有限,这里以图片的形式给大家展示一部分。

【视频教程】

天道酬勤,只要你想,大厂offer并不是遥不可及!希望本篇文章能为你带来帮助,如果有问题,请在评论区留言。

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化学习资料的朋友,可以戳这里获取

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

  • In multiuser systems shows on all users’ windows.

  • ZMS:来电显示窗口

*/

public static final int TYPE_PHONE = FIRST_SYSTEM_WINDOW+2;

/**

  • Window type: system window, such as low power alert. These windows

  • are always on top of application windows.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:警告对话框

*/

public static final int TYPE_SYSTEM_ALERT = FIRST_SYSTEM_WINDOW+3;

/**

  • Window type: keyguard window.

  • In multiuser systems shows on all users’ windows.

  • @removed

  • ZMS:锁屏

*/

public static final int TYPE_KEYGUARD = FIRST_SYSTEM_WINDOW+4;

/**

  • Window type: transient notifications.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:Toast窗口

*/

public static final int TYPE_TOAST = FIRST_SYSTEM_WINDOW+5;

/**

  • Window type: system overlay windows, which need to be displayed

  • on top of everything else. These windows must not take input

  • focus, or they will interfere with the keyguard.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:系统覆盖窗口,显示在所有窗口之上

*/

public static final int TYPE_SYSTEM_OVERLAY = FIRST_SYSTEM_WINDOW+6;

/**

  • Window type: priority phone UI, which needs to be displayed even if

  • the keyguard is active. These windows must not take input

  • focus, or they will interfere with the keyguard.

  • In multiuser systems shows on all users’ windows.

  • ZMS:在屏幕保护下的来电显示窗口

*/

public static final int TYPE_PRIORITY_PHONE = FIRST_SYSTEM_WINDOW+7;

/**

  • Window type: panel that slides out from the status bar

  • In multiuser systems shows on all users’ windows.

  • ZMS:滑动状态栏后出现的窗口

*/

public static final int TYPE_SYSTEM_DIALOG = FIRST_SYSTEM_WINDOW+8;

/**

  • Window type: dialogs that the keyguard shows

  • In multiuser systems shows on all users’ windows.

  • ZMS:锁屏弹出的对话框

*/

public static final int TYPE_KEYGUARD_DIALOG = FIRST_SYSTEM_WINDOW+9;

/**

  • Window type: internal system error windows, appear on top of

  • everything they can.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:系统错误窗口

*/

public static final int TYPE_SYSTEM_ERROR = FIRST_SYSTEM_WINDOW+10;

/**

  • Window type: internal input methods windows, which appear above

  • the normal UI. Application windows may be resized or panned to keep

  • the input focus visible while this window is displayed.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:输入法窗口

*/

public static final int TYPE_INPUT_METHOD = FIRST_SYSTEM_WINDOW+11;

/**

  • Window type: internal input methods dialog windows, which appear above

  • the current input method window.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:输入法中备选框对应的窗口

*/

public static final int TYPE_INPUT_METHOD_DIALOG= FIRST_SYSTEM_WINDOW+12;

/**

  • Window type: wallpaper window, placed behind any window that wants

  • to sit on top of the wallpaper.

  • In multiuser systems shows only on the owning user’s window.

  • ZMS:墙纸对应的窗口

*/

public static final int TYPE_WALLPAPER = FIRST_SYSTEM_WINDOW+13;

/**

  • Window type: panel that slides out from over the status bar

  • In multiuser systems shows on all users’ windows.

  • ZMS:滑动状态栏后出现的面板窗口

*/

public static final int TYPE_STATUS_BAR_PANEL = FIRST_SYSTEM_WINDOW+14;

/**

  • Window type: secure system overlay windows, which need to be displayed

  • on top of everything else. These windows must not take input

  • focus, or they will interfere with the keyguard.

  • This is exactly like {@link #TYPE_SYSTEM_OVERLAY} except that only the

  • system itself is allowed to create these overlays. Applications cannot

  • obtain permission to create secure system overlays.

  • In multiuser systems shows only on the owning user’s window.

  • @hide

  • ZMS:安全系统覆盖窗口,显示在所有窗口之上。

*/

public static final int TYPE_SECURE_SYSTEM_OVERLAY = FIRST_SYSTEM_WINDOW+15;

/**

  • Window type: the drag-and-drop pseudowindow. There is only one

  • drag layer (at most), and it is placed on top of all other windows.

  • In multiuser systems shows only on the owning user’s window.

  • @hide

  • ZMS:拖动放开窗口。

*/

public static final int TYPE_DRAG = FIRST_SYSTEM_WINDOW+16;

/**

  • Window type: panel that slides out from under the status bar

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:滑动状态栏显示的面板窗口。

*/

public static final int TYPE_STATUS_BAR_SUB_PANEL = FIRST_SYSTEM_WINDOW+17;

/**

  • Window type: (mouse) pointer

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:鼠标窗口。

*/

public static final int TYPE_POINTER = FIRST_SYSTEM_WINDOW+18;

/**

  • Window type: Navigation bar (when distinct from status bar)

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:导航栏窗口

*/

public static final int TYPE_NAVIGATION_BAR = FIRST_SYSTEM_WINDOW+19;

/**

  • Window type: The volume level overlay/dialog shown when the user

  • changes the system volume.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:音量调节窗口

*/

public static final int TYPE_VOLUME_OVERLAY = FIRST_SYSTEM_WINDOW+20;

/**

  • Window type: The boot progress dialog, goes on top of everything

  • in the world.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:系统启动进程对话框窗口-在其他内容之上。

*/

public static final int TYPE_BOOT_PROGRESS = FIRST_SYSTEM_WINDOW+21;

/**

  • Window type: Fake window to consume touch events when the navigation

  • bar is hidden.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:隐藏导航栏时消化触摸事件窗口-当导航栏隐藏时,用来处理消费触摸事件的模拟窗口。

*/

public static final int TYPE_HIDDEN_NAV_CONSUMER = FIRST_SYSTEM_WINDOW+22;

/**

  • Window type: Dreams (screen saver) window, just above keyguard.

  • In multiuser systems shows only on the owning user’s window.

  • @hide

  • ZMS:LDreams屏保窗口,仅在锁屏窗口之上。

*/

public static final int TYPE_DREAM = FIRST_SYSTEM_WINDOW+23;

/**

  • Window type: Navigation bar panel (when navigation bar is distinct from status bar)

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:导航栏面板窗口

*/

public static final int TYPE_NAVIGATION_BAR_PANEL = FIRST_SYSTEM_WINDOW+24;

/**

  • Window type: Behind the universe of the real windows.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:全局背景窗口

*/

public static final int TYPE_UNIVERSE_BACKGROUND = FIRST_SYSTEM_WINDOW+25;

/**

  • Window type: Display overlay window. Used to simulate secondary display devices.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:显示重绘窗口,用来模拟第二屏显示设备。

*/

public static final int TYPE_DISPLAY_OVERLAY = FIRST_SYSTEM_WINDOW+26;

/**

  • Window type: Magnification overlay window. Used to highlight the magnified

  • portion of a display when accessibility magnification is enabled.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:放大Overlay窗口-当辅助功能放大开启时,用来放大高亮显示。

*/

public static final int TYPE_MAGNIFICATION_OVERLAY = FIRST_SYSTEM_WINDOW+27;

/**

  • Window type: keyguard scrim window. Shows if keyguard needs to be restarted.

  • In multiuser systems shows on all users’ windows.

  • @hide

  • ZMS:锁屏遮罩窗口,在锁屏需要重启时显示。

*/

public static final int TYPE_KEYGUARD_SCRIM = FIRST_SYSTEM_WINDOW+29;

/**

  • Window type: Window for Presentation on top of private

  • virtual display.

  • ZMS:安全信息窗口。

*/

public static final int TYPE_PRIVATE_PRESENTATION = FIRST_SYSTEM_WINDOW+30;

/**

  • Window type: Windows in the voice interaction layer.

  • @hide

  • ZMS:语音交互窗口。

*/

public static final int TYPE_VOICE_INTERACTION = FIRST_SYSTEM_WINDOW+31;

/**

  • Window type: Windows that are overlaid only by an {@link

  • android.accessibilityservice.AccessibilityService} for interception of

  • user interactions without changing the windows an accessibility service

  • can introspect. In particular, an accessibility service can introspect

  • only windows that a sighted user can interact with which is they can touch

  • these windows or can type into these windows. For example, if there

  • is a full screen accessibility overlay that is touchable, the windows

  • below it will be introspectable by an accessibility service regardless

  • they are covered by a touchable window.

尾声

开发是需要一定的基础的,我是08年开始进入Android这行的,在这期间经历了Android的鼎盛时期,和所谓的Android”凉了“。中间当然也有着,不可说的心酸,看着身边朋友,同事一个个转前端,换行业,其实当时我的心也有过犹豫,但是我还是坚持下来了,这次的疫情就是一个好的机会,大浪淘沙,优胜劣汰。再等等,说不定下一个黄金浪潮就被你等到了。

  • 330页 PDF Android核心笔记

  • 几十套阿里 、字节跳动、腾讯、华为、美团等公司2020年的面试题

  • PDF和思维脑图,包含知识脉络 + 诸多细节

  • Android进阶系统学习视频

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化学习资料的朋友,可以戳这里获取

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

浪潮就被你等到了。

  • 330页 PDF Android核心笔记

[外链图片转存中…(img-BOMEmM27-1715729865337)]

  • 几十套阿里 、字节跳动、腾讯、华为、美团等公司2020年的面试题

[外链图片转存中…(img-HyzlqeJn-1715729865337)]

[外链图片转存中…(img-i66AKg2P-1715729865338)]

  • PDF和思维脑图,包含知识脉络 + 诸多细节

[外链图片转存中…(img-QHKYDRW1-1715729865338)]

  • Android进阶系统学习视频

[外链图片转存中…(img-8CoCF7og-1715729865338)]

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化学习资料的朋友,可以戳这里获取

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

  • 26
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值