path: root/tests/auto/corelib/global/qrand
diff options
authorAssam Boudjelthia <>2023-06-08 23:01:51 +0300
committerAssam Boudjelthia <>2023-06-10 11:12:39 +0300
commitc0e0b56055e2ed0155d4e2402319dd8f8f134e10 (patch)
tree4899a640bf67f0a9f26d8eb31b8065e0efc5e529 /tests/auto/corelib/global/qrand
parent01872d06d9a09c83f28b3ecebcb06f0ed81c5622 (diff)
Android: improve screen size and physical size calculationHEADdev
Use new api calls for calculating pixel size and physical size of multi-display setups after some existing apis have been deprecated in Android API 30 and 31. Also, do the physical size calculation outside of the supported modes loop. As for the physical size, this patch still uses xdpi/ydpi for the calculation instead of densityDpi as suggested in [1] because from testing few scenarios, the results returned from xdpi/ydpi are more consistent with physical device specs. [1] Pick-to: 6.6 6.5 Task-number: QTBUG-112742 Change-Id: I0c8ef5185c8b6463830b528374954c324a32d657 Reviewed-by: Ville Voutilainen <>
Diffstat (limited to 'tests/auto/corelib/global/qrand')
0 files changed, 0 insertions, 0 deletions