Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

System animation XML

OP kiddyfurby

8th August 2009, 07:11 PM   |  #1  
OP Member
Hong Kong
Thanks Meter: 0
 
54 posts
Join Date:Joined: Jan 2009
I looked into the file /system/framework/framework-res.apk
inside, there are lots of xml under /res/anim,
the name suggest these xml to be animation definitions:
slide_in_left.xml
slide_in_right.xml
task_open_enter.xml
...

Have anyone looked at these yet? those files are not plain xml file, seems to be encoded / compiled, in a way i don't understand
maybe we can replace them with corresponding file from H builds to bring back to rotation animation?
Last edited by kiddyfurby; 8th August 2009 at 07:16 PM.
8th August 2009, 09:15 PM   |  #2  
Senior Member
Flag Lansing, MI
Thanks Meter: 0
 
1,047 posts
Join Date:Joined: May 2009
More
Nope. No one has ever look at them

Just kidding. You have to open those with a hex editor.
8th August 2009, 09:27 PM   |  #3  
Daneshm90's Avatar
Recognized Developer
Thanks Meter: 637
 
3,309 posts
Join Date:Joined: Jun 2009
Hmm theres this other thread about how we dont have those rotation animations unlike the previous builds..wonder if u replace these files with those from a build tht does support tht rotation animation...wud it work
8th August 2009, 11:07 PM   |  #4  
xidominicanoix's Avatar
Senior Member
Flag FL
Thanks Meter: 4
 
1,077 posts
Join Date:Joined: Oct 2006
More
Quote:
Originally Posted by kiddyfurby

I looked into the file /system/framework/framework-res.apk
inside, there are lots of xml under /res/anim,
the name suggest these xml to be animation definitions:
slide_in_left.xml
slide_in_right.xml
task_open_enter.xml
...

Have anyone looked at these yet? those files are not plain xml file, seems to be encoded / compiled, in a way i don't understand
maybe we can replace them with corresponding file from H builds to bring back to rotation animation?

you can use AXMLPrinter to convert it to readable xml ... but idk how to convert back to binary

EDIT: heres a thread on converting back to binary XML ..
Last edited by xidominicanoix; 8th August 2009 at 11:10 PM.
9th August 2009, 05:07 PM   |  #5  
OP Member
Hong Kong
Thanks Meter: 0
 
54 posts
Join Date:Joined: Jan 2009
thanks for the information, will take a look when i have time
i will try blindly replace file in an emulator to see how it goes...
9th August 2009, 07:20 PM   |  #6  
Banned
Thanks Meter: 0
 
1,032 posts
Join Date:Joined: Jun 2009
Quote:
Originally Posted by kiddyfurby

I looked into the file /system/framework/framework-res.apk
inside, there are lots of xml under /res/anim,
the name suggest these xml to be animation definitions:
slide_in_left.xml
slide_in_right.xml
task_open_enter.xml
...

Have anyone looked at these yet? those files are not plain xml file, seems to be encoded / compiled, in a way i don't understand
maybe we can replace them with corresponding file from H builds to bring back to rotation animation?

I have switched animations out but still by switching them out you will only get the cupcake slide screen animation

I have looked for haykuro's fancy rotation but I cannot find it

"If you find it please let me know"
oh and here is what I tested
system/framework/framework.apk/anim/all 45 files"but still nothing"
10th August 2009, 05:48 AM   |  #7  
Member
Thanks Meter: 2
 
73 posts
Join Date:Joined: May 2009
More
here's something to chew on, maybe...

there's a logcat difference between the two animations

with fancy rotation:
I/WindowManager( 88): Setting rotation to 1, animFlags=128

regular fade:
I/WindowManager( 88): Setting rotation to 1, animFlags=0

can anyone make any sense of the animFlags value and what that may correspond to? makes me think that maybe the animations are simply included in the system and just are hidden and not enabled. and spare parts probably just allows us to change a few more settings in the system, not installing or adding any transitions itself.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes