Home
last modified time | relevance | path

Searched refs:MainThreadInitializedObject (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DMainThreadInitializedObject.java32 public class MainThreadInitializedObject<T> { class
37 public MainThreadInitializedObject(ObjectProvider<T> provider) { in MainThreadInitializedObject() method in MainThreadInitializedObject
68 public static <T extends ResourceBasedOverride> MainThreadInitializedObject<T> forOverride( in forOverride()
70 return new MainThreadInitializedObject<>(c -> Overrides.getObject(clazz, c, resourceId)); in forOverride()
DVibratorWrapper.java39 public static final MainThreadInitializedObject<VibratorWrapper> INSTANCE =
40 new MainThreadInitializedObject<>(VibratorWrapper::new);
DDefaultDisplay.java38 public static final MainThreadInitializedObject<DefaultDisplay> INSTANCE =
39 new MainThreadInitializedObject<>(DefaultDisplay::new);
/packages/apps/Launcher3/src/com/android/launcher3/
DIconProvider.java3 import static com.android.launcher3.util.MainThreadInitializedObject.forOverride;
8 import com.android.launcher3.util.MainThreadInitializedObject;
13 public static MainThreadInitializedObject<IconProvider> INSTANCE =
DLauncherAppState.java37 import com.android.launcher3.util.MainThreadInitializedObject;
47 private static final MainThreadInitializedObject<LauncherAppState> INSTANCE =
48 new MainThreadInitializedObject<>(LauncherAppState::new);
DInvariantDeviceProfile.java52 import com.android.launcher3.util.MainThreadInitializedObject;
67 public static final MainThreadInitializedObject<InvariantDeviceProfile> INSTANCE =
68 new MainThreadInitializedObject<>(InvariantDeviceProfile::new);
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/plugins/
DPluginManagerWrapper.java20 import com.android.launcher3.util.MainThreadInitializedObject;
31 public static final MainThreadInitializedObject<PluginManagerWrapper> INSTANCE =
32 new MainThreadInitializedObject<>(PluginManagerWrapper::new);
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcutFactory.java18 import static com.android.launcher3.util.MainThreadInitializedObject.forOverride;
25 import com.android.launcher3.util.MainThreadInitializedObject;
33 public static final MainThreadInitializedObject<SystemShortcutFactory> INSTANCE =
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAppLaunchTracker.java18 import static com.android.launcher3.util.MainThreadInitializedObject.forOverride;
27 import com.android.launcher3.util.MainThreadInitializedObject;
45 public static final MainThreadInitializedObject<AppLaunchTracker> INSTANCE =
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginManagerWrapper.java20 import com.android.launcher3.util.MainThreadInitializedObject;
31 public static final MainThreadInitializedObject<PluginManagerWrapper> INSTANCE =
32 new MainThreadInitializedObject<>(PluginManagerWrapper::new);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskOverlayFactory.java19 import static com.android.launcher3.util.MainThreadInitializedObject.forOverride;
27 import com.android.launcher3.util.MainThreadInitializedObject;
51 public static final MainThreadInitializedObject<TaskOverlayFactory> INSTANCE =
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSysUINavigationMode.java27 import com.android.launcher3.util.MainThreadInitializedObject;
55 public static MainThreadInitializedObject<SysUINavigationMode> INSTANCE =
56 new MainThreadInitializedObject<>(SysUINavigationMode::new);
DOverviewInteractionState.java30 import com.android.launcher3.util.MainThreadInitializedObject;
43 public static final MainThreadInitializedObject<OverviewInteractionState> INSTANCE =
44 new MainThreadInitializedObject<>(OverviewInteractionState::new);
DRecentsModel.java37 import com.android.launcher3.util.MainThreadInitializedObject;
58 public static final MainThreadInitializedObject<RecentsModel> INSTANCE =
59 new MainThreadInitializedObject<>(RecentsModel::new);
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDrawableFactory.java20 import static com.android.launcher3.util.MainThreadInitializedObject.forOverride;
41 import com.android.launcher3.util.MainThreadInitializedObject;
49 public static final MainThreadInitializedObject<DrawableFactory> INSTANCE =
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetManager.java35 import com.android.launcher3.util.MainThreadInitializedObject;
51 public static final MainThreadInitializedObject<CustomWidgetManager> INSTANCE =
52 new MainThreadInitializedObject<>(CustomWidgetManager::new);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java48 import com.android.launcher3.util.MainThreadInitializedObject;
85 public static final MainThreadInitializedObject<PredictionUiStateManager> INSTANCE =
86 new MainThreadInitializedObject<>(PredictionUiStateManager::new);