summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/test
Commit message (Collapse)AuthorAgeFilesLines
* [android] refactor move unit tests from test app to sdk and add some ↵Pablo Guardiola2017-05-1123-2921/+0
| | | | annotation manager tests (add marker and add markers) (#8261)
* [android] - move calculation of LatLngBounds to core (#8765)Tobrun2017-04-201-16/+0
|
* [android] - avoid nullpointer by validating Mapbox.java creation when ↵Tobrun2017-04-111-2/+2
| | | | validating accessTokens. (#8680)
* [android] Preflight argument validity before constructing LatLngJohn Firebaugh2017-04-062-14/+84
|
* [android] - harden offline region creation, add include method, expose world ↵Tobrun2017-03-241-18/+102
| | | | bounds, update tests (#8517)
* [android] - add unit test for Mapbox (#8228)Tobrun2017-03-011-0/+92
|
* Only listen to connectivity broadcast events when needed (#8222)Tobrun2017-03-011-21/+0
| | | | | | * [android] - only listen to connectivity change events when needed. * [android] - fix compile var args warning, remove redundant test
* 7798-ObjectAnimator-rotation (#7907)Tobrun2017-02-071-67/+0
|
* [android] - wrap longitude values from core (#7852)Tobrun2017-02-041-9/+4
|
* Disable double tap gesture to zoom in (#7879)srabenja2017-02-041-0/+35
|
* [android] Extract telemetry into MASAntonio Zugaldia2017-02-031-19/+0
| | | | | | * [android] add the mapbox-android-telemetry module dependency. * update javadoc
* [android] data driven style implementationIvo van Dongen2017-02-021-3/+7
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-275-5/+5
|
* [android] - zoom to at least 2 when tracking is enabled (#7795)Tobrun2017-01-231-1/+30
| | | | | | * [android] - zoom to at least 2 when tracking is enabled, introduce interface for zoom invalidation, simplify example * fixup unit test, added test for new interface + focal point interface
* [android] - remove deprecated emerald (#7767)Tobrun2017-01-181-4/+4
| | | | | [android] - remove deprecation annoation for setStyle [android] - dismiss tracking on gesture deprecation cleanup
* [android] - cleanup telem, disabled logging, exponential backoff, local ↵Tobrun2017-01-101-0/+19
| | | | broadcast (#7605)
* MapboxAccountManager refactor, removal deprecated accesstoken (#7462)Tobrun2016-12-171-11/+4
| | | | | | * [android] - move object ownership, move depenencies and responsibility. * [android] - MapboxAccountManager refactor, removal deprecated accesstoken.
* Adds checkstyle to CI (#7442)Cameron Mace2016-12-1622-2212/+2235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds checkstyle to CI * fixed gradlew path * resolved testapp checkstyle violations * added back mapboxMap variable for test * checkstyle annotations * checkstyle SDK round 1 * maps package checkstyle * rest of SDK checkstyle * checkstyle gesture library * checkstyle test * finished rest of test checkstyle * resolved all checkstyle errors * fixed class name * removed old test file * fixed camera postion test * fixed native crash
* [android] - move min/max zoom to transform class, cleanup usage of double ↵Tobrun2016-12-151-7/+8
| | | | vs float, renaming for parity (#7306)
* Allows for setting the user location icon to transparent (#7393)Cameron Mace2016-12-141-0/+14
| | | | | | * allows for setting the user location icon to transparent * removed color check
* [android] - remove location enabled flag from MapboxMap (#7308)Tobrun2016-12-082-16/+27
| | | | | | * [android] - remove location enabled flag from MapboxMap, decouple TrackingSettings from MyLocationViewSettings using a FocalPointChangeListener interface, Move state related to tracking modes to MyLocationView (shared object between MyLocationViewSettings and FocalPointChangeListener). * fixup tests
* [android] - Refactor dependencies, introduce focused components (#7189)Tobrun2016-12-067-614/+88
| | | | | | * [android] - refactor dependencies * ignore tests
* [android] - move camera logic to dedicated transform class (#6919)Tobrun2016-11-231-330/+1
| | | | | | | | * [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
* Cherry pick release v4.2.0 (#6944)Tobrun2016-11-091-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * [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.
* 6067 annotation manager (#6913)Tobrun2016-11-071-1/+4
| | | | | | | | | | * [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)
* [android] - rename attributes (#6894)Tobrun2016-11-071-5/+5
|
* Prefix library resources to avoid naming conflicts (#6878)Tobrun2016-11-021-5/+5
| | | | | | | | * [android] - add library resource prefix * update SDK resources with prefix * fixup tests
* [android] - remove timer from compassView, make fading when facing north ↵Tobrun2016-10-251-0/+8
| | | | | | | | | | | optional. (#6786) save state for recreating map view fix review comments unit test covering default value for fading and setting a new value fixup setter, fix default value
* [android] - correct degrees/radiants integration into transform.cpp, fixes ↵Tobrun2016-10-101-5/+3
| | | | camera position restoration from core and missing return value occurrence. (#6641)
* Rotate markerview (#6640)Tobrun2016-10-101-1/+101
| | | | | | | | | | * [android] - MarkerView rotation bug, limit degrees from 0 to 360 while creating a MarkerView * update MarkerView#setRotation to limit input from 0 - 360 degrees, calculates difference in angle and animates rotation by a certain amount instead of animating to a value. Exposed new AnimatorUtils#animateRotationTo. Integrated into MarkerViewManager. Cleanup some unused imports. Updated javadoc. * updated MarkerViewActivity in test application to test for regressions. * added tests to validate changes to MarkerView#setRotate
* [android] - convert bearing value coming from core to degrees (#6526)Tobrun2016-09-301-1/+1
|
* 6453 restore tilt after orientation (#6491)Tobrun2016-09-291-37/+2
| | | | | | | | * [android] - correct tilt value when restoring activity or creating from xml * correct values requesting camera position adhoc * updated logic change in unit tests
* [android] - do not update marker while creating (#6314)Tobrun2016-09-191-5/+5
| | | | | | | | * [android] - do not update marker while creating, add activity to prevent regression * [core] - add asserts to incorrect usage of update and remove annotations api * [android] - fix marker tests
* [android] Radiant → radian (#6169)Minh Nguyễn2016-08-261-11/+11
| | | | | | * [android] Radiant → radian * [android] #6169 - testHashcode
* [android] #4845 - remove robotium, migrate to espressoTobrun2016-08-032-1/+2
|
* [android] #5610 - Runtime style api - part 2Ivo van Dongen2016-08-021-0/+29
|
* [android] #5610 - Initial Runtime Style BindingsIvo van Dongen2016-07-261-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [android] #5610 - Adjusted public api after discussion [android] #5610 - added jni binding for NativeMapView#getLayer [android] #5610 - Added initial test Activity [android] #5610 - Started on NativePeer implementation for Layer [android] #5610 - replaced low-level jni code with high-level for native getLayer [android] 5610 - completed basic layer peer class - constructible from java and c++ [android] #5610 - removed reference that was redundant and causing the finalizer exception [android] #5610 - Added a property peer [android] #5610 - added value type to do type conversions - wip [android] #5610 - simplified property conversion approach - wrapped value with jenv [android] #5610 - added some more value conversions [android] #5610 - Finished conversion for basic types [android] #5610 - allow color's to be set as either an android color int or a String to support all formats in the spec [android] #5610 - encode color ints as rgba to retain alpha channel [android] #5610 - recalculate classes after paint property [android] #5610 - more examples [android] #5610 - fixed the example [android] #5610 - cleaned up example code before continueing [android] #5610 - added layout property example [android] #5610 - set visibility on layer [android] #5610 - added removeLayer and example [android] #5610 - added more type conversions [android] #5610 - Started on peer classes for layer implementations - WIP [android] #5610 - First complete layer subclass peer implementation [android] #5610 - added a little bit of structure before adding the other layer types [android] #5610 - generate the c++ headers from the style spec [android] #5610 - make sure the visibility is set as a string [android] #5610 - Generate c++ layer peer class implementations from the style spec [android] #5610 - generate java layer peer classes [android] #5610 - cleanup comments [android] #5610 - register all c++ peer classes with jni [android] #5610 - addLayer [android] #5610 - comment out broken case [android] #5610 - Sources api - very much WIP [android] 5610 - GeoJson source implementation and geojson conversion [android] #5610 - cleanup add source/layer example a bit [android] #5610 - initial filter api [android] #5610 - Added filter api on the relevant Layer classes [android] #5610 - raster layer is not filterable [android] #5610 - actually make it compile [android] #5610 - completed filter implementation [android] #5610 - Vector and Raster Source + examples [android] #5610 - removed superfluous interface, moved filters to the correct package [android] #5610 - fixed comments [android] #5610 - moved tests to the right package [android] #5610 - hide difference between paint and layout properties in public api, make more performant set method for proeprties [android] #5610 - fix rebase issue
* [android] latlngbounds includes added in builderCameron2016-07-141-0/+21
| | | | | | Fixes #5574 added includes test
* [android] #5631 - add a concrete java exception when creating a marker ↵Tobrun2016-07-144-41/+58
| | | | | | without the required position field. [android] #5631 - updated test cases to handle invalid position on a Marker
* [android] - Remove StyleInitializer class, obsolete with introduction ↵Tobrun2016-07-051-75/+0
| | | | MapboxAccountManager
* [android] #5171 - introduce new select/deselect animation system for view ↵Tobrun Van Nuland2016-06-051-17/+0
| | | | markers
* [android] #5193 - fix broken test case on IconTobrun Van Nuland2016-06-031-11/+0
|
* [android] #4929 - fix unit tests MyLocationSettingsTobrun2016-06-021-0/+4
|
* [android] - add unit test for MarkerViewTobrun Van Nuland2016-05-251-0/+210
|
* [android] #5102 - update marker view position correctly by comparing markers ↵Tobrun Van Nuland2016-05-251-2/+2
| | | | based on id instead of location
* [android] #3276 - fix unit tests on MapboxMapTest related to Marker/BaseMarkerTobrun2016-05-201-6/+7
|
* [android] - fixes style init bug, added unit test to prevent regressionTobrun2016-05-121-0/+75
|
* [android] #4702 - upgrade default styles, deprecate Style string definition ↵Tobrun2016-05-061-0/+20
| | | | in favour versioned styling methods.
* [android] #4800 - correct background offsets from attributesTobrun2016-04-261-8/+3
|
* [android] #4800 - default location view from start: introduced attributes, ↵Tobrun2016-04-263-4/+68
| | | | update MapboxMapOptions, added tests. updated MockParcel