Loading packages/SystemUI/src/com/android/systemui/shade/data/repository/ShadeRepository.kt +0 −7 Original line number Diff line number Diff line Loading @@ -126,9 +126,6 @@ interface ShadeRepository { /** Sets the bounds of a shade overlay if it is currently visible. */ fun setShadeOverlayBounds(bounds: Rect?) /** Sets whether the shade layout should be wide (true) or narrow (false). */ fun setShadeLayoutWide(isShadeLayoutWide: Boolean) /** Sets whether a closing animation is happening. */ @Deprecated("Use ShadeAnimationInteractor instead") fun setLegacyIsClosing(isClosing: Boolean) Loading Loading @@ -264,10 +261,6 @@ class ShadeRepositoryImpl @Inject constructor(@Background val backgroundScope: C } } override fun setShadeLayoutWide(isShadeLayoutWide: Boolean) { legacyUseSplitShade.value = isShadeLayoutWide } @Deprecated("Use ShadeInteractor instead") override fun setLegacyQsFullscreen(legacyQsFullscreen: Boolean) { _legacyQsFullscreen.value = legacyQsFullscreen Loading packages/SystemUI/tests/utils/src/com/android/systemui/shade/data/repository/FakeShadeRepository.kt +0 −4 Original line number Diff line number Diff line Loading @@ -171,10 +171,6 @@ class FakeShadeRepository @Inject constructor() : ShadeRepository { override fun setLegacyShadeExpansion(expandedFraction: Float) { _legacyShadeExpansion.value = expandedFraction } override fun setShadeLayoutWide(isShadeLayoutWide: Boolean) { legacyUseSplitShade.value = isShadeLayoutWide } } @Module Loading Loading
packages/SystemUI/src/com/android/systemui/shade/data/repository/ShadeRepository.kt +0 −7 Original line number Diff line number Diff line Loading @@ -126,9 +126,6 @@ interface ShadeRepository { /** Sets the bounds of a shade overlay if it is currently visible. */ fun setShadeOverlayBounds(bounds: Rect?) /** Sets whether the shade layout should be wide (true) or narrow (false). */ fun setShadeLayoutWide(isShadeLayoutWide: Boolean) /** Sets whether a closing animation is happening. */ @Deprecated("Use ShadeAnimationInteractor instead") fun setLegacyIsClosing(isClosing: Boolean) Loading Loading @@ -264,10 +261,6 @@ class ShadeRepositoryImpl @Inject constructor(@Background val backgroundScope: C } } override fun setShadeLayoutWide(isShadeLayoutWide: Boolean) { legacyUseSplitShade.value = isShadeLayoutWide } @Deprecated("Use ShadeInteractor instead") override fun setLegacyQsFullscreen(legacyQsFullscreen: Boolean) { _legacyQsFullscreen.value = legacyQsFullscreen Loading
packages/SystemUI/tests/utils/src/com/android/systemui/shade/data/repository/FakeShadeRepository.kt +0 −4 Original line number Diff line number Diff line Loading @@ -171,10 +171,6 @@ class FakeShadeRepository @Inject constructor() : ShadeRepository { override fun setLegacyShadeExpansion(expandedFraction: Float) { _legacyShadeExpansion.value = expandedFraction } override fun setShadeLayoutWide(isShadeLayoutWide: Boolean) { legacyUseSplitShade.value = isShadeLayoutWide } } @Module Loading