Searched refs:MAX_CELL_SIZE (Results 1 – 1 of 1) sorted by relevance
28 private static final int MAX_CELL_SIZE = 1 << S2CellId.MAX_LEVEL; field in S2Cell188 int si = (i.intValue() & -cellSize) * 2 + cellSize - MAX_CELL_SIZE; in getCenterUV()189 double x = S2Projections.stToUV((1.0 / MAX_CELL_SIZE) * si); in getCenterUV()191 int sj = (j.intValue() & -cellSize) * 2 + cellSize - MAX_CELL_SIZE; in getCenterUV()192 double y = S2Projections.stToUV((1.0 / MAX_CELL_SIZE) * sj); in getCenterUV()396 int sijLo = (ij[d].intValue() & -cellSize) * 2 - MAX_CELL_SIZE; in init()398 uv[d][0] = S2Projections.stToUV((1.0 / MAX_CELL_SIZE) * sijLo); in init()399 uv[d][1] = S2Projections.stToUV((1.0 / MAX_CELL_SIZE) * sijHi); in init()