MonitorMode and MonitorDevice properties.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | IDX_MONITOR_MODE_BPP
Elements: count + Warning must be synchronized with ScreenMode.h, native implementation |
| public static final int | IDX_MONITOR_MODE_ROT
Elements: |
| public static final int | MIN_MONITOR_DEVICE_PROPERTIES
Elements:
|
| public static final int | NUM_MONITOR_MODE_PROPERTIES
Elements: id, rotation Warning must be synchronized with ScreenMode.h, native implementation |
| public static final int | |
| public static final int | NUM_RESOLUTION_PROPERTIES
Elements: width, height Warning must be synchronized with ScreenMode.h, native implementation |
| public static final int | NUM_SIZEANDRATE_PROPERTIES
Elements: refresh-rate (Hz*100), flags Warning must be synchronized with ScreenMode.h, native implementation |
| public static final int | NUM_SURFACE_SIZE_PROPERTIES
Element: bpp Warning must be synchronized with ScreenMode.h, native implementation |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static MonitorMode | getByNativeIdAndRotation(final List<MonitorMode> monitorModes, final int modeId, final int rotation)
|
| pack-priv static void | identifyMonitorDevices(final MonitorModeProps.
Identify monitor devices:
|
| public static MonitorDevice | Returns: MonitorDevice of the identical (old or new) element in Cache#monitorDevices,
matching the input modeProperties, or null if input could not be processed.hash arrays of unique cache,MonitorMode components and MonitorDevices, allowing to avoid duplicatesthe associated screen, final float[] ScreenImplpre-fetched current pixel-scale, maybe pixelScale, final int[] null for ScalableSurface#IDENTITY_PIXELSCALE.the input data inclusive supported modes. monitorProperties, int the offset to the input data offset, final int[] if not null, returns the index of resulting monitor_idx)MonitorDevice within Cache#monitorDevices.Warning must be synchronized with ScreenMode.h, native implementation |
| public static MonitorDevice | Returns: MonitorDevice of the identical (old or new) element in Cache#monitorDevices,
matching the input modeProperties, or null if input could not be processed.hash arrays of unique cache,MonitorMode components and MonitorDevices, allowing to avoid duplicatesthe associated screen, final MonitorMode ScreenImplpre-fetched current currentMode, final float[] MonitorModes from cache.pre-fetched current pixel-scale, maybe pixelScale, final ArrayHashSet<MonitorMode> null for ScalableSurface#IDENTITY_PIXELSCALE.pre-assembled list of supported supportedModes, final int[] MonitorModes from cache.the input data minus supported modes! monitorProperties, int the offset to the input data offset, final int[] if not null, returns the index of resulting monitor_idx)MonitorDevice within Cache#monitorDevices.Warning must be synchronized with ScreenMode.h, native implementation |
| public static MonitorMode | Returns: MonitorMode of the identical (old or new) element in Cache#monitorModes,
matching the input modeProperties, or null if input could not be processed.if not null and cache is given, returns the index of resulting mode_idx, final MonitorModeProps.MonitorMode within Cache#monitorModes.optional hash arrays of unique cache,MonitorMode components and MonitorDevices, allowing to avoid duplicatesthe input data modeProperties, int the offset to the input data offset)Warning must be synchronized with ScreenMode.h, native implementation |
| private static MonitorMode | streamInMonitorMode0(final MonitorMode.
Warning must be synchronized with ScreenMode.h, native implementation |
| private static DimensionImmutable | streamInResolution(final int[] resolutionProperties, int offset)
Warning must be synchronized with ScreenMode.h, native implementation |
| private static MonitorMode. | streamInSizeAndRRate(final SurfaceSize surfaceSize, final int[] sizeAndRRateProperties, int offset)
Warning must be synchronized with ScreenMode.h, native implementation |
| private static SurfaceSize | streamInSurfaceSize(final DimensionImmutable resolution, final int[] sizeProperties, final int offset)
Warning must be synchronized with ScreenMode.h, native implementation |
| public static int[] | streamOutMonitorDevice(final MonitorDevice monitorDevice)
Warning must be synchronized with ScreenMode.h, native implementation |
| public static int[] | streamOutMonitorMode(final MonitorMode monitorMode)
Warning must be synchronized with ScreenMode.h, native implementation |
| public static final void |
| IDX_MONITOR_DEVICE_VIEWPORT | back to summary |
|---|---|
| public static final int IDX_MONITOR_DEVICE_VIEWPORT | |
| IDX_MONITOR_MODE_BPP | back to summary |
|---|---|
| public static final int IDX_MONITOR_MODE_BPP Elements: count + Warning must be synchronized with ScreenMode.h, native implementation | |
| IDX_MONITOR_MODE_ROT | back to summary |
|---|---|
| public static final int IDX_MONITOR_MODE_ROT Elements: Warning must be synchronized with ScreenMode.h, native implementation | |
| MIN_MONITOR_DEVICE_PROPERTIES | back to summary |
|---|---|
| public static final int MIN_MONITOR_DEVICE_PROPERTIES Elements:
with Viewport := [x, y, width, height] (4 elements) Warning must be synchronized with ScreenMode.h, native implementation | |
| NUM_MONITOR_MODE_PROPERTIES | back to summary |
|---|---|
| public static final int NUM_MONITOR_MODE_PROPERTIES Elements: id, rotation Warning must be synchronized with ScreenMode.h, native implementation | |
| NUM_MONITOR_MODE_PROPERTIES_ALL | back to summary |
|---|---|
| public static final int NUM_MONITOR_MODE_PROPERTIES_ALL Elements:
Warning must be synchronized with ScreenMode.h, native implementation | |
| NUM_RESOLUTION_PROPERTIES | back to summary |
|---|---|
| public static final int NUM_RESOLUTION_PROPERTIES Elements: width, height Warning must be synchronized with ScreenMode.h, native implementation | |
| NUM_SIZEANDRATE_PROPERTIES | back to summary |
|---|---|
| public static final int NUM_SIZEANDRATE_PROPERTIES Elements: refresh-rate (Hz*100), flags Warning must be synchronized with ScreenMode.h, native implementation | |
| NUM_SURFACE_SIZE_PROPERTIES | back to summary |
|---|---|
| public static final int NUM_SURFACE_SIZE_PROPERTIES Element: bpp Warning must be synchronized with ScreenMode.h, native implementation | |
| MonitorModeProps | back to summary |
|---|---|
| public MonitorModeProps() | |
| getByNativeIdAndRotation | back to summary |
|---|---|
| private static MonitorMode getByNativeIdAndRotation(final List<MonitorMode> monitorModes, final int modeId, final int rotation) | |
| identifyMonitorDevices | back to summary |
|---|---|
| pack-priv static void identifyMonitorDevices(final MonitorModeProps. Identify monitor devices:
| |
| streamInMonitorDevice | back to summary |
|---|---|
| public static MonitorDevice streamInMonitorDevice(final MonitorModeProps. Warning must be synchronized with ScreenMode.h, native implementation Note This variant only works for impl. w/ a unique mode key pair modeId, rotation.
| |
| streamInMonitorDevice | back to summary |
|---|---|
| public static MonitorDevice streamInMonitorDevice(final MonitorModeProps. Warning must be synchronized with ScreenMode.h, native implementation
This variant expects
| |
| streamInMonitorMode | back to summary |
|---|---|
| public static MonitorMode streamInMonitorMode(final int[] mode_idx, final MonitorModeProps. Warning must be synchronized with ScreenMode.h, native implementation
| |
| streamInMonitorMode0 | back to summary |
|---|---|
| private static MonitorMode streamInMonitorMode0(final MonitorMode. Warning must be synchronized with ScreenMode.h, native implementation | |
| streamInResolution | back to summary |
|---|---|
| private static DimensionImmutable streamInResolution(final int[] resolutionProperties, int offset) Warning must be synchronized with ScreenMode.h, native implementation | |
| streamInSizeAndRRate | back to summary |
|---|---|
| private static MonitorMode. Warning must be synchronized with ScreenMode.h, native implementation | |
| streamInSurfaceSize | back to summary |
|---|---|
| private static SurfaceSize streamInSurfaceSize(final DimensionImmutable resolution, final int[] sizeProperties, final int offset) Warning must be synchronized with ScreenMode.h, native implementation | |
| streamOutMonitorDevice | back to summary |
|---|---|
| public static int[] streamOutMonitorDevice(final MonitorDevice monitorDevice) Warning must be synchronized with ScreenMode.h, native implementation | |
| streamOutMonitorMode | back to summary |
|---|---|
| public static int[] streamOutMonitorMode(final MonitorMode monitorMode) Warning must be synchronized with ScreenMode.h, native implementation | |
| swapRotatePair | back to summary |
|---|---|
| public static final void swapRotatePair(final int rotation, final int[] pairs, int offset, final int numPairs) | |
| Modifier and Type | Field and Description |
|---|---|
| public final ArrayHashSet | |
| public final ArrayHashSet | |
| private MonitorDevice | |
| public final ArrayHashSet | |
| public final ArrayHashSet | |
| public final ArrayHashSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final MonitorDevice | |
| public final void |
| monitorDevices | back to summary |
|---|---|
| public final ArrayHashSet<MonitorDevice> monitorDevices | |
| monitorModes | back to summary |
|---|---|
| public final ArrayHashSet<MonitorMode> monitorModes | |
| primary | back to summary |
|---|---|
| private MonitorDevice primary | |
| resolutions | back to summary |
|---|---|
| public final ArrayHashSet<DimensionImmutable> resolutions | |
| sizeAndRates | back to summary |
|---|---|
| public final ArrayHashSet<MonitorMode. | |
| surfaceSizes | back to summary |
|---|---|
| public final ArrayHashSet<SurfaceSize> surfaceSizes | |
| Cache | back to summary |
|---|---|
| public Cache() | |
| getPrimary | back to summary |
|---|---|
| public final MonitorDevice getPrimary() | |
| setPrimary | back to summary |
|---|---|
| public final void setPrimary(final MonitorDevice p) | |