Lines Matching defs:factory
32 * This factory creates platform specific VolatileSurfaceManager
48 * Returns the surface manager factory instance. This returns a factory
51 * @return the surface manager factory
62 * Sets the surface manager factory. This may only be called once, and it
63 * may not be set back to {@code null} when the factory is already
66 * @param factory the factory to set
68 public static synchronized void setInstance(SurfaceManagerFactory factory) {
70 if (factory == null) {
72 throw new IllegalArgumentException("factory must be non-null");
77 throw new IllegalStateException("The surface manager factory is already initialized");
80 instance = factory;