Lines Matching refs:when

78  * <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i></p>
86 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is
92 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is
173 * Wake lock level: Turns the screen off when the proximity sensor activates.
215 * Wake lock flag: Turn the screen on when the wake lock is acquired.
298 * a little longer without causing a visible change such as when
308 * user activity power hints when interacting with the device indirectly
440 * wake lock, and {@link WakeLock#release release()} when you are done.
505 * is not asleep. This is what happens normally when a key or the touch
506 * screen is pressed or when some other user activity occurs.
512 * @param when The time of the user activity, in the {@link SystemClock#uptimeMillis()}
517 * because of this event. This is set when the power key is pressed.
529 public void userActivity(long when, boolean noChangeLights) {
530 userActivity(when, USER_ACTIVITY_EVENT_OTHER,
538 * is not asleep. This is what happens normally when a key or the touch
539 * screen is pressed or when some other user activity occurs.
546 * @param when The time of the user activity, in the {@link SystemClock#uptimeMillis()}
559 public void userActivity(long when, int event, int flags) {
561 mService.userActivity(when, event, flags);
570 * This is what happens when the power key is pressed to turn off the screen.
575 * @param time The time when the request to go to sleep was issued, in the
593 * This is what happens when the power key is pressed to turn off the screen.
598 * @param time The time when the request to go to sleep was issued, in the
603 * @param flags Optional flags to apply when going to sleep.
621 * This is what happens when the power key is pressed to turn on the screen.
626 * @param time The time when the request to wake up was issued, in the
654 * @param time The time when the request to nap was issued, in the
679 * @param time The time when the request to boost was issued, in the
756 * when it is dozing or asleep.
838 * Intent that is broadcast when the state of {@link #isPowerSaveMode()} changes.
846 * Intent that is broadcast when the state of {@link #isPowerSaveMode()} is about to change.
867 * on at the level that was requested when the wake lock was created.
869 * Call {@link #release()} when you are done and don't need the lock anymore.
936 * Ensures that the device is on at the level requested when
949 * Ensures that the device is on at the level requested when