commit | dffe394bb502c236a2e2511f5a61e1e9ece41fd5 | [log] [tgz] |
---|---|---|
author | jhonboy121 <alfredmathew05@gmail.com> | Tue Dec 28 14:23:54 2021 +0530 |
committer | jhonboy121 <alfredmathew05@gmail.com> | Wed Dec 29 20:47:44 2021 +0530 |
tree | e07a6e62451ddc248bc5daa8c1aac00b8dbffe4d | |
parent | 9554bb0cbf83653ebe3b884ed274885c7bf6d6fe [diff] |
GamingMode: refactor quick settings tiles * Instead of using a TextView and an ImageView in a triply nested LinearLayout, use a TextView and set the icon as it's compound drawable and directly attach to it's parent (a LinearLayout). This avoids two intermediate nested LinearLayout's which is really bad for performance. * Made the AppTile Extend ImageView and set drawable, padding and layout params programatically * Use shape drawable instead of vector drawable for qs background * Disabled scroll bars for HorizontalScrollView's Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
exTHmUI 游戏模式
当进入游戏模式或者用户调节 SeekBar 时, 游戏模式会设置 sys.performance.level
这个属性。
设备维护者需要在代码中添加对这个属性变化的监听。 可以参考 这个commit