Commit Graph

1022 Commits

Author SHA1 Message Date
Tobrun
99c2bf2580 [android] - disable CI failing test (#7204) 2016-11-29 11:40:20 +01:00
Tobrun
b57b3b4bf6 [android] - Explicitly use hardware layer when (#7186)
animating the CompassView alpha.
2016-11-28 18:40:50 +01:00
Ivo van Dongen
74a7a5a0d4 [android] add source_did_change event to intdef list 2016-11-28 18:13:53 +02:00
Cameron Mace
4d747d3e5e added round icon to testapp (#7193) 2016-11-28 10:17:01 -05:00
Tobrun
b49c5a711a [android] - handle null location update for MyLocationView (#7190) 2016-11-28 13:39:52 +01:00
Tobrun
644ca74906 [android] - fix null pointer when no camera position is available on map initialisation (#7181) 2016-11-28 10:36:46 +01:00
Tobrun
e94b3d944b Add instrumentation tests for query rendered features (#7127)
* [android] - add tests for query rendered features

* move initialising camera to xml
2016-11-28 10:35:47 +01:00
Tobrun
507ecef946 [build] Bitrise android core tests workflow 2016-11-27 18:50:24 +02:00
Ivo van Dongen
c810d16f0d [android][build] core tests - initial setup for rendering tests 2016-11-27 18:50:24 +02:00
Pablo Guardiola
3deade2dcd [android] - fix activity sanity tests generation command (#7147) (#7152) 2016-11-27 17:36:46 +01:00
Tobrun
dda1d9f357 [android] - fixup timber merge (#7179) 2016-11-24 11:33:57 +01:00
Pablo Guardiola
fe68b9bc4a Fix incorrect command comment in templates (#7158)
* [android] - fix incorrect command comment in templates and regenerate classes (#7157)

* [android] - fix incorrect command comment in layer templates and regenerate classes (#7157)
2016-11-23 19:28:24 +01:00
Pablo Guardiola
ac924719e1 [android] - replace Android logs with Timber (#6372) (#7149) 2016-11-23 11:48:07 -05:00
Tobrun
edb487b74d [android] - move camera logic to dedicated transform class (#6919)
* [android] - move camera logic to dedicated transform class

post camera updates to the message queue, this makes calling an new camera update in the on finish of another update possible. Simplify transform.java implementation.

* fail the step if instrumentation tests fail, fixup typo
2016-11-23 10:53:39 +01:00
Konstantin Käfer
e76de05402 [build] move logging to util 2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e [build] move default ThreadPool implementation to platform/default 2016-11-22 20:58:51 +01:00
Tobrun
5877d786e1 [android] - use double to restore instance state of MyLocationView (#7146) 2016-11-22 19:23:20 +01:00
Konstantin Käfer
66e6946b8c [build] Use thin archives for Android 2016-11-22 15:55:37 +01:00
Tobrun
dff218c30e [android] - allow deselection of a MarkerView not found in current viewport (#7140) 2016-11-22 15:21:06 +01:00
Pablo Guardiola
6ecad41858 Add simple map activity to testapp (#7136)
* [android] 6481 - add simple map activity to test app

* [android] #6481 - exclude SimpleMapActivity
2016-11-22 10:05:29 +01:00
Tobrun
f92439d180 [android] - run all espresso tests on Firebase test lab (#6980) 2016-11-21 13:16:22 +01:00
Konstantin Käfer
ce0169e189 [build] add --gc-sections to Android link flags to reduce binary size 2016-11-18 14:45:42 +01:00
Tobrun
109565c400 [android] - allow compass update without animation (#7094) 2016-11-18 13:45:32 +01:00
Fredrik Karlsson
d959fe1522 [android] fixed horizontal panning going the opposite direction 2016-11-18 09:21:38 +01:00
Konstantin Käfer
cbe5de98fa [build] create separate bitrise build for binary size tracking 2016-11-17 15:42:44 +01:00
Konstantin Käfer
36a04e49c8 [build] add binary size logging to Android nightlies 2016-11-15 10:07:47 -08:00
Bruno de Oliveira Abinader
1c79147a84 [android] Update GLSL + ensure binding to OpenGL ES 2.0 2016-11-14 17:45:22 +01:00
Ivo van Dongen
36dea5ea0d [android] return source ownership on remove 2016-11-14 14:05:18 +01:00
Ivo van Dongen
8d53f9f091 [android] return layer ownership on remove 2016-11-14 14:05:18 +01:00
Tobrun
f66ea0bef9 [android] - getMarkerViews in rect should return in bound views (#7015)
* [android] - getMarkerViews in rectangle should only return in bound views.

* added example in test app for debugging

* Covert rectangle coming in to density dependant rectangle
2016-11-14 12:08:03 +01:00
Tobrun
fa6d586417 [android] - allow using rotate gesture when not tracking user location, correctly update bearing during rotation gesture (#6978) 2016-11-14 10:37:34 +01:00
Tobrun
720a0256f5 Default Style Camera on Android (#7019)
* [core] - do not set camera mutated to true when calling Map::getLatLng

* [android] - correctly check if a Map is created without a camera position
2016-11-11 18:13:25 +01:00
Ivo van Dongen
1beb28e75b [android] updated test activities for refactored layer/source ownership 2016-11-11 13:46:10 +01:00
Ivo van Dongen
185983f2f7 [android] source/layer java doc 2016-11-11 13:46:10 +01:00
Ivo van Dongen
822b83ae4e [android] fix source ownership 2016-11-11 13:46:10 +01:00
Ivo van Dongen
3a4a27c95f [android] fix layer ownership 2016-11-11 13:46:10 +01:00
Tobrun
fcbb7c1860 [android] - check for default values when constructing a camera position from a CameraUpdate (#7002) 2016-11-10 19:10:07 +01:00
Konstantin Käfer
108a28faa8 [android] update viewport size when framebuffer size changed 2016-11-10 17:04:18 +01:00
Ivo van Dongen
a9249b331a [android] test activity for runtime changes to symbols 2016-11-09 15:25:17 +01:00
Tobrun
33aa14c939 [android] - instrumentation tests upgrade, move view checking to utility class, remove inheritance in runtime style test (#6803)
update gitignore for generated tests

add camera move test

add realtime geojson to be excluded when generating Activity sanity tests

by default show workaround for showing a MapView in a dialog

add annotation tests

remove older camera tests, introduce tests for move, ease and animate, bring back setLatLng and getLatLng on MapView, add tests for internal camera API.

compass view tests

add tests for attribution and logo.

fix annotation tests

Rename Actiivity test class, split up annotation tests, added MarkerView tests, added infowindow tests, added MyLocationView tests

fix addRemoveLayer test by integrating map interactions inside a ViewAction
2016-11-09 12:56:49 +01:00
Konstantin Käfer
2411ec83b1 [build] don't rewrite style code for every build
revert of 93166aef48

On Android, we always rewrote the style code files, which lead to gratuitous recompiles
2016-11-09 11:10:22 +01:00
Tobrun
4030e86c33 [android] - fix inconsistency of float usage in CameraPosition and CameraUpdateFactory (#6941) 2016-11-09 10:51:40 +01:00
Tobrun
772324e8f2 Cherry pick release v4.2.0 (#6944)
* [android] - MyLocationView should facing above when location and compass bearing tracking are enabled. (#6829)

* [android] - use current animated rotation value for calculating animated marker rotation difference (#6826)

fix unit tests, input limiting is not handled by animateRotationBy instead of MarkerView.
Changed test to validate if method was called with correct value.

* [android] - only calculated offset margins for InfoWindow if View is found in current viewport, added example to the test app to test for regressions (#6877)

* upgraded okhttp dependency to latest version (#6880)

* Cancelable callback invocation (#6891)

* [android] - allow onCancel to be invoked from camera cancel callbacks

* set to null after finish

* [android]  - using bearing clockwise versus counterclockwise (#6917)

* [android]  - using bearing clockwise versus counterclockwise

* fixup brackets

* [android] - convert bearing values from core to Android SDK equivalent.
2016-11-09 10:42:18 +01:00
Tobrun
2b81dee8d3 [android] - update make targets (#6958) 2016-11-08 18:38:29 +01:00
Cameron Mace
6b85d4c2f9 added attribution tint color check (#6950) 2016-11-07 18:23:18 -05:00
Tobrun
1f8f85fab3 6067 annotation manager (#6913)
* [android] - AnnotationManager and InfoWindowManager refactor

* make AnnotationManager independent from MapView/MapboxMap, add IconManager,

* make code unit testable

* added some class level documentation (for internal use)
2016-11-07 17:23:51 +01:00
Tobrun
5412191ab4 [android] - validate intent and contents before handling (#6938) 2016-11-07 14:38:04 +01:00
Ivo van Dongen
505bf7db7a [android] update custom layer example with invalidation example 2016-11-07 09:38:04 +01:00
Tobrun
ee073f6b96 [android] - rename attributes (#6894) 2016-11-07 09:37:43 +01:00
Tobrun
c5992d71f5 [android] - cleanup unused resources and gradle configurations. (#6896) 2016-11-07 09:25:17 +01:00