Commit graph

30327 commits

Author SHA1 Message Date
Victor Shcherb
b075716096 Update tests 2016-03-30 15:08:50 +02:00
Victor Shcherb
46a8ce682e Update tests 2016-03-30 15:08:32 +02:00
Victor Shcherb
2941e14932 Update junit tests 2016-03-30 14:57:27 +02:00
Victor Shcherb
0dc76234f2 Add 3rd turn 2016-03-30 14:45:35 +02:00
GaidamakUA
aec531c381 Fixed resources in dark theme. 2016-03-30 15:17:34 +03:00
Weblate
75d874136a Merge remote-tracking branch 'origin/master' 2016-03-30 13:27:02 +02:00
Piotr Sokół
27b2e7f88a Translated using Weblate (Polish)
Currently translated at 100.0% (1953 of 1953 strings)
2016-03-30 13:26:55 +02:00
jan madsen
b2f53e655b Translated using Weblate (Danish)
Currently translated at 100.0% (1953 of 1953 strings)
2016-03-30 13:26:50 +02:00
Dmitriy Prodchenko
2b50c0ee1f Fix Right Turn arrow height. 2016-03-30 14:26:05 +03:00
Andrew Davie
8e7026c537 mid-work backup 2016-03-30 22:25:52 +11:00
GaidamakUA
ae0b798b28 Fix sized 2016-03-30 12:33:21 +03:00
GaidamakUA
7d4b4f4c48 Change color for configure screen. 2016-03-30 11:53:34 +03:00
GaidamakUA
5d335f5dab Renaming methods. 2016-03-30 11:36:48 +03:00
GaidamakUA
4b695ba06c Fixed introduced crash. 2016-03-30 11:30:47 +03:00
GaidamakUA
7c4161cf1b Fixed icon ignoring tint. 2016-03-30 11:22:17 +03:00
GaidamakUA
7202f69bd9 Refactoring. Removed getImage from contextMenuAdapter. 2016-03-30 11:12:34 +03:00
GaidamakUA
64735bd505 Refactoring. Menu items now has color. 2016-03-30 11:00:30 +03:00
Andrew Davie
64d481e47d Fixed a bug in the rainbow/altitude & speed renderer
Fixed the '1st pass' flag check for the draw loop. Previously was trying to draw at negative infinity
  - this *may* have been the reason this routine appeared to occaionally crash the emulator
Modified the draw so it only draws lines which are partially or completely on-screen
This routine is now optimal as far as minimising draw goes
  - first cull based on limits of entire track
  - second cull on per-segment basis based on screen visibility
