Searched refs:tasksPerLine (Results 1 – 1 of 1) sorted by relevance
72 int tasksPerLine; field in TaskGridLayoutAlgorithm.TaskGridRectInfo81 tasksPerLine = getTasksPerLine(layoutTaskCount); in TaskGridRectInfo()89 tasksPerLine = layoutTaskCount < 2 ? 1 : 2; in TaskGridRectInfo()96 tasksPerLine = layoutTaskCount < 7 ? layoutTaskCount : 6; in TaskGridRectInfo()102 - (tasksPerLine - 1) * mPaddingTaskView) / tasksPerLine; in TaskGridRectInfo()120 - (tasksPerLine * taskWidth) - (tasksPerLine - 1) * mPaddingTaskView; in TaskGridRectInfo()127 int xIndex = taskLayoutIndex % tasksPerLine; in TaskGridRectInfo()128 int yIndex = taskLayoutIndex / tasksPerLine; in TaskGridRectInfo()247 final int currentLine = (taskCount - 1 - currentFocusedIndex) / gridInfo.tasksPerLine;250 newIndex += gridInfo.tasksPerLine;[all …]