Home
last modified time | relevance | path

Searched refs:switchToClock (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java191 mKeyguardClockSwitch.switchToClock(LARGE, /* animate */ true); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
205 mKeyguardClockSwitch.switchToClock(LARGE, /* animate */ false); in switchingToBigClockNoAnimation_makesSmallClockDisappear()
215 mKeyguardClockSwitch.switchToClock(SMALL, /* animate */ true); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
231 mKeyguardClockSwitch.switchToClock(SMALL, false); in switchingToSmallClockNoAnimation_makesBigClockDisappear()
243 mKeyguardClockSwitch.switchToClock(SMALL, true); in switchingToSmallClockAnimation_resetsStatusArea()
257 mKeyguardClockSwitch.switchToClock(SMALL, false); in switchingToSmallClockNoAnimation_resetsStatusArea()
268 assertThat(mKeyguardClockSwitch.switchToClock(LARGE, /* animate */ true)).isTrue(); in switchingToBigClock_returnsTrueOnlyWhenItWasNotVisibleBefore()
269 assertThat(mKeyguardClockSwitch.switchToClock(LARGE, /* animate */ true)).isFalse(); in switchingToBigClock_returnsTrueOnlyWhenItWasNotVisibleBefore()
DKeyguardClockSwitchControllerTest.java195 verify(mView).switchToClock(KeyguardClockSwitch.SMALL, /* animate */ true); in testChangeToDoubleLineClockSetsSmallClock()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java444 boolean switchToClock(@ClockSize int clockSize, boolean animate) { in switchToClock() method in KeyguardClockSwitch
DKeyguardClockSwitchController.java493 boolean appeared = mView.switchToClock(clockSize, animate); in displayClock()