decord/source/13393_getReactNativeDimensionsWithDimensions.js

29 lines
883 B
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 13393
// Function ID: 102777
2026-07-20 16:05:17 +00:00
// Name: getReactNativeDimensionsWithDimensions
// Dependencies: []
2026-07-24 07:16:23 +00:00
// Module 13393 (getReactNativeDimensionsWithDimensions)
2026-07-20 16:05:17 +00:00
arg5.getReactNativeDimensionsWithDimensions = function getReactNativeDimensionsWithDimensions(value, value2) {
let obj = {};
obj = {};
if (value) {
obj = {};
const _Math = Math;
obj.screenWidth = Math.ceil(value.width);
const _Math2 = Math;
obj.screenHeight = Math.ceil(value.height);
({ scale: obj3.screenScale, fontScale: obj3.screenFontScale } = value);
}
if (value2) {
const obj1 = {};
const _Math3 = Math;
obj1.windowWidth = Math.ceil(value2.width);
const _Math4 = Math;
obj1.windowHeight = Math.ceil(value2.height);
({ scale: obj4.windowScale, fontScale: obj4.windowFontScale } = value2);
obj = obj1;
}
return Object.assign({}, obj, obj);
};