summaryrefslogtreecommitdiff
path: root/platform/android/src/jni.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [android] - move calculation of LatLngBounds to core (#8765)Tobrun2017-04-201-0/+3
|
* [android] - transition options for layer properties (#8509)Tobrun2017-03-311-0/+2
| | | | | [android] fixup highlevel bindings for transition options finish integration
* [android] geojson conversion optimisationIvo van Dongen2017-03-281-2/+32
|
* [android] jni high level binding refactorIvo van Dongen2017-02-241-2035/+59
|
* [android] remove nonexistent layer or source handlingIvo van Dongen2017-02-231-18/+9
|
* [core] - allow moveBy to use AnimationOptionsTobrun2017-02-201-1/+8
| | | | [android] - update jni bindings for moveBy with an interpolator
* [android] OfflineManager#setResourceTransform to allow transforming URLs ↵Konstantin Käfer2017-02-201-0/+50
| | | | prior to internet requests
* [android] use shared DefaultFileSource for all maps + OfflineManagerKonstantin Käfer2017-02-201-7/+5
|
* [android] Refactor composite stop types and conversionsIvo van Dongen2017-02-091-0/+10
|
* Compass click rotates around focal point (if available) (#7977)Pablo Guardiola2017-02-091-0/+9
| | | | | | * add set bearing method taking focal point into account * notify CompassView when FocalPoint changes
* [android] use native image encoding and decodingKonstantin Käfer2017-01-271-1/+5
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-10/+10
|
* refs #6779: mobile & Mac SDK style transition options (#7711)Justin R. Miller2017-01-181-0/+46
|
* [android] - Refactor dependencies, introduce focused components (#7189)Tobrun2016-12-061-0/+7
| | | | | | * [android] - refactor dependencies * ignore tests
* [android][build] core tests - initial setup for rendering testsIvo van Dongen2016-11-271-4/+8
|
* [build] move logging to utilKonstantin Käfer2016-11-221-2/+2
|
* [android] fixed horizontal panning going the opposite directionFredrik Karlsson2016-11-181-2/+1
|
* [android] return source ownership on removeIvo van Dongen2016-11-141-3/+16
|
* [android] return layer ownership on removeIvo van Dongen2016-11-141-2/+22
|
* [android] fix source ownershipIvo van Dongen2016-11-111-2/+6
|
* [android] fix layer ownershipIvo van Dongen2016-11-111-5/+6
|
* Cherry pick release v4.2.0 (#6944)Tobrun2016-11-091-4/+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.
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-4/+6
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-1/+1
|
* [android] fix exception classIvo van Dongen2016-10-251-1/+1
|
* [android] - remove jni method logging, only keep lifecycle related logs (#6787)Tobrun2016-10-211-80/+0
|
* [android] - fixup MyLocationView heading (#6671)Tobrun2016-10-181-7/+7
| | | | | | | | | | | | | | | | | | | [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
* [android] Using mbgl::AnnotationIDs in JNI codeBruno de Oliveira Abinader2016-10-121-10/+8
|
* [android] addImage / removeImage jni bindingsIvo van Dongen2016-09-301-0/+29
|
* 6402 update offline metadata android (#6456)Tobrun2016-09-281-1/+55
| | | | | | | | | | * [android] - update offline metadata jni integration * extract offline utils for reuse * add test activity for update metadata * fix requested signature changes
* [android] - disable general purpose logging during transformation change (#6452)Tobrun2016-09-271-18/+1
|
* [android] offline - prevent OOMEIvo van Dongen2016-09-231-0/+1
|
* [android] set connectivity state pro-activelyIvo van Dongen2016-09-231-0/+2
|
* [android] Sources: peer model, mutability (#6054)Ivo van Dongen2016-09-211-14/+29
|
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-1/+9
| | | add runloop to test
* [android] HttpFileSource - rate limitIvo van Dongen2016-09-131-0/+3
|
* [android] - 5844 remove stop gap for update-able shape annotations (#6187)Tobrun2016-08-291-16/+6
| | | | * [android] - remove stopgap updatable shape annotations
* [android] #5869 - visible feature queryingIvo van Dongen2016-08-161-1/+44
|
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-9/+13
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* [android] SurfaceView compatible snapshot apiTobrun Van Nuland2016-08-031-1/+11
| | | | | | | | | | | | | | | | | | [android] #5587 - snapshot API on surface view, create Bitmap with a ByteBuffer [android] #5587 - write bitmap to external storage PreMultipliedImage approach callback implemented clean up code introduce bitmap reuse cleanup renaming surfaceContent to bitmap
* [android] #5663 - make shape annotations updateableTobrun2016-08-031-0/+38
|
* [android] #5610 - Runtime style api - part 2Ivo van Dongen2016-08-021-38/+0
|
* [android] #5610 - Initial Runtime Style BindingsIvo van Dongen2016-07-261-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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] Create a new local reference frame in JNI listOfflineRegionsAntonio Zugaldia2016-07-251-1/+4
| | | | Fixes #5629
* [android] fixes #5762. Passing pixel points to native jni for getting latlng.Bharath MG2016-07-241-1/+1
|
* [android] Update {Line,Fill}Annotation properties setterBruno de Oliveira Abinader2016-07-131-6/+6
|
* [android] #5104 - make nativePixelForLatLng faster (74ms to 57ms)Tobrun2016-07-051-45/+15
| | | | | | | | | | | | | | | | [android] #5104 - make nativeLatLngForPix faster (52ms - 45ms). [andriod] #5104 - make nativeSetLatLng faster (117ms to 105ms) [android] #5104 - make nativeFlyTo faster (106ms to 97ms) [android] #5104 - make nativeEaseTo faster (103 to 94ms) [android] #5104 - make nativeJumpTo faster (94 to 86ms) [android] #5104 - make nativeProjectedMetersForLatLng faster (32 to 30ms) [android] #5104 - make nativeLatLngForProjectedMeters faster (32 to 30ms)
* [android] Fix crash adding line or polygon annotationJohn Firebaugh2016-06-241-2/+4
|
* [core] UnitBezier ctor is now constexprBruno de Oliveira Abinader2016-06-201-2/+2
|
* Color class (#5361)Young Hahn2016-06-151-1/+1
| | | | | | * Color class * Switch to list initialization