Searched refs:ObjectProvider (Results 1 – 4 of 4) sorted by relevance
21 import com.android.launcher3.util.MainThreadInitializedObject.ObjectProvider;39 private static Map<Class, ObjectProvider> sProviderMap = new HashMap<>();44 ObjectProvider<T> provider = sProviderMap.get(clazz); in getObject()54 public static <T> void setProvider(Class<T> clazz, ObjectProvider<T> provider) { in setProvider()
23 import com.android.launcher3.util.MainThreadInitializedObject.ObjectProvider;47 protected void __constructor__(ObjectProvider provider) { in __constructor__()49 from(ObjectProvider.class, provider)); in __constructor__()
35 private final ObjectProvider<T> mProvider;38 public MainThreadInitializedObject(ObjectProvider<T> provider) { in MainThreadInitializedObject()79 public interface ObjectProvider<T> { interface in MainThreadInitializedObject
159 MainThreadInitializedObject.ObjectProvider<T> provider) { in getObject()