Lines Matching refs:centerY
190 private void layoutTiles(int centerX, int centerY, float scale, int rotation) {
208 getRange(range, centerX, centerY, mLevel, scale, rotation);
210 mOffsetY = Math.round(height / 2f + (range.top - centerY) * scale);
216 mOffsetY = Math.round(height / 2f - centerY * scale);
224 getRange(range[i - fromLevel], centerX, centerY, i, rotation);
311 public boolean setPosition(int centerX, int centerY, float scale, int rotation) {
313 && mCenterY == centerY && mScale == scale) return false;
315 mCenterY = centerY;
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);