Lines Matching refs:mScreen
40 private ScreenLifecycle mScreen;
45 mScreen = new ScreenLifecycle();
47 mScreen.addObserver(mScreenObserverMock);
52 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState());
58 mScreen.dispatchScreenTurningOn();
60 assertEquals(ScreenLifecycle.SCREEN_TURNING_ON, mScreen.getScreenState());
66 mScreen.dispatchScreenTurningOn();
67 mScreen.dispatchScreenTurnedOn();
69 assertEquals(ScreenLifecycle.SCREEN_ON, mScreen.getScreenState());
75 mScreen.dispatchScreenTurningOn();
76 mScreen.dispatchScreenTurnedOn();
77 mScreen.dispatchScreenTurningOff();
79 assertEquals(ScreenLifecycle.SCREEN_TURNING_OFF, mScreen.getScreenState());
85 mScreen.dispatchScreenTurningOn();
86 mScreen.dispatchScreenTurnedOn();
87 mScreen.dispatchScreenTurningOff();
88 mScreen.dispatchScreenTurnedOff();
90 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState());
96 mScreen.dump(null, new PrintWriter(new ByteArrayOutputStream()), new String[0]);