Home
last modified time | relevance | path

Searched refs:Effect (Results 1 – 11 of 11) sorted by relevance

/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/effects/
DFakeEffectsController.kt38 enum class Effect : EffectEnumInterface { class in com.android.wallpaper.effects.FakeEffectsController
47 Effect.FAKE_EFFECT, in generateEffect()
68 Effect.FAKE_EFFECT, in areEffectsAvailable()
80 override fun getTargetEffect(): EffectEnumInterface = Effect.FAKE_EFFECT in getTargetEffect()
96 override fun startForegroundDownload(effect: com.android.wallpaper.effects.Effect?) { in getTargetEffect()
98 Effect.FAKE_EFFECT, in getTargetEffect()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/effects/
DEffectsController.java57 public enum Effect implements EffectEnumInterface { enum in EffectsController
149 return Effect.NONE; in getTargetEffect()
186 public void interruptGenerate(com.android.wallpaper.effects.Effect effect) {} in interruptGenerate()
193 public void startForegroundDownload(com.android.wallpaper.effects.Effect effect){} in startForegroundDownload()
200 public void interruptForegroundDownload(com.android.wallpaper.effects.Effect effect) {} in interruptForegroundDownload()
DEffect.kt22 data class Effect( dataClass
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/data/repository/
DImageEffectsRepositoryImplTest.kt26 import com.android.wallpaper.effects.Effect in <lambda>()
136 Effect( in <lambda>()
139 FakeEffectsController.Effect.FAKE_EFFECT, in <lambda>()
196 underTest.enableImageEffect(FakeEffectsController.Effect.FAKE_EFFECT) in <lambda>()
219 underTest.enableImageEffect(FakeEffectsController.Effect.FAKE_EFFECT) in <lambda>()
246 assertThat(underTest.isTargetEffect(FakeEffectsController.Effect.FAKE_EFFECT)).isTrue() in <lambda>()
247 assertThat(underTest.isTargetEffect(FakeEffectsController.Effect.NONE)).isFalse() in <lambda>()
284 Effect( in <lambda>()
287 FakeEffectsController.Effect.FAKE_EFFECT, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/data/repository/
DImageEffectsRepository.kt19 import com.android.wallpaper.effects.Effect
39 val wallpaperEffect: StateFlow<Effect?>
58 fun startEffectsModelDownload(effect: Effect)
60 fun interruptEffectsModelDownload(effect: Effect)
DImageEffectsRepositoryImpl.kt33 import com.android.wallpaper.effects.Effect in <lambda>()
69 private val _wallpaperEffect = MutableStateFlow<Effect?>(null) in <lambda>()
227 Effect( in <lambda>()
372 override fun startEffectsModelDownload(effect: Effect) { in <lambda>()
383 override fun interruptEffectsModelDownload(effect: Effect) { in <lambda>()
390 return effect?.type?.toString() ?: EffectsController.Effect.UNKNOWN.toString() in <lambda>()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeImageEffectsRepository.kt19 import com.android.wallpaper.effects.Effect
33 override var wallpaperEffect: MutableStateFlow<Effect?> = MutableStateFlow(null)
72 override fun startEffectsModelDownload(effect: Effect) { in startEffectsModelDownload()
76 override fun interruptEffectsModelDownload(effect: Effect) { in interruptEffectsModelDownload()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/domain/interactor/
DPreviewActionsInteractor.kt19 import com.android.wallpaper.effects.Effect
81 fun startEffectsModelDownload(effect: Effect) { in cancelDownloadWallpaper()
85 fun interruptEffectsModelDownload(effect: Effect) { in interruptEffectsModelDownload()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DPreviewActionsViewModelTest.kt27 import com.android.wallpaper.effects.Effect
180 Effect(id = 1, title = "test effect", type = FakeEffectsController.Effect.FAKE_EFFECT) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DPreviewActionsViewModel.kt27 import com.android.wallpaper.effects.Effect in <lambda>()
303 effect: Effect, in <lambda>()
/packages/modules/NeuralNetworks/runtime/
DNOTICE733 10.2. Effect of New Versions