FORUMS
Remove All Ads from XDA

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

3,615 posts
Thanks Meter: 10,044
 
Post Reply Email Thread
18th August 2014, 04:36 AM |#21  
bajasur's Avatar
OP Forum Moderator
Flag San Clemente
Thanks Meter: 10,044
 
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, 12:36 PM |#22  
deuce_biggins's Avatar
Senior Member
Flag Detroit
Thanks Meter: 2,185
 
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, 01:49 AM |#23  
Senior Member
Thanks Meter: 379
 
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, 11:28 AM |#24  
t-ryder's Avatar
Senior Member
Thanks Meter: 408
 
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, 11:28 AM |#25  
lucky_sidhu's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 1,376
 
More
Works great. Thanks.

WIll add this feature in my new build
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