Commit Graph

871 Commits

Author SHA1 Message Date
Ł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
Łukasz Paczos
1bef3b7d1d [android] resume file source and wait for result to complete resources cache path change 2019-05-24 15:03:55 +02:00
Łukasz Paczos
d8e9acd0f5 [android] deprecate MapboxMapOptions empty constructor 2019-05-23 17:17:17 +02:00
Łukasz Paczos
b21f9f3e35 [android] return color string values in the [0-255] range 2019-05-22 16:32:04 +02:00
Alexander Shalamov
00790dd022 [android] Add unit test for onRemoveUnusedStyleImages API 2019-05-21 06:49:17 -07:00
Łukasz Paczos
30d4a55716 [android] show multiple maps in a recycler view example 2019-05-20 12:47:52 +02:00
Osana Babayan
ff3295bd05 [android] added connectivity state attribute to tile loading metric (#14667) 2019-05-17 09:27:37 -04:00
tobrun
8281a929e6 Revert "[android] new manifest flag to enable/disable sku tokens"
This reverts commit 71fd147480.
2019-05-17 09:28:29 +02:00
Łukasz Paczos
ab8caabd15 [android] fix FragmentBackStackActivity navigation 2019-05-15 16:58:13 +02:00
Łukasz Paczos
0ecf45edbd [android] refactor ViewPager example 2019-05-15 16:58:13 +02:00