Home
last modified time | relevance | path

Searched refs:modelHelper (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFolderIconLoadTest.kt39 private lateinit var modelHelper: LauncherModelHelper variable in com.android.launcher3.model.FolderIconLoadTest
61 modelHelper = LauncherModelHelper() in setUp()
67 modelHelper.destroy() in tearDown()
91 val idp = LauncherAppState.getIDP(modelHelper.sandboxContext) in folderLoadedWithHighRes_max_3x3()
104 val idp = LauncherAppState.getIDP(modelHelper.sandboxContext) in folderLoadedWithHighRes_max_4x4()
117 val idp = LauncherAppState.getIDP(modelHelper.sandboxContext) in folderLoadedWithHighRes_differentFolderConfigurations()
138 modelHelper.setupDefaultLayoutProvider(builder) in setupAndLoadFolder()
139 modelHelper.loadModelSync() in setupAndLoadFolder()
143 val app = LauncherAppState.getInstance(modelHelper.sandboxContext) in setupAndLoadFolder()
153 modelHelper.loadModelSync() in setupAndLoadFolder()
[all …]
DAsyncBindingTest.kt72 private lateinit var modelHelper: LauncherModelHelper in <lambda>() variable in com.android.launcher3.model.AsyncBindingTest
78 modelHelper = LauncherModelHelper() in <lambda>()
82 View(modelHelper.sandboxContext) in <lambda>()
88 modelHelper.setupDefaultLayoutProvider( in <lambda>()
105 modelHelper.destroy() in <lambda>()
110 MAIN_EXECUTOR.execute { modelHelper.model.addCallbacksAndLoad(callbacks) } in <lambda>()
120 MAIN_EXECUTOR.execute { modelHelper.model.addCallbacksAndLoad(callbacks) } in <lambda>()
138 modelHelper.loadModelSync() in <lambda>()
139 assertTrue(modelHelper.model.isModelLoaded) in <lambda>()
145 modelHelper.model.addCallbacksAndLoad(callbacks) in <lambda>()
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewItemManagerTest.kt51 private lateinit var modelHelper: LauncherModelHelper variable in com.android.launcher3.folder.PreviewItemManagerTest
62 modelHelper = LauncherModelHelper() in setup()
63 modelHelper in setup()
75 folderItems = modelHelper.bgDataModel.collections.valueAt(0).getContents() in setup()
76 folderIcon.mInfo = modelHelper.bgDataModel.collections.valueAt(0) as FolderInfo in setup()
80 val folderApps = modelHelper.bgDataModel.collections.valueAt(0).getAppContents() in setup()
134 modelHelper.destroy() in tearDown()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DQuickstepModelDelegateTest.kt30 private lateinit var modelHelper: LauncherModelHelper variable in com.android.launcher3.model.QuickstepModelDelegateTest
41 modelHelper = LauncherModelHelper() in setUp()
42 underTest = QuickstepModelDelegate(modelHelper.sandboxContext) in setUp()
46 underTest.mApp = LauncherAppState.getInstance(modelHelper.sandboxContext) in setUp()
52 modelHelper.destroy() in tearDown()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAutoInstallsLayoutTest.kt73 lateinit var modelHelper: LauncherModelHelper variable in com.android.launcher3.AutoInstallsLayoutTest
84 modelHelper = LauncherModelHelper() in setup()
85 targetContext = modelHelper.sandboxContext in setup()
91 modelHelper.destroy() in tearDown()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DGridSizeMigrationUtilTest.kt46 private lateinit var modelHelper: LauncherModelHelper in <lambda>() variable in com.android.launcher3.model.GridSizeMigrationUtilTest
65 modelHelper = LauncherModelHelper() in <lambda>()
66 context = modelHelper.sandboxContext in <lambda>()
97 modelHelper.destroy() in <lambda>()