OSDN Git Service

Fix a small UI nit with screen reordering
authorAdam Cohen <adamcohen@google.com>
Thu, 11 Jun 2015 01:40:05 +0000 (18:40 -0700)
committerAdam Cohen <adamcohen@google.com>
Thu, 11 Jun 2015 01:45:38 +0000 (18:45 -0700)
commitb2b02b9bd2e0b0da7373125c06f6d67d9758d8fe
tree0753ef4c06b9915cecbc1d7bfb21ba767322aa07
parent2d0fc8dccd49a630a1e4a18e6b6b773d7c7bde71
Fix a small UI nit with screen reordering

-> When in overview mode, flinging the pages can leave the scroller
   running (invisibly) for much additional time, since the scroller
   fling bounds far exceed the alloawble scroll bounds (in order to
   achieve a hard wall type effect)
-> When this is happening, user couldn't pick up a page for reordering
-> Ended the scroller early in this case to avoid the problem

Change-Id: I8b6f140d9a87bb742e57625e90ca7d76a2158e28
src/com/android/launcher3/PagedView.java