Package com.volantis.mcs.themes

Examples of com.volantis.mcs.themes.StyleFrequency


                styleTime.getUnit(), TimeUnit.S);
    }

    private double getFrameRate(StyleValue styleValue) {
       
        StyleFrequency styleFrequency = null;
       
        if (styleValue instanceof StyleFrequency) {           
            styleFrequency = (StyleFrequency)styleValue;
        } else {
            logger.warn("unexpected-mcs-frame-rate-type",
                    styleValue.getStyleValueType().getType());
            styleFrequency = DEFAULT_MCS_FRAME_RATE;
        }
       
        double frameRate = frequencyConverter.convert(
                styleFrequency.getNumber(),
                styleFrequency.getUnit(),
                FrequencyUnit.HZ);
       
        // If protocol is available, check the maximum available
        // frame rate supported by device.
        if (protocol != null) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.themes.StyleFrequency

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.