《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
相關文章
- JVM讀書筆記之OOMJVM筆記OOM
- 《Maven實戰》之讀書筆記Maven筆記
- JVM讀書筆記之記憶體管理JVM筆記記憶體
- MySQL 8.0 Reference Manual(讀書筆記68節--Deadlocks)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記90節--Replication)MySql筆記
- 讀書筆記筆記
- 《數學之美》讀書筆記&思考筆記
- 《讀書與做人》讀書筆記筆記
- MySQL 8.0 Reference Manual(讀書筆記63節--InnoDB Locking)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記64節--InnoDBTransaction Model)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記65節--InnoDBLocks Set)MySql筆記BloC
- MySQL 8.0 Reference Manual(讀書筆記45節--Optimization Overview)MySql筆記View
- MySQL 8.0 Reference Manual(讀書筆記94節--Replication(5))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記93節--Semisynchronous Replication)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記67節--Phantom Rows)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記92節--Replication(3))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記91節--Replication(2))MySql筆記
- webpackDemo讀書筆記Web筆記
- Vue讀書筆記Vue筆記
- 散文讀書筆記筆記
- Cucumber讀書筆記筆記
- HTTP 讀書筆記HTTP筆記
- postgres 讀書筆記筆記
- 讀書筆記2筆記
- 讀書筆記3筆記
- JVM讀書筆記之java記憶體結構JVM筆記Java記憶體
- MySQL 8.0 Reference Manual(讀書筆記80節-- InnoDB Row Formats)MySql筆記ORM
- MySQL 8.0 Reference Manual(讀書筆記69節--InnoDB Startup Configuration)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記56節--Optimizing Database Structure)MySql筆記DatabaseStruct
- MySQL 8.0 Reference Manual(讀書筆記54節--Optimization and Indexes(1))MySql筆記Index
- MySQL 8.0 Reference Manual(讀書筆記55節--Optimization and Indexes(2))MySql筆記Index
- MySQL 8.0 Reference Manual(讀書筆記53節--Optimizing SQL Statements)MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記41節-- Data Types(3))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記40節-- Data Types(2))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記39節-- Data Types(1))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記57節--Optimizing for InnoDB Tables)MySql筆記
- JVM讀書筆記之垃圾收集與記憶體分配JVM筆記記憶體
- 張紹文android開發高手課讀書筆記1Android筆記
- js高程讀書筆記JS筆記