summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/annotation
Commit message (Collapse)AuthorAgeFilesLines
* [android] remove usage of the deprecated OnMapChange listenerŁukasz Paczos2018-10-262-18/+39
|
* Revert "[android] - add NonNull to MapboxMap parameter for onMapReady ↵tobrun2018-10-232-4/+2
| | | | | | callback, removes necessity to add question mark to all mapboxMap invocations" This reverts commit a436fd233f325ddca571e3c61641588e8166a6b4.
* [android] - add NonNull to MapboxMap parameter for onMapReady callback, ↵Tobrun2018-10-122-2/+4
| | | | removes necessity to add question mark to all mapboxMap invocations
* [android] minor reference app fixesŁukasz Paczos2018-09-072-4/+6
|
* [android] - add convenience method for destroyed state on MapView, can be ↵tobrun2018-07-121-1/+1
| | | | used to determine if an asynchrous result should be set on map.
* [android] - remove reflection lookup for MarkerViewAdapter intialisationtobrun2018-06-261-2/+2
|
* [android] - added AnimatedSymbolLayerActivity back to the TestAppŁukasz Paczos2018-06-111-0/+438
|
* Merge branch 'release-boba' into masterupstream/fabian-merge-v4.0.0Fabian Guerra2018-04-231-449/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # circle.yml # include/mbgl/style/expression/let.hpp # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/geometry/LatLngBounds.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapKeyListener.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java # platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/geometry/LatLngBoundsTest.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml # platform/android/gradle/dependencies.gradle # platform/android/src/example_custom_layer.cpp # platform/android/src/geojson/point.cpp # platform/darwin/src/NSPredicate+MGLAdditions.mm # platform/darwin/test/MGLExpressionTests.mm # platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec # platform/ios/Mapbox-iOS-SDK-symbols.podspec # platform/ios/Mapbox-iOS-SDK.podspec # platform/ios/app/MBXViewController.m # src/mbgl/renderer/layers/render_custom_layer.cpp # src/mbgl/style/conversion/filter.cpp # src/mbgl/style/expression/interpolate.cpp # src/mbgl/style/expression/value.cpp # test/style/filter.test.cpp
| * migrated to use mapbox-java3.0 Osana Babayan2018-02-081-4/+4
| | | | | | | | migrated to use mapbox-java3.0 old 2.2.9 telementry is still used though
* | [android] - port animated markers activity to symbol layerTobrun2018-02-222-283/+449
| |
* | migrated to use mapbox-java3.0 Osana Babayan2018-02-081-4/+4
|/ | | | | migrated to use mapbox-java3.0 note that old 2.2.9 telementry is still used though
* [android] - replace low level json parsingtobrun2018-01-041-17/+24
|
* [android] - replace anonymous inner classes with lambdaTobrun2017-12-197-266/+180
|
* Monkey crashes (#10440)Tobrun2017-11-102-6/+12
| | | | | | | | | | | | | | | | | | * [android] - avoid null map from trackballevent * [android] - fixup animated marker test activity from monkey runs * [android] - harden NativeMapView OnMapChangeListener * [android] - harden against destroyed wrapper activity while moving touch pointers * [android] - harden bulk marker activity for monkey runner * [android] - harden scale end gesture event for null velocity tracker * [android] - invalid mapboxMap invocation * [android] - reset test setup
* [android] remove texture viewIvo van Dongen2017-09-221-2/+0
|
* [android] - move strings resources to dedicated files, fixup simple map ↵Tobrun Van Nuland2017-09-181-0/+3
| | | | activity, fixup double map activity, snapshot activity home button click fix, add activity titles, remove obsolete navigation drawer activity
* [android] - add example of camera zoom function on a symbol layer.Tobrun2017-08-101-188/+0
|
* Solve lint issues, reduce baseline (#9627)Tobrun2017-07-284-7/+12
| | | | * [android] - fix lint issues SDK
* [android] - add OnPolygonClickListener and OnPolylineClickListener (#9443)Tobrun2017-07-182-1/+27
|
* refactor signature from Hole to List<LatLng> (#8722)Pablo Guardiola2017-04-121-7/+6
|
* Merge branch 'release-ios-v3.5.0-android-v5.0.0' into ↵Fabian Guerra2017-04-111-7/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundsj-merge-release-branch # Conflicts: # cmake/core-files.cmake # mapbox-gl-js # platform/android/CHANGELOG.md # platform/ios/CHANGELOG.md # platform/macos/CHANGELOG.md # platform/qt/bitrise-qt5.yml # src/mbgl/gl/attribute.hpp # src/mbgl/gl/context.cpp # src/mbgl/gl/program.hpp # src/mbgl/map/map.cpp # src/mbgl/programs/program.hpp # src/mbgl/renderer/painter.cpp
| * Revert 5.x touch changes (#8585)Tobrun2017-03-301-7/+0
| | | | | | | | | | | | | | | | | | | | * Revert "[android] - only dispatch events if not handled by MarkerView (#8447)" This reverts commit 09d76854ab15b2a6f473c270da9d46e903e426da. * Revert "[android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272)" This reverts commit 1693b389d7d17315b8a2a9bdd862207ace053f77.
* | [android] Polygon holes (#8557)Pablo Guardiola2017-04-111-0/+30
|/ | | | | | | | * add 1 hole support to polygon-related classes * fix no hole crash and add triangle hole shape example * add support for multiple holes
* [android] - only dispatch events if not handled by MarkerView (#8447)Tobrun2017-03-171-0/+7
| | | use onTouch listener to ignore dispatching action up events to MapView when they are already handled by MarkerView.
* [android] - example on converting an Android SDK view to a Bitmap to be used ↵Tobrun2017-03-041-12/+31
| | | | as SymbolAnnotation (#8258)
* [android] - add javadoc to test activities. (#8203)Tobrun2017-02-278-15/+57
| | | | | | * [android] - add javadoc to test activities. * fix checkstyle issue
* 7798-ObjectAnimator-rotation (#7907)Tobrun2017-02-071-1/+8
|
* [android] - enforce usage bitmap for icon, cleanup test app resources (#7906)Tobrun2017-02-045-33/+84
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-274-8/+8
|
* Test app refactor (#7598)Cameron Mace2017-01-2310-382/+33
|
* update gradle files and packages to use smaller versions of MAS and save ↵Antonio Zugaldia2017-01-101-1/+1
| | | | methods (#7642)
* Adds checkstyle to CI (#7442)Cameron Mace2016-12-1610-1778/+1784
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] - add OnMarkerView add callback (#7429)Tobrun2016-12-142-55/+92
|
* [android] - Refactor dependencies, introduce focused components (#7189)Tobrun2016-12-061-1/+3
| | | | | | * [android] - refactor dependencies * ignore tests
* [android] - replace Android logs with Timber (#6372) (#7149)Pablo Guardiola2016-11-233-15/+11
|
* [android] - getMarkerViews in rect should return in bound views (#7015)Tobrun2016-11-141-0/+135
| | | | | | | | * [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
* [android] - instrumentation tests upgrade, move view checking to utility ↵Tobrun2016-11-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Cherry pick release v4.2.0 (#6944)Tobrun2016-11-091-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * [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.
* Android Nougat compatibility: onstart/onstop on MapView (#6830)Tobrun2016-10-319-22/+117
| | | | | | | | | | * introduce onstart/onstop on MapView * update wear module * update fragments * update changeling
* [android] - remove timer from compassView, make fading when facing north ↵Tobrun2016-10-251-0/+1
| | | | | | | | | | | 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] - fixup MyLocationView heading (#6671)Tobrun2016-10-181-2/+0
| | | | | | | | | | | | | | | | | | | [android] - convert angles to radiants in jni, correct follow animation for MyLocationView do not sanitise input when recreating from other camera object, input is already sanitised before cleanup mylocationview, made animation bit more smooth, improved UX when switching between tracking modes cleanup CameraUpdateFactory, hide internally used api. only invalidate position if required, remove outdated comments correct camera position values made zoom activity a bit more interesting made dynamic marker activity a bit more interesting FIXUP
* MarkerView more robust when updates are asynchronous (#6717)Tobrun2016-10-171-1/+2
| | | | | | | | * [android] - remove ViewMarkers crash, show correct view cache size in test activity * use MapboxMap to indicate a MarkerView is no longer added on a map, no future updates will be passed on to core. * resolve memory leak
* Rotate markerview (#6640)Tobrun2016-10-101-20/+56
| | | | | | | | | | * [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] - fix polygon test activity state, introduced config class and ↵Tobrun2016-09-301-52/+56
| | | | toolbar composer, cleanup code (#6527)
* Optionable textureview (#6480)Tobrun2016-09-291-0/+2
| | | | | | * [android] - make using TextureView optional * add deprecation comment on texture mode
* [android] - do not update marker while creating (#6314)Tobrun2016-09-191-0/+171
| | | | | | | | * [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
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-0/+1
| | | add runloop to test
* [android] Checkstyle fixes round 1 (#6234)Cameron Mace2016-09-028-141/+161
| | | | | | * removed last of hungarian notation from testapp and fixed other checkstyle issues * added back MapboxMap for espresso
* [android] - 5844 remove stop gap for update-able shape annotations (#6187)Tobrun2016-08-291-1/+1
| | | | * [android] - remove stopgap updatable shape annotations
* [android] add method addMarkerViews with only one invalidateSylvain HOCQ2016-08-291-5/+4
| | | | | | * add method addMarkerViews with only one invalidate * clean sample BulkMarkerActivity