decord/source/modules/animations/native/DeprecatedLayoutAnimation.tsx

59 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 5159
// Function ID: 44940
2026-07-20 16:05:17 +00:00
// Name: DeprecatedLayoutAnimation
2026-07-22 07:54:56 +00:00
// Dependencies: [0, 0, 0, 0]
2026-07-20 16:05:17 +00:00
// Exports: DeprecatedLayoutAnimationKeyboard
2026-07-22 07:54:56 +00:00
// Module 5159 (DeprecatedLayoutAnimation)
import __exportStarResult1 from "__exportStarResult1";
import closure_4 from "__exportStarResult1";
2026-07-20 16:05:17 +00:00
import obj from "module_150";
import obj from "module_150";
2026-07-22 07:54:56 +00:00
import __exportStarResult1 from "__exportStarResult1";
2026-07-20 16:05:17 +00:00
let LayoutAnimation;
class DeprecatedLayoutAnimation {
constructor(arg0) {
useReducedMotion = importDefault.useReducedMotion;
if (!useReducedMotion) {
tmp = require;
tmp2 = dependencyMap;
num = 2;
2026-07-22 07:54:56 +00:00
obj = require("__exportStarResult1");
2026-07-20 16:05:17 +00:00
useReducedMotion = obj.isAndroid();
}
if (!useReducedMotion) {
tmp3 = null;
if (null != global) {
tmp6 = LayoutAnimation;
configureNextResult = LayoutAnimation.configureNext(global);
} else {
tmp4 = LayoutAnimation;
easeInEaseOutResult = LayoutAnimation.easeInEaseOut();
}
}
return;
}
}
2026-07-22 07:54:56 +00:00
({ Keyboard: closure_2, LayoutAnimation } = __exportStarResult1);
const result = __exportStarResult1.fileFinishedImporting("modules/animations/native/DeprecatedLayoutAnimation.tsx");
2026-07-20 16:05:17 +00:00
export const CONFIG_GUILD_FOLDER_OPACITY = obj;
export const CONFIG_GUILD_FOLDER_SCALEXY = obj;
export { DeprecatedLayoutAnimation };
export const DeprecatedLayoutAnimationKeyboard = function DeprecatedLayoutAnimationKeyboard(keyboardDuration) {
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
if (flag) {
let obj = require(dependencyMap[2]);
if (!obj.isAndroid()) {
obj = { duration: keyboardDuration };
return closure_2.scheduleLayoutAnimation(obj);
}
}
obj = { duration: keyboardDuration, update: obj1 };
DeprecatedLayoutAnimation(obj);
};