字体缩放倍数
adb shell settings put system font_scale 0.85 (小)
adb shell settings put system font_scale 1.0 (正常)
adb shell settings put system font_scale 1.15 (大)
adb shell settings put system font_scale 1.30 (最大)
adb shell settings put system font_scale 2.0 (特大,仅使用adb才能用)
Talkback
关 talkback
adb shell settings put secure enabled_accessibility_services com.android.talkback/com.google.android.marvin.talkback.TalkBackService
开 talkback
adb shell settings put secure enabled_accessibility_services com.google.android.marvin.talkback/com.google.android.marvin.talkback.TalkBackService
色彩
变量
accessibility_display_daltonizer_enabled=1
accessibility_display_daltonizer=11
accessibility_display_daltonizer=12
accessibility_display_daltonizer=13
举例:
adb shell settings put secure accessibility_display_daltonizer_enabled 1
adb shell settings put secure accessibility_display_daltonizer 0
adb shell settings put secure accessibility_display_daltonizer 11
adb shell settings put secure accessibility_display_daltonizer 12
adb shell settings put secure accessibility_display_daltonizer 13
0 == 單色
11 代表紅色弱視(紅綠色)
12 代表紅色弱視(紅綠色)
13 代表藍色弱視(藍黃色)
反色
变量: accessibility_display_inversion_enabled=1
adb指令: adb shell settings put secure accessibility_display_inversion_enabled 1
高对比文字
变量: high_text_contrast_enabled=1
ADB指令: adb shell settings put secure high_text_contrast_enabled 1
放大镜
设置倍数: adb shell settings put secure accessibility_display_magnification_scale 5.0
开: adb shell settings put secure accessibility_display_magnification_enabled 1
关: adb shell settings put secure accessibility_display_magnification_enabled 0
列出当前设置
adb shell settings list system
adb shell settings list global
adb shell settings list secure
此外,adb shell getprop 指令可以很好地暴露許多其他屬性,您可以使用 adb shell setprop 功能來變更這些屬性。
显示触摸的点
adb shell settings put system show_touches 1
指针方向
adb shell settings put system pointer_location 1