Commit Graph

228 Commits

Author SHA1 Message Date
Łukasz Paczos
f1ac3f29c3 [android] text-color option for formatted sections 2019-03-15 16:17:59 +01:00
Łukasz Paczos
5ccc5b7c36 [android] throw an exception if the component is accessed before the activation 2019-03-11 13:30:59 +01:00
Łukasz Paczos
a0fd38eb29 [android] get vector drawables using AppCompatResources and set vector drawables programmatically 2019-03-07 18:47:10 +01:00
tobrun
500080ea64 [android] - fix dialog fragment setup, add regression test 2019-03-06 14:22:43 +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
Łukasz Paczos
e7562a2974 [android] replace remaining hardcoded delays with the idle event 2019-02-26 15:05:48 +01:00
Ivo van Dongen
7c874ab815 [android] fix naming for re-open tests 2019-02-23 09:42:50 +02:00
tobrun
4b8cff5b15 [android] - add UiAutomator tests for testing clicking home and returning with recent apps 2019-02-23 09:42:50 +02: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
tobrun
8d31a5a7e2 [android] - bring back style loading test to native map, add onDestroy to after test 2019-02-14 20:17:39 +02:00
Łukasz Paczos
ca7d9422b6 [android] use #onDidBecomeIdle event instead of layer querying during instrumentation tests 2019-02-12 16:38:55 +01:00
tobrun
a3a601699e [android] - migrate tests from #13882 2019-02-07 15:41:54 +01:00
Łukasz Paczos
8ad13cd577 [android] expose symbol placement transition duration option 2019-02-04 14:52:14 +01:00
Łukasz Paczos
99e35f0c6e [android] restore location layer visibility with new "layer-below" 2019-01-22 11:29:40 +01:00
Łukasz Paczos
9604953d90 [android] rename required TransitionOptions field 2019-01-21 18:02:18 +01:00
tobrun
9ba0737e6a [android] - expose query feature extensions 2019-01-15 17:15:23 +01:00
tobrun
e6e07a6809 [android] - optimise interface definition 2019-01-15 13:33:28 +01:00
Antonio Zugaldia
0a398bd6fd [android] Rename offline database in Test App to follow .gitignore rule (#13708)
* [android] rename offline.db to offline_test.db to avoid working around the .gitignore rule

* [android] update code references to database file
2019-01-10 11:22:48 -05:00
Tobrun
3a77ea6ff7 [android] - espresso tests rework 2019-01-10 08:59:45 +01:00
Łukasz Paczos
aa3a788c6b [android] reworked instrumentation test activity to use a local style again 2018-12-20 14:41:27 +01:00
Łukasz Paczos
bd4a0592f8 [android] clean up remaining deprecated methods for 7.0.0 2018-12-19 16:03:21 +01:00
Łukasz Paczos
e86d1b2ac9 [android] immediate location animation based on map's projection 2018-12-13 19:40:24 +01:00
tobrun
b1ae6c9051 [android] - move MapboxMapTest to java unit test 2018-12-13 19:08:43 +01:00
tobrun
3fbd9578c7 [android] - remove style load test from instrumented unit tests 2018-12-13 14:02:22 +01:00
Osana Babayan
6aea5b561a [android] LatLng bounds cannot be wrapped (#13419) 2018-12-12 15:06:12 +01:00
Tobrun
75914acb6b [android] - add more tests, refactor map padding 2018-12-11 18:08:16 +01:00
Tobrun
5a4a7e7ea8 [android] - instrumented unit tests, add map tests, refactor generated layer tests 2018-12-11 18:08:16 +01:00
tobrun
a018c0f7b5 [android] - throw exception when another style is loading, correct RuntimeStyleTest when removing layer at, add javadoc to isFullyLoaded 2018-12-10 16:59:50 +01:00
Tobrun
aa9e6c59bb [android] - optimise loaded style for location component, expose isFullyLoaded 2018-12-10 16:59:50 +01:00
Tobrun
8eaff9ce13 [android] - make style part of location component activation, add tests for non existing style and multiple style loading, revisit code comments 2018-12-10 16:59:50 +01:00
Tobrun
981689477b [android] - use builder json/url for constructing style object 2018-12-10 16:59:50 +01:00
Łukasz Paczos
f8f8e0b749 [android] move style callback invocation to MapboxMap 2018-12-10 16:59:50 +01:00
Tobrun
879b461884 [android] - ignore location component unit test, update light test, update activity integration 2018-12-10 16:59:50 +01:00
Tobrun
4a15a7db79 [android] - decouple style loading from OnMapReady 2018-12-10 16:59:50 +01:00
Tobrun
470bc66f0f [android] - remove style loaded listener 2018-12-10 16:59:50 +01:00
Tobrun
d68dfe0551 [android] - move all layer, source, image, light and transition configurations to style.java 2018-12-10 16:59:50 +01:00
Tobrun
1374535e63 [android] - cleanup old style java constants file, migrate style transition to Style.java 2018-12-10 16:59:50 +01:00
Tobrun
fbef604546 [android] - Style.java 2018-12-10 16:59:50 +01:00
Osana Babayan
ea775ae932 nativeRemoveSource() and nativeRemoveLayer() methods should return a boolean (#13428) 2018-12-07 13:10:28 -05:00
Tobrun
9a7eecea75 [android] - expose setAccesToken on Mapbox.java 2018-12-05 12:24:20 +02:00
Łukasz Paczos
794b851f02 [android] expose Formatted text-field setter 2018-12-04 17:22:38 +01:00
Andrey Li
2c70f4b6dc [android] Initial integration with liblocation 1.0.0 and telemetry 4.0.0, bumped gms to 16.0.0 2018-11-29 19:26:21 +01:00
Bruno de Oliveira Abinader
e64c28613a [core] Support fill-extrusion-vertical-gradient 2018-11-29 14:23:55 +02:00
Łukasz Paczos
9ac444a08d [android] removing plain text getter for "text-field" 2018-11-20 12:22:16 +01:00
Łukasz Paczos
e08e143c12 [android] getting a constant layer filter fix 2018-11-20 12:20:50 +01:00
Tobrun
1ceea72e6d [android] - remove MarkerView API 2018-11-14 16:25:35 +01:00
Tobrun
7cee81abfa [android] - annotate onMapReady with @NonNull 2018-11-08 11:54:58 +01:00
Łukasz Paczos
bb55bae76d [android] verify if text-field is not null before performing compatibility operations 2018-11-06 17:39:13 +01:00
tobrun
1c733568b0 [android] - expose moveBy, replace CameraUpdateFactory hook to moveBy for scrolling api 2018-11-05 18:25:49 +01:00
Łukasz Paczos
a282b195d5 [android] deliver onMapReady only if mapboxMap is not null 2018-11-02 20:09:49 +01:00