Commit Graph

79 Commits

Author SHA1 Message Date
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
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
Ivo van Dongen
9ad5dd1585 [android] add test activity for symbol querying 2016-11-02 13:38:07 +02:00
Tobrun
04a9a98b98 [android] - add realtime geojson example from gl-js (#6751) 2016-10-20 15:45:57 +02:00
Cameron Mace
61a534241f Adds map dialog activity to testapp (#6741)
* adds map dialog activity to testapp

* added to genertate-test-code script
2016-10-19 12:06:16 -04:00
Antonio Zugaldia
abdf7b1199 [android] #6635 - Sample multimap activity
* [android] sample multimap activity

* add MultiMapActivity to excludeActivities in generate-test-code.js
2016-10-10 21:19:05 -04:00
Ivo van Dongen
ca20767e9c [android] Add sprite image example 2016-09-30 17:11:22 +02:00
Ivo van Dongen
d4888cb39d [android] file:// example 2016-09-30 14:57:26 +02:00
Tobrun
3835ed556b 6402 update offline metadata android (#6456)
* [android] - update offline metadata jni integration

* extract offline utils for reuse

* add test activity for update metadata

* fix requested signature changes
2016-09-28 07:48:01 +02:00
Tobrun
72e3d6906d [android] - do not update marker while creating (#6314)
* [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
2016-09-19 18:03:49 -07:00
Brad Leege
1a2680b5b7 [android] #6321 - New Staging Server PK Access Token (#6323) 2016-09-13 14:26:21 -07:00
Cameron Mace
fe28b57fe0 [android] added video view example (#6198)
* [android] added video view example

* removed map ready callback
2016-08-31 11:56:57 -04:00
Tobrun
ed431c925c [android] #6083 - add circle example (#6086)
* add method addMarkerViews with only one invalidate

* [android] #6083 - add circle example
2016-08-29 13:18:32 +02:00
Tobrun
50da6e5e71 6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting

* [android] - formatting

* [android] #6039 - fixes focal point when padding mylocationview

* [android] #5977 - MyLocationView.setPadding example + formatting Manifest

* [android] - Reset to default configuration, cleanup class
2016-08-23 12:53:36 +02:00
Ivo van Dongen
4e211548d5 [android] #5869 - visible feature querying 2016-08-16 11:38:30 +02:00
Ivo van Dongen
743d134a32 [android] #5852 - geojson source clustering 2016-08-13 11:20:08 -04:00
Tobrun
533a3edb9c [android] #5801 - add setMediaOverlay example for a secondary SurfaceView 2016-08-03 14:59:14 -04:00
Ivo van Dongen
10b2cc60a7 [android] #5610 - Runtime style api - part 2 2016-08-02 16:58:03 -04:00
Tobrun Van Nuland
ed821c06d9 [android] - add print example 2016-08-02 16:03:17 -04:00
Ivo van Dongen
9a3eadfd5b [android] #5610 - Initial Runtime Style Bindings
[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
2016-07-26 16:29:26 -04:00
Tobrun
ea2ee649fa [android] #5738 - default navigation drawer example
[android] #5738 - migrated to MapFragment approach & AppCompat compatible

[android] #5378 - make drawer work with inner class fragments

[android] #5738 - navigation drawer proposition

[android] #5738 - cleanup
2016-07-24 09:39:08 +02:00
Antonio Zugaldia
5c037f4745 [android] Introduce a getDatabasePath() method that enables switching storage paths
Fixes #5589
2016-07-15 09:58:53 -04:00
Tobrun Van Nuland
b9c273d197 [android] #5649 - add a ViewPager example
[android] #5649 - add back pressed event for action bar home icon
2016-07-13 16:43:01 +02:00
Cameron
a440598e2b [android] updated the testapp icon 2016-06-30 15:03:21 -05:00
Antonio Zugaldia
7fb5c097bf [android] Add scaling marker activity to TestApp using the View Marker API
Fixes #5409
2016-06-20 13:17:08 -04:00
Brad Leege
2591147e25 [android] Setting up LocationPickerActivity infrastructure
Fixes #5282
2016-06-17 19:54:27 +02:00
Ivo van Dongen
2033d756c2 [android] Dynamic update of InfowWindow with InfoWindowAdapter example
Fixes #5353
2016-06-16 15:27:38 -04:00
Tobrun
3ef740c753 [android] #5083 - add InfoWindow offset based on height of associated MarkerView, removed unused icons, renamed feature activity 2016-05-23 14:04:53 +02:00
Tobrun
e69aef8343 [android] #3276 - add tilt support for view markers 2016-05-20 12:03:27 +02:00
Tobrun
e50fb87e7b [android] #3276 - allowing multiple ViewAdapter implementations 2016-05-20 12:03:26 +02:00
Tobrun
028ef7a323 [android] #3276 - WIP Android View Annotations, showing an Android SDK view on the screen 2016-05-20 12:00:01 +02:00
Brad Leege
dd5af9e901 [android] #5060 - Initial setup of PressForMarkerActivity 2016-05-17 17:51:00 -07:00
Tobrun
8ff9bcb22a [android] #4930 - added invalidate to change tint colors 2016-05-10 10:14:27 +02:00
Cameron Mace
90cd425c5a [android] added user dot customization example
Fixes #4896
2016-05-04 12:35:05 +02:00
Tobrun
2380b4de13 [android] bring back ScreenshotActivityTest 2016-05-03 16:31:16 -05:00
Brad Leege
25442a77be [android] #4902 - Standarizing Locale and Language 2016-04-29 13:42:04 -05:00
Brad Leege
0b5a994246 [android] #4835 - Initial setup of MyLocationToggle UI 2016-04-26 17:07:23 -05:00
Tobrun
e2510fce79 [android] #4800 - default location view from start: introduced attributes, update MapboxMapOptions, added tests. updated MockParcel 2016-04-26 22:24:17 +02:00
Tobrun
f469cee1b4 [android] #4396 - fixup mason build issue 2016-04-23 07:16:37 +02:00
Tobrun
8703f1ef4b [android] #4754 - double map view example 2016-04-19 21:29:55 +02:00
Brad Leege
7fa32a0d08 [android] #4689 - Adding Debug Mode Example 2016-04-12 18:13:45 -05:00
Brad Leege
9a3e8ae571 [android] #4619 - Creating standalone CustomLayerActivity example 2016-04-06 14:44:52 -05:00
Brad Leege
3670c8a914 [android] #4609 - Restoring name of BulkMarkerActivity 2016-04-06 11:02:25 -05:00
Brad Leege
a64775a909 [android] #4365 - Mirroring descriptive subpackage names with categories in the app UI 2016-04-05 11:51:08 -05:00
Brad Leege
4ec2f8966e [android] #4365 - Moving example activities to more descriptive subpackage names for easier discovery 2016-04-05 11:51:08 -05:00
Tobrun
63780d07f3 [android] #4365 - make dismiss on gesture configurable, renamed activity to match UI in test app, cleanup 2016-04-05 11:51:08 -05:00
Tobrun
08ccf4bd63 [android] #4365 - Polygon spelling mixup 2016-04-05 11:51:08 -05:00
Tobrun
1f57743edc [android] #4365 - removed metadata tag in AndroidManifst, obsolete due to remove ApiAccess 2016-04-05 11:51:08 -05:00
Tobrun
77b7251d71 [android] #4365 - final testapp refactor cleanup, removed ApiAccess class, introduced category packages, Renamed some classes 2016-04-05 11:51:08 -05:00