2016-03-30 16:09:47 +11:00
Andrew Davie
5d4ab73620 Edge cases handled gracefully for low point-count arrays
Sitations with low point-counts may have been problematic. Now, 0, 1 and 2 point arrays are explicitly handled.
Added a copy constructor to WptPt to allow copies to be made, rather than returning original array.
Cases where no data is returned always returns a zero-sized array rather than a null array.
2016-03-30 15:14:24 +11:00
vshcherb
e3dabb1ada Merge pull request #2384 from yurkiss/test_turn_lanes_1
U-turn image fix
2016-03-29 20:42:25 +02:00
y.ridkous@gmail.com
7fea3ee5ce Update LanesDrawable 2016-03-29 21:37:43 +03:00
Yuriy Ridkous
09e33431f4 Merge pull request #6 from osmandapp/master
update
2016-03-29 21:30:32 +03:00
Andrew Davie
7b4daba1eb Optimisation for zooming/resampling to improve visuals
Just occurred to me that when zooming out (away) then the culled line we have is suitable for display. Previously when
zooming in or out, the culled line was discarded and the original line was drawn. That was to prevent you seeing really
low-resolution stuff while you wait for the asynchroous line cull to finish (can be in the order of several seconds).
However, with this modification, that is now only done when you are zooming in. This improves dramatically the "busy"
look when too much stuff is drawn for the given resolution.  Anyway, simple fix but great effect.  :P
2016-03-30 03:12:53 +11:00
Alexey Kulish
b431724a1a Fix location permission crash (NavigationService) 2016-03-29 18:48:56 +03:00
Andrew Davie
1fedd78e23 Removed all the renderers, except for the plain-vanilla one.
This gives a simple GPX track that is drawn with asynchronous point reduction to improve the speed of display.
Also, the simple region-based culling gets rid of entire tracks from the draw pipeline for further sppedups.
2016-03-30 02:15:26 +11:00
Andrew Davie
63ff22b6ab "Trivial" area bounds for segments for super-quick culling during draw.
Reworked all the renderers to be much more object oriented.
Got the sample arrow and conveyor renderers working
Tracked down a few bugs - particularly one still there - TrkSegment with 0 points!
This in my opinion should never happen - it's coming in from "outside" to my code.
2016-03-30 01:47:04 +11:00
sonora
5fa6036c3e Fix wrong string assignment 2016-03-29 16:42:17 +02:00
Dmitriy Prodchenko
cc241f7251 New icons for Configure Map screen. 2016-03-29 17:23:33 +03:00
GaidamakUA
60073c4ff3 Rewritten working ContextMenu. GpxUiHelper, ConfigureMapMenu. 2016-03-29 16:59:03 +03:00
GaidamakUA
c124ddf21b Rewritten working ContextMenu. Need to be removed completely. Little fixes for AvailableIndexesFragment. 2016-03-29 16:29:45 +03:00
GaidamakUA
bd3ca97411 Rewritten working ContextMenu. Need to be removed completely. Little fixes for AvailableGPXFragment. 2016-03-29 15:57:56 +03:00
GaidamakUA
f04df5b622 Remove unnecessary field. 2016-03-29 15:57:56 +03:00
Weblate
acb853a619 Merge remote-tracking branch 'origin/master' 2016-03-29 14:07:42 +02:00
Roberto GEB
4d4b05b810 Translated using Weblate (Spanish)
Currently translated at 99.6% (2461 of 2469 strings)
2016-03-29 14:07:42 +02:00
GaidamakUA
39f48e30a6 Configure screen: Menus are working. 2016-03-29 15:07:22 +03:00
GaidamakUA
5fdcc6b341 Refactoring 2016-03-29 15:07:22 +03:00
Weblate
4e88cae12b Merge remote-tracking branch 'origin/master' 2016-03-28 21:00:28 +02:00
Roberto GEB
ff6558ed90 Translated using Weblate (Spanish)
Currently translated at 99.6% (2461 of 2469 strings)
2016-03-28 21:00:27 +02:00
8c6311e901274f6baef2068792c8ab
14a5153b09 Translated using Weblate (Norwegian Bokmål)
Currently translated at 73.4% (1435 of 1954 strings)
2016-03-28 21:00:19 +02:00
xmd5a
984dda798e Update turn lanes test json 2016-03-28 21:59:51 +03:00
Andrew Davie
c8a245d031 Honoured isCancelled() for the async renderer, and return correct status
This should speed up things a bit by killing background tasks earlier
2016-03-29 04:57:52 +11:00
Andrew Davie
93587fe210 Very clean OO-type classes for the renderers and asynchronous resamplers. 2016-03-29 03:58:16 +11:00
Yuriy Ridkous
aca4b95f13 Merge pull request #5 from osmandapp/master
update
2016-03-28 17:04:59 +03:00
Victor Shcherb
db54e27454 Update turn types tertiary 2016-03-28 15:51:52 +02:00
Victor Shcherb
a580d65604 Fix compilation 2016-03-28 15:44:54 +02:00
Victor Shcherb
f8c459146b Fix compilation 2016-03-28 15:42:44 +02:00
Victor Shcherb
0f86f53b5e Fix turn lanes 2016-03-28 15:10:47 +02:00
Victor Shcherb
d8a2b60436 Add map icons 2016-03-28 14:54:31 +02:00
Weblate
7a29807aea Merge remote-tracking branch 'origin/master' 2016-03-28 14:53:44 +02:00
Ldm Public
d590250dd0 Translated using Weblate (French)
Currently translated at 99.8% (1952 of 1954 strings)
2016-03-28 14:53:33 +02:00