Merge "[Bugfix]Use local width and height to get cutout in the target direction" into main am: f6071154db

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3554263

Change-Id: I67ba90a53dff8fe79ca69c3bad472a911303f0ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>