Refactor drag resize touch regions out of the input listener.

Refactor region calculations in preparation for supporting different regions
based on the source of the MotionEvent.

Bug: 323383067
Test: manual drag resize
Change-Id: I0a8c6897ecd2dc389fb1b205ea80f5ad3495638a
6 files changed