Home
last modified time | relevance | path

Searched refs:FLAG_KEEP_SCREEN_ON (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfActivity.java33 …ndow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KE… in onCreate()
/frameworks/base/docs/html/training/scheduling/
Dwakelock.jd42 {@link android.view.WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON FLAG_KEEP_SCREEN_ON}
51 <strong>getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);</strong>
70 {@link android.view.WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON FLAG_KEEP_SCREEN_ON}.
76 {@link android.view.WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON FLAG_KEEP_SCREEN_ON}
83 {@code getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)}.</p>
119 {@link android.view.WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON FLAG_KEEP_SCREEN_ON}.</p>
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java145 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in updateWakeLock()
147 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in updateWakeLock()
/frameworks/native/services/inputflinger/
DInputWindow.h46 FLAG_KEEP_SCREEN_ON = 0x00000080, enumerator
/frameworks/base/core/java/android/service/dreams/
DDreamService.java529 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright()
541 return getWindowFlagValue(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, mScreenBright); in isScreenBright()
967 | (mScreenBright ? WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON : 0) in attach()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java452 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in updateWakeLock()
457 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in updateWakeLock()
/frameworks/base/core/java/android/view/
DWindowManager.java633 public static final int FLAG_KEEP_SCREEN_ON = 0x00000080; field in WindowManager.LayoutParams
975 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
DViewRootImpl.java1078 params.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in applyKeepScreenOnFlag()
1080 params.flags = (params.flags&~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) in applyKeepScreenOnFlag()
1081 | (mClientWindowLayoutFlags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in applyKeepScreenOnFlag()
/frameworks/base/core/java/android/widget/
DToast.java367 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in TN()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java3258 if (keepOn) PhoneWindow.this.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
3259 else PhoneWindow.this.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java9494 if ((attrFlags&FLAG_KEEP_SCREEN_ON) != 0) { in handleNotObscuredLocked()
/frameworks/base/api/
Dsystem-current.txt36941 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80
Dcurrent.txt34707 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80