commit | ccab4f5c8320dfb8f820ca413bb11ec0153584dd | [log] [tgz] |
---|---|---|
author | Likai Ding <likaid@codeaurora.org> | Wed Jul 13 09:25:51 2016 +0800 |
committer | Likai Ding <likaid@codeaurora.org> | Wed Jul 13 09:25:51 2016 +0800 |
tree | bc879ff842f31b0d3abfe79d7148cb46473cd76a | |
parent | b7f0f7f067f5979e7e7e52aa9836ed3dbcca475c [diff] |
Gallery: fix white screen after rapid scrolling If edge is reached when velocity is high, distance may be a large negative value, causing very long animation duration. Fix it by checking absolute value. Change-Id: I71039a9ddd76f25c75582da4098cb091148cafba CRs-Fixed: 1022927