Merge branch 'master' of github.com:osmandapp/Osmand
|
@ -291,8 +291,14 @@ public class SearchUICore {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends SearchCoreAPI> SearchResultCollection shallowSearch(Class<T> cl,
|
public <T extends SearchCoreAPI> SearchResultCollection shallowSearch(Class<T> cl, String text,
|
||||||
String text, final ResultMatcher<SearchResult> matcher) throws IOException {
|
ResultMatcher<SearchResult> matcher) throws IOException {
|
||||||
|
return shallowSearch(cl, text, matcher, true, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <T extends SearchCoreAPI> SearchResultCollection shallowSearch(Class<T> cl, String text,
|
||||||
|
final ResultMatcher<SearchResult> matcher,
|
||||||
|
boolean resortAll, boolean removeDuplicates) throws IOException {
|
||||||
T api = getApiByClass(cl);
|
T api = getApiByClass(cl);
|
||||||
if (api != null) {
|
if (api != null) {
|
||||||
if (debugMode) {
|
if (debugMode) {
|
||||||
|
@ -306,7 +312,7 @@ public class SearchUICore {
|
||||||
|
|
||||||
SearchResultCollection collection = new SearchResultCollection(
|
SearchResultCollection collection = new SearchResultCollection(
|
||||||
sphrase);
|
sphrase);
|
||||||
collection.addSearchResults(rm.getRequestResults(), true, true);
|
collection.addSearchResults(rm.getRequestResults(), resortAll, removeDuplicates);
|
||||||
if (debugMode) {
|
if (debugMode) {
|
||||||
LOG.info("Finish shallow search <" + sphrase + "> Results=" + rm.getRequestResults().size());
|
LOG.info("Finish shallow search <" + sphrase + "> Results=" + rm.getRequestResults().size());
|
||||||
}
|
}
|
||||||
|
|
|
@ -307,8 +307,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?attr/selectableItemBackground"
|
android:background="?attr/selectableItemBackground"
|
||||||
android:drawableStart="@drawable/ic_action_undo"
|
app:drawableLeftCompat="@drawable/ic_action_undo"
|
||||||
android:drawableLeft="@drawable/ic_action_undo"
|
app:drawableStartCompat="@drawable/ic_action_undo"
|
||||||
android:drawablePadding="@dimen/my_location_text_sides_margin"
|
android:drawablePadding="@dimen/my_location_text_sides_margin"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:minHeight="@dimen/list_item_height_min"
|
android:minHeight="@dimen/list_item_height_min"
|
||||||
|
@ -341,9 +341,9 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|center_horizontal"
|
android:layout_gravity="bottom|center_horizontal"
|
||||||
android:background="@drawable/extended_fab_bg"
|
android:background="@drawable/extended_fab_bg"
|
||||||
android:drawableLeft="@drawable/ic_action_share_location"
|
app:drawableLeftCompat="@drawable/ic_action_share_location"
|
||||||
|
app:drawableStartCompat="@drawable/ic_action_share_location"
|
||||||
android:drawablePadding="@dimen/content_padding_half"
|
android:drawablePadding="@dimen/content_padding_half"
|
||||||
android:drawableStart="@drawable/ic_action_share_location"
|
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingLeft="32dp"
|
android:paddingLeft="32dp"
|
||||||
android:paddingRight="32dp"
|
android:paddingRight="32dp"
|
||||||
|
|
|
@ -255,7 +255,7 @@
|
||||||
<string name="time_zone">Часавы пояс</string>
|
<string name="time_zone">Часавы пояс</string>
|
||||||
<string name="units_and_formats">Адзінкі вымярэння і фарматы</string>
|
<string name="units_and_formats">Адзінкі вымярэння і фарматы</string>
|
||||||
<string name="unit_of_length_descr">Змяніць адзінкі вымярэння адлегласці.</string>
|
<string name="unit_of_length_descr">Змяніць адзінкі вымярэння адлегласці.</string>
|
||||||
<string name="unit_of_length">Адзінкі даўжыні</string>
|
<string name="unit_of_length">Адзінкі вымярэння адлегласці</string>
|
||||||
<string name="unit_of_speed_system_descr">Вызначце адзінку вымярэння хуткасці.</string>
|
<string name="unit_of_speed_system_descr">Вызначце адзінку вымярэння хуткасці.</string>
|
||||||
<string name="unit_of_speed_system">Адзінка вымярэння хуткасці</string>
|
<string name="unit_of_speed_system">Адзінка вымярэння хуткасці</string>
|
||||||
<string name="buffer_time_descr">Максімальны час захоўвання пунктаў у буферы</string>
|
<string name="buffer_time_descr">Максімальны час захоўвання пунктаў у буферы</string>
|
||||||
|
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 267 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_bug.png
Normal file
After Width: | Height: | Size: 361 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_pause.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_play.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_rec_start.png
Normal file
After Width: | Height: | Size: 311 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_rec_stop.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_remove.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_save.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_start_navigation.png
Normal file
After Width: | Height: | Size: 531 B |
BIN
OsmAnd/res/drawable-hdpi/ic_notification_track.png
Normal file
After Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 225 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_bug.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_pause.png
Normal file
After Width: | Height: | Size: 159 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_play.png
Normal file
After Width: | Height: | Size: 246 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_rec_start.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_rec_stop.png
Normal file
After Width: | Height: | Size: 156 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_remove.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_save.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_start_navigation.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
OsmAnd/res/drawable-mdpi/ic_notification_track.png
Normal file
After Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |