Home
last modified time | relevance | path

Searched refs:BgDataModel (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelDelegate.java46 AllAppsList appsList, BgDataModel dataModel, boolean isPrimaryInstance) { in newInstance()
57 protected BgDataModel mDataModel;
68 BgDataModel dataModel, boolean isPrimaryInstance) { in init()
88 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindWorkspaceItems()
94 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindAllAppsItems()
99 public void loadAndBindOtherItems(@NonNull BgDataModel.Callbacks[] callbacks) { } in loadAndBindOtherItems()
103 public void bindAllModelExtras(@NonNull BgDataModel.Callbacks[] callbacks) { } in bindAllModelExtras()
DModelTaskController.kt23 import com.android.launcher3.model.BgDataModel.FixedContainerItems in <lambda>()
34 val dataModel: BgDataModel, in <lambda>()
75 fun bindDeepShortcuts(dataModel: BgDataModel) { in <lambda>()
80 fun bindUpdatedWidgets(dataModel: BgDataModel) { in <lambda>()
DBaseLauncherBinder.java42 import com.android.launcher3.model.BgDataModel.Callbacks;
43 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
80 protected final BgDataModel mBgDataModel;
87 public BaseLauncherBinder(LauncherAppState app, BgDataModel dataModel, in BaseLauncherBinder()
279 private final BgDataModel mBgDataModel;
290 BgDataModel bgDataModel, in UnifiedWorkspaceBinder()
DLoaderTask.java26 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_HAS_SHORTCUT_PERMISSION;
27 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_PRIVATE_PROFILE_QUIET_MODE_ENA…
28 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_CHANGE_PERMISSION;
29 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED;
30 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLE…
130 protected final BgDataModel mBgDataModel;
158 public LoaderTask(@NonNull LauncherAppState app, AllAppsList bgAllAppsList, BgDataModel bgModel, in LoaderTask()
164 LoaderTask(@NonNull LauncherAppState app, AllAppsList bgAllAppsList, BgDataModel bgModel, in LoaderTask()
DAddWorkspaceItemsTask.java34 import com.android.launcher3.model.BgDataModel.Callbacks;
83 public void execute(@NonNull ModelTaskController taskController, @NonNull BgDataModel dataModel, in execute()
242 protected boolean shortcutExists(@NonNull final BgDataModel dataModel, in shortcutExists()
DPackageUpdatedTask.java18 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_PRIVATE_PROFILE_QUIET_MODE_ENA…
19 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED;
20 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLE…
105 public void execute(@NonNull ModelTaskController taskController, @NonNull BgDataModel dataModel, in execute()
DReloadStringCacheTask.java36 public void execute(@NonNull ModelTaskController taskController, @NonNull BgDataModel dataModel, in execute()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderTaskTest.kt129 with(BgDataModel()) { in loadsDataProperly()
144 LoaderTask(app, bgAllAppsList, BgDataModel(), modelDelegate, launcherBinder) in bindsLoadedDataCorrectly()
162 with(BgDataModel()) { in setsQuietModeFlagCorrectlyForWorkProfile()
174 .setFlags(BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForWorkProfile()
176 .setFlags(BgDataModel.Callbacks.FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED, false) in setsQuietModeFlagCorrectlyForWorkProfile()
178 .setFlags(BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForWorkProfile()
183 with(BgDataModel()) { in setsQuietModeFlagCorrectlyForPrivateProfile()
195 .setFlags(BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLED, false) in setsQuietModeFlagCorrectlyForPrivateProfile()
197 .setFlags(BgDataModel.Callbacks.FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForPrivateProfile()
199 .setFlags(BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForPrivateProfile()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java66 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
131 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindWorkspaceItems()
140 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindAllAppsItems()
149 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindItems()
166 public void loadAndBindOtherItems(@NonNull BgDataModel.Callbacks[] callbacks) { in loadAndBindOtherItems()
178 private void bindPredictionItems(@NonNull BgDataModel.Callbacks[] callbacks, in bindPredictionItems()
181 for (BgDataModel.Callbacks c : callbacks) { in bindPredictionItems()
189 public void bindAllModelExtras(@NonNull BgDataModel.Callbacks[] callbacks) { in bindAllModelExtras()
195 for (BgDataModel.Callbacks c : callbacks) { in bindAllModelExtras()
458 private Bundle getBundleForWidgetsOnWorkspace(Context context, BgDataModel dataModel) { in getBundleForWidgetsOnWorkspace()
DWidgetsPredictionUpdateTask.java29 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
61 public void execute(@NonNull ModelTaskController taskController, @NonNull BgDataModel dataModel, in execute()
DPredictionUpdateTask.java37 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
65 public void execute(@NonNull ModelTaskController taskController, @NonNull BgDataModel dataModel, in execute()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionModel.java28 import com.android.launcher3.model.BgDataModel;
29 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
44 public static Bundle convertDataModelToAppTargetBundle(Context context, BgDataModel dataModel) { in convertDataModelToAppTargetBundle()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayPredictions.java21 import com.android.launcher3.model.BgDataModel;
46 public void setPredictedApps(BgDataModel.FixedContainerItems item) { in setPredictedApps()
DSecondaryDisplayLauncher.java48 import com.android.launcher3.model.BgDataModel;
70 implements BgDataModel.Callbacks, DragController.DragListener {
297 public void bindExtraContainerItems(BgDataModel.FixedContainerItems item) { in bindExtraContainerItems()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkProfileManager.java25 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_HAS_SHORTCUT_PERMISSION;
26 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_CHANGE_PERMISSION;
27 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED;
28 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLE…
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DPreviewSurfaceRenderer.java54 import com.android.launcher3.model.BgDataModel;
55 import com.android.launcher3.model.BgDataModel.Callbacks;
241 BgDataModel bgModel = new BgDataModel(); in loadModelData()
286 private void renderView(Context inflationContext, BgDataModel dataModel, in renderView()
DLauncherPreviewRenderer.java79 import com.android.launcher3.model.BgDataModel;
80 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
258 public View getRenderedView(BgDataModel dataModel, in getRenderedView()
444 private void populate(BgDataModel dataModel,
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayPredictionsImpl.java24 import com.android.launcher3.model.BgDataModel;
50 public void setPredictedApps(BgDataModel.FixedContainerItems item) { in setPredictedApps()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DModelTestExtensions.kt23 import com.android.launcher3.model.BgDataModel in <lambda>()
45 val mockCb: BgDataModel.Callbacks = object : BgDataModel.Callbacks {} in <lambda>()
DLauncherModelHelper.java53 import com.android.launcher3.model.BgDataModel;
54 import com.android.launcher3.model.BgDataModel.Callbacks;
98 private BgDataModel mDataModel;
112 public synchronized BgDataModel getBgDataModel() { in getBgDataModel()
DTestSandboxModelContextWrapper.java31 import com.android.launcher3.model.BgDataModel;
50 BgDataModel.Callbacks {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java52 import com.android.launcher3.model.BgDataModel;
53 import com.android.launcher3.model.BgDataModel.Callbacks;
138 private final BgDataModel mBgDataModel = new BgDataModel();
423 public void loadAsync(@NonNull final Consumer<BgDataModel> callback) { in loadAsync()
617 @NonNull BgDataModel dataModel, @NonNull AllAppsList apps); in execute()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarModelCallbacks.java27 import com.android.launcher3.model.BgDataModel;
28 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
57 BgDataModel.Callbacks, LauncherBindableItemsContainer, RecentsModel.RunningTasksListener {
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderNameProvider.java35 import com.android.launcher3.model.BgDataModel;
199 @NonNull BgDataModel dataModel, @NonNull AllAppsList apps) { in execute()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DWidgetsPredicationUpdateTaskTest.java53 import com.android.launcher3.model.BgDataModel.FixedContainerItems;
228 private final class FakeBgDataModelCallback implements BgDataModel.Callbacks {

12