Merge "Fix swipe gesture cosine calculation. Bug: 4124987" into honeycomb-mr2