Home > other >  How to realize the dynamic display resolution switch?
How to realize the dynamic display resolution switch?

Time:04-08

How to make the android in 320 * 240 720 p between dynamic display mode and switch? Check for a long time, haven't find the corresponding data, Montana you what to do, to give directions!!!!!!

CodePudding user response:

Android output resolution is also unable to change the dynamic, now can't modify the command, only by modifying the kernel code set fixed resolution or their best by EDID output resolution,

CodePudding user response:

Does not support dynamic switch

CodePudding user response:

WindowManagerService. Java

CodePudding user response:

WindowManagerService. Java
Private void readForcedDisplayPropertiesLocked (final DisplayContent DisplayContent) {
String sizeStr=Settings. Global. Get String (mContext. GetContentResolver (), Settings. Global. DISPLAY_SIZE_FORCED);
DisplayContent. UpdateBaseDisplayMetrics (width, height, displayContent mBaseDisplayDensity);
Is actually the adb shell wm size 1280 x1600
The adb shell wm size 1000 x1600
The adb shell wm size 2560 x1600
The adb shell wm density reset
The adb command execution function
  • Related