Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,045 Members 38,298 Now Online
XDA Developers Android and Mobile Development Forum

System animation XML

Tip us?
 
kiddyfurby
Old
(Last edited by kiddyfurby; 8th August 2009 at 06:16 PM.)
#1  
Member - OP
Thanks Meter 0
Posts: 54
Join Date: Jan 2009
Location: Hong Kong
Default System animation XML

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?
 
ccyrowski
Old
#2  
Senior Member
Thanks Meter 0
Posts: 1,047
Join Date: May 2009
Location: Lansing, MI
Nope. No one has ever look at them

Just kidding. You have to open those with a hex editor.
ROM: JACMyTouchSkiv2.5.2
Recovery: Cyanogen (The Sage) 1.3.1
SPL: Special Haykuro
email me at ccyrowski@gmail.com
or follow me on twitter

if you feel so inclined you can donate here.
 
Daneshm90
Old
#3  
Daneshm90's Avatar
Recognized Developer
Thanks Meter 636
Posts: 3,309
Join Date: 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
 
xidominicanoix
Old
(Last edited by xidominicanoix; 8th August 2009 at 10:10 PM.)
#4  
xidominicanoix's Avatar
Senior Member
Thanks Meter 4
Posts: 1,077
Join Date: Oct 2006
Location: FL
Quote:
Originally Posted by kiddyfurby View Post
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 ..


ROM: bruce2728's CM10 KANG

Google Nexus One
ROM: CM7


Programs by JDuverge (aka ME)
Find and Pull™
Ultimate Extractor
 
kiddyfurby
Old
#5  
Member - OP
Thanks Meter 0
Posts: 54
Join Date: Jan 2009
Location: Hong Kong
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...
 
Drizzy Drake Rogers
Old
#6  
Banned
Thanks Meter 0
Posts: 1,032
Join Date: Jun 2009
Quote:
Originally Posted by kiddyfurby View Post
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"
 
<blank>
Old
#7  
Member
Thanks Meter 1
Posts: 71
Join Date: May 2009
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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more

And the Winners in the XDA Pebble Development Challenge Are…

Almost two months ago, we set out with Pebble to findthree amazing … more

MediaTek Releases Full Kernel Source for First Android One Devices

Those who might have thought that MediaTek wouldnever release working … more