Home
last modified time | relevance | path

Searched refs:Screen (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DScreenPreviewViewModel.kt24 import com.android.wallpaper.model.Screen in <lambda>()
42 val screen: Screen,
47 Screen.HOME_SCREEN -> R.string.home_wallpaper_preview_card_content_description
48 Screen.LOCK_SCREEN -> R.string.lock_wallpaper_preview_card_content_description
72 private fun otherScreen(): Screen { in otherScreen()
73 return if (screen == Screen.LOCK_SCREEN) Screen.HOME_SCREEN else Screen.LOCK_SCREEN in otherScreen()
77 private fun wallpaperUpdateEvents(s: Screen = screen): Flow<WallpaperModel?> { in wallpaperUpdateEvents()
107 if (screen == Screen.LOCK_SCREEN) { in getWallpaperDestination()
DAnimationStateViewModel.kt21 import com.android.wallpaper.model.Screen
43 fun saveAnimationState(screen: Screen, state: AnimationState?) { in saveAnimationState()
44 if (screen == Screen.LOCK_SCREEN) { in saveAnimationState()
51 fun getAnimationState(screen: Screen): AnimationState? { in getAnimationState()
52 return if (screen == Screen.LOCK_SCREEN) { in getAnimationState()
DCustomizationPickerViewModel2.kt20 import com.android.wallpaper.model.Screen
21 import com.android.wallpaper.model.Screen.LOCK_SCREEN
43 fun selectPreviewScreen(screen: Screen) { in selectPreviewScreen()
DCustomizationPickerViewModel.kt27 import com.android.wallpaper.model.Screen in <lambda>()
68 fun getWallpaperQuickSwitchViewModel(screen: Screen): WallpaperQuickSwitchViewModel { in <lambda>()
69 return if (screen == Screen.LOCK_SCREEN) lockWallpaperQuickSwitchViewModel in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DWallpaperPreviewViewModel.kt24 import com.android.wallpaper.model.Screen in <lambda>()
88 fun getWallpaperPreviewSource(): Screen = in <lambda>()
89 if (isViewAsHome) Screen.HOME_SCREEN else Screen.LOCK_SCREEN in <lambda>()
100 val smallPreviewTabs = Screen.entries.toList() in <lambda>()
110 fun setSmallPreviewSelectedTab(screen: Screen) { in <lambda>()
298 private val _setWallpaperDialogSelectedScreens: MutableStateFlow<Set<Screen>> = in <lambda>()
299 MutableStateFlow(EnumSet.allOf(Screen::class.java)) in <lambda>()
300 val setWallpaperDialogSelectedScreens: StateFlow<Set<Screen>> = in <lambda>()
303 fun onSetWallpaperDialogScreenSelected(screen: Screen) { in <lambda>()
358 private fun Set<Screen>.getDestination(): WallpaperDestination { in <lambda>()
[all …]
DFullPreviewConfigViewModel.kt18 import com.android.wallpaper.model.Screen
25 val screen: Screen,
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/fragment/
DColorPickerFragment.kt36 import com.android.wallpaper.model.Screen
129 Screen.LOCK_SCREEN in onCreateView()
141 screen = Screen.LOCK_SCREEN, in onCreateView()
180 Screen.HOME_SCREEN in onCreateView()
192 screen = Screen.HOME_SCREEN, in onCreateView()
225 screen: Screen, in loadInitialColors()
230 if (screen == Screen.LOCK_SCREEN) { in loadInitialColors()
237 if (screen == Screen.LOCK_SCREEN) { in loadInitialColors()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/util/
DDefaultCustomizationOptionUtil.kt24 import com.android.wallpaper.model.Screen
25 import com.android.wallpaper.model.Screen.HOME_SCREEN
26 import com.android.wallpaper.model.Screen.LOCK_SCREEN
45 screen: Screen, in getOptionEntries()
DCustomizationOptionUtil.kt23 import com.android.wallpaper.model.Screen
32 screen: Screen,
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/section/
DScreenPreviewSectionController.kt34 import com.android.wallpaper.model.Screen in <lambda>()
57 private val screen: Screen, in <lambda>()
68 protected val isOnLockScreen: Boolean = screen == Screen.LOCK_SCREEN in <lambda>()
205 screen: Screen, in <lambda>()
210 if (screen == Screen.LOCK_SCREEN) { in <lambda>()
218 if (screen == Screen.LOCK_SCREEN) { in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperInteractor.kt21 import com.android.wallpaper.model.Screen in <lambda>()
41 fun wallpaperUpdateEvents(screen: Screen): Flow<WallpaperModel?> { in wallpaperUpdateEvents()
43 Screen.LOCK_SCREEN -> in wallpaperUpdateEvents()
47 Screen.HOME_SCREEN -> in wallpaperUpdateEvents()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DWallpaperPreviewViewModelTest.kt32 import com.android.wallpaper.model.Screen
200 wallpaperPreviewViewModel.setSmallPreviewSelectedTab(Screen.HOME_SCREEN) in clickSmallPreview_isSelectedPreview_updatesFullWorkspacePreviewConfig()
204 Screen.HOME_SCREEN, in clickSmallPreview_isSelectedPreview_updatesFullWorkspacePreviewConfig()
226 wallpaperPreviewViewModel.setSmallPreviewSelectedTab(Screen.LOCK_SCREEN) in clickSmallPreview_isSelectedPreview_updatesFullWallpaperPreviewConfig()
230 Screen.LOCK_SCREEN, in clickSmallPreview_isSelectedPreview_updatesFullWallpaperPreviewConfig()
241 assertThat(config.screen).isEqualTo(Screen.LOCK_SCREEN) in clickSmallPreview_isSelectedPreview_updatesFullWallpaperPreviewConfig()
252 wallpaperPreviewViewModel.setSmallPreviewSelectedTab(Screen.LOCK_SCREEN) in clickSmallPreview_isNotSelectedPreview_doesNotUpdateFullWorkspacePreviewConfig()
256 Screen.HOME_SCREEN, in clickSmallPreview_isNotSelectedPreview_doesNotUpdateFullWorkspacePreviewConfig()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DSetWallpaperDialogBinder.kt29 import com.android.wallpaper.model.Screen in <lambda>()
41 Screen.LOCK_SCREEN to R.id.lock_preview_selector, in <lambda>()
42 Screen.HOME_SCREEN to R.id.home_preview_selector in <lambda>()
200 screen: Screen, in <lambda>()
201 selectedScreens: Set<Screen>, in <lambda>()
DTabsBinder.kt24 import com.android.wallpaper.model.Screen
40 Screen.LOCK_SCREEN -> tabs.context.resources.getString(R.string.lock_screen_tab) in bind()
41 Screen.HOME_SCREEN -> tabs.context.resources.getString(R.string.home_screen_tab) in bind()
DSmallPreviewBinder.kt32 import com.android.wallpaper.model.Screen in <lambda>()
46 screen: Screen, in <lambda>()
79 Screen.LOCK_SCREEN -> in <lambda>()
88 Screen.HOME_SCREEN -> in <lambda>()
/packages/apps/ThemePicker/src/com/android/wallpaper/customization/ui/util/
DThemePickerCustomizationOptionUtil.kt24 import com.android.wallpaper.model.Screen
25 import com.android.wallpaper.model.Screen.HOME_SCREEN
26 import com.android.wallpaper.model.Screen.LOCK_SCREEN
55 screen: Screen, in getOptionEntries()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperInteractorTest.kt22 import com.android.wallpaper.model.Screen
94 collectLastValue(underTest.wallpaperUpdateEvents(Screen.HOME_SCREEN)) in previews - handles empty recents list()
103 collectLastValue(underTest.wallpaperUpdateEvents(Screen.HOME_SCREEN)) in wallpaperUpdateEvents()
105 collectLastValue(underTest.wallpaperUpdateEvents(Screen.LOCK_SCREEN)) in wallpaperUpdateEvents()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DCustomizationSections.java13 import com.android.wallpaper.model.Screen;
35 Screen screen, in getSectionControllersForScreen()
DWallpaperPickerSections.java13 import com.android.wallpaper.model.Screen;
30 Screen screen, in getSectionControllersForScreen()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestCustomizationSections.kt9 import com.android.wallpaper.model.Screen
21 screen: Screen?, in getSectionControllersForScreen()
/packages/apps/ThemePicker/src/com/android/customization/picker/preview/ui/viewmodel/
DPreviewWithThemeViewModel.kt24 import com.android.wallpaper.model.Screen in <lambda>()
41 screen: Screen,
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/
DCustomizationPickerActivity2.kt38 import com.android.wallpaper.model.Screen in <lambda>()
39 import com.android.wallpaper.model.Screen.HOME_SCREEN in <lambda>()
40 import com.android.wallpaper.model.Screen.LOCK_SCREEN in <lambda>()
177 screen: Screen, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DCustomizationPickerBinder2.kt27 import com.android.wallpaper.model.Screen.HOME_SCREEN in <lambda>()
28 import com.android.wallpaper.model.Screen.LOCK_SCREEN in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/preview/ui/section/
DPreviewWithClockCarouselSectionController.kt45 import com.android.wallpaper.model.Screen
65 private val screen: Screen,
112 if (screen == Screen.LOCK_SCREEN) { in createView()
/packages/apps/Dialer/java/com/android/dialer/logging/
Dscreen_event.proto63 // Screen displayed to allow the user to see an overview of all blocked
67 // Screen displayed to allow the user to add a new blocked number

12