Skip to content
Commit 92d9c818 authored by seunghyun85.lee's avatar seunghyun85.lee Committed by Wale Ogunwale
Browse files

Apply the scale to surfaceinsets when computing crop region



While in computing surface crop region, magnification specs are
not applied to surface insets from LayoutParams.

So, in case magnification specs are set,
surface crop region should be calculated considering scale factor.

(For instance, using TouchZoom in Accessibility
at AppsPermissionActivity in market app)

Bug: 20863078
Change-Id: I9e7e21e502b29208f2856918d6fcda050f515595
Signed-off-by: default avatarSeunghyun Lee <seunghyun85.lee@lge.com>
parent ce7dba6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment