Lines Matching refs:when

76  * <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i></p>
84 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is
90 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is
171 * Wake lock level: Turns the screen off when the proximity sensor activates.
199 * Wake lock flag: Turn the screen on when the wake lock is acquired.
369 * wake lock, and {@link WakeLock#release release()} when you are done.
432 * is not asleep. This is what happens normally when a key or the touch
433 * screen is pressed or when some other user activity occurs.
439 * @param when The time of the user activity, in the {@link SystemClock#uptimeMillis()}
444 * because of this event. This is set when the power key is pressed.
452 public void userActivity(long when, boolean noChangeLights) {
454 mService.userActivity(when, USER_ACTIVITY_EVENT_OTHER,
464 * This is what happens when the power key is pressed to turn off the screen.
469 * @param time The time when the request to go to sleep was issued, in the
488 * This is what happens when the power key is pressed to turn on the screen.
493 * @param time The time when the request to wake up was issued, in the
519 * @param time The time when the request to nap was issued, in the
615 * on at the level that was requested when the wake lock was created.
617 * Call {@link #release()} when you are done and don't need the lock anymore.
678 * Ensures that the device is on at the level requested when
691 * Ensures that the device is on at the level requested when