[Q] Rotation Animation - Android Software Development

Hi guys..is it possible to get animation rotation on our android like the iphone rotation animation?
Sent from my Desire HD using XDA App

If I am not mistaken, the browser on the Galaxy Tab does this.

possible i guess, its all about the script. which script i dont know im not real developer hahaha..
but i have seen someone in this forum just make a 'tweak' that can make fly and fold animation, maybe we can ask him to make one for rotation animation. hehe...
oh i mean here:
http://forum.xda-developers.com/showthread.php?t=852279

all the system animations are located in in /system/framework/framework-res.apk inside /res/anim/ folder in this file. There is no animation called screen_rotation.xml or something near You can edit those animations after decompiling the framework-res.apk, and (syntax help : http://developer.android.com/guide/topics/resources/animation-resource.html )

Oh now this would be the last piece to add to my Galaxy S, finally not having any reason to be jealous of the iPhone... PLEASE say this is possible, I've no idea how this would be done though, or I'd try myself.

Actually, Android had a similar animation in 1.5/6, but it was cut out because of some changes in Eclair. I'm sure that it's possible to change this animation to make it look more iphone-like.

header2k said:
Actually, Android had a similar animation in 1.5/6, but it was cut out because of some changes in Eclair. I'm sure that it's possible to change this animation to make it look more iphone-like.
Click to expand...
Click to collapse
Surely if it was previously there then some of the devs would be able to work on bringing it back in 2.2+?

Related

iPhone-like window animation

Who can make iPhone style animation when running some app? (i mean when window maximizing at start)
iTask is the only thing that does that as far as I know
iTask is just flash animation
how else would you expect to get the animation? if the native app does not include it then you would need an outside flash based program to simulate it. the iphone OS was designed to accommodate this. windows mobile was not.
HKEY_LOCAL_MACHINE/System/GWE/Animate - Change to 1... after soft reset you will have really "nice" windows animations
Enjoy
ZaxXx said:
HKEY_LOCAL_MACHINE/System/GWE/Animate - Change to 1... after soft reset you will have really "nice" windows animations
Enjoy
Click to expand...
Click to collapse
I disabled those awful animations
>>how else would you expect to get the animation? if the native app does not include it then you would need an outside flash based program to simulate it. the iphone OS was designed to accommodate this. windows mobile was not.
iPhone OS called Mac OS X 1.0 Mobile
You can hack app start and play animation, before it will show up
Use iFonz!!!!!
id like this too. the iphone is so smooth. I was messing one yesterday.
tom108 said:
how else would you expect to get the animation? if the native app does not include it then you would need an outside flash based program to simulate it. the iphone OS was designed to accommodate this. windows mobile was not.
Click to expand...
Click to collapse
I disagree. If you have seen Slither's lates cube it is all written in native language. No flash. And it has phenominal annimation. This can be done but it would take someone like him to build it.
Curious G
ZaxXx said:
HKEY_LOCAL_MACHINE/System/GWE/Animate - Change to 1... after soft reset you will have really "nice" windows animations
Enjoy
Click to expand...
Click to collapse
Just tried it... But the animation is applied only to the new windows or for which of them are going to be closed...
For example in start menu you won't see any animation....
Use pointui
There is no (easy) way to enable system-wide window animation like on the iPhone because WinMo doesn't allow us to capture an image of an offscreen window (which you need in order to have that window animate into view). It is up the individual developers to implement functionality like this.
it would probably require someone aletering the simple code that allows us that cheesy box line animation and replace it with a code that captures the screen and alters the image before launching the desired program. since that window animation launches, we have to find where that code resides and alter it, im sure it can be done
Michaelr219 said:
it would probably require someone aletering the simple code that allows us that cheesy box line animation and replace it with a code that captures the screen and alters the image before launching the desired program. since that window animation launches, we have to find where that code resides and alter it, im sure it can be done
Click to expand...
Click to collapse
even if the oem animation was a solid white box instead of the white outline it would be better.
Draiko said:
Use pointui
Click to expand...
Click to collapse
PointUI is a great idea. However, what makes it unfessable is its footprint and memory consumption and memory drain. That makes it almost impossible to use it with other programs at the same time.
Ok, after thinking about it for a bit, it would be very easy for developers to make there apps do an iPhone-like transition on being activated. An example is the default TouchFlo Cube. It's not iPhone like but it's a transition. As for doing such a thing on being minimized, it can be done, but there is a drawback: the background will always be black. In other words, your app can shrink out of view but you won't be able to see the app behind it until it gets activate. You can see this when you close S2P and the TouchFlo cube.
Again, this is something that can only be done on a per-app basis, by the actual app developer. I think you could theoretically accomplish this system-wide using window subclassing but that would be SUPER complicated.

Galaxy S bounce-back animation

The Galaxy S has that "bounce-back" animation when you scroll through a list and reach the end of it, similar to the iPhone.
I know HTC has this, when you're already (!) at the end of the list and start dragging, but that's not the same thing.
The Galaxy S/iPhone type animation makes things appear much smoother.
Does anyone know of any way to get this animation on the Desire? What are the files that need to be modified for this?
I wouldnt mind this

CRT-Screen off pixelated fix-test

We have had it with this dammned bug (black squares on CRT white animation, pixelated as karendar says), lets hope we get it right this time uh!
update: seems the only way to break the CRT is taking a screenshot from the samsung included screencapture and music app...that is holding down the home button and pressing power at the same time..... this is for the pixelated effect.
I also own a Galaxy tab, which doesnt have the smooth animation on CRT effect either, this feels like there is something on framework.jar and even on the surfaceflinger.cpp (where the animation is stored) that differs from the one HTC uses.....I dont know any coding of drivers, neither how to edit cpp files, I do know however how to decompile jar files, took a look inside and at first glance everything seems the same.
I feel the CRT effect is as good as is going to get, until someone comes along and breaks the surfaceflinger apart and compare it to the HTC one. There are more important things to do and fix regarding the S2 than the CRT off animation (which ain that bad withouth pixels to begin with), so, if anyone is willing to invest time on cpp coding, pm me and Ill help it whatever way I can.
Now, CRT pixelated effect is indeed fixed with blur set to slow, which means the surfaceflinger is unable to handle the overload when set to fast which then leads me to the following:
Have two theories about the screencapture pixelating the CRT animation
1.- the white flash that it uses to take the screenshot corrupts the animation or overloads surfaceflinger.
2.- the screen is resized while taking the screenshot wich again corrupts the animation or overloads surfaceflinger.
Thanks everyone who tested it, and I already see it is being implemented on ROMS and themes, which honestly makes me happy to have been on any help
Continue on with experimenting then.......
so straight to the point..... based on this
false
did the following (dont have to be a genius to do it)
decompiling framework-res.apk, navigate to res/values/bools.xml
change the following[/B]
from
false
to
true
and of course, enable CRT effect
from
true
to
false
then compile back
Have been testing it on my device and have not had the bug ever since......Obviously this needs more testers than myself (lol), reason for this thread.....
I am providing an example for VillainRom v2.1, CWR flashable zip, with only the two mods explained above, nothing else, but feel free to mod the framework on you desired rom
and if working....pls give credits....!
btw, should work on CM7 too.(edit, just saw CM7 already has this config and bug still exists there, but i also know surfaceflinger is not optimized yet)
Needs feedback working or not!
Mods, I think this is the wrong subforum right?, sorry, pls change it to the right one....(I think it is
Galaxy S II Original Android Development)
@pulser_gt, if working feel free to add it to VRtweaks
mirror
http://www.multiupload.com/P6TLZBYECR
doctorcete said:
and of course, enable CRT effect
from
<bool name="config_animateScreenLights">false</bool>
to
<bool name="config_animateScreenLights">false</bool>
Click to expand...
Click to collapse
i think you meant true on that first bit
looks promising, though!
edit: oh so it's true to false lol i couldn't remember
Ok, I tried this on Villain Rom 2.1 lite, a very good try by doctorcete, but somehow this fix didn't work for me
kryptoner said:
Ok, I tried this on Villain Rom 2.1 lite, a very good try by doctorcete, but somehow this fix didn't work for me
Click to expand...
Click to collapse
what happens, u have the squared bugs on CRT?....I always had the bug when long pressing power button, now i dont have it, been using it, and havent bumped into it....is lite version odexed aswell?, maybe that has to do with it too?
Does this fix the sudden brightness changes bug thing?
eiraku said:
Does this fix the sudden brightness changes bug thing?
Click to expand...
Click to collapse
I dont know about that....maybe?
but it is intended to prevent the squared display that sometimes happens on CRT screen off effect.
doctorcete said:
what happens, u have the squared bugs on CRT?....I always had the bug when long pressing power button, now i dont have it, been using it, and havent bumped into it....is lite version odexed aswell?, maybe that has to do with it too?
Click to expand...
Click to collapse
Yeah, I still see the screen turning off weirdly, I mean its not like what we saw on nexus s... I think villain 2.1 lite is same as original rom, only apps are removed... but I'm not sure, because it was not mentioned in the rom thread and it was themed
do u mean the smoothness of the animation, or u see the black squares inside the white fliping crt animation?.......if so, how are u reproducing it?
Give it a try. How does the animation work is it like the boot animation?
Greetz Nebucatnetzer
doctorcete said:
do u mean the smoothness of the animation, or u see the black squares inside the white fliping crt animation?.......if so, how are u reproducing it?
Click to expand...
Click to collapse
I mean the smoothness, its still not very smooth, maybe its my view, we need more testers... this should be in original development...
ah ok....its intended to fix those ugly black squares, about the smoothness, if this is fixed, that is the next step.....
(u made me wipe the phone just to retest, lol)
How is this any different to the CRT animation off thats been around for some time, I never noticed it bug out on me.. can you guys put up a video on how this "fix" looks like?
it aint different.....for instance, if long pressing power button, then presseng back, and turn off phone (just hit the power button, standby), The white flipping image becomes distorted, with black squares, this aims to prevent those black squares, as I said, same animation, just not distorted...
EarlZ said:
How is this any different to the CRT animation off thats been around for some time, I never noticed it bug out on me.. can you guys put up a video on how this "fix" looks like?
Click to expand...
Click to collapse
he already said its for testing.. just try it and post whether you feel any improvements or not... If this post gets enough positive responses, then it can be a major fix... so please try
It works! In my case, the bug appears when I activate the alarm. Now doesn't, thank you!
Finally, two feedbacks...thanks....im glad to be of any help
Hey Doc!
Does this use the odex framework? I ask because i had the extended power menu mod posted in the Villian thread installed which deodexed the browser before this, well i flashed through cwm and wiped cache and now i get a few random force closes and when i try to enter the power menu i get booted to the boot screen.
Gonna try again now on a fresh install.
Not sure if im being dumb or or it was to do with odex.
I will say the crt seems to be working a treat from what ive seen lol
No more black squares on Cog 1.15 great job !
Thx m8
kryptoner said:
he already said its for testing.. just try it and post whether you feel any improvements or not... If this post gets enough positive responses, then it can be a major fix... so please try
Click to expand...
Click to collapse
Im doing a battery life testing right now and rebooting the phone is not part of the test, sorry I cant be of much help yet.
On cognition 1.15, this fixed it for me when opening the power menu!

AOD>> more than Customization

Hi friends
I've searched a lot to change AOD clock and notifications Font... BUT no luck!!!:crying: and I really need that.
Any help out there?!:good:
decompiling AOD now will get back to you to see whats what
OK so if you want to make changes you will have to decompile it most of the BMPs will not open on windows have you checked out AOD themes here is a picture of Bobcats paid theme AOD
sorry for the quality had to use the note 4 to take the picture. Its a little hard to get a screen shot of the AOD screen lol nevermind about the picture it will only allow me to upload a pic of 256k and this one is 3.3MBs
exactly the same thing that I want. and I was wandering how can I decompile !?
msa_6292 said:
exactly the same thing that I want. and I was wandering how can I decompile !?
Click to expand...
Click to collapse
I use tickle my android its the best search for it on here
Sent from my SM-G935W8 using Tapatalk
I found tickle my android.... It's so complicated:silly:
Is there an easier way?

visual mods

Hi all,
In the past a few mods have caught my eye, over time they've slowed stopped being available on all devices, mostly because of changes made to android.
Here's a list of the ones I liked most.
1. Screen off animation, the CRT on /off it just looked amazing.
2. List view animations, not completely gone but not exactly something you can just flash.
3. Halo, I know this was paranoid androids, but it never got ported over quite as much as I thought it would..
My question is are these available anywhere ? Any idea how to flash them ? Or even if anyone misses them like I do?
I know that CRT and list view can be obtained by flashing two Xposed modules called
Screen off animation and xui mod.
Halo I've never seen outside of PA.
But these mods used to be flash able as standalone without Xposed.
Personally I'd like to avoid Xposed as it breaks so much and I don't like it to be honest, although its a great bit of software.
Any ideas ?
whaaat? jelly scoll aint enuf?
ElwOOd_CbGp said:
whaaat? jelly scoll aint enuf?
Click to expand...
Click to collapse
Lool i don't have jelle mate
There was an Xposed module that had halo working on marshmallow.
dladz said:
Hi all,
In the past a few mods have caught my eye, over time they've slowed stopped being available on all devices, mostly because of changes made to android.
Here's a list of the ones I liked most.
1. Screen off animation, the CRT on /off it just looked amazing.
2. List view animations, not completely gone but not exactly something you can just flash.
3. Halo, I know this was paranoid androids, but it never got ported over quite as much as I thought it would..
My question is are these available anywhere ? Any idea how to flash them ? Or even if anyone misses them like I do?
I know that CRT and list view can be obtained by flashing two Xposed modules called
Screen off animation and xui mod.
Halo I've never seen outside of PA.
But these mods used to be flash able as standalone without Xposed.
Personally I'd like to avoid Xposed as it breaks so much and I don't like it to be honest, although its a great bit of software.
Any ideas ?
Click to expand...
Click to collapse
You can use Screen Off and Lock ( https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=en ) to achieve your desired screen lock effect. I too LOVE the CRT T.V. off look that Moto put on their phones some time ago. I use this app all the time in conjunction with Nova Launcher's ( https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en ) double tap action just to make everything super fluid. As for the list animations, I am not too sure what you mean but they may be found in Nova settings too. I know it has an option for something like that. ¯\_(ツ)_/¯ As far as the Halo type things you may want there is an app called Unique Controls and does not require root. Hope this helps!
Unique Controls: https://play.google.com/store/apps/details?id=com.ivianuu.halo
ADGill0926 said:
You can use Screen Off and Lock ( https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=en ) to achieve your desired screen lock effect. I too LOVE the CRT T.V. off look that Moto put on their phones some time ago. I use this app all the time in conjunction with Nova Launcher's ( https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en ) double tap action just to make everything super fluid. As for the list animations, I am not too sure what you mean but they may be found in Nova settings too. I know it has an option for something like that. ¯\_(ツ)_/¯ As far as the Halo type things you may want there is an app called Unique Controls and does not require root. Hope this helps!
Unique Controls: https://play.google.com/store/apps/details?id=com.ivianuu.halo
Click to expand...
Click to collapse
This is one of my old HTC devices the list view animations can be seen here as can the screen off animation,. The CRT animation was changed from not existing to CRT to fade which it is now, the Nexus devices had it originally then vanilla type phones like Moto followed suit.
I've seen the application and it's not quite the same, although it wasn't last I tried it, I'll give it a whirl and see how it is.
Same with unique contrails, sorry I probably should have mentioned this too, they aren't quite the same as the originals.
Appreciate you taking the time to answer though, thanks.
From what i remember it was something to do with surface flinger but I remember that that has now changed although could be wrong (screen off animation that is)
Any other ideas?
Ok so that app has come a long way, by all accounts it doesn't allow for the actual power button to show the screen animation and fingerprint didn't work, probably a way to map a key to it.
Will check it out tomorrow
Cheers
Ok so tried a few of them apps and none of them allow you to use fingerprint thereafter
xxBrun0xx said:
There was an Xposed module that had halo working on marshmallow.
Click to expand...
Click to collapse
Yep there was, however back in the day it wasn't required.

Categories

Resources