OSDN Git Service

Removing unnecessary new object creation in dispatchDraw
authorSunny Goyal <sunnygoyal@google.com>
Sat, 23 Jan 2016 22:40:35 +0000 (14:40 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Sat, 23 Jan 2016 22:42:25 +0000 (14:42 -0800)
commit8bf6f311e8a6b711e576d2a48d174d508d85f714
tree32639e6bcf331c16e069d366a44251c69c1d3319
parenta5cfbe807503bf4c2d5853f700191fef34fb3713
Removing unnecessary new object creation in dispatchDraw

dispatchDraw was calling getVisiblePages which in turn calls
getDescendantCoordRelativeToParent and created multiple new abjects

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