Lines Matching refs:S2CellId
28 private static final int MAX_CELL_SIZE = 1 << S2CellId.MAX_LEVEL;
33 S2CellId cellId;
46 public S2Cell(S2CellId id) { in S2Cell()
52 return new S2Cell(S2CellId.fromFacePosLevel(face, pos, level)); in fromFacePosLevel()
57 init(S2CellId.fromPoint(p)); in S2Cell()
61 init(S2CellId.fromLatLng(ll)); in S2Cell()
65 public S2CellId id() { in id()
82 return level == S2CellId.MAX_LEVEL; in isLeaf()
142 S2CellId id = cellId.childBegin(); in subdivide()
185 int cellSize = 1 << (S2CellId.MAX_LEVEL - level); in getCenterUV()
381 private void init(S2CellId id) { in init()
393 int cellSize = 1 << (S2CellId.MAX_LEVEL - level); in init()