summaryrefslogtreecommitdiff
path: root/libs/ui/UiConfig.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2018-12-05 07:27:23 -0800
committer Vishnu Nair <vishnun@google.com> 2018-12-05 07:27:23 -0800
commit8033a496f29ed76c361822e0d2f11beaea22a27b (patch)
tree4f76ff7863785c76501e79847fcecf55e7e86f62 /libs/ui/UiConfig.cpp
parent5118e8d029e5e03e8fda19334ba50a356dc0ca72 (diff)
Input: Handle parent surface crops 1/2
- Surface Insets are set to offset the client content and draw a border around the client surface (such as shadows in dialogs). Inputs sent to the client are offset such that 0,0 is the start of the client content. When accounting for surface insets, check if the surface is already cropped by a parent so that the input offset is not set twice. - Restrict the touchable region to the input frame bounds. Test: Open event in calendar. Try to close the event. The event is a dialog and draws shadows. Test: Open app selector in secondary split screen. Ensure input does not go to primary split screen window. Bug: 120413463, 120460606 Change-Id: I0d519f9eb381664b1e71a924b13419dcc1170ba1
Diffstat (limited to 'libs/ui/UiConfig.cpp')
0 files changed, 0 insertions, 0 deletions