Searched refs:switchToClock (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 191 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()
|
D | KeyguardClockSwitchControllerTest.java | 195 verify(mView).switchToClock(KeyguardClockSwitch.SMALL, /* animate */ true); in testChangeToDoubleLineClockSetsSmallClock()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 444 boolean switchToClock(@ClockSize int clockSize, boolean animate) { in switchToClock() method in KeyguardClockSwitch
|
D | KeyguardClockSwitchController.java | 493 boolean appeared = mView.switchToClock(clockSize, animate); in displayClock()
|