Home
last modified time | relevance | path

Searched refs:getModel (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java111 } else if (mEnv.getModel().error != null) { in update()
112 update(mEnv.getModel().error, null, in update()
114 } else if (mEnv.getModel().info != null) { in update()
115 update(mEnv.getModel().info, null, in update()
150 } else if (mEnv.getModel().getModelIds().length == 0) { in update()
DModelBackedDocumentsAdapter.java74 onModelUpdate(mEnv.getModel()); in ModelBackedDocumentsAdapter()
129 Cursor cursor = mEnv.getModel().getItem(modelId); in onBindViewHolder()
191 return isDirectory(mEnv.getModel(), position) in getItemViewType()
DDocumentsAdapter.java91 Model getModel(); in getModel() method
DDirectoryFragment.java230 mModel = mInjector.getModel(); in onCreateView()
947 Model getModel(){ in getModel() method in DirectoryFragment
1234 public Model getModel() { in getModel() method in DirectoryFragment.AdapterEnvironment
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DPackageInstallerCompatVL.java134 app.getModel().setPackageState(info); in sendUpdate()
170 app.getModel().onInstallSessionCreated(
194 appState.getModel().onSessionFailure(packageName, key.mUser);
230 app.getModel().updateSessionDisplayInfo(session.getAppPackageName(),
DLauncherAppsCompatVO.java144 LauncherAppState.getInstance(context).getModel() in createWorkspaceItemFromPinItemRequest()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java60 (Launcher) mLauncherAppState.getModel().getCallback() : null; in init()
165 final LauncherModel model = LauncherAppState.getInstance(mContext).getModel(); in isLauncherInitialized()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java279 Model model = mInjector.getModel(); in selectAllFiles()
504 mInjector.getModel().update(result); in loadDocumentsForCurrentStack()
650 mInjector.getModel().update(result); in onLoadFinished()
DInjector.java117 public Model getModel() { in getModel() method in Injector
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java126 mInjector.getModel()::getItemUri); in onCreate()
355 return getCurrentDirectory() != null && mInjector.getModel().doc != null; in canInspectDirectory()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarInfoManagerTest.java42 assertNotNull(mInfoManager.getModel()); in testNotNullItems()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelPreload.java65 LauncherAppState.getInstance(context).getModel().enqueueModelUpdateTask(this); in start()
DLoaderTask.java172 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run()
203 mApp.getModel()::onPackageIconsUpdated); in run()
235 mApp.getContext(), true), mApp.getModel()::onWidgetLabelsUpdated); in run()
DSdCardAvailableReceiver.java49 mModel = app.getModel(); in SdCardAvailableReceiver()
DPackageInstallStateChangedTask.java56 app.getModel().onPackageAdded(ai.packageName, mInstallInfo.user); in execute()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarInfoManagerTest.java67 assertNotNull(mCarInfoManager.getModel()); in testNotNullItems()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java216 () -> LauncherAppState.getInstance(mTargetContext).getModel().forceReload()); in resetLoaderState()
225 final LauncherModel model = LauncherAppState.getInstance(mTargetContext).getModel(); in waitForModelLoaded()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java89 public Model getModel() { in getModel() method in ModelBackedDocumentsAdapterTest.TestEnvironment
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java114 if (appState == null || !appState.getModel().isModelLoaded()) { in dump()
117 appState.getModel().dumpState("", fd, writer, args); in dump()
202 app.getModel().forceReload(); in reloadLauncherIfExternal()
DAppWidgetsRestoredReceiver.java112 app.getModel().forceReload(); in restoreAppWidgetIds()
DLauncherAppState.java162 public LauncherModel getModel() { in getModel() method in LauncherAppState
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DLauncherActivityControllerHelper.java69 return (Launcher) app.getModel().getCallback();
/packages/apps/Launcher3/src/com/android/launcher3/states/
DInternalStateHandler.java112 Callbacks cb = app.getModel().getCallback(); in run()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java125 Launcher.getLauncher(getContext()).getModel() in getFinalInfo()
/packages/services/Car/car-lib/src/android/car/
DCarInfoManager.java130 public String getModel() { in getModel() method in CarInfoManager

12