FORUMS
Remove All Ads from XDA

☆☆[MOD][GUIDE] - How to build/default Screen Animation speed to .25x!!☆☆

4,014 posts
Thanks Meter: 10,597
 
By bajasur, Retired Forum Moderator on 5th February 2014, 08:29 AM
Post Reply Email Thread
18th August 2014, 05:36 AM |#21  
bajasur's Avatar
OP Retired Forum Moderator
Flag San Clemente
Thanks Meter: 10,597
 
Donate to Me
More
Quote:
Originally Posted by 1brainsurgeon

0x3EB33333 isn't compiling for me. My fingers aren't fast enough today to catch the errors.

@1brainsurgeon

Sorry it's not compiling for you. I will check that scale when I get home from work and report back. We will get it workin for you

Sent from my SM-G900T using XDA Free mobile app
The Following User Says Thank You to bajasur For This Useful Post: [ View ] Gift bajasur Ad-Free
 
 
18th August 2014, 01:36 PM |#22  
deuce_biggins's Avatar
Senior Member
Flag Detroit
Thanks Meter: 2,196
 
More
Quote:
Originally Posted by 1brainsurgeon

0x3EB33333 isn't compiling for me. My fingers aren't fast enough today to catch the errors.

Try using a different apk multi-tool to get a complete error log? The scale should be good
The Following User Says Thank You to deuce_biggins For This Useful Post: [ View ] Gift deuce_biggins Ad-Free
28th August 2014, 02:49 AM |#23  
Senior Member
Thanks Meter: 416
 
Donate to Me
More
"Thanks" for this MOD. It really make the ROMs feel very fast and responsive.
The Following User Says Thank You to scoobysnack For This Useful Post: [ View ] Gift scoobysnack Ad-Free
31st October 2014, 12:28 PM |#24  
t-ryder's Avatar
Senior Member
Thanks Meter: 581
 
More
Using the hex code calc x4.5 / x4 / x3.5 I can not compile the jar anymore. Gives me errors.
x2.5 works.

res/values/arrays

Code:
       Animation is off
Animation scale 0.25x
Animation scale 0.35x
Animation scale 0.4x
        Animation scale 0.5x
        Animation scale 1x
        Animation scale 1.5x
        Animation scale 2x
        Animation scale 5x
        Animation scale 10x
    
    
        Animation is off
Animation scale 0.25x
Animation scale 0.35x
Animation scale 0.4x
        Animation scale 0.5x
        Animation scale 1x
        Animation scale 1.5x
        Animation scale 2x
        Animation scale 5x
        Animation scale 10x
    
    
        Animation is off
Animation scale 0.25x
Animation scale 0.35x
Animation scale 0.4x
        Animation scale 0.5x
        Animation scale 1x
        Animation scale 1.5x
        Animation scale 2x
        Animation scale 5x
        Animation scale 10x
Would add the working options or would there be more smali hacking needed?
Does adding the option automatically give the function to have those speeds?


------
EDIT:
Seems to work!

I gave the arrays
Code:
    <string-array name="window_animation_scale_entries">
        <item>Animation off</item>
	<item>Animation scale .25x</item>
	<item>Animation scale .4x</item>
        <item>Animation scale .5x</item>
        <item>Animation scale .75x</item>
	<item>Animation scale 1x</item>
        <item>Animation scale 1.5x</item>
        <item>Animation scale 2x</item>
        <item>Animation scale 5x</item>
        <item>Animation scale 10x</item>
    </string-array>
    <string-array name="window_animation_scale_values">
        <item>0</item>
	<item>.25</item>
	<item>.4</item>
        <item>.5</item>
	<item>.75</item>
        <item>1</item>
        <item>1.5</item>
        <item>2</item>
        <item>5</item>
        <item>10</item>
    </string-array>
    <string-array name="transition_animation_scale_entries">
        <item>Animation off</item>
	<item>Animation scale .25x</item>
	<item>Animation scale .4x</item>
        <item>Animation scale .5x</item>
        <item>Animation scale .75x</item>
	<item>Animation scale 1x</item>
        <item>Animation scale 1.5x</item>
        <item>Animation scale 2x</item>
        <item>Animation scale 5x</item>
        <item>Animation scale 10x</item>
    </string-array>
    <string-array name="transition_animation_scale_values">
        <item>0</item>
	<item>.25</item>
	<item>.4</item>
        <item>.5</item>
	<item>.75</item>
        <item>1</item>
        <item>1.5</item>
        <item>2</item>
        <item>5</item>
        <item>10</item>
    </string-array>
    <string-array name="animator_duration_scale_entries">
        <item>Animation off</item>
	<item>Animation scale .25x</item>
	<item>Animation scale .4x</item>
        <item>Animation scale .5x</item>
        <item>Animation scale .75x</item>
	<item>Animation scale 1x</item>
        <item>Animation scale 1.5x</item>
        <item>Animation scale 2x</item>
        <item>Animation scale 5x</item>
        <item>Animation scale 10x</item>
    </string-array>
    <string-array name="animator_duration_scale_values">
        <item>0</item>
	<item>.25</item>
	<item>.4</item>
        <item>.5</item>
	<item>.75</item>
        <item>1</item>
        <item>1.5</item>
        <item>2</item>
        <item>5</item>
        <item>10</item>
    </string-array>
and it seems to be functional.
I decompiled the MIUI settings apk using burgerZ jBART.

Thanks again!
10th November 2015, 12:28 PM |#25  
lucky_sidhu's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 1,387
 
More
Works great. Thanks.

WIll add this feature in my new build
30th October 2016, 11:03 AM |#26  
Senior Member
Thanks Meter: 6
 
More
Hello, I can't find WindowManagerService.smali on marshmallow services.jar. Could anyone help me?
6th January 2017, 01:56 PM |#27  
nicesoni_ash's Avatar
Senior Member
Flag ....
Thanks Meter: 10,527
 
Donate to Me
More
Thanks for the guide although it's pretty old compare to Nougat, so I am trying to find the values in Nougat's settings.apk and there is nothing related to these values in /res/values/arrays.xml. There is a reference to these values name in Development_prfe.xml in res/xml folder but these values aren't anywhere. I searched all xml files. Even manually adding them to the said file, it didn't make it work. Build was done but the values were default.

Here is the commit.
https://github.com/ashoksoni/Resurre...6683a158f70f25
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes