Home
last modified time | relevance | path

Searched refs:wallpaperInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/Internal/src/android/app/
DWallpaperInfoTest.java56 WallpaperInfo wallpaperInfo = new WallpaperInfo(context, info); in testSupportsAmbientMode() local
60 wallpaperInfo.supportsAmbientMode()); in testSupportsAmbientMode()
62 wallpaperInfo.writeToParcel(parcel, 0 /* flags */); in testSupportsAmbientMode()
80 WallpaperInfo wallpaperInfo = new WallpaperInfo(context, info); in testGetSettingsSliceUri() local
84 Uri settingsUri = wallpaperInfo.getSettingsSliceUri(); in testGetSettingsSliceUri()
88 wallpaperInfo.writeToParcel(parcel, 0 /* flags */); in testGetSettingsSliceUri()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperEventLogger.java93 void onSystemLiveWallpaperBackedUp(WallpaperInfo wallpaperInfo) { in onSystemLiveWallpaperBackedUp() argument
94 logBackupSuccessInternal(WALLPAPER_LIVE_SYSTEM, wallpaperInfo); in onSystemLiveWallpaperBackedUp()
97 void onLockLiveWallpaperBackedUp(WallpaperInfo wallpaperInfo) { in onLockLiveWallpaperBackedUp() argument
98 logBackupSuccessInternal(WALLPAPER_LIVE_LOCK, wallpaperInfo); in onLockLiveWallpaperBackedUp()
207 WallpaperInfo wallpaperInfo) { in logLiveWallpaperNameIfPresent() argument
208 if (wallpaperInfo != null) { in logLiveWallpaperNameIfPresent()
209 mLogger.logBackupMetadata(wallpaperType, wallpaperInfo.getComponent().getClassName()); in logLiveWallpaperNameIfPresent()
DWallpaperBackupAgent.java866 private Rect parseCropHint(File wallpaperInfo, String sectionTag) { in parseCropHint() argument
868 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseCropHint()
893 private SparseArray<Rect> parseCropHints(File wallpaperInfo, String sectionTag) { in parseCropHints() argument
895 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseCropHints()
934 private ComponentName parseWallpaperComponent(File wallpaperInfo, String sectionTag) { in parseWallpaperComponent() argument
936 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseWallpaperComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/data/repository/
DWallpaperRepository.kt50 val wallpaperInfo: StateFlow<WallpaperInfo?> in <lambda>() constant
90 override val wallpaperInfo: StateFlow<WallpaperInfo?> = constant
107 wallpaperInfo
116 initialValue = wallpaperInfo.value?.supportsAmbientMode() == true,
DNoopWallpaperRepository.kt34 override val wallpaperInfo: StateFlow<WallpaperInfo?> = MutableStateFlow(null).asStateFlow() constant in com.android.systemui.wallpapers.data.repository.NoopWallpaperRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/data/repository/
DWallpaperRepositoryImplTest.kt73 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_nullInfo()
88 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_hasInfoFromManager()
109 underTest.wallpaperInfo in wallpaperInfo_initialValueIsFetched()
112 assertThat(underTest.wallpaperInfo.value).isEqualTo(SUPPORTED_WP) in wallpaperInfo_initialValueIsFetched()
118 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_updatesOnUserChanged()
146 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_doesNotUpdateOnUserChanging()
175 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_updatesOnIntent()
199 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_wallpaperNotSupported_alwaysNull()
222 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_deviceDoesNotSupportAmbientWallpaper_alwaysFalse()
DFakeWallpaperRepository.kt24 override val wallpaperInfo = MutableStateFlow<WallpaperInfo?>(null) constant in com.android.systemui.wallpapers.data.repository.FakeWallpaperRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DWallpaperController.kt46 get() = wallpaperRepository.wallpaperInfo.value?.shouldUseDefaultUnfoldTransition() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DWallpaperControllerTest.kt89 wallpaperRepository.wallpaperInfo.value = createWallpaperInfo(useDefaultTransition = false) in setUnfoldTransitionZoom_defaultUnfoldTransitionIsDisabled_doesNotUpdateWallpaperZoom()
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/
DTaskTransitionTest.kt197 return wallpaperManager.wallpaperInfo?.component?.toFlickerComponent() in getWallpaperPackage()