diff options
| author | 2022-03-03 11:15:42 +0000 | |
|---|---|---|
| committer | 2022-03-16 05:05:20 +0000 | |
| commit | 2b7842fc753b0c9b03d4018e00635ce2e4d644d4 (patch) | |
| tree | 5b9ca1a871836beecbc3d316edfe156c466c1076 /api/api.go | |
| parent | c515a0aed99cbada7b273fa581b8f0649bafdb21 (diff) | |
Offsets an additional distance for requestRectangleOnScreen.
In previous, requestRectangleOnScreen would only apply the shortest
movement on the magnifier to the rectangle. However, it will make typing
words out of the screen. Therefore, we add an additional distance for
moving the magnifier to help a user know the surrounding context.
Bug: 148882866
Test: atest FullScreenMagnificationControllerTest
Change-Id: Iee7a4f13395ed8acf3ffa7df759542fcb08190f8
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions