Package com.volantis.mcs.policies.variants.image

Examples of com.volantis.mcs.policies.variants.image.ImageConversionMode


            } else {
                composite.updateFromProxy(metadata);

                // Update the state of the image preserve controls if
                // necessary.
                ImageConversionMode conversionMode = (ImageConversionMode)
                        composite.getProperty(PolicyModel.CONVERSION_MODE);
                if (conversionMode != null) {
                    updateImagePreserveControlState(conversionMode);
                }
            }
View Full Code Here


        setEnabled(enabled);
        if (enabled) {
            // Update the state of the image preserve controls if
            // necessary.
            ImageConversionMode conversionMode = (ImageConversionMode)
                    composite.getProperty(PolicyModel.CONVERSION_MODE);
            if (conversionMode != null) {
                updateImagePreserveControlState(conversionMode);
            }
        }
View Full Code Here

            EncodingCollection requiredEncodings) {
        ImageMetaData metaData = (ImageMetaData) variant.getMetaData();

        // Convertible image variants can only be used if a transcoding rule
        // can be determined for this device.
        ImageConversionMode conversionMode = metaData.getConversionMode();
        if (conversionMode == ImageConversionMode.ALWAYS_CONVERT) {
            // Check the transcoding rule.
            if (MarinerPageContext.getTranscodingRule(device) == null) {
                variant = null;
            }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.policies.variants.image.ImageConversionMode

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.