Open Shedings opened 5 years ago
private float calculateScale(float x) { float deltaX = Math.abs(x - (mOrientationHelper.getTotalSpace() - mDecoratedMeasurement) / 2f); return ((minScale - 1) * deltaX) / (mOrientationHelper.getTotalSpace() / 1f) + 1f; }
private float calculateScale(float x) { float deltaX = Math.abs(x - (mOrientationHelper.getTotalSpace() - mDecoratedMeasurement) / 2f); return ((minScale - 1) * deltaX) / (mOrientationHelper.getTotalSpace() / 1f) + 1f; }