Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
I Can Animate and So Can You (Short)
Search
Daniel Lew
January 07, 2014
Programming
0
120
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
Share
More Decks by Daniel Lew
See All by Daniel Lew
Finding Meaningful, Mission-Driven Work
dlew
0
100
Things Maybe You Don't Know as a Newer Developer
dlew
1
99
Maintaining Software Correctness
dlew
4
940
Grokking Coroutines (MinneBar)
dlew
5
580
ClimateChangeTech.pdf
dlew
0
110
What Tech Can Do About Climate Change
dlew
0
580
Grokking Coroutines
dlew
5
1.2k
Automated Tests Aren't Enough
dlew
0
480
The Importance of Developer Communities
dlew
0
100
Other Decks in Programming
See All in Programming
Google Cloudとo11yで実現するアプリケーション開発者主体のDB改善
nnaka2992
1
130
オレを救った Cline を紹介する
codehex
15
14k
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
160
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
5
1.2k
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
9
2.6k
やっと腹落ち「スプリント毎に動くモノをリリースする」〜ゼロから始めるメガバンクグループのアジャイル実践〜
sasakendayo
0
180
The Price of Micro Frontends… and Your Alternatives @bastacon 2025 in Frankfurt
manfredsteyer
PRO
0
100
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.1k
コードを読んで理解するko build
bells17
1
120
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
430
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
160
推しメソッドsource_locationのしくみを探る - はじめてRubyのコードを読んでみた
nobu09
2
360
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
67
11k
Making Projects Easy
brettharned
116
6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Docker and Python
trallard
44
3.3k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Building Your Own Lightsaber
phodgson
104
6.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
390
Adopting Sorbet at Scale
ufuk
75
9.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Transcript
I Can Animate and So Can You Daniel Lew, Jan.
7 2014
Typical Animation Demo
What Can Be Done
Revelations
Revelation #1 Every animation is unique
Revelation #2 Animation code is not pretty
Revelation #3 Animations first Animate
Revelation #4 Animate for Ice Cream Sandwich+
Building Animations • Figure out what attributes to animate •
Design View hierarchy • Measure attribute start/ end values • Setup and run animators
Performance • Choppy animation == painful • Performance cannot be
an afterthought
Profile GPU Rendering • Blue - Draw • Red -
Process • Orange - Execute • Green line - your goal
Show GPU Overdraw • Shows overdrawn pixels • Best to
worst: nothing, blue, green, red, dark red • Some overdraw necessary, but reduce if possible
Profilers • TraceView • Systrace • OpenGL Traces
Profile Warning • Can be inaccurate • One profiling tool
at a time, please • Profile multiple devices
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
Thank You! • Movies App Source: http://goo.gl/WiRTlQ • Blog: http://daniel-codes.blogspot.com/
• @danlew42, +DanielLew