From fa9709b09aff36a3d0755af56bc445d43e90c617 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Wed, 16 Aug 2017 21:59:07 +0100 Subject: [PATCH] Make brightness ramp rates multiples of 60. If ramp rates aren't even multiple of 60 then we're more likely to get brightness changes that differ each frame, which can show up as a stuttering in the animation. Bug: 64514692 Test: made change, took systrace, saw smooth ramping Change-Id: I48ec832f752a8aefb6185c1583141f2fb1a29e85 --- overlay/frameworks/base/core/res/res/values/config.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 779bd7ad..92eda687 100755 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -54,6 +54,12 @@ 2000 4000 + + 180 + + + 60 + true