Searched refs:GridOptionItemsModel (Results 1 – 7 of 7) sorted by relevance
24 import com.android.customization.picker.grid.shared.model.GridOptionItemsModel in <lambda>()80 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()81 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()89 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()93 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()94 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()107 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()108 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()113 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()125 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()[all …]
24 import com.android.customization.picker.grid.shared.model.GridOptionItemsModel in <lambda>()97 underTest.store((repository.getOptions() as GridOptionItemsModel.Loaded).options[1]) in <lambda>()107 return (repository.getOptions() as? GridOptionItemsModel.Loaded)?.options?.indexOfFirst { in <lambda>()
24 import com.android.customization.picker.grid.shared.model.GridOptionItemsModel in <lambda>()41 val options: Flow<GridOptionItemsModel> = in <lambda>()72 return (repository.getOptions() as? GridOptionItemsModel.Loaded)?.options?.firstOrNull { in <lambda>()88 private suspend fun reload(): GridOptionItemsModel { in <lambda>()90 return if (model is GridOptionItemsModel.Loaded) { in <lambda>()91 GridOptionItemsModel.Loaded( in <lambda>()
24 import com.android.customization.picker.grid.shared.model.GridOptionItemsModel in <lambda>()51 private var options: GridOptionItemsModel = createOptions(count = initialOptionCount) in <lambda>()53 override suspend fun getOptions(): GridOptionItemsModel { in <lambda>()76 ): GridOptionItemsModel { in <lambda>()78 return GridOptionItemsModel.Loaded( in <lambda>()
20 sealed class GridOptionItemsModel { class23 ) : GridOptionItemsModel()26 ) : GridOptionItemsModel()
26 import com.android.customization.picker.grid.shared.model.GridOptionItemsModel in <lambda>()41 suspend fun getOptions(): GridOptionItemsModel in <lambda>()68 override suspend fun getOptions(): GridOptionItemsModel { in getSelectedOption()84 GridOptionItemsModel.Loaded( in getSelectedOption()92 GridOptionItemsModel.Error( in getSelectedOption()
28 import com.android.customization.picker.grid.shared.model.GridOptionItemsModel in <lambda>()49 model: GridOptionItemsModel, in <lambda>()62 is GridOptionItemsModel.Loaded -> in <lambda>()86 is GridOptionItemsModel.Error -> emptyList() in <lambda>()