diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2018-02-27 18:35:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 18:35:05 +0100 |
commit | 848d7dff4e682c3d2485366f95649a5de4b1bd75 (patch) | |
tree | cea25172d92d43c222407ea7b6729f00a548af79 /platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml | |
parent | 43a7db0b0bfd7d626ffed9adff3446fbbe111c15 (diff) | |
download | qtlocation-mapboxgl-848d7dff4e682c3d2485366f95649a5de4b1bd75.tar.gz |
[android ] - new gestures library (cp #11221) (#11332)
* [android] new gesture library - added SNAPSHOT dependency
* [android] new gesture library - cleaned up redundant classes
* [android] new gesture library - limiting scale when rotating
* [android] new gesture library - shove gesture filtering
* [android] new gesture library - increase rotation threshold when scaling
* [android] new gesture library - minimum angular velocity
* [android] new gesture library - exposed gestures execution listeners
* [android] new gesture library - notifying new listeners tests
* [android] new gesture library - removed tracking setting
* [android] new gesture library - resetting focal point with every scale/rotate callback
* [android] new gesture library - fixed camera change dispatcher callbacks
* [android] new gesture library - cancel velocity animations in maps onStop()
* [android] new gesture library - extracted telemetry pushes to a method
* [android] new gesture library - deprecated onScrollListener
* [android] new gesture library - unified shove listener name
(cherry picked from commit 7905bd6)
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml index 1c6a265587..00fc05cf6d 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml @@ -6,4 +6,13 @@ <dimen name="mapbox_eight_dp">8dp</dimen> <dimen name="mapbox_ninety_two_dp">92dp</dimen> <dimen name="mapbox_my_locationview_outer_circle">18dp</dimen> + + <!--Minimum scale velocity required to start animation--> + <dimen name="mapbox_minimum_scale_velocity">150dp</dimen> + + <!--Minimum scale span delta required to execute scale gesture when rotating--> + <dimen name="mapbox_minimum_scale_span_when_rotating">100dp</dimen> + + <!--Minimum angular velocity required to start rotation animation--> + <dimen name="mapbox_minimum_angular_velocity">0.025dp</dimen> </resources> |