summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main
Commit message (Collapse)AuthorAgeFilesLines
* [android] - replace Android logs with Timber (#6372) (#7149)Pablo Guardiola2016-11-2312-90/+74
|
* [android] - move camera logic to dedicated transform class (#6919)Tobrun2016-11-237-302/+387
| | | | | | | | * [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
* [android] - use double to restore instance state of MyLocationView (#7146)Tobrun2016-11-221-1/+1
|
* [android] - allow deselection of a MarkerView not found in current viewport ↵Tobrun2016-11-221-4/+4
| | | | (#7140)
* [android] - allow compass update without animation (#7094)Tobrun2016-11-181-4/+8
|
* [android] fixed horizontal panning going the opposite directionFredrik Karlsson2016-11-181-10/+7
|
* [android] return source ownership on removeIvo van Dongen2016-11-142-2/+19
|
* [android] return layer ownership on removeIvo van Dongen2016-11-142-2/+19
|
* [android] - getMarkerViews in rect should return in bound views (#7015)Tobrun2016-11-142-7/+20
| | | | | | | | * [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] - allow using rotate gesture when not tracking user location, ↵Tobrun2016-11-142-9/+14
| | | | correctly update bearing during rotation gesture (#6978)
* Default Style Camera on Android (#7019)Tobrun2016-11-112-1/+3
| | | | | | * [core] - do not set camera mutated to true when calling Map::getLatLng * [android] - correctly check if a Map is created without a camera position
* [android] source/layer java docIvo van Dongen2016-11-111-0/+28
|
* [android] fix source ownershipIvo van Dongen2016-11-111-0/+12
|
* [android] fix layer ownershipIvo van Dongen2016-11-1110-132/+12
|
* [android] - check for default values when constructing a camera position ↵Tobrun2016-11-101-4/+1
| | | | from a CameraUpdate (#7002)
* [android] - instrumentation tests upgrade, move view checking to utility ↵Tobrun2016-11-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* [android] - fix inconsistency of float usage in CameraPosition and ↵Tobrun2016-11-094-24/+24
| | | | CameraUpdateFactory (#6941)
* Cherry pick release v4.2.0 (#6944)Tobrun2016-11-097-79/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | * [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.
* added attribution tint color check (#6950)Cameron Mace2016-11-071-1/+7
|
* 6067 annotation manager (#6913)Tobrun2016-11-077-765/+939
| | | | | | | | | | * [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] - validate intent and contents before handling (#6938)Tobrun2016-11-071-7/+6
|
* [android] - rename attributes (#6894)Tobrun2016-11-074-139/+159
|
* [android] - fix public xml api for drawables, fixup ↵Tobrun2016-11-0215-19/+19
| | | | QueryRenderedFeatursBoxSymbolCountActivity (#6879)
* Prefix library resources to avoid naming conflicts (#6878)Tobrun2016-11-0268-302/+295
| | | | | | | | * [android] - add library resource prefix * update SDK resources with prefix * fixup tests
* Android Nougat compatibility: onstart/onstop on MapView (#6830)Tobrun2016-10-315-25/+62
| | | | | | | | | | * introduce onstart/onstop on MapView * update wear module * update fragments * update changeling
* [android] - prevent null pointer when receiving connectivity change events ↵Tobrun2016-10-311-1/+1
| | | | while destroying the underlying map (#6858)
* [android] - MarkerView is responsible for managing height and width of a ↵Tobrun2016-10-252-15/+43
| | | | Marker (opposed to the recycled view). (#6809)
* [android] - remove timer from compassView, make fading when facing north ↵Tobrun2016-10-258-76/+155
| | | | | | | | | | | 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] - move marker view click handling to core (#5639)Tobrun2016-10-253-25/+57
|
* [android] - only pin certificates on current used environement. (#6766)Tobrun2016-10-241-21/+23
| | | update certificates sha256 for certificate pinning.
* [android] - cap width/height at maximum, don't throw exception. (#6788)Tobrun2016-10-241-4/+10
|
* Made telemetry dialog material (#6726)Cameron Mace2016-10-216-81/+48
| | | | | | * Made telemetry dialog material * cleaned up attribution_main_menu
* [android] - update map change events javadoc (#6732)Tobrun2016-10-191-33/+51
|
* [android] - add package-info.java for net package (#6733)Tobrun2016-10-181-0/+4
|
* [android] - fixup MyLocationView heading (#6671)Tobrun2016-10-185-71/+62
| | | | | | | | | | | | | | | | | | | [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
* Reusable point fromScreenLocation (#6652)Tobrun2016-10-172-13/+28
| | | | | | | | * Fixed bug where fromScreenLocation would modify the actual Point being passed in * [android] - move reused point to Projection class, migrated screen density logic to projection fixup code to be unit testable
* MarkerView more robust when updates are asynchronous (#6717)Tobrun2016-10-172-18/+19
| | | | | | | | * [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
* [android] - add transparent image for MarkerViews ghosting SymbolAnnotations ↵Tobrun2016-10-133-12/+16
| | | | | | | | (#6675) * [android] - add transparent image to core for MarkerView ghosting SymbolAnnotations. Removes logging messages: `Can't find sprite ... `. Cleanup MapView. * [android] - use alpha_8 config to only allocate one byte, rename id for better readability.
* [android] Fix gestures when MapView is not full screen (#5562)Tobrun2016-10-121-2/+2
| | | This fixes #5528
* [android] Fixed wrong location view interpolation (#6668)tomlocks2016-10-121-2/+2
|
* [android] - correct android to core conversion of camera options. (#6660)Tobrun2016-10-124-26/+16
| | | | | | | | * [android] - correct android to core conversion of camera options. * fix MarkerView tilting, tilt is already in degrees * same fix for MyLocationView
* [android] - revert making bearing and tilt to radiants (#6656)Tobrun2016-10-111-4/+3
|
* [android] - close response body to avoid connection leak (#6650)Tobrun2016-10-111-1/+6
|
* [android] #6617 - Introduce a setConnected method to manually set a ↵Antonio Zugaldia2016-10-112-1/+28
| | | | | | | | | | connected flag * [android] introduce a setConnected method to manually set a connected flag * extend connected state to ConnectivityReceiver * extend connected state to ConnectivityReceiver
* [android] - Use correct nullity annotation for convertView (#6521)Josh Burton2016-10-111-1/+1
|
* [android] Runtime Style Filter enhancements (#6623)Ivo van Dongen2016-10-111-4/+4
| | | | | | | | * [android] Additional null check - prevents errors in array conversion * [android] style conversion - delete local refs asap to avoid ref table overflow * [android] Filter - hide concrete implementation classes to avoid confusion
* [android] - correct degrees/radiants integration into transform.cpp, fixes ↵Tobrun2016-10-102-14/+31
| | | | camera position restoration from core and missing return value occurrence. (#6641)
* Rotate markerview (#6640)Tobrun2016-10-104-11/+55
| | | | | | | | | | * [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] - apply tilt to markerview with initial camera position (#6622)Tobrun2016-10-072-2/+8
|
* [android] - image opt android layout editor image (#6624)Tobrun2016-10-072-0/+0
|