summaryrefslogtreecommitdiff
path: root/core/java/android/view/ScrollCaptureTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Fix mPositionInWindow to not use global coords""Mark Renouf2021-07-011-22/+5
| | | | | | | | | | | | This reverts commit f3cda719664927e06619655d67e62b434c993215. Reason for revert: Rolling forward with updated test. Fix is in CTS test: https://googleplex-android-review.git.corp.google.com/q/topic:screenshot_cts Bug: 191877447 Change-Id: I058951ce761dc22e8cd1f684ea3f2a98fcf8a8eb
* Revert "Fix mPositionInWindow to not use global coords"Paul Hobbs2021-06-281-5/+22
| | | | | | | | This reverts commit 03e826d6b12b4f888bc5d5aac6745c60544db598. Reason for revert: Breaks testPositionInWindow (b/191838493) Change-Id: Ib49f65b4d3f7f5df7c95a3c229ab08aa8688f7a2
* Fix mPositionInWindow to not use global coordsMatt Casey2021-06-181-22/+5
| | | | | | | | | Got the wrong number when the window isn't at 0,0. Bug: 183045126 Test: Examined logs to observe the window's insets didn't affect position in window. Change-Id: Id3190a7422a56cbefc64d30a9961674b4822fcc3
* ScrollCaptureTarget: enforce argument nullability in ctorMark Renouf2021-06-091-4/+6
| | | | | | Bug: 180419562 Test: atest ScrollCaptureTargetTest Change-Id: I390269c8cfc0ce57c5cf9b58ad0cbf75a0281b00
* Long screenshots framework update and API unhideMark Renouf2021-02-251-10/+40
| | | | | | | | | | | | | | This change includes a series of API review changes. The most significant update is the addition of cancellation signals to API methods where needed. Renames some internal classes and interfaces to support the API changes and to simplify tests and improve quality. Test: numerous presubmits Bug: 175830670 CTS-Coverage-Bug: 180419562 Change-Id: I9b1b950a2779fc902ecf4d6394e3c35171926700
* Scroll Capture FrameworkMark Renouf2020-04-171-0/+135
This is an implementation of long screenshots supporting interactive, incremental capture of scrolling content using a cooperative API between the app process and the system. Design goals: - Provide for tile based incremental screenshots of scrolling content - Support existing apps without developer action - Provide support for non View-based Apps & UI toolkits Bug: 148131831 Test: atest \ FrameworksCoreTests:android.view.ScrollCaptureClientTest \ FrameworksCoreTests:android.view.ScrollCaptureTargetResolverTest \ FrameworksCoreTests:com.android.internal.view.ViewGroupScrollCaptureTest \ FrameworksCoreTests:android.view.ScrollViewCaptureHelperTest \ WmTests:com.android.server.wm.DisplayContentTest Change-Id: I6c66a623faba274c35b8fa857d3a72030a763aea