Upgrade to Pro — share decks privately, control downloads, hide ads and more …

I Can Animate and So Can You (Short)

Daniel Lew
January 07, 2014

I Can Animate and So Can You (Short)

A shorter version of a talk I gave about Android animations.

Keynote version: http://goo.gl/FUm0Gc

Daniel Lew

January 07, 2014
Tweet

More Decks by Daniel Lew

Other Decks in Programming

Transcript

  1. Building Animations • Figure out what attributes to animate •

    Design View hierarchy • Measure attribute start/ end values • Setup and run animators
  2. Profile GPU Rendering • Blue - Draw • Red -

    Process • Orange - Execute • Green line - your goal
  3. Show GPU Overdraw • Shows overdrawn pixels • Best to

    worst: nothing, blue, green, red, dark red • Some overdraw necessary, but reduce if possible
  4. Profile Warning • Can be inaccurate • One profiling tool

    at a time, please • Profile multiple devices
  5. Resources • Longer Talk: http://goo.gl/ICTCAC • Android Docs: goo.gl/4aZIzM •

    DevBytes: goo.gl/QeTM9B • Chet Haase: graphics-geek.blogspot.com/ • Romain Guy: curious-creature.org • Google IO Sessions