/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppState.java | 54 public class LauncherAppState { class 60 public static final MainThreadInitializedObject<LauncherAppState> INSTANCE = 61 new MainThreadInitializedObject<>(LauncherAppState::new); 71 public static LauncherAppState getInstance(final Context context) { in getInstance() 75 public static LauncherAppState getInstanceNoCreate() { in getInstanceNoCreate() 83 public LauncherAppState(Context context) { in LauncherAppState() method in LauncherAppState 135 public LauncherAppState(Context context, @Nullable String iconCacheFileName) { in LauncherAppState() method in LauncherAppState
|
D | LauncherModel.java | 19 import static com.android.launcher3.LauncherAppState.ACTION_FORCE_ROLOAD; 88 private final LauncherAppState mApp; 128 LauncherModel(Context context, LauncherAppState app, IconCache iconCache, AppFilter appFilter) { in LauncherModel() 427 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onInstallSessionCreated() 442 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onSessionFailure() 545 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in onWidgetLabelsUpdated() 574 void init(LauncherAppState app, LauncherModel model, in init() 593 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in updateAndBindWorkspaceItem() 606 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in refreshAndBindWidgetsAndShortcuts()
|
D | LauncherProvider.java | 119 LauncherAppState appState = LauncherAppState.getInstanceNoCreate(); in dump() 215 LauncherAppState app = LauncherAppState.getInstanceNoCreate(); in reloadLauncherIfExternal() 475 LauncherAppState app = LauncherAppState.getInstanceNoCreate(); in call() 617 InvariantDeviceProfile grid = LauncherAppState.getIDP(ctx); in getLayoutUri() 627 InvariantDeviceProfile idp = LauncherAppState.getIDP(getContext()); in getDefaultLayoutParser()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatRestoreHelper.java | 25 import com.android.launcher3.LauncherAppState; 45 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in createBackup() 70 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreBackup() 76 LauncherAppState.getInstance(context).getModel().forceReload(); in restoreBackup()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | DefaultAppSearchAlgorithm.java | 25 import com.android.launcher3.LauncherAppState; 45 private final LauncherAppState mAppState; 49 mAppState = LauncherAppState.getInstance(context); in DefaultAppSearchAlgorithm() 64 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in doSearch()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BaseModelUpdateTask.java | 20 import com.android.launcher3.LauncherAppState; 48 private LauncherAppState mApp; 54 public void init(LauncherAppState app, LauncherModel model, in init() 79 LauncherAppState app, BgDataModel dataModel, AllAppsList apps); in execute()
|
D | BaseLoaderResults.java | 25 import com.android.launcher3.LauncherAppState; 54 protected final LauncherAppState mApp; 62 public BaseLoaderResults(LauncherAppState app, BgDataModel dataModel, in BaseLoaderResults() 133 private final LauncherAppState mApp; 144 LauncherAppState app, in WorkspaceBinder()
|
D | ModelDelegate.java | 25 import com.android.launcher3.LauncherAppState; 43 Context context, LauncherAppState app, AllAppsList appsList, BgDataModel dataModel) { in newInstance() 53 protected LauncherAppState mApp;
|
D | AddWorkspaceItemsTask.java | 27 import com.android.launcher3.LauncherAppState; 63 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute() 270 protected int[] findSpaceForItem( LauncherAppState app, BgDataModel dataModel, in findSpaceForItem() 335 LauncherAppState app, ArrayList<ItemInfo> occupiedPos, in findNextAvailableIconSpaceInScreen()
|
D | ItemInstallQueue.java | 44 import com.android.launcher3.LauncherAppState; 301 LauncherAppState.getInstance(context).getIconCache() in getItemInfo() 307 LauncherAppState.getInstance(context).getIconCache() in getItemInfo() 317 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in getItemInfo()
|
D | CacheDataUpdatedTask.java | 21 import com.android.launcher3.LauncherAppState; 48 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute()
|
D | PackageIncrementalDownloadUpdatedTask.java | 20 import com.android.launcher3.LauncherAppState; 46 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList appsList) { in execute()
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationHandler.java | 32 import com.android.launcher3.LauncherAppState; 55 protected LauncherAppState mLauncherAppState; 61 mLauncherAppState = LauncherAppState.getInstanceNoCreate(); in init() 127 || LauncherAppState.getInstance(mContext).getModel().isModelLoaded();
|
/packages/apps/Launcher3/go/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 25 import com.android.launcher3.LauncherAppState; 71 public List<ComponentWithLabelAndIcon> update(LauncherAppState app, in update() 78 LauncherAppState app) { in onPackageIconsUpdated()
|
D | LoaderResults.java | 21 import com.android.launcher3.LauncherAppState; 29 public LoaderResults(LauncherAppState app, BgDataModel dataModel, in LoaderResults()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 22 import com.android.launcher3.LauncherAppState; 114 LauncherAppState app, @Nullable PackageUserKey packageUser) { in update() 158 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts() 191 LauncherAppState app) { in onPackageIconsUpdated() 248 WidgetValidityCheck(LauncherAppState app) { in WidgetValidityCheck()
|
D | LoaderResults.java | 21 import com.android.launcher3.LauncherAppState; 34 public LoaderResults(LauncherAppState app, BgDataModel dataModel, in LoaderResults()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 36 import com.android.launcher3.LauncherAppState; 105 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in backupWorkspace() 113 final InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreWorkspace() 118 LauncherAppState.getInstance(context).getModel().forceReload(); in restoreWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | ComponentWithLabelAndIcon.java | 23 import com.android.launcher3.LauncherAppState; 44 Drawable d = object.getFullResIcon(LauncherAppState.getInstance(context) in loadIcon()
|
D | LauncherActivityCachingLogic.java | 23 import com.android.launcher3.LauncherAppState; 60 return li.createBadgedIconBitmap(LauncherAppState.getInstance(context) in loadIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderNameProvider.java | 25 import com.android.launcher3.LauncherAppState; 85 LauncherAppState.getInstance(context).getModel().enqueueModelUpdateTask( in load() 176 public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) { in execute()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 63 import com.android.launcher3.LauncherAppState; 124 LauncherAppState.INSTANCE, InvariantDeviceProfile.INSTANCE, 138 mObjectMap.put(LauncherAppState.INSTANCE, in PreviewContext() 139 new LauncherAppState(this, null /* iconCacheFileName */)); in PreviewContext() 150 LauncherAppState.INSTANCE.get(this).onTerminate(); in onDestroy()
|
D | PreviewSurfaceRenderer.java | 42 import com.android.launcher3.LauncherAppState; 158 LauncherAppState.getInstance(previewContext), in loadModelData() 176 LauncherAppState.getInstance(inflationContext).getModel().loadAsync(dataModel -> { in loadModelData()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 17 import com.android.launcher3.LauncherAppState; 53 private LauncherAppState mAppState; 66 mAppState = LauncherAppState.getInstance(mTargetContext); in setup()
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | PinRequestHelper.java | 32 import com.android.launcher3.LauncherAppState; 86 LauncherAppState.getInstance(context).getModel().updateAndBindWorkspaceItem(info, si); in createWorkspaceItemFromPinItemRequest()
|