 
 package mx.core
 {
+import flash.display.DisplayObject;
+import flash.display.Stage;
 import flash.system.Capabilities;
 
 import mx.core.mx_internal;
+import mx.managers.SystemManager;
 
 use namespace mx_internal;
 

    public function RuntimeDPIProvider()
    {
    }
    
    /**
     *  Returns the runtime DPI of the current device by mapping its
     *  <code>flash.system.Capabilities.screenDPI</code> to one of several DPI
     *  values in <code>mx.core.DPIClassification</code>.
     * 
     *  A number of devices can have slightly different DPI values and Flex maps these
     *  into the several DPI classes.
     * 
     *  Flex uses this method to calculate the current DPI value when an Application
     *  authored for a specific DPI is adapted to the current one through scaling.
     * 
     *  @param dpi The DPI value.
     *  @return The corresponding <code>DPIClassification</code> value.
     *  
     *  @see flash.system.Capabilities
     *  @see mx.core.DPIClassification
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */
    public function get runtimeDPI():Number
    {
        return classifyDPI(Capabilities.screenDPI);
    }
    
    /**

{
    /**
     *  Constructor.
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5
