summaryrefslogtreecommitdiffstats
path: root/ui/views/examples/widget_example.cc
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-19 20:55:50 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-19 20:55:50 +0000
commit01ae53417b7c0a698e48861f251167f0b6b4c872 (patch)
tree189f273ada75a1be63618971d95ec2225518fba9 /ui/views/examples/widget_example.cc
parente41a07e08dda7eace29c62bf7db40286b1e4c1d4 (diff)
downloadchromium_src-01ae53417b7c0a698e48861f251167f0b6b4c872.zip
chromium_src-01ae53417b7c0a698e48861f251167f0b6b4c872.tar.gz
chromium_src-01ae53417b7c0a698e48861f251167f0b6b4c872.tar.bz2
Fix Android fling curve deceleration.
Because Android OverScroller fling deceleration is a constant, dividing the velocity by DPI-scale doubled the rate of deceleration. Instead, leave velocity as-is and divide the output scrolls by DPI-scale. NOTRY=true TBR=sievers@chromium.org BUG=176869 Review URL: https://chromiumcodereview.appspot.com/12303014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/examples/widget_example.cc')
0 files changed, 0 insertions, 0 deletions