code: @SuppressWarnings("deprecation")
      @Override
      public ViewParent invalidateChildInParent(int[] location, @NonNull Rect dirty) {
          // Invalidating correct rectangle
          applyMatrix(dirty, matrix);
          return super.invalidateChildInParent(location, dirty);
      }
docs: It seems to be fine to use this method instead of suggested onDescendantInvalidated(...)