Commit Graph

1468 Commits

Author SHA1 Message Date
tobrun
be75dc9a48 [android] - clear callbacks as part of OnDestroy not as part of OnDestroyView 2019-03-06 14:18:05 +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
f66848efaf [android] - make ReLinker default library loader, create library loader provider for modularisation 2019-02-25 16:58:15 +01:00
Ivo van Dongen
fee22273be [android] gl surfaceview renderer - only destroy context when destroying the mapview 2019-02-23 09:42:50 +02:00
tobrun
6a840d45f0 [android] - add missing package-info.java files to packages for javadoc generation 2019-02-22 11:14:10 +01:00
kevin
4540f80375 Add javadocs for local font family 2019-02-19 19:42:28 +01:00
kevin
68cea961f2 [android] set localIdeographFontFamily default to sans-serif 2019-02-19 19:42:28 +01:00
Łukasz Paczos
9750921dac [android] do not post stale state message when new option provided but the component is stopped 2019-02-19 19:15:59 +01:00
Łukasz Paczos
f5a0e96a5f [android] keep location component's layers hidden when new style with the "layer-below" option is applied 2019-02-19 19:15:59 +01:00
Ivo van Dongen
3802f7e922 [android] hook into surface holder to cleanup renderer on the right thread before the surface is destroyed 2019-02-14 13:58:03 +02:00
Łukasz Paczos
98eac18a21 [android] invalidate the camera position when gesture finishes 2019-02-13 13:50:13 +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
Łukasz Paczos
8ad13cd577 [android] expose symbol placement transition duration option 2019-02-04 14:52:14 +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
Osana Babayan
ce37879231 [android]added generic performance event (#13795) 2019-01-30 10:17:56 -05: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
Łukasz Paczos
953e6dca5b [android] expose OnRenderModeChangedListener 2019-01-30 16:13:23 +01:00
Łukasz Paczos
9830c8309e [android] optimize location animators memory footprint and add animation rate throttle option 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
d7cd06eb55 [android] expose quick zoom option xml attribute 2019-01-25 15:07:22 +01:00
Łukasz Paczos
be94efa402 [android] separate quick zoom gestures option 2019-01-25 15:07:22 +01:00
Łukasz Paczos
ee6edcdf7e [android] fix LocationEngine's annotation
It's always safe to pass a null engine.
2019-01-25 10:27:10 +01:00
Łukasz Paczos
2639d3b31d [android] import gestures dimens using the correct package structure 2019-01-22 13:07:11 +01:00
Łukasz Paczos
99e35f0c6e [android] restore location layer visibility with new "layer-below" 2019-01-22 11:29:40 +01:00
tobrun
4ddce82739 [android] - ignore lint complaints about array min size 2019-01-21 17:00:31 +01:00
Tobrun
c356675349 [android] - update mock definition of LocationLayerControllerTest, update mockito 2019-01-21 10:06:58 +01:00
tobrun
3691a2b25e [android] - add library loading to peer objects 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
tobrun
e0fc92ea0b Revert "[android] - add library loading to peer objects"
This reverts commit 16718b0df7.
2019-01-17 19:23:50 +01:00
Łukasz Paczos
dd3027c9b8 [android] re-apply location component's "layer-below" when changed 2019-01-17 14:36:52 +01:00
tobrun
f0392e0471 [android] - make all library loader load the native library only once 2019-01-17 13:31:45 +01:00
tobrun
16718b0df7 [android] - add library loading to peer objects 2019-01-17 13:31:45 +01:00
tobrun
9a76621d90 [android] - avoid printing warning on recursively loading shared object 2019-01-17 13:31:45 +01:00
tobrun
6e856ebb67 [android] - avoid leaking compassView context through animator 2019-01-17 12:54:20 +01:00
tobrun
e0aeeba10f [android] - allow reset fps listener, update debug mode activity with
menu options
2019-01-16 14:07:28 +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
tobrun
9ba0737e6a [android] - expose query feature extensions 2019-01-15 17:15:23 +01:00
tobrun
59cfce3084 [android] - makes improve map url backwards compatible 2019-01-15 16:06:12 +01:00
tobrun
5977d7b86a [android] - show snapshot attribution 2019-01-15 16:06:12 +01:00
tobrun
e6e07a6809 [android] - optimise interface definition 2019-01-15 13:33:28 +01:00
tobrun
99e369f45e [android] - introduce NativeMap abstraction, remove static code block removal utility 2019-01-15 13:33:28 +01:00
Tobrun
4db55c3ace [android] - avoid null pointer when quickly closing activity for attribution click handling 2019-01-11 19:55:16 +01:00
Heather Stenson
e34bc464ff [android] - update link from API docs (#13692) 2019-01-10 12:09:39 -08:00
tobrun
847c293a3e [android] - avoid leaking dialog when context is being stopped 2019-01-10 19:04:49 +01:00