Searched refs:screenOn (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java191 * @param screenOn Set to true to force the screen to stay on, false
194 public void setKeepScreenOn(boolean screenOn); argument
H A DSurfaceView.java750 public void setKeepScreenOn(boolean screenOn) {
752 msg.arg1 = screenOn ? 1 : 0;
H A DViewRootImpl.java4809 public void setKeepScreenOn(boolean screenOn) { argument
4810 ((RootViewSurfaceTaker)mView).setSurfaceKeepScreenOn(screenOn);
5183 public void setKeepScreenOn(boolean screenOn) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java84 public void setKeepScreenOn(boolean screenOn) {
/frameworks/base/services/jni/
H A Dcom_android_server_power_PowerManagerService.cpp154 jclass clazz, jboolean screenOn, jboolean screenBright) {
156 gScreenOn = screenOn;
153 nativeSetPowerState(JNIEnv* env, jclass clazz, jboolean screenOn, jboolean screenBright) argument
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1098 * @param screenOn Supply true to keep the screen on, false to allow it
1101 public void setScreenOnWhilePlaying(boolean screenOn) { argument
1102 if (mScreenOnWhilePlaying != screenOn) {
1103 if (screenOn && mSurfaceHolder == null) {
1106 mScreenOnWhilePlaying = screenOn;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java178 public void notifyScreenOn(boolean screenOn) { argument
179 mScreenOn = screenOn;
H A DPhoneStatusBar.java788 private void notifyNavigationBarScreenOn(boolean screenOn) { argument
790 mNavigationBarView.notifyScreenOn(screenOn);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java1222 private void handleScreenStateChanged(boolean screenOn) { argument
1223 if (DBG) log("handleScreenStateChanged: " + screenOn);
1224 enableRssiPolling(screenOn);
1226 enableBackgroundScanCommand(screenOn == false);
1229 if (screenOn) enableAllNetworks();
1231 if (screenOn) {
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java225 public void setKeepScreenOn(boolean screenOn) {
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java2890 private void keepScreenOn(boolean screenOn) { argument
2894 message.arg1 = screenOn ? 1 : 0;
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java363 private static native void nativeSetPowerState(boolean screenOn, boolean screenBright); argument

Completed in 222 milliseconds