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
110
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
42
Things Maybe You Don't Know as a Newer Developer
dlew
1
88
Maintaining Software Correctness
dlew
4
720
Grokking Coroutines (MinneBar)
dlew
5
470
ClimateChangeTech.pdf
dlew
0
76
What Tech Can Do About Climate Change
dlew
0
400
Grokking Coroutines
dlew
5
950
Automated Tests Aren't Enough
dlew
0
450
The Importance of Developer Communities
dlew
0
78
Other Decks in Programming
See All in Programming
SwiftUI Performance 不要なViewの再描画と更新を抑える
bigamitiongit
1
160
Javaエンジニアのための Nodejs/Nuxt3入門
hidekatsu_izuno
0
280
Elm Form Validation
bkuhlmann
0
510
1인 개발자로 행복하게 살기 - GDG 송도 헬로월드 2024
benjaminkim
1
5.6k
ゆるい個人開発のススメ
kuroppe1819
10
950
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
Semantic search with Django and pgvector
pauloxnet
0
240
SpringBoot+MyBatisで例外が出たときどこを見るか
syukai
0
110
puregoの活用例
aethiopicuschan
0
220
ログラスを支える設計標準について / loglass-design-standards
urmot
10
2.1k
今、知っておきたい! 生成AIエージェントの世界
elith
3
340
[SF Ruby, March 2024] Rails on Wasm
palkan
0
380
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
Web Components: a chance to create the future
zenorocha
305
41k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
29
6k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Raft: Consensus for Rubyists
vanstee
132
6.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
A designer walks into a library…
pauljervisheath
199
23k
Design by the Numbers
sachag
274
18k
How to name files
jennybc
64
92k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
How to train your dragon (web standard)
notwaldorf
72
5.1k
Scaling GitHub
holman
457
140k
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