All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tascape.reactor.webui.comm.ScreenResolution Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2015 - present Nebula Bay.
 * All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tascape.reactor.webui.comm;

/**
 *
 * @author linsong wang
 */
public enum ScreenResolution {
    DESKTOP_1024_768(1024, 768),
    DESKTOP_1280_800(1280, 800),
    DESKTOP_1280_1024(1280, 1024),
    DESKTOP_1366_768(1366, 768),
    DESKTOP_1920_1080(1920, 1080),
    SR_768_1024(768, 1024), // iPad mini
    SR_640_1136(640, 1136), // iPhone 5
    SR_750_1334(750, 1334), // iPhone 6, 8
    SR_1080_1920(1080, 1920), // iPhone 6+, 6s+, 7+, 8+
    SR_1125_2346(1125, 2436), // iPhone X
    SR_1536_2048(1536, 2048), // iPad 3
    SR_2048_2732(2048, 2732), // iPad Pro 12.9-inch (2nd generation)
    SR_1440_2560(1440, 2560); // galaxy s6

    public final int width;

    public final int height;

    private ScreenResolution(int width, int height) {
        this.width = width;
        this.height = height;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy