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
76
Things Maybe You Don't Know as a Newer Developer
dlew
1
92
Maintaining Software Correctness
dlew
4
900
Grokking Coroutines (MinneBar)
dlew
5
560
ClimateChangeTech.pdf
dlew
0
100
What Tech Can Do About Climate Change
dlew
0
550
Grokking Coroutines
dlew
5
1.1k
Automated Tests Aren't Enough
dlew
0
460
The Importance of Developer Communities
dlew
0
93
Other Decks in Programming
See All in Programming
Haze - Real time background blurring
chrisbanes
1
510
Jakarta EE meets AI
ivargrimstad
0
240
命名をリントする
chiroruxx
1
390
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
Beyond ORM
77web
3
380
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
270
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
200
Go の GC の不得意な部分を克服したい
taiyow
2
770
Symfony Mapper Component
soyuka
2
730
Featured
See All Featured
Building Your Own Lightsaber
phodgson
103
6.1k
Designing for humans not robots
tammielis
250
25k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
It's Worth the Effort
3n
183
28k
Designing for Performance
lara
604
68k
The Language of Interfaces
destraynor
154
24k
How GitHub (no longer) Works
holman
311
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
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