Home
last modified time | relevance | path

Searched refs:ObjectProvider (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/
DShadowOverrides.java21 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()
DShadowMainThreadInitializedObject.java23 import com.android.launcher3.util.MainThreadInitializedObject.ObjectProvider;
47 protected void __constructor__(ObjectProvider provider) { in __constructor__()
49 from(ObjectProvider.class, provider)); in __constructor__()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DMainThreadInitializedObject.java35 private final ObjectProvider<T> mProvider;
38 public MainThreadInitializedObject(ObjectProvider<T> provider) { in MainThreadInitializedObject()
79 public interface ObjectProvider<T> { interface in MainThreadInitializedObject
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java159 MainThreadInitializedObject.ObjectProvider<T> provider) { in getObject()