Get device’s dimension:
adb shell wm size
> Physical size: 2880x1600
Get device’s density:
adb shell wm density
> Physical density: 320
Hide status bar and navigation bar:
adb shell wm overscan 0,-200,0,-200
Reset screen changes:
adb shell wm overscan reset