OsmAnd
|
Classes | |
class | BooleanPreference |
class | CommonPreference< T > |
enum | DayNightMode |
class | EnumIntPreference< E extends Enum< E > > |
class | FloatPreference |
class | IntPreference |
enum | MetricsConstants |
interface | OsmandPreference< T > |
interface | OsmandPreferenceWithOverridableDefault< T > |
class | StringPreference |
Public Member Functions | |
ApplicationMode | getApplicationMode () |
boolean | isInternetConnectionAvailable () |
boolean | isInternetConnectionAvailable (boolean update) |
boolean | usingEnglishNames () |
List< TileSourceTemplate > | getInternetAvailableSourceTemplates () |
ITileSource | getMapTileSource (boolean warnWhenSelected) |
ITileSource | getTileSourceByName (String tileName, boolean warnWhenSelected) |
boolean | installTileSource (TileSourceTemplate toInstall) |
Map< String, String > | getTileSourceEntries () |
File | getExternalStorageDirectory () |
boolean | setExternalStorageDirectory (String externalStorageDir) |
File | extendOsmandPath (String path) |
LatLon | getLastKnownMapLocation () |
boolean | isLastKnownMapLocation () |
LatLon | getAndClearMapLocationToShow () |
String | getAndClearMapLabelToShow () |
Object | getAndClearObjectToShow () |
int | getMapZoomToShow () |
void | setMapLocationToShow (double latitude, double longitude, int zoom, String historyDescription, String labelToShow, Object toShow) |
void | setMapLocationToShow (double latitude, double longitude, int zoom) |
void | setMapLocationToShow (double latitude, double longitude, int zoom, String historyDescription) |
void | setLastKnownMapLocation (double latitude, double longitude) |
int | getLastKnownMapZoom () |
void | setLastKnownMapZoom (int zoom) |
LatLon | getPointToNavigate () |
boolean | clearPointToNavigate () |
boolean | setPointToNavigate (double latitude, double longitude, String historyDescription) |
LatLon | getLastSearchedPoint () |
boolean | setLastSearchedPoint (LatLon l) |
boolean | setLastSearchedPoint (double lat, double lon) |
String | getLastSearchedRegion () |
boolean | setLastSearchedRegion (String region, LatLon l) |
String | getLastSearchedPostcode () |
boolean | setLastSearchedPostcode (String postcode, LatLon point) |
Long | getLastSearchedCity () |
String | getLastSearchedCityName () |
boolean | setLastSearchedCity (Long cityId, String name, LatLon point) |
String | getLastSearchedStreet () |
boolean | setLastSearchedStreet (String street, LatLon point) |
String | getLastSearchedBuilding () |
boolean | setLastSearchedBuilding (String building, LatLon point) |
String | getLastSearchedIntersectedStreet () |
boolean | setLastSearchedIntersectedStreet (String street, LatLon l) |
boolean | setPoiFilterForMap (String filterId) |
PoiFilter | getPoiFilterForMap (OsmandApplication application) |
CommonPreference< String > | getCustomRenderProperty (String attrName) |
boolean | checkFreeDownloadsNumberZero () |
Static Public Member Functions | |
static String | getSharedPreferencesName (ApplicationMode mode) |
Public Attributes | |
final OsmandPreference < ApplicationMode > | APPLICATION_MODE |
final CommonPreference< Boolean > | USE_INTERNET_TO_DOWNLOAD_TILES |
final OsmandPreference < MetricsConstants > | METRIC_SYSTEM |
final OsmandPreference< Boolean > | USE_TRACKBALL_FOR_MOVEMENTS |
final OsmandPreference< Boolean > | USE_HIGH_RES_MAPS |
final OsmandPreference< Float > | MAP_TEXT_SIZE |
final OsmandPreference< Boolean > | SHOW_POI_OVER_MAP |
final OsmandPreference< Boolean > | SHOW_POI_LABEL |
final OsmandPreference< Boolean > | SHOW_TRANSPORT_OVER_MAP |
final OsmandPreference< String > | PREFERRED_LOCALE |
final OsmandPreference< String > | USER_NAME |
final OsmandPreference< String > | USER_OSM_BUG_NAME |
final OsmandPreference< String > | USER_PASSWORD |
final OsmandPreference< Boolean > | OFFLINE_POI_EDITION |
final CommonPreference < DayNightMode > | DAYNIGHT_MODE |
final OsmandPreference < RouteService > | ROUTER_SERVICE |
final CommonPreference< Boolean > | SAVE_TRACK_TO_GPX = new BooleanPreference("save_track_to_gpx", false, false) |
final OsmandPreference< Boolean > | FAST_ROUTE_MODE = new BooleanPreference("fast_route_mode", true, false) |
final CommonPreference< Integer > | SAVE_TRACK_INTERVAL = new IntPreference("save_track_interval", 5, false) |
final CommonPreference< Boolean > | LIVE_MONITORING = new BooleanPreference("live_monitoring", false, false) |
final CommonPreference< Integer > | LIVE_MONITORING_INTERVAL = new IntPreference("live_monitoring_interval", 5, false) |
final CommonPreference< String > | LIVE_MONITORING_URL |
final OsmandPreference< Boolean > | USE_OSMAND_ROUTING_SERVICE_ALWAYS |
final OsmandPreference< Boolean > | SHOW_OSM_BUGS = new BooleanPreference("show_osm_bugs", false, true) |
final OsmandPreference< Boolean > | DEBUG_RENDERING_INFO = new BooleanPreference("debug_rendering", false, true) |
final OsmandPreference< Boolean > | SHOW_FAVORITES = new BooleanPreference("show_favorites", false, false) |
final OsmandPreference< Integer > | MAP_SCREEN_ORIENTATION |
final CommonPreference< Boolean > | SHOW_VIEW_ANGLE = new BooleanPreference("show_view_angle", false, false, true) |
final CommonPreference< Boolean > | AUTO_ZOOM_MAP = new BooleanPreference("auto_zoom_map", false, false) |
final CommonPreference< Integer > | AUTO_FOLLOW_ROUTE = new IntPreference("auto_follow_route", 0, false) |
final CommonPreference< Integer > | ROTATE_MAP |
final CommonPreference< Integer > | POSITION_ON_MAP = new IntPreference("position_on_map", CENTER_CONSTANT, false) |
final OsmandPreference< Integer > | MAX_LEVEL_TO_DOWNLOAD_TILE = new IntPreference("max_level_download_tile", 18, false, true) |
final OsmandPreference< Integer > | LEVEL_TO_SWITCH_VECTOR_RASTER = new IntPreference("level_to_switch_vector_raster", 1, false, true) |
final OsmandPreference< Boolean > | MAP_VIEW_3D = new BooleanPreference("map_view_3d", false, false) |
final OsmandPreference< Integer > | AUDIO_STREAM_GUIDANCE |
final OsmandPreference< Boolean > | USE_ENGLISH_NAMES = new BooleanPreference("use_english_names", false, false) |
final CommonPreference< Boolean > | MAP_VECTOR_DATA |
final CommonPreference< String > | MAP_OVERLAY |
final CommonPreference< String > | MAP_UNDERLAY |
final CommonPreference< Integer > | MAP_OVERLAY_TRANSPARENCY |
final CommonPreference< Integer > | MAP_TRANSPARENCY |
final CommonPreference< String > | MAP_TILE_SOURCES |
final CommonPreference< String > | PREVIOUS_INSTALLED_VERSION = new StringPreference("previous_installed_version", "0.6.5", true) |
final OsmandPreference< String > | VOICE_PROVIDER = new StringPreference("voice_provider", null, false) |
final CommonPreference< String > | RENDERER |
final OsmandPreference< Boolean > | VOICE_MUTE = new BooleanPreference("voice_mute", false, true) |
final OsmandPreference< Boolean > | MAP_ACTIVITY_ENABLED = new BooleanPreference("map_activity_enabled", false, true) |
final OsmandPreference< Boolean > | TEST_ANIMATE_ROUTING = new BooleanPreference("animate_routing", false, true) |
final OsmandPreference< Boolean > | NATIVE_RENDERING = new BooleanPreference("native_rendering", false, true) |
final OsmandPreference< String > | SERVICE_OFF_PROVIDER = new StringPreference("service_off_provider", LocationManager.GPS_PROVIDER, true) |
final OsmandPreference< Integer > | SERVICE_OFF_INTERVAL |
final CommonPreference< Boolean > | SHOW_CURRENT_GPX_TRACK |
final OsmandPreference< Integer > | SERVICE_OFF_WAIT_INTERVAL |
final OsmandPreference< String > | CONTRIBUTION_INSTALL_APP_DATE = new StringPreference("CONTRIBUTION_INSTALL_APP_DATE", null, true) |
final OsmandPreference< Boolean > | FOLLOW_THE_ROUTE = new BooleanPreference("follow_to_route", false, true) |
final OsmandPreference< String > | FOLLOW_THE_GPX_ROUTE = new StringPreference("follow_gpx", null, true) |
final OsmandPreference< Boolean > | SHOW_ARRIVAL_TIME_OTHERWISE_EXPECTED_TIME |
final CommonPreference< Boolean > | TRANSPARENT_MAP_THEME |
final CommonPreference< Boolean > | FLUORESCENT_OVERLAYS |
final CommonPreference< Boolean > | SHOW_ALTITUDE_INFO |
final CommonPreference< Boolean > | SHOW_ZOOM_LEVEL |
final OsmandPreference< Integer > | NUMBER_OF_FREE_DOWNLOADS |
Static Public Attributes | |
static final String | LOCAL_OPENSTREETMAP_POINTS = "local_openstreetmap_points" |
static final String | SAVE_CURRENT_TRACK = "save_current_track" |
static final String | LOCAL_INDEXES = "local_indexes" |
static final int | ROTATE_MAP_NONE = 0 |
static final int | ROTATE_MAP_BEARING = 1 |
static final int | ROTATE_MAP_COMPASS = 2 |
static final int | CENTER_CONSTANT = 0 |
static final int | BOTTOM_CONSTANT = 1 |
static final String | EXTERNAL_STORAGE_DIR = "external_storage_dir" |
static final String | LAST_KNOWN_MAP_LAT = "last_known_map_lat" |
static final String | LAST_KNOWN_MAP_LON = "last_known_map_lon" |
static final String | LAST_KNOWN_MAP_ZOOM = "last_known_map_zoom" |
static final String | MAP_LABEL_TO_SHOW = "map_label_to_show" |
static final String | MAP_LAT_TO_SHOW = "map_lat_to_show" |
static final String | MAP_LON_TO_SHOW = "map_lon_to_show" |
static final String | MAP_ZOOM_TO_SHOW = "map_zoom_to_show" |
static final String | POINT_NAVIGATE_LAT = "point_navigate_lat" |
static final String | POINT_NAVIGATE_LON = "point_navigate_lon" |
static final String | LAST_SEARCHED_REGION = "last_searched_region" |
static final String | LAST_SEARCHED_CITY = "last_searched_city" |
static final String | LAST_SEARCHED_CITY_NAME = "last_searched_city_name" |
static final String | lAST_SEARCHED_POSTCODE = "last_searched_postcode" |
static final String | LAST_SEARCHED_STREET = "last_searched_street" |
static final String | LAST_SEARCHED_BUILDING = "last_searched_building" |
static final String | LAST_SEARCHED_INTERSECTED_STREET = "last_searched_intersected_street" |
static final String | LAST_SEARCHED_LAT = "last_searched_lat" |
static final String | LAST_SEARCHED_LON = "last_searched_lon" |
static final String | SELECTED_POI_FILTER_FOR_MAP = "selected_poi_filter_for_map" |
static final String | VOICE_PROVIDER_NOT_USE = "VOICE_PROVIDER_NOT_USE" |
static final String | SERVICE_OFF_ENABLED = "service_off_enabled" |
Protected Member Functions | |
OsmandSettings (OsmandApplication application) | |
ApplicationMode | readApplicationMode () |
void | switchApplicationMode (ApplicationMode oldMode) |
Package Functions | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
[instance initializer] | |
Package Attributes | |
Map< String, CommonPreference < String > > | customRendersProps = new LinkedHashMap<String, OsmandSettings.CommonPreference<String>>() |
net.osmand.plus.OsmandSettings.OsmandSettings | ( | OsmandApplication | application | ) | [protected] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
net.osmand.plus.OsmandSettings.[instance initializer] | ( | ) | [package] |
File net.osmand.plus.OsmandSettings.extendOsmandPath | ( | String | path | ) |
CommonPreference<String> net.osmand.plus.OsmandSettings.getCustomRenderProperty | ( | String | attrName | ) |
List<TileSourceTemplate> net.osmand.plus.OsmandSettings.getInternetAvailableSourceTemplates | ( | ) |
ITileSource net.osmand.plus.OsmandSettings.getMapTileSource | ( | boolean | warnWhenSelected | ) |
static String net.osmand.plus.OsmandSettings.getSharedPreferencesName | ( | ApplicationMode | mode | ) | [static] |
ITileSource net.osmand.plus.OsmandSettings.getTileSourceByName | ( | String | tileName, |
boolean | warnWhenSelected | ||
) |
Map<String, String> net.osmand.plus.OsmandSettings.getTileSourceEntries | ( | ) |
boolean net.osmand.plus.OsmandSettings.installTileSource | ( | TileSourceTemplate | toInstall | ) |
boolean net.osmand.plus.OsmandSettings.isInternetConnectionAvailable | ( | boolean | update | ) |
ApplicationMode net.osmand.plus.OsmandSettings.readApplicationMode | ( | ) | [protected] |
boolean net.osmand.plus.OsmandSettings.setExternalStorageDirectory | ( | String | externalStorageDir | ) |
void net.osmand.plus.OsmandSettings.setLastKnownMapLocation | ( | double | latitude, |
double | longitude | ||
) |
void net.osmand.plus.OsmandSettings.setLastKnownMapZoom | ( | int | zoom | ) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedBuilding | ( | String | building, |
LatLon | point | ||
) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedCity | ( | Long | cityId, |
String | name, | ||
LatLon | point | ||
) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedIntersectedStreet | ( | String | street, |
LatLon | l | ||
) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedPoint | ( | LatLon | l | ) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedPoint | ( | double | lat, |
double | lon | ||
) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedPostcode | ( | String | postcode, |
LatLon | point | ||
) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedRegion | ( | String | region, |
LatLon | l | ||
) |
boolean net.osmand.plus.OsmandSettings.setLastSearchedStreet | ( | String | street, |
LatLon | point | ||
) |
void net.osmand.plus.OsmandSettings.setMapLocationToShow | ( | double | latitude, |
double | longitude, | ||
int | zoom, | ||
String | historyDescription, | ||
String | labelToShow, | ||
Object | toShow | ||
) |
void net.osmand.plus.OsmandSettings.setMapLocationToShow | ( | double | latitude, |
double | longitude, | ||
int | zoom | ||
) |
void net.osmand.plus.OsmandSettings.setMapLocationToShow | ( | double | latitude, |
double | longitude, | ||
int | zoom, | ||
String | historyDescription | ||
) |
boolean net.osmand.plus.OsmandSettings.setPoiFilterForMap | ( | String | filterId | ) |
boolean net.osmand.plus.OsmandSettings.setPointToNavigate | ( | double | latitude, |
double | longitude, | ||
String | historyDescription | ||
) |
void net.osmand.plus.OsmandSettings.switchApplicationMode | ( | ApplicationMode | oldMode | ) | [protected] |
boolean net.osmand.plus.OsmandSettings.usingEnglishNames | ( | ) |
final OsmandPreference<ApplicationMode> net.osmand.plus.OsmandSettings.APPLICATION_MODE |
new OsmandPreference<ApplicationMode>(){ @Override public String getId() { return "application_mode"; }; @Override public ApplicationMode get() { return currentMode; } @Override public void overrideDefaultValue(ApplicationMode newDefaultValue) { throw new UnsupportedOperationException(); } @Override public boolean set(ApplicationMode val) { ApplicationMode oldMode = currentMode; boolean changed = globalPreferences.edit().putString(getId(), val.name()).commit(); if(changed){ currentMode = val; profilePreferences = getProfilePreferences(currentMode); switchApplicationMode(oldMode); } return changed; } }
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.AUDIO_STREAM_GUIDANCE |
new IntPreference("audio_stream", AudioManager.STREAM_MUSIC, true)
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.AUTO_FOLLOW_ROUTE = new IntPreference("auto_follow_route", 0, false) |
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.AUTO_ZOOM_MAP = new BooleanPreference("auto_zoom_map", false, false) |
final int net.osmand.plus.OsmandSettings.BOTTOM_CONSTANT = 1 [static] |
final int net.osmand.plus.OsmandSettings.CENTER_CONSTANT = 0 [static] |
final OsmandPreference<String> net.osmand.plus.OsmandSettings.CONTRIBUTION_INSTALL_APP_DATE = new StringPreference("CONTRIBUTION_INSTALL_APP_DATE", null, true) |
Map<String, CommonPreference<String> > net.osmand.plus.OsmandSettings.customRendersProps = new LinkedHashMap<String, OsmandSettings.CommonPreference<String>>() [package] |
final CommonPreference<DayNightMode> net.osmand.plus.OsmandSettings.DAYNIGHT_MODE |
new EnumIntPreference<DayNightMode>("daynight_mode", DayNightMode.DAY, false, DayNightMode.values()) { @Override protected boolean setValue(SharedPreferences prefs, DayNightMode val) { ctx.getDaynightHelper().setDayNightMode(val); return super.setValue(prefs, val); } }
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.DEBUG_RENDERING_INFO = new BooleanPreference("debug_rendering", false, true) |
final String net.osmand.plus.OsmandSettings.EXTERNAL_STORAGE_DIR = "external_storage_dir" [static] |
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.FAST_ROUTE_MODE = new BooleanPreference("fast_route_mode", true, false) |
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.FLUORESCENT_OVERLAYS |
new BooleanPreference("fluorescent_overlays", false, false, true)
final OsmandPreference<String> net.osmand.plus.OsmandSettings.FOLLOW_THE_GPX_ROUTE = new StringPreference("follow_gpx", null, true) |
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.FOLLOW_THE_ROUTE = new BooleanPreference("follow_to_route", false, true) |
final String net.osmand.plus.OsmandSettings.LAST_KNOWN_MAP_LAT = "last_known_map_lat" [static] |
final String net.osmand.plus.OsmandSettings.LAST_KNOWN_MAP_LON = "last_known_map_lon" [static] |
final String net.osmand.plus.OsmandSettings.LAST_KNOWN_MAP_ZOOM = "last_known_map_zoom" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_BUILDING = "last_searched_building" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_CITY = "last_searched_city" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_CITY_NAME = "last_searched_city_name" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_INTERSECTED_STREET = "last_searched_intersected_street" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_LAT = "last_searched_lat" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_LON = "last_searched_lon" [static] |
final String net.osmand.plus.OsmandSettings.lAST_SEARCHED_POSTCODE = "last_searched_postcode" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_REGION = "last_searched_region" [static] |
final String net.osmand.plus.OsmandSettings.LAST_SEARCHED_STREET = "last_searched_street" [static] |
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.LEVEL_TO_SWITCH_VECTOR_RASTER = new IntPreference("level_to_switch_vector_raster", 1, false, true) |
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.LIVE_MONITORING = new BooleanPreference("live_monitoring", false, false) |
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.LIVE_MONITORING_INTERVAL = new IntPreference("live_monitoring_interval", 5, false) |
final CommonPreference<String> net.osmand.plus.OsmandSettings.LIVE_MONITORING_URL |
new StringPreference("live_monitoring_url", "http://example.com?lat={0}&lon={1}×tamp={2}&hdop={3}&altitude={4}&speed={5}", false)
final String net.osmand.plus.OsmandSettings.LOCAL_INDEXES = "local_indexes" [static] |
final String net.osmand.plus.OsmandSettings.LOCAL_OPENSTREETMAP_POINTS = "local_openstreetmap_points" [static] |
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.MAP_ACTIVITY_ENABLED = new BooleanPreference("map_activity_enabled", false, true) |
final String net.osmand.plus.OsmandSettings.MAP_LABEL_TO_SHOW = "map_label_to_show" [static] |
final String net.osmand.plus.OsmandSettings.MAP_LAT_TO_SHOW = "map_lat_to_show" [static] |
final String net.osmand.plus.OsmandSettings.MAP_LON_TO_SHOW = "map_lon_to_show" [static] |
final CommonPreference<String> net.osmand.plus.OsmandSettings.MAP_OVERLAY |
new StringPreference("map_overlay", null, false)
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.MAP_OVERLAY_TRANSPARENCY |
new IntPreference("overlay_transparency", 200, false)
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.MAP_SCREEN_ORIENTATION |
new IntPreference("map_screen_orientation", ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED, true)
final OsmandPreference<Float> net.osmand.plus.OsmandSettings.MAP_TEXT_SIZE |
new FloatPreference("map_text_size", 1.0f, false, true)
final CommonPreference<String> net.osmand.plus.OsmandSettings.MAP_TILE_SOURCES |
new StringPreference("map_tile_sources", TileSourceManager.getMapnikSource().getName(), false)
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.MAP_TRANSPARENCY |
new IntPreference("map_transparency", 255, false)
final CommonPreference<String> net.osmand.plus.OsmandSettings.MAP_UNDERLAY |
new StringPreference("map_underlay", null, false)
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.MAP_VECTOR_DATA |
new BooleanPreference("map_vector_data", false, false)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.MAP_VIEW_3D = new BooleanPreference("map_view_3d", false, false) |
final String net.osmand.plus.OsmandSettings.MAP_ZOOM_TO_SHOW = "map_zoom_to_show" [static] |
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.MAX_LEVEL_TO_DOWNLOAD_TILE = new IntPreference("max_level_download_tile", 18, false, true) |
final OsmandPreference<MetricsConstants> net.osmand.plus.OsmandSettings.METRIC_SYSTEM |
new EnumIntPreference<MetricsConstants>( "default_metric_system", MetricsConstants.KILOMETERS_AND_METERS, true, true, MetricsConstants.values())
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.NATIVE_RENDERING = new BooleanPreference("native_rendering", false, true) |
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.NUMBER_OF_FREE_DOWNLOADS |
new IntPreference("free_downloads", 0, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.OFFLINE_POI_EDITION |
new BooleanPreference("offline_poi_edition", false, true)
final String net.osmand.plus.OsmandSettings.POINT_NAVIGATE_LAT = "point_navigate_lat" [static] |
final String net.osmand.plus.OsmandSettings.POINT_NAVIGATE_LON = "point_navigate_lon" [static] |
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.POSITION_ON_MAP = new IntPreference("position_on_map", CENTER_CONSTANT, false) |
final OsmandPreference<String> net.osmand.plus.OsmandSettings.PREFERRED_LOCALE |
new StringPreference("preferred_locale", "", true)
final CommonPreference<String> net.osmand.plus.OsmandSettings.PREVIOUS_INSTALLED_VERSION = new StringPreference("previous_installed_version", "0.6.5", true) |
final CommonPreference<String> net.osmand.plus.OsmandSettings.RENDERER |
new StringPreference("renderer", RendererRegistry.DEFAULT_RENDER, false) { @Override protected boolean setValue(SharedPreferences prefs, String val) { if(val == null){ val = RendererRegistry.DEFAULT_RENDER; } RenderingRulesStorage loaded = ctx.getRendererRegistry().getRenderer(val); if (loaded != null) { ctx.getRendererRegistry().setCurrentSelectedRender(loaded); super.setValue(prefs, val); ctx.getResourceManager().getRenderer().clearCache(); return true; } return false; }; }
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.ROTATE_MAP |
new IntPreference("rotate_map", ROTATE_MAP_NONE, false, true)
final int net.osmand.plus.OsmandSettings.ROTATE_MAP_BEARING = 1 [static] |
final int net.osmand.plus.OsmandSettings.ROTATE_MAP_COMPASS = 2 [static] |
final int net.osmand.plus.OsmandSettings.ROTATE_MAP_NONE = 0 [static] |
final OsmandPreference<RouteService> net.osmand.plus.OsmandSettings.ROUTER_SERVICE |
new EnumIntPreference<RouteService>("router_service", RouteService.CLOUDMADE, false, RouteService.values())
final String net.osmand.plus.OsmandSettings.SAVE_CURRENT_TRACK = "save_current_track" [static] |
final CommonPreference<Integer> net.osmand.plus.OsmandSettings.SAVE_TRACK_INTERVAL = new IntPreference("save_track_interval", 5, false) |
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.SAVE_TRACK_TO_GPX = new BooleanPreference("save_track_to_gpx", false, false) |
final String net.osmand.plus.OsmandSettings.SELECTED_POI_FILTER_FOR_MAP = "selected_poi_filter_for_map" [static] |
final String net.osmand.plus.OsmandSettings.SERVICE_OFF_ENABLED = "service_off_enabled" [static] |
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.SERVICE_OFF_INTERVAL |
new IntPreference("service_off_interval", 5 * 60 * 1000, true)
final OsmandPreference<String> net.osmand.plus.OsmandSettings.SERVICE_OFF_PROVIDER = new StringPreference("service_off_provider", LocationManager.GPS_PROVIDER, true) |
final OsmandPreference<Integer> net.osmand.plus.OsmandSettings.SERVICE_OFF_WAIT_INTERVAL |
new IntPreference("service_off_wait_interval", 90 * 1000, true)
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_ALTITUDE_INFO |
new BooleanPreference("show_altitude_info", false, false, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_ARRIVAL_TIME_OTHERWISE_EXPECTED_TIME |
new BooleanPreference("show_arrival_time", true, true)
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_CURRENT_GPX_TRACK |
new BooleanPreference("show_current_gpx_track", false, true, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_FAVORITES = new BooleanPreference("show_favorites", false, false) |
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_OSM_BUGS = new BooleanPreference("show_osm_bugs", false, true) |
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_POI_LABEL |
new BooleanPreference("show_poi_label", false, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_POI_OVER_MAP |
new BooleanPreference("show_poi_over_map", false, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_TRANSPORT_OVER_MAP |
new BooleanPreference("show_transport_over_map", false, true)
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_VIEW_ANGLE = new BooleanPreference("show_view_angle", false, false, true) |
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.SHOW_ZOOM_LEVEL |
new BooleanPreference("show_zoom_level", false, false, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.TEST_ANIMATE_ROUTING = new BooleanPreference("animate_routing", false, true) |
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.TRANSPARENT_MAP_THEME |
new BooleanPreference("transparent_map_theme", true, false)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.USE_ENGLISH_NAMES = new BooleanPreference("use_english_names", false, false) |
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.USE_HIGH_RES_MAPS |
new BooleanPreference("use_high_res_maps", false, true, true)
final CommonPreference<Boolean> net.osmand.plus.OsmandSettings.USE_INTERNET_TO_DOWNLOAD_TILES |
new BooleanPreference("use_internet_to_download_tiles", true, false, true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.USE_OSMAND_ROUTING_SERVICE_ALWAYS |
new BooleanPreference("use_osmand_routing_service", true, false)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.USE_TRACKBALL_FOR_MOVEMENTS |
new BooleanPreference("use_trackball_for_movements", true, true)
final OsmandPreference<String> net.osmand.plus.OsmandSettings.USER_NAME |
new StringPreference("user_name", "NoName", true)
final OsmandPreference<String> net.osmand.plus.OsmandSettings.USER_OSM_BUG_NAME |
new StringPreference("user_osm_bug_name", "NoName/Osmand", true)
final OsmandPreference<String> net.osmand.plus.OsmandSettings.USER_PASSWORD |
new StringPreference("user_password", "", true)
final OsmandPreference<Boolean> net.osmand.plus.OsmandSettings.VOICE_MUTE = new BooleanPreference("voice_mute", false, true) |
final OsmandPreference<String> net.osmand.plus.OsmandSettings.VOICE_PROVIDER = new StringPreference("voice_provider", null, false) |
final String net.osmand.plus.OsmandSettings.VOICE_PROVIDER_NOT_USE = "VOICE_PROVIDER_NOT_USE" [static] |