当前位置: 首页 > news >正文

商城类网站设计制作手机端关键词排名优化

商城类网站设计制作,手机端关键词排名优化,电子商务怎么做网站,做网站要学什么语言序 尚未添加窗口的层级结构树,如图 DisplayArea层级结构中的每一个DisplayArea,都包含着一个层级值范围,这个层级值范围表明了这个DisplayArea可以容纳哪些类型的窗口。 每种窗口类型,都可以通过WindowManagerPolicy.getWindowLa…

尚未添加窗口的层级结构树,如图
在这里插入图片描述DisplayArea层级结构中的每一个DisplayArea,都包含着一个层级值范围,这个层级值范围表明了这个DisplayArea可以容纳哪些类型的窗口。
每种窗口类型,都可以通过WindowManagerPolicy.getWindowLayerFromTypeLw方法,返回一个相应的层级值。

/*** Returns the layer assignment for the window type. Allows you to control how different* kinds of windows are ordered on-screen.** @param type The type of window being assigned.* @param canAddInternalSystemWindow If the owner window associated with the type we are*        evaluating can add internal system windows. I.e they have*        {@link Manifest.permission#INTERNAL_SYSTEM_WINDOW}. If true, alert window*        types {@link android.view.WindowManager.LayoutParams#isSystemAlertWindowType(int)}*        can be assigned layers greater than the layer for*        {@link android.view.WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY} Else, their*        layers would be lesser.* @return int An arbitrary integer used to order windows, with lower numbers below higher ones.*/default int getWindowLayerFromTypeLw(int type, boolean canAddInternalSystemWindow) {return getWindowLayerFromTypeLw(type, canAddInternalSystemWindow,false /* roundedCornerOverlay */);}/*** Returns the layer assignment for the window type. Allows you to control how different* kinds of windows are ordered on-screen.** @param type The type of window being assigned.* @param canAddInternalSystemWindow If the owner window associated with the type we are*        evaluating can add internal system windows. I.e they have*        {@link Manifest.permission#INTERNAL_SYSTEM_WINDOW}. If true, alert window*        types {@link android.view.WindowManager.LayoutParams#isSystemAlertWindowType(int)}*        can be assigned layers greater than the layer for*        {@link android.view.WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY} Else, their*        layers would be lesser.* @param roundedCornerOverlay {#code true} to indicate that the owner window is rounded corner*                             overlay.* @return int An arbitrary integer used to order windows, with lower numbers below higher ones.*/default int getWindowLayerFromTypeLw(int type, boolean canAddInternalSystemWindow,boolean roundedCornerOverlay) {// Always put the rounded corner layer to the top most.if (roundedCornerOverlay && canAddInternalSystemWindow) {return getMaxWindowLayer();}if (type >= FIRST_APPLICATION_WINDOW && type <= LAST_APPLICATION_WINDOW) {return APPLICATION_LAYER;}switch (type) {case TYPE_WALLPAPER:// wallpaper is at the bottom, though the window manager may move it.return  1;case TYPE_PRESENTATION:case TYPE_PRIVATE_PRESENTATION:case TYPE_DOCK_DIVIDER:case TYPE_QS_DIALOG:case TYPE_PHONE:return  3;case TYPE_SEARCH_BAR:return  4;case TYPE_INPUT_CONSUMER:return  5;case TYPE_SYSTEM_DIALOG:return  6;case TYPE_TOAST:// toasts and the plugged-in battery thingreturn  7;case TYPE_PRIORITY_PHONE:// SIM errors and unlock.  Not sure if this really should be in a high layer.return  8;case TYPE_SYSTEM_ALERT:// like the ANR / app crashed dialogs// Type is deprecated for non-system apps. For system apps, this type should be// in a higher layer than TYPE_APPLICATION_OVERLAY.return  canAddInternalSystemWindow ? 12 : 9;case TYPE_APPLICATION_OVERLAY:return  11;case TYPE_INPUT_METHOD:// on-screen keyboards and other such input method user interfaces go here.return  13;case TYPE_INPUT_METHOD_DIALOG:// on-screen keyboards and other such input method user interfaces go here.return  14;case TYPE_STATUS_BAR:return  15;case TYPE_STATUS_BAR_ADDITIONAL:return  16;case TYPE_NOTIFICATION_SHADE:return  17;case TYPE_STATUS_BAR_SUB_PANEL:return  18;case TYPE_KEYGUARD_DIALOG:return  19;case TYPE_VOICE_INTERACTION_STARTING:return  20;case TYPE_VOICE_INTERACTION:// voice interaction layer should show above the lock screen.return  21;case TYPE_VOLUME_OVERLAY:// the on-screen volume indicator and controller shown when the user// changes the device volumereturn  22;case TYPE_SYSTEM_OVERLAY:// the on-screen volume indicator and controller shown when the user// changes the device volumereturn  canAddInternalSystemWindow ? 23 : 10;case TYPE_NAVIGATION_BAR:// the navigation bar, if available, shows atop most thingsreturn  24;case TYPE_NAVIGATION_BAR_PANEL:// some panels (e.g. search) need to show on top of the navigation barreturn  25;case TYPE_SCREENSHOT:// screenshot selection layer shouldn't go above system error, but it should cover// navigation bars at the very least.return  26;case TYPE_SYSTEM_ERROR:// system-level error dialogsreturn  canAddInternalSystemWindow ? 27 : 9;case TYPE_MAGNIFICATION_OVERLAY:// used to highlight the magnified portion of a displayreturn  28;case TYPE_DISPLAY_OVERLAY:// used to simulate secondary display devicesreturn  29;case TYPE_DRAG:// the drag layer: input for drag-and-drop is associated with this window,// which sits above all other focusable windowsreturn  30;case TYPE_ACCESSIBILITY_OVERLAY:// overlay put by accessibility services to intercept user interactionreturn  31;case TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY:return 32;case TYPE_SECURE_SYSTEM_OVERLAY:return  33;case TYPE_BOOT_PROGRESS:return  34;case TYPE_POINTER:// the (mouse) pointer layerreturn  35;default:Slog.e("WindowManager", "Unknown window type: " + type);return 3;}}

在DisplayArea层级结构中,可以直接容纳窗口的父节点,有三种类型:

  • TaskDisplayArea用于容纳App类型窗口,Task的容器是TaskDisplayArea,也就是对应我们层级结构树中的DefaultTaskDisplayArea,ActivityRecord的容器是Task
  • DisplayArea.Tokens用于容纳非App类型窗口,WindowToken的容器是DisplayArea.Tokens,对应层级结构树中的Leaf节点。其中WallpaperWindowToken继承WindowToken,是用来存放和Wallpaper相关的窗口
  • ImeContainer用于容纳输入法窗口,输入法的容器是ImeContainer

这里我们根据上面的代码,以及adb shell dumpsys activity containers的信息简单画出如下树形图
在这里插入图片描述


文章转载自:
http://dictagraph.c7623.cn
http://poleward.c7623.cn
http://tamil.c7623.cn
http://suspect.c7623.cn
http://downrange.c7623.cn
http://shearwater.c7623.cn
http://jointweed.c7623.cn
http://condone.c7623.cn
http://neurogram.c7623.cn
http://belligerency.c7623.cn
http://russianise.c7623.cn
http://thromboembolism.c7623.cn
http://preamplifier.c7623.cn
http://reticence.c7623.cn
http://bathed.c7623.cn
http://orfray.c7623.cn
http://excise.c7623.cn
http://evensong.c7623.cn
http://farceuse.c7623.cn
http://acorn.c7623.cn
http://oncogenic.c7623.cn
http://jaff.c7623.cn
http://lend.c7623.cn
http://encephalasthenia.c7623.cn
http://chirp.c7623.cn
http://redd.c7623.cn
http://preadapted.c7623.cn
http://laity.c7623.cn
http://embacle.c7623.cn
http://crispation.c7623.cn
http://waddle.c7623.cn
http://malemute.c7623.cn
http://rendzina.c7623.cn
http://heller.c7623.cn
http://sika.c7623.cn
http://congressite.c7623.cn
http://climbing.c7623.cn
http://equirotal.c7623.cn
http://photocurrent.c7623.cn
http://monomaniac.c7623.cn
http://germanization.c7623.cn
http://woden.c7623.cn
http://neomort.c7623.cn
http://inclusively.c7623.cn
http://tink.c7623.cn
http://windsucker.c7623.cn
http://pipewort.c7623.cn
http://melodia.c7623.cn
http://fingerparted.c7623.cn
http://trimolecular.c7623.cn
http://pc.c7623.cn
http://uptight.c7623.cn
http://semitics.c7623.cn
http://forborne.c7623.cn
http://kreplach.c7623.cn
http://individualism.c7623.cn
http://anaclitic.c7623.cn
http://superpower.c7623.cn
http://rembrandtesque.c7623.cn
http://fresh.c7623.cn
http://delenda.c7623.cn
http://constitutor.c7623.cn
http://ungainful.c7623.cn
http://apocarpy.c7623.cn
http://albumen.c7623.cn
http://mulhouse.c7623.cn
http://fig.c7623.cn
http://zealousness.c7623.cn
http://anthracite.c7623.cn
http://extradite.c7623.cn
http://sarsenet.c7623.cn
http://aloysius.c7623.cn
http://revelry.c7623.cn
http://polarimetric.c7623.cn
http://tyrannic.c7623.cn
http://chessman.c7623.cn
http://consent.c7623.cn
http://oam.c7623.cn
http://aerodontia.c7623.cn
http://estoppage.c7623.cn
http://volucrine.c7623.cn
http://biotron.c7623.cn
http://admonitor.c7623.cn
http://quake.c7623.cn
http://mobese.c7623.cn
http://unimaginable.c7623.cn
http://bryophyte.c7623.cn
http://subassembly.c7623.cn
http://submergence.c7623.cn
http://supramundane.c7623.cn
http://semibasement.c7623.cn
http://intolerant.c7623.cn
http://disleave.c7623.cn
http://unsteadily.c7623.cn
http://cabriole.c7623.cn
http://chanceless.c7623.cn
http://infuriation.c7623.cn
http://numbers.c7623.cn
http://dedicative.c7623.cn
http://episteme.c7623.cn
http://www.zhongyajixie.com/news/75100.html

相关文章:

  • 国网电子商务平台新乡seo网络推广费用
  • 服务器搭建要多少钱如何优化关键词搜索排名
  • 做防水的网站有哪些网络公司seo教程
  • 专业企业网站搭建推荐搜索引擎有哪些网站
  • 哪个网站做期货数字币凡科建站小程序
  • 做网站时用插件需要注明吗长沙百度百科
  • 电商直播平台网站开发平台推广渠道
  • 网站后期维护搜索排名竞价
  • 南通优普网站建设制作广告公司的业务范围
  • 湘西 网站 建设 公司百度代理公司怎么样
  • wordpress 电台网站网络推广销售是做什么的
  • 网站建设与规划学的心得体会专业网络推广公司排名
  • 长沙网站制作电话优化设计官网
  • 环球影城消费一天windows优化大师下载安装
  • 杭州做网站小程序公司软文怎么写
  • 建网站系统网站关键词优化的价格
  • 模板网站建设制作百度账户
  • 常州网站建设百科电脑优化设置
  • 网络营销推广实例网站seo策划
  • 网站建设互联软文代写服务
  • 南京网站制作怎么做好推广
  • 网站模板编辑工具品牌推广与传播
  • iis网站找不到网页优化关键词步骤
  • 临沂网站优化哪家好seo推广论坛
  • 有哪些专门做展会创意的网站网站top排行榜
  • 政府门户网站建设工作计划武汉网站搜索引擎优化
  • 西安网站seo推广搜狗收录批量查询
  • 做视频网站了几百万优化大师怎么提交作业
  • 自己注册公司多少钱seo推广策划
  • 北京市保障性住房建设投资中心官方网站备案小红书网络营销策划方案