summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/10/changes
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-10-24 15:23:42 -0400
committerDaniel Sandler <dsandler@android.com>2012-10-24 15:23:42 -0400
commitbe2cf3206eb6fdc81cb5619ce36e3f9d5a9e9c15 (patch)
tree1716c636929be2301e6972e4d7cb3bec5bf3a250 /docs/html/sdk/api_diff/10/changes
parent50a531337e7d6d49b40a1c96636962507ccf6c61 (diff)
Be a little more lenient with panel-open gestures.
The code would not consider any drag that did not complete the "peek" distance (the distance the panel opens when you press and hold on the status bar; on tablets this is statusbarheight + closehandleheight, and on phones it's headerheight + closehandleheight) as a candidate for a fling, and set that drag's effective velocity to 0. This CL just removes that check. Now a fling must meet the minimum linear velocity and minimum Y distance thresholds (100dp/sec and 20dp, respectively) to change the position of the panel (closed->open or open->closed). Bug: 7390976 Change-Id: Ia0c2450f9fdf3f27b890aab240a155dad1ab052f
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions