docs: public synchronized void setManualFramingRect(int width, int height) {
      if (initialized) {
        Point screenResolution = configManager.getScreenResolution();
        if (width > screenResolution.x) {
          width = screenResolution.x;
        }
        if (height > screenResolution.y) {
          height = screenResolution.y;
        }
        int leftOffset = (screenResolution.x - width) / 2;
        int topOffset = (screenResolution.y - height) / 2;
        framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height);
        Log.d(TAG, "Calculated manual framing rect: " + framingRect);
        framingRectInPreview = null;
      } else {
        requestedFramingRectWidth = width;
        requestedFramingRectHeight = height;
      }
    }