summaryrefslogtreecommitdiff
path: root/doc/base
diff options
context:
space:
mode:
authorMario Schlack <m4r10.5ch14ck@gmail.com>2016-07-20 14:54:48 +0200
committerMario Schlack <m4r10.5ch14ck@gmail.com>2016-07-20 14:54:48 +0200
commit07178937725d60e0f02050a3b39fc85e44c76b2d (patch)
treea80dc046e478807108665258ad3ccbed1f057d31 /doc/base
parent87d0515d0935d0af929feeef15fb704773cc4a12 (diff)
Implement get_screen_dpi() on Android
Diffstat (limited to 'doc/base')
-rw-r--r--doc/base/classes.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 5be3639d9f..3e1a77c120 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -22534,6 +22534,15 @@
<argument index="0" name="screen" type="int" default="0">
</argument>
<description>
+ Returns the dots per inch density of the specified screen.
+
+ On Android Devices, the actual screen densities are grouped into six generalized densities:
+ ldpi - 120 dpi
+ mdpi - 160 dpi
+ hdpi - 240 dpi
+ xhdpi - 320 dpi
+ xxhdpi - 480 dpi
+ xxxhdpi - 640 dpi
</description>
</method>
<method name="get_screen_orientation" qualifiers="const">