Lines Matching defs:center
198 final PointF center = INITIAL_MAGNIFICATION_BOUNDS_CENTER;
199 final PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, center, scale);
201 .setScale(scale, center.x, center.y, false, SERVICE_ID_1));
206 assertEquals(center.x, mMagnificationController.getCenterX(), 0.0);
207 assertEquals(center.y, mMagnificationController.getCenterY(), 0.0);
220 // New center should be halfway between original center and pivot
742 // Final value should be the new center
764 private PointF computeOffsets(Rect magnifiedBounds, PointF center, float scale) {
766 magnifiedBounds.centerX() - scale * center.x,
767 magnifiedBounds.centerY() - scale * center.y);