zoukankan      html  css  js  c++  java
  • shell-查看手机分辨率

    使用如下命令,可以查看手机分辨率

    adb shell dumpsys window displays

    运行结果如下

      Display: mDisplayId=0
        init=1080x1920 480dpi cur=1080x1920 app=1080x1920 rng=1080x1005-1920x1845
        layoutNeeded=false
      StackBox #0
        mParent=null
        mBounds=[0,75][1080,1920] mVertical=false layoutNeeded=true
        mStack={stackId=0 tasks=[{taskId=1 appTokens=[AppWindowToken{42749178 token=Token{427fede0 ActivityRecord{427fec28 u0 com.cooee.unilauncher/com.iLoong.launcher.desktop.iLoongLauncher t1}}}]}]}
          mStackId=0
          {taskId=1 appTokens=[AppWindowToken{42749178 token=Token{427fede0 ActivityRecord{427fec28 u0 com.cooee.unilauncher/com.iLoong.launcher.desktop.iLoongLauncher t1}}}]}
          mStackBox=Box{1110825248 stack=0}
    
      Application tokens in Z order:
      App #1 AppWindowToken{42749178 token=Token{427fede0 ActivityRecord{427fec28 u0 com.cooee.unilauncher/com.iLoong.launcher.desktop.iLoongLauncher t1}}}:
        windows=[Window{423b9bf0 u0 com.cooee.unilauncher/com.iLoong.launcher.desktop.iLoongLauncher}]
        windowType=2 hidden=false hasVisible=true
        app=true
        allAppWindows=[Window{423b9bf0 u0 com.cooee.unilauncher/com.iLoong.launcher.desktop.iLoongLauncher}, Window{42476950 u0 SurfaceView}]
        groupId=1 appFullscreen=true requestedOrientation=1
        hiddenRequested=false clientHidden=false willBeHidden=false reportedDrawn=true reportedVisible=true
        numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
        startingData=null removed=false firstWindowDrawn=true
  • 相关阅读:
    linux字符设备文件的打开操作
    Linux用ps命令查找进程PID再用kill命令终止进程的方法
    Linux内核锁与中断处理
    写给大数据开发初学者的话
    zabbix监控系统客户端安装
    详解zabbix安装部署(Server端篇)
    Keepalived+Nginx架构整理版
    Nginx + Tomcat 动静分离实现负载均衡
    五个常用的Linux监控脚本代码
    16个Linux服务器监控命令
  • 原文地址:https://www.cnblogs.com/zhangshuli-1989/p/zhangshuli_density_150420141.html
Copyright © 2011-2022 走看看