android 13 窗口动画缩放”、“过渡动画缩放”、“Animator时长缩放”,全部调整为0.5x

android 13 窗口动画缩放”、“过渡动画缩放”、“Animator时长缩放”,全部调整为0.5x

— a/android13/frameworks/base/core/res/res/values/config.xml

+++ b/android13/frameworks/base/core/res/res/values/config.xml

@@ -3970,7 +3970,7 @@

animations. Note that this is only a default and will be overridden by a

user-set value if toggled by settings so the “Transition animation scale” setting

should also be hidden if intended to be permanent. -->

1.0

0.5

true

diff --git a/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java b/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java

old mode 100644

new mode 100755

index 3fcc3e75228…8ae8d80f871

— a/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java

+++ b/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java

@@ -353,6 +353,7 @@ import com.mediatek.server.wm.WmsExt;

import com.mediatek.server.wm.WindowManagerDebugger;

/// M: MTK Power: rotation boost Mechanism

import com.mediatek.server.powerhal.PowerHalManager;

+import android.util.Log;

/** {@hide} */

public class WindowManagerService extends IWindowManager.Stub

@@ -1001,9 +1002,9 @@ public class WindowManagerService extends IWindowManager.Stub

PowerManager mPowerManager;

PowerManagerInternal mPowerManagerInternal;

private float mWindowAnimationScaleSetting = 1.0f;private float mTransitionAnimationScaleSetting = 1.0f;private float mAnimatorDurationScaleSetting = 1.0f;

private float mWindowAnimationScaleSetting = 0.5f;//1.0f; modify from 1.0f to 0.5fprivate float mTransitionAnimationScaleSetting = 0.5f;//1.0f; modify from 1.0f to 0.5fprivate float mAnimatorDurationScaleSetting = 0.5f;//1.0f; modify from 1.0f to 0.5f

private boolean mAnimationsDisabled = false;

boolean mPointerLocationEnabled = false;

@@ -1337,8 +1338,10 @@ public class WindowManagerService extends IWindowManager.Stub

}, UserHandle.ALL, suspendPackagesFilter, null, null);

// Get persisted window scale setting

mWindowAnimationScaleSetting = Settings.Global.getFloat(resolver,

Settings.Global.WINDOW_ANIMATION_SCALE, mWindowAnimationScaleSetting);

Settings.Global.WINDOW_ANIMATION_SCALE, mWindowAnimationScaleSetting);

mTransitionAnimationScaleSetting = Settings.Global.getFloat(resolver,

Settings.Global.TRANSITION_ANIMATION_SCALE,

context.getResources().getFloat(

diff --git a/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml b/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml

old mode 100644

new mode 100755

index 23de0d095ff…5cb546cab85

— a/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml

+++ b/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml

@@ -32,8 +32,8 @@

102

false

100%100%

50%

50%

true

false

diff --git a/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

old mode 100644

new mode 100755

🎯 相关推荐

电梯制动系统的运作原理及优势分析
365bet注册送钱

电梯制动系统的运作原理及优势分析

📅 08-28 👁️ 8571
联想产地在哪里?
365bet注册送钱

联想产地在哪里?

📅 08-13 👁️ 2268
韫钰名字寓意,韫钰名字的含义
足球比分365cv

韫钰名字寓意,韫钰名字的含义

📅 08-20 👁️ 7728
中华-酷宝
足球比分365cv

中华-酷宝

📅 07-15 👁️ 3652
如何让手机拍照更清晰
365bet体育在线怎么样

如何让手机拍照更清晰

📅 08-11 👁️ 532
懒猫试玩下载苹果版,IOS懒猫试玩app攻略
365bet注册送钱

懒猫试玩下载苹果版,IOS懒猫试玩app攻略

📅 09-06 👁️ 1381