Lines Matching refs:cell

147      * Represents a cell in the 3 X 3 matrix of the unlock pattern view.
167 * @param row The row of the cell.
168 * @param column The column of the cell.
257 * The user extended the pattern currently being drawn by one cell.
258 * @param pattern The pattern with newly added cell.
397 for (Cell cell : pattern) {
398 mPatternDrawLookup[cell.getRow()][cell.getColumn()] = true;
538 if (DEBUG_A11Y) Log.v(TAG, "ivnalidating root because cell was added.");
668 * pattern (in addition to finding the cell, also makes heuristic choices
674 final Cell cell = checkForNewHit(x, y);
675 if (cell != null) {
682 int dRow = cell.row - lastCell.row;
683 int dColumn = cell.column - lastCell.column;
703 addCellToPattern(cell);
709 return cell;
723 private void startCellActivatedAnimation(Cell cell) {
724 final CellState cellState = mCellStates[cell.row][cell.column];
735 getCenterXForColumn(cell.column), getCenterYForRow(cell.row));
785 // helper method to find which cell a point maps to
932 // Adjust for drawn segment from last cell to (x,y). Radius accounts for line width.
938 // Invalidate between the pattern's new cell and the pattern's previous cell
951 // Invalidate between the pattern's last cell and the previous location
1058 final Cell cell = pattern.get(i);
1059 drawLookup[cell.getRow()][cell.getColumn()] = true;
1110 // TODO: the path should be created and cached every time we hit-detect a cell
1122 Cell cell = pattern.get(i);
1127 if (!drawLookup[cell.row][cell.column]) {
1132 float centerX = getCenterXForColumn(cell.column);
1133 float centerY = getCenterYForRow(cell.row);
1135 CellState state = mCellStates[cell.row][cell.column];
1436 final CellState cell = mCellStates[row][col];
1466 * Helper method to find which cell a point maps to