Lines Matching refs:centerX
190 private void layoutTiles(int centerX, int centerY, float scale, int rotation) {
208 getRange(range, centerX, centerY, mLevel, scale, rotation);
209 mOffsetX = Math.round(width / 2f + (range.left - centerX) * scale);
215 mOffsetX = Math.round(width / 2f - centerX * scale);
224 getRange(range[i - fromLevel], centerX, centerY, i, rotation);
311 public boolean setPosition(int centerX, int centerY, float scale, int rotation) {
312 if (mCenterX == centerX
314 mCenterX = centerX;
318 layoutTiles(centerX, centerY, scale, rotation);
371 int centerX = getWidth() / 2, centerY = getHeight() / 2;
372 canvas.translate(centerX, centerY, 0);
374 canvas.translate(-centerX, -centerY, 0);