Home
last modified time | relevance | path

Searched refs:LauncherModel (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseModelUpdateTask.java22 import com.android.launcher3.LauncherModel;
23 import com.android.launcher3.LauncherModel.ModelUpdateTask;
24 import com.android.launcher3.LauncherModel.CallbackTask;
25 import com.android.launcher3.LauncherModel.Callbacks;
44 private LauncherModel mModel;
49 public void init(LauncherAppState app, LauncherModel model, in init()
DModelPreload.java23 import com.android.launcher3.LauncherModel;
24 import com.android.launcher3.LauncherModel.ModelUpdateTask;
38 private LauncherModel mModel;
43 public final void init(LauncherAppState app, LauncherModel model, BgDataModel dataModel, in init()
DModelWriter.java33 import com.android.launcher3.LauncherModel;
34 import com.android.launcher3.LauncherModel.Callbacks;
60 private final LauncherModel mModel;
72 public ModelWriter(Context context, LauncherModel model, BgDataModel dataModel, in ModelWriter()
77 mWorkerExecutor = new LooperExecutor(LauncherModel.getWorkerLooper()); in ModelWriter()
DSdCardAvailableReceiver.java25 import com.android.launcher3.LauncherModel;
43 private final LauncherModel mModel;
DCacheDataUpdatedTask.java27 import com.android.launcher3.LauncherModel.CallbackTask;
28 import com.android.launcher3.LauncherModel.Callbacks;
DPackageInstallStateChangedTask.java28 import com.android.launcher3.LauncherModel.CallbackTask;
29 import com.android.launcher3.LauncherModel.Callbacks;
DAddWorkspaceItemsTask.java30 import com.android.launcher3.LauncherModel.CallbackTask;
31 import com.android.launcher3.LauncherModel.Callbacks;
DBaseLoaderResults.java28 import com.android.launcher3.LauncherModel.CallbackTask;
29 import com.android.launcher3.LauncherModel.Callbacks;
DPackageUpdatedTask.java34 import com.android.launcher3.LauncherModel.CallbackTask;
35 import com.android.launcher3.LauncherModel.Callbacks;
DLoaderTask.java50 import com.android.launcher3.LauncherModel;
169 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run()
774 new Handler(LauncherModel.getWorkerLooper())); in loadWorkspace()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java24 import com.android.launcher3.LauncherModel;
25 import com.android.launcher3.LauncherModel.Callbacks;
26 import com.android.launcher3.LauncherModel.ModelUpdateTask;
63 public LauncherModel model;
80 model = mock(LauncherModel.class); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java52 private final LauncherModel mModel;
82 mModel = new LauncherModel(this, mIconCache, AppFilter.newInstance(mContext)); in LauncherAppState()
150 LauncherModel setLauncher(Launcher launcher) { in setLauncher()
160 public LauncherModel getModel() { in getModel()
DLauncherModel.java79 public class LauncherModel extends BroadcastReceiver class
163 LauncherModel(LauncherAppState app, IconCache iconCache, AppFilter appFilter) { in LauncherModel() method in LauncherModel
527 void init(LauncherAppState app, LauncherModel model, in init()
DInstallShortcutReceiver.java103 private static final Handler sHandler = new Handler(LauncherModel.getWorkerLooper()) {
121 LauncherModel model = LauncherAppState.getInstance(context).getModel();
487 if (Looper.myLooper() == LauncherModel.getWorkerLooper()) { in getItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewOnDrawExecutor.java25 import com.android.launcher3.LauncherModel;
69 LauncherModel.setWorkerPriority(Process.THREAD_PRIORITY_BACKGROUND); in execute()
111 LauncherModel.setWorkerPriority(Process.THREAD_PRIORITY_DEFAULT); in markCompleted()
DPreconditions.java21 import com.android.launcher3.LauncherModel;
36 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(LauncherModel.getWorkerLooper())) { in assertWorkerThread()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java37 import com.android.launcher3.LauncherModel;
75 super(context, LauncherFiles.APP_ICONS_DB, LauncherModel.getWorkerLooper(), in IconCache()
126 LauncherModel.setWorkerPriority(Process.THREAD_PRIORITY_FOREGROUND); in updateIconInBackground()
151 LauncherModel.setWorkerPriority(Process.THREAD_PRIORITY_BACKGROUND); in onIconRequestEnd()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginInitializerImpl.java20 import com.android.launcher3.LauncherModel;
26 return LauncherModel.getWorkerLooper(); in getBgLooper()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVO.java34 import com.android.launcher3.LauncherModel;
123 new LooperExecutor(LauncherModel.getWorkerLooper()).execute(new Runnable() { in createWorkspaceItemFromPinItemRequest()
DPackageInstallerCompatVL.java33 import com.android.launcher3.LauncherModel;
59 mWorker = new Handler(LauncherModel.getWorkerLooper()); in PackageInstallerCompatVL()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java34 import com.android.launcher3.LauncherModel;
80 mWorker = new Handler(LauncherModel.getWorkerLooper(), this::handleWorkerMessage); in DynamicItemCache()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java50 import com.android.launcher3.LauncherModel;
235 }.executeOnExecutor(new LooperExecutor(LauncherModel.getWorkerLooper())); in applyWidgetItemAsync()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java34 import com.android.launcher3.LauncherModel;
144 mWorkerHandler = new Handler(LauncherModel.getWorkerLooper(), mWorkerCallback); in NotificationListener()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java49 import com.android.launcher3.LauncherModel;
231 final LauncherModel model = LauncherAppState.getInstance(mTargetContext).getModel(); in waitForModelLoaded()
/packages/apps/Launcher3/go/src/com/android/launcher3/model/
DLoaderResults.java21 import com.android.launcher3.LauncherModel.Callbacks;

12