Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/* Metro module 11324; source: modules/launchpad/native/LaunchPadConstants.tsx; dependencies: [27, 477, 4092, 2] */
|
||||
function _fun86452(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86452, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11510:6, offset: 0x01f9504a, size: 428 bytes, params: 8, frame: 20
|
||||
var r1;
|
||||
var r3;
|
||||
var Math;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const Dimensions = (require(27) /* metro dependency 27 */).Dimensions;
|
||||
let value = Dimensions.get('screen');
|
||||
if ((require(477) /* metro dependency 477: PlatformUtils */).isAndroid()) {
|
||||
r3 = 24;
|
||||
} else {
|
||||
if ((require(4092) /* metro dependency 4092: DeviceUtils */).isIpadOS()) {
|
||||
r1 = 13;
|
||||
} else {
|
||||
Math = global.Math;
|
||||
value = Math.min(value.width, value.height);
|
||||
value = 0.09 * value;
|
||||
r1 = value;
|
||||
}
|
||||
r3 = r1;
|
||||
}
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/launchpad/native/LaunchPadConstants.tsx');
|
||||
exports.LAUNCH_PAD_SPRING_CONFIG = {'damping': 20, 'stiffness': 280, 'mass': 0.5, 'restSpeedThreshold': 0.001,
|
||||
'restDisplacementThreshold': 0.001};
|
||||
exports.LAUNCH_PAD_PULL_TAB_HEIGHT = 96;
|
||||
exports.LAUNCH_PAD_PULL_TAB_WIDTH = 26;
|
||||
exports.LAUNCH_PAD_PULL_TAB_MINIMIZED_OFFSET = 18;
|
||||
exports.LAUNCH_PAD_PULL_TAB_BORDER_RADIUS = 13;
|
||||
exports.LAUNCH_PAD_PULL_TAB_SCALE_FACTOR = 1.1;
|
||||
exports.LAUNCH_PAD_PULL_TAB_SCALE_OFFSET = 4.800000000000004;
|
||||
exports.LAUNCH_PAD_PULL_TAB_POSITION_MARGIN = 32;
|
||||
exports.LAUNCH_PAD_PULL_TAB_MAX_POSITION = 300.8;
|
||||
exports.LAUNCH_PAD_PULL_TAB_INITIAL_POSITION = 150.4;
|
||||
exports.LAUNCH_PAD_MARGIN = 16;
|
||||
exports.LAUNCH_PAD_PULL_TAB_HIT_SLOP = 16;
|
||||
exports.LAUNCH_PAD_END_TRANSLATION_THRESHOLD = 14;
|
||||
exports.LAUNCH_PAD_END_VELOCITY_THRESHOLD = 100;
|
||||
exports.LAUNCH_PAD_EDGE_GESTURE_AFFORDANCE = r3;
|
||||
exports.LaunchPadTypes = {GESTURE_FULL: 'gesture-full', GESTURE_EDGE: 'gesture-edge', PULL_TAB: 'pull-tab',
|
||||
DISABLED: 'disabled'};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user