Lines Matching refs:on
11 * distributed under the License is distributed on an "AS IS" BASIS,
57 * Everything this class does internally is serialized on its handler although
75 // If true, uses the electron beam on animation.
77 // actually turns on and starts showing new content after the call to set the
212 // Amount of time to delay auto-brightness after screen on while waiting for
253 // Must only be accessed on the handler thread.
277 // When the screen turns on again, we report user activity to the power manager.
280 // True if the screen on is being blocked.
283 // The elapsed real time when the screen on was blocked.
461 * negative proximity before turning the screen back on, assuming the screen
464 * be made asynchronously (such as turning the screen on), in which case the caller
625 // Turn on the light sensor if needed.
665 // Animate the screen on or off.
668 // Want screen on.
671 // on animation immediately then the results are pretty ugly.
673 // Turn the screen on. The contents of the screen may not yet
704 // Wait for previous on animation to complete beforehand.
748 Slog.d(TAG, "Blocked screen on.");
758 Slog.d(TAG, "Unblocked screen on after " +
764 private void setScreenOn(boolean on) {
765 if (!mPowerState.isScreenOn() == on) {
766 mPowerState.setScreenOn(on);
767 if (on) {
913 // If the light sensor was just turned on then immediately update our initial