Lines Matching refs:state
32 * Controls the display power state.
37 * This mechanism enables multiple properties of the display power state to be animated
81 // so prepare to set it to a known state when the state is next applied.
123 public void setScreenState(int state) {
124 if (mScreenState != state) {
126 Slog.d(TAG, "setScreenState: state=" + state);
129 mScreenState = state;
136 * Gets the desired screen state.
339 * Updates the state of the screen and backlight asynchronously on a separate thread.
358 public boolean setState(int state, int backlight) {
360 boolean stateChanged = state != mPendingState;
364 Slog.d(TAG, "Requesting new screen state: state="
365 + Display.stateToString(state) + ", backlight=" + backlight);
368 mPendingState = state;
400 final int state;
405 state = mPendingState;
406 stateChanged = (state != mActualState);
423 mActualState = state;
429 Slog.d(TAG, "Updating screen state: state="
430 + Display.stateToString(state) + ", backlight=" + backlight);
432 mBlanker.requestDisplayState(state, backlight);