New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629052 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit 24 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 613695



Sign in to add a comment

Implement precedence in coverage directions for tiling data in SpiralDifferenceIterator.

Project Member Reported by prashan...@samsung.com, Jul 18 2016

Issue description

Consider the layout of tiling data as given below.
 TL  T  TR
  L  *   R
 BL  B  BR
 
where -

R  = right
TR = top right
T  = top
TL = top left
L  = left
BL = bottom left
B  = bottom
BR = bottom right

The spiral order {R, TR, T, TL, L, BL, B, BR} does not give better coverage when direction of scrolling (or anchor of zoom is considered) and the layout of tiling data with current implementation is

   x 0 1 2
  y.------
  0| 4 3 2
  1| 5 * 1   --->
  2| 6 7 8


When user is scrolling in right direction (inclined to bottom right), then tiles at right are most important and tiles at left are least important. In the above example tile at 8 would be needed before tiles at 4, 5, 6. The relative importance of tiles at different directions in this case is {R, BR, TR, B, T, BL, TL, L}. (the main coverage direction can be deduced by x-velocity and secondary direction can be deduced from y-velocity). The layout of tiling data would be

   x 0 1 2
  y.------
  0| 7 5 3
  1| 8 * 1    --->
  2| 6 4 2
  
Implement precedence in coverage directions for tiling data based on scroll direction or anchor of zooming instead of default right direction.
 
Summary: Implement direction of movement for SpiralDifferenceIterator. (was: Imlpement direction of movement for SpiralDifferenceIterator.)
Description: Show this description
Summary: Implement precedence in coverage directions for tiling data in SpiralDifferenceIterator. (was: Implement direction of movement for SpiralDifferenceIterator.)

Sign in to add a comment