-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HomeHandleAnim: optimize and add anim custom settings
* Fix Blur not working as experted * Add Animation customize feature * support disable movement for home handle but keep anim * a little power & performance optimize * Workaround home handle can not hide when window hide Signed-off-by: Art_Chen <[email protected]>
- Loading branch information
Showing
13 changed files
with
472 additions
and
106 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
app/src/main/java/moe/chenxy/miuiextra/hooker/entity/framework/StartingWindowOptimize.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package moe.chenxy.miuiextra.hooker.entity.framework | ||
|
||
import android.util.Log | ||
import com.highcapable.yukihookapi.hook.entity.YukiBaseHooker | ||
import com.highcapable.yukihookapi.hook.factory.method | ||
|
||
object StartingWindowOptimize :YukiBaseHooker() { | ||
override fun onHook() { | ||
"com.android.server.wm.ActivityRecord".toClass().method { | ||
name = "getStartingWindowType" | ||
paramCount = 7 | ||
}.hook { | ||
after { | ||
Log.i("Art_Chen", "Starting Window Type ${this.result}") | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.