decord/alpha/source/modules/keyboard/native/AnimatedKeyboardExperiment.tsx

26 lines
1,012 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 10334
// Function ID: 10335
// Name: AnimatedKeyboardExperiment
2026-10-09 10:00:15 +00:00
// Dependencies: [1453, 1382, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAnimatedAndroidKeyboard
2026-10-09 10:00:15 +00:00
// Module 10334 (AnimatedKeyboardExperiment)
import PlatformUtils from "PlatformUtils" /* 1382 */;
import ApexExperiment from "ApexExperiment" /* 1453 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
let obj2;
let obj = { name: "2025-08-animated-keyboard-android", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
2026-07-20 16:05:17 +00:00
const enabled = apexExperiment.getConfig({ location: "isAnimatedKeyboardEnabled" }).enabled;
const result = size.fileFinishedImporting("modules/keyboard/native/AnimatedKeyboardExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const AnimatedKeyboardExperiment = apexExperiment;
export const isAnimatedAndroidKeyboard = function isAnimatedAndroidKeyboard() {
2026-10-03 08:58:59 +00:00
const obj = PlatformUtils;
const tmp = obj.isAndroid() && enabled;
return tmp;
2026-07-20 16:05:17 +00:00
};