FileDocCategorySizeDatePackage
Policy.javaAPI DocAndroid 5.1 API2506Thu Mar 12 22:22:42 GMT 2015com.android.internal.policy.impl

Policy

public class Policy extends Object implements com.android.internal.policy.IPolicy
{@hide}

Fields Summary
private static final String
TAG
private static final String[]
preload_classes
Constructors Summary
Methods Summary
public android.view.FallbackEventHandlermakeNewFallbackEventHandler(android.content.Context context)

        return new PhoneFallbackEventHandler(context);
    
public android.view.LayoutInflatermakeNewLayoutInflater(android.content.Context context)

        return new PhoneLayoutInflater(context);
    
public android.view.WindowmakeNewWindow(android.content.Context context)


     
        // For performance reasons, preload some policy specific classes when
        // the policy gets loaded.
        for (String s : preload_classes) {
            try {
                Class.forName(s);
            } catch (ClassNotFoundException ex) {
                Log.e(TAG, "Could not preload class for phone policy: " + s);
            }
        }
    
        return new PhoneWindow(context);
    
public android.view.WindowManagerPolicymakeNewWindowManager()

        return new PhoneWindowManager();