docs: private boolean limitScale(
        Matrix transform,
        float pivotX,
        float pivotY,
        @LimitFlag int limitTypes) {
      if (!shouldLimit(limitTypes, LIMIT_SCALE)) {
        return false;
      }
      float currentScale = getMatrixScaleFactor(transform);
      float targetScale = limit(currentScale, mMinScaleFactor, mMaxScaleFactor);
      if (targetScale != currentScale) {
        float scale = targetScale / currentScale;
        transform.postScale(scale, scale, pivotX, pivotY);
        return true;
      }
      return false;
    }