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

Android Monocle

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 8u60
    • Component/s: javafx

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: