Commit Graph

162 Commits

Author SHA1 Message Date
Łukasz Paczos
f86f0226dd [android] ensure default local ideographs font family is not overwrote 2019-07-30 13:53:03 +02:00
Łukasz Paczos
dabf5d0c3a [android] remove layers first when clearing the style 2019-07-22 16:03:53 +02:00
tobrun
dd16eadc38 [android] - add ktlint, optimise code for ktlint validation 2019-07-04 12:08:49 +02:00
tobrun
c5b04677f0 [android] - add setVerbosity to Logger, add LogLevel IntDef 2019-06-25 14:39:14 +02:00
Łukasz Paczos
41980af469 [android] refactor LocationComponentTest to use consistent mocking tools 2019-06-24 11:37:21 +02:00
Łukasz Paczos
fe570fb206 [android] reset location layer animators when render mode changes 2019-06-24 11:37:21 +02:00
Łukasz Paczos
55527d0412 [android] accept floating numbers during core->platform color conversion 2019-06-18 13:22:44 +02:00
Tobrun
c2fb3cc76f [android] - add resource usage to HttpRequest, add offline query parameter flag to http request (#14837) 2019-06-12 16:40:59 +02:00
tobrun
36361192b1 [android] - rename style component URL api to URI 2019-06-05 09:38:20 +02:00
Pablo Guardiola
0181ef8f63 [android] add support for external sdk clients to be able to manage the tokens on their side (#14631) 2019-05-30 11:24:24 -04:00
Łukasz Paczos
5bb0a49dc9 [android] option to change the zoom rate 2019-05-29 10:16:01 +02:00
Łukasz Paczos
bc74a8ee0b [android] break location camera tracking when a developer invoked animation starts 2019-05-24 10:11:18 +02:00
tobrun
3f48f27363 [android] - ignore telemtry schema size test for map load 2019-05-16 19:31:56 +02:00
Tobrun
947bc75f56 [android] - remove internal gesture event handling code, deprecate public gesture event hooks 2019-05-10 12:12:52 +02:00
Łukasz Paczos
9fb41a74bc [android] normalize previous rotation values of the location animator 2019-05-10 10:09:27 +02:00
tobrun
b1c1471713 [android] - remove skuId from schema test 2019-05-10 06:57:00 +02:00
Łukasz Paczos
6fa1d357b3 [android] option to provide custom values for location camera transition 2019-05-09 19:43:49 +02:00
Kevin Li
386b013c5e [Android]Expand schema test, modify performance event (#14535)
* expand schema test, modify performance event

* enclose java doc

* revert int to long
2019-05-02 16:55:20 +08:00
Łukasz Paczos
50483cafa6 [android] clear up LocationComponent's z-index positioning docs and add "layer-above" option 2019-04-24 14:24:23 +02:00
Antonio Zugaldia
d0a1526a94 [android] Introduce AccountsManager to support SKU tokens in API requests (#14404) 2019-04-18 16:29:20 -04:00
kevin
8bbd38093c add schema test 2019-04-18 16:00:12 +02:00
kevin
ef5b00b810 Add hashcode(), equals() and toString() methods to Events class. 2019-04-18 16:00:12 +02:00
kevin
2b576d24f0 Polish codes and add test cases 2019-04-18 16:00:12 +02:00
tobrun
278d856372 [android] - program against NativeMap interface 2019-04-16 15:16:07 +02:00
Łukasz Paczos
f22c014b91 [android] check for Mapbox#INSTANCE when initializing the MapView 2019-04-09 10:52:24 +02:00
tobrun
744ce2c026 [android] - allow resetting a custom OkHttp client to the default implementation 2019-04-08 15:13:33 +02:00
Łukasz Paczos
03159b3589 [android] clear previous style loaded listener when setting a new style 2019-04-04 17:14:22 +02:00
Łukasz Paczos
af74d00b05 [android] add unit tests for #14171 2019-04-04 13:42:14 +02:00
Łukasz Paczos
463a6b2736 [android] clear camera callbacks' message queue when the map is destroyed 2019-04-02 14:14:47 +02:00
Łukasz Paczos
1aa44d5451 [android] do not reset custom location gestures manager if already set 2019-04-01 17:38:51 +02:00
tobrun
3e106c3f56 [android] - LatLng#distanceTo uses TurfMeasurement#distance 2019-04-01 16:11:09 +02:00
Łukasz Paczos
0f947b912b [android] cache location layer IDs in a set instead of a list 2019-03-18 13:25:01 +01:00
Łukasz Paczos
f1ac3f29c3 [android] text-color option for formatted sections 2019-03-15 16:17:59 +01:00
Łukasz Paczos
103f86c4bc [android] set a blank style when an empty builder is provided 2019-03-12 16:53:19 +01:00
Langston Smith
7e4824960c [android] Adding builder pattern for LocationComponent activation (#13941)
* initial additions of activation builder

* [android] refactoring LocationComponentActivationOptions based on code review

* [android] initial addition of LocationComponentActivationOptionsTest unit tests

* [android] more refactoring based on code review

* [android] refactoring test app location examples

* [android] espresso test refactor with LocationComponentActivationOptions usage

* [android] locationComponent builder instrumentation test tweaks and log removal

* [android] method and docs refactoring based @lukaspaczos 's review

* [android] locationEngine setting logic refactor

* [android] add null locationEngine to stillStaleAfterResuming test

* added .locationEngine(null) to other tests

* [android] javadocs, method, and test adjustments based on @lukaspaczos review

* [android] test tweaks based on Lukasz review
2019-03-05 11:05:06 -08:00
Langston Smith
4bc56cc576 [android] added areAllGesturesEnabled() method and test (#14022) 2019-03-04 07:21:06 -08:00
Łukasz Paczos
2ce70f7335 [android] verify no native method is called when saving state 2019-03-04 12:33:39 +01:00
Łukasz Paczos
638b91afc4 [android] add plural style builder methods 2019-03-04 12:33:14 +01:00
Łukasz Paczos
5e41fd44f2 [android] clear singleton instance of Mapbox after running unit test suite 2019-02-26 15:06:21 +01:00
tobrun
ca4648964a [android] - update codebase for Roboelectric v4.x 2019-02-13 11:29:49 +02:00
Tobrun
47fa19444e [android] - add experimental pointer (#13889) 2019-02-07 15:22:36 +01:00
Langston Smith
a2b49e9d22 [android] Adding new variation of LocationComponent#activateLocationComponent (#13829)
* [android] added new activateLocationComponent method

* [android] added new test for the new way to activate the LocationComponent

* [android] tweak to test after lukasz review

* [android] adding tests to assert LocationEngine status
2019-01-31 07:20:25 -08:00
Łukasz Paczos
d8bd594687 [android] LocationComponent max fps javadoc 2019-01-30 16:13:23 +01:00
Łukasz Paczos
f897f128e6 [android] LocationComponent animator throttling tests and examples 2019-01-30 16:13:23 +01:00
Tobrun
50018b7574 Add image support with drawable overload (#13793)
* [android] - add addImage support that takes a Drawable as parameter
2019-01-28 15:06:54 +01:00
Łukasz Paczos
be94efa402 [android] separate quick zoom gestures option 2019-01-25 15:07:22 +01:00
Tobrun
c356675349 [android] - update mock definition of LocationLayerControllerTest, update mockito 2019-01-21 10:06:58 +01:00
Antonio Zugaldia
d5659aa664 [core,ios,android] Update feedback URL in code and tests (#13710)
* [core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback

* [ios,android] rename all occurrence of www.mapbox.com/feedback to apps.mapbox.com/feedback
2019-01-17 17:00:56 -08:00
Łukasz Paczos
dd3027c9b8 [android] re-apply location component's "layer-below" when changed 2019-01-17 14:36:52 +01:00
Łukasz Paczos
8974b7c815 [android] do not invoke #onCancel when animation is scheduled from #onFinish block 2019-01-16 11:42:24 +01:00