On low powered, legacy devices, the animations are a bit sluggish. Set the animation scales to 50% to make the UI feel snappier. Change-Id: I158ca53f12596e5cbd56fc4c35ca54d76d6ae835tirimbino
parent
72bf05a615
commit
853e6d1068
@ -0,0 +1,33 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<!-- |
||||||
|
/** |
||||||
|
* Copyright (c) 2016, The Android Open Source Project |
||||||
|
* |
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
* you may not use this file except in compliance with the License. |
||||||
|
* You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
--> |
||||||
|
<resources> |
||||||
|
<!-- Set the automatic brightness mode on by default --> |
||||||
|
<bool name="def_screen_brightness_automatic_mode">true</bool> |
||||||
|
|
||||||
|
<!-- Default screen brightness, from 0 to 255. 82 is 32%. --> |
||||||
|
<integer name="def_screen_brightness">82</integer> |
||||||
|
|
||||||
|
<!-- 30 seconds for default screen timeout --> |
||||||
|
<integer name="def_screen_off_timeout">30000</integer> |
||||||
|
|
||||||
|
<!-- Speed up the animations --> |
||||||
|
<fraction name="def_window_transition_scale">50%</fraction> |
||||||
|
<fraction name="def_window_animation_scale">50%</fraction> |
||||||
|
|
||||||
|
</resources> |
Loading…
Reference in new issue