《Pro Android Graphics》讀書筆記之第四節
Android Procedural Animation: : XML, Concepts and Optimization
Procedural Animation Concepts: Tweens and Interpolators
Procedural Animation Data Values: Ranges and Pivot Point
範圍和中心點
Procedural Animation Transforms: Rotate, Scale, Translate
scale:One of them involves size
rotation:involves orientation (which direction that something is facing)
translation:involves movement
Procedural Animation Compositing: Alpha Blending
Procedural Animation Timing: Using Duration and Offsets
Procedural Animation Loops: RepeatCount and RepeatMode
repeatCount interger(loop forever use infinite(-1))
RepeatMode:restart (1)
reverse (2)
The <set> Tag: Using XML to Group Procedural Animation
android.view.animation
rule of thumb is to apply your transformational parameters locally
Procedural Animation vs. Frame Animation: The Trade-Off
Frame Animation
memory intensive(需要更多記憶體):Displaying the image from memory onto the View is fairly straightforward and does not require any complex calculations, so all processing involves moving each frame’s image asset from memory over to display screen.
Procedural animation
tends to be more processing intensive(需要更多計算)
Creating a Procedural Animation Definition Using XML
Animation pagAni = AnimationUtils.loadAnimation(this, R.anim.pag_anim);
(view)pag.startAnimation(pagAni);
Using Set to Create a More Complex Procedural Animation
Rotation Transformation: Going a Bit Too Far with FX
Tweaking Transform Values: The Ease of Adjusting XML
相關文章
- 《Pro Android Graphics》讀書筆記之第一節Android筆記
- 《Pro Android Graphics》讀書筆記之第六節Android筆記
- 《Pro Android Graphics》讀書筆記之第三節Android筆記
- 《Pro Android Graphics》讀書筆記之第五節Android筆記
- 《Pro Android Graphics》讀書筆記之第二節Android筆記
- 讀書筆記之五筆記
- 《IDA Pro權威指南》讀書筆記筆記
- JVM讀書筆記之OOMJVM筆記OOM
- 浪潮之巔讀書筆記筆記
- 星白贈書之讀書筆記(1)筆記
- 《Maven實戰》之讀書筆記Maven筆記
- 《瞬間之美》讀書筆記筆記
- 讀書筆記之MV_DM筆記
- MySQL 8.0 Reference Manual(讀書筆記90節--Replication)MySql筆記
- JVM讀書筆記之記憶體管理JVM筆記記憶體
- 讀書筆記...筆記
- 讀書筆記筆記
- 《讀書與做人》讀書筆記筆記
- 《數學之美》讀書筆記&思考筆記
- 深度學習讀書筆記之RBM深度學習筆記
- 《sed & awk》讀書筆記之 awk 篇筆記
- MySQL 8.0 Reference Manual(讀書筆記64節--InnoDBTransaction Model)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記65節--InnoDBLocks Set)MySql筆記BloC
- MySQL 8.0 Reference Manual(讀書筆記68節--Deadlocks)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記91節--Replication(2))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記92節--Replication(3))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記93節--Semisynchronous Replication)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記94節--Replication(5))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記45節--Optimization Overview)MySql筆記View
- Cucumber讀書筆記筆記
- 散文讀書筆記筆記
- HTTP 讀書筆記HTTP筆記
- CoreJava讀書筆記-------Java筆記
- flask讀書筆記Flask筆記
- Vue讀書筆記Vue筆記
- MONGODB 讀書筆記MongoDB筆記
- Qt讀書筆記QT筆記
- Node讀書筆記筆記