Łukasz Paczos
7475247782
[android] - remove projected meters per pixel and pixel ratio relation
...
The projected meters per pixel calculation is not dependent on the pixel ratio but rather the tile size, therefore, the division when fetching the value is not necessary.
2019-10-03 11:11:05 +02:00
Peng Liu
426da3a6af
[android] Fix the crash when CameraPosition padding is set. ( #15699 )
...
* [android] Add test branch, navigate to Map Snapshotter activity to reproduce the bug.
* [android] Fix the crash when camera position padding is set.
2019-09-23 19:11:00 +03:00
Łukasz Paczos
4f91073414
[android] - ignore location tracking mode based animations when the camera is transitioning
2019-09-17 15:03:35 +02:00
Peng Liu
69bc5244ea
[android] Fix MapSnapshotter regression and add activity sanity tests ( #15580 )
...
* [android] Include more generated sanity tests for Android test app.
* [android] Add null check for camera position padding.
* [android] Skip map load tests if no mapView is found, include more generated sanity tests for Android test app.
* [android] Set mapboxMap to null during the mapView destroy process, fix failed sanity tests.
* [android] Add file source related activities to the sanity test exclude list.
* [android] Fixes according to @tobrun's review.
* [android] Add more activities to exclude list, keep MapSnapshotterActivity for regression test.
2019-09-12 18:17:45 +03:00
Peng Liu
208f82fbe2
[android] Fix leaked window in test app's BulkMarkerActivity. ( #15597 )
2019-09-10 19:00:31 +03:00
Tobrun
529ebc7df7
[android] - increase timeout of offline download test ( #15419 )
2019-09-09 12:08:13 +02:00
Tobrun
ed964fc16b
[android] avoid converting float to long in android_conversion.hpp ( #15557 )
2019-09-04 18:12:12 +03:00
Tobrun
0fa5944f39
Add number format expression ( #15424 )
...
* [android] add number format expression
2019-09-02 14:48:11 +02:00
Łukasz Paczos
becc705f05
[android] expose camera padding option
...
This removes the cached insets on the Android side, making the core TransformState the source of truth. This still leaves an option to lazily set the padding which is going to be applied only when the next camera animation is started.
2019-08-29 14:51:24 +02:00
Łukasz Paczos
e3795f2a5c
[android] cancel CameraAnimatorActivity joint example when the map is destroyed
2019-08-28 10:34:14 +02:00
tobrun
309f566800
[android] add font array attribute configuration for local ideograph font, add enable flag attribute configuration
2019-08-28 08:58:57 +02:00
Łukasz Paczos
dbda6cc9e8
[android] initialize CameraPositionActivity listeners after the style is loaded
2019-08-26 14:27:35 +02:00
zmiao
2a8359b028
[android] bindings for aggregated cluster properties ( #15425 )
...
* [android] bindings for aggregated cluster properties
* [android] change the parameter type for adding clusterProperty
* [android] add changelog
* remove extra emplty line
2019-08-22 18:54:31 +03:00
Łukasz Paczos
baa7086570
Merge pull request #15437 from mapbox/lp-revert-14989
...
Revert "[android] invalidate camera when setting a padding"
2019-08-21 17:24:11 +02:00
tobrun
073a243862
[android] provide default font list for pre lollipop
2019-08-20 11:36:12 +03:00
Łukasz Paczos
bf34fb0190
[android] check if the CustomGeometrySource's java peer is valid when the thread is shutting down
2019-08-19 10:22:45 +02:00
Łukasz Paczos
8e1bd18eae
[android] execute quickzoom scale change based on the Y axis delta change
...
Using finger's Y axis position allows for a linear zoom additions/deductions during the quick-zoom changes. This is in contrast to the previously used scale factor, which is based on the current span (distance from the origin) to previous span ratio and increases the closer the finger is to the origin of a gesture because the values are smaller.
The scale ratio based changes are also reliant on series of motion events' values and because the Android framework can skip some events, going back and forth during a quick-zoom might not have resulted in the same transformation. This was reproduced by the round-tripping test introduced in this commit.
2019-08-15 20:34:29 +03:00
Langston Smith
1ffb417bdb
[android] Test app tweaks from 8.3.0-alpha.2 QA ( #15360 )
2019-08-13 07:58:51 -07:00
Alexander Shalamov
dad43ba8fc
[android] Android bindings for new 'text-writing-mode' layout property
2019-08-13 13:32:56 +03:00
tobrun
58d7734722
[android] add fallback support to local ideograph font families, allow setting a collection of fonts
2019-08-12 14:30:07 +03:00
Langston Smith
afab287553
[android] adding latitude value check for android test app CameraPositionActivity ( #15286 )
2019-08-01 09:28:09 -07:00
tobrun
9cf1746e35
[android] - load style without url or json
2019-08-01 17:40:48 +03:00
Łukasz Paczos
7c66d029cb
[android] remove unnecessary android:appComponentFactory reference
2019-08-01 12:07:36 +03:00
Łukasz Paczos
ac94186508
[android] harden MapGestureDetector tests
2019-07-30 09:24:49 +02:00
Łukasz Paczos
d48ec27696
[android] 8.2.0 QA fixes for the test app
2019-07-22 10:00:53 +02:00
Tobrun
79bdce6cd4
[android] - update dependencies, target SDK, support library ( #15135 )
2019-07-19 11:46:38 +02:00
Łukasz Paczos
4a93f39700
[android] ignore a flaky MapSnapshotter test until #11669 is resolved
2019-07-18 14:39:25 +02:00
Łukasz Paczos
048a07e3c9
[android] fail MapSnapshotter test in case of an error returned from core
2019-07-18 10:54:39 +02:00
tobrun
0baa54a194
[android] - create map snapshot from testcase
2019-07-16 17:06:19 +02:00
Łukasz Paczos
ac0431eac5
[android] ensure that move detector is enabled if double-tap is interrupted
2019-07-11 18:18:48 +02:00
Łukasz Paczos
200af48754
[android] add regression tests for recent quick zoom/double tap issues
2019-07-11 14:14:10 +02:00
Łukasz Paczos
afa7cea4c0
[android] ensure location shadow's gradient is greater than 0
2019-07-11 13:27:13 +02:00
Łukasz Paczos
348c437c0a
[android] throw configuration exception when accessing Mapbox services with an invalid token
2019-07-11 11:02:24 +02:00
tobrun
ee0d831a2f
[android] - introduce MapboxMapOptins facility creation method.
2019-07-08 16:33:26 +02:00
tobrun
532e9dc6ae
[android] - add snapshotter and offline test
2019-07-08 08:12:36 +02:00
tobrun
dd16eadc38
[android] - add ktlint, optimise code for ktlint validation
2019-07-04 12:08:49 +02:00
tobrun
21f7522967
[android] - add binding integration for cache management API
2019-07-02 14:23:24 +02:00
tobrun
6aa0792977
[android] - bring back opacity manual regression test
2019-06-26 19:22:04 +02:00
Kevin Li
3b90d95b93
[android]Add MicroSoft AppCenter lib. ( #14995 )
2019-06-26 16:33:59 +08:00
Łukasz Paczos
8fbe63b51b
[android] invalidate camera when setting a padding
2019-06-25 13:29:20 +02:00
Tobrun
e60b48eca9
[android] - update LatLngBounds example with animating bottomsheet scroll behavior ( #14924 )
2019-06-24 09:08:26 +02:00
Tobrun
18885def71
[android] - optimise CameraUpdateFactory#newLatLngBounds to use camera position tilt and bearing values ( #14953 )
2019-06-19 19:51:44 +02:00
Langston Smith
962793beca
[android] added noneCompass and noneGps to LocationModesActivity ( #14945 )
2019-06-18 09:57:37 -07:00
tobrun
df062afe6d
[android] - fix reset behavior for setLatLngBoundsForCameraTarget
2019-06-11 10:10:51 +02:00
Tobrun
198ed888e3
[android] - increase timeout of image missing test, use GeoJsonSource above CustomGeometrySource
2019-06-06 09:03:51 +02:00
tobrun
36361192b1
[android] - rename style component URL api to URI
2019-06-05 09:38:20 +02:00
Łukasz Paczos
7b5d6c15ac
[android] copy features array before passing them to core
2019-06-04 17:49:08 +02:00
tobrun
05e194614f
[android] - consolidate native build setup into one gradle configuration file
2019-05-29 11:51:39 +02:00
tobrun
ff980010d7
[android] - move example custom layer compilation to testapp
2019-05-29 11:51:39 +02:00
tobrun
2be07041fd
[android] - use URI instead of URL to enable asset loading
2019-05-27 19:21:18 +02:00