Remove most uses of ScreenCapture#captureDisplay.

Replace with methods that use ScreenCapture#captureLayers so
ScreenCapture#captureDisplay can be removed. Usages in ColorFade
are not removed due to b/301083608.

Bug: 293445881
Test: Rotate screen with wm.debug.shell disabled
Test: Lock and unlock device
Test: Take screenshots
Test: atest AccessibilityTakeScreenshotTest
Change-Id: I71ce63421e018342111d235521b0486ae23840e4
5 files changed