Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8098201

Android Monocle

XMLWordPrintable

      Add the Android implementation for Monocle. The changes for this are here:
      https://bitbucket.org/javafxports/8u60-rt/commits/8aa6c5904da781d41b44bd65ce443a4bf18115e9/raw/
      or in a more human readable way:
      https://bitbucket.org/javafxports/8u60-rt/commits/8aa6c5904da781d41b44bd65ce443a4bf18115e9

      Apart from 1, these are android-specific changes.
      I added a generic modification as well: added a getScale() method on NativeScreen that returns the scale/density of the native screen. This is then passed to the constructor of com.sun.glass.ui.Screen(). That constructor already expected a scale factor, and the existing MonocleApplication class will set this scale factor hard to 1.0f, which makes it impossible to use HiDPI or Retina.

            ddhill David Hill (Inactive)
            jvos Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: