OSDN Git Service

DO NOT MERGE Cherry-Pick: Add ViewConfiguration.getScaledScrollFactor()
authorNed Burns <pixel@google.com>
Thu, 18 Aug 2016 21:32:50 +0000 (17:32 -0400)
committerNed Burns <pixel@google.com>
Fri, 19 Aug 2016 17:19:20 +0000 (13:19 -0400)
commita5b41c88ec6695c1fd5dd0d3c47bfa333cc71d34
treed90f06bc20b9c6b64b8001953c7065f2fd563a44
parente35215cec751f4b679781c6b2a2fb5b6639c7732
DO NOT MERGE Cherry-Pick: Add ViewConfiguration.getScaledScrollFactor()

This value is used to convert ACTION_SCROLL axis values into raw
pixel distances.

CP of ag/1333603 from master to feldspar-dev. New method is @hide and
@SystemApi in this version. In master, it's part of the new public
API, but feldspar will launch before O.

Change-Id: I5ee73ebcd183c43939ae8aa157e88489e05d4760
core/java/android/view/ViewConfiguration.java
core/res/res/values/config.xml
core/res/res/values/symbols.xml