Home
last modified time | relevance | path

Searched refs:FLAG_KEEP_SCREEN_ON (Results 1 – 22 of 22) 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/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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java50 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java85 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/
DMemoryActivity.java76 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java586 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright()
598 return getWindowFlagValue(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, mScreenBright); in isScreenBright()
1044 | (mScreenBright ? WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON : 0) in attach()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java25 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
261 attrs.flags = FLAG_KEEP_SCREEN_ON | FLAG_NOT_FOCUSABLE | FLAG_NOT_TOUCHABLE; in createToastWindow()
/frameworks/native/include/input/
DInputWindow.h48 FLAG_KEEP_SCREEN_ON = 0x00000080, enumerator
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java117 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
/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.java1214 public static final int FLAG_KEEP_SCREEN_ON = 0x00000080; field in WindowManager.LayoutParams
1586 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
DViewRootImpl.java802 & WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) != 0
803 && (attrs.flags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) == 0) {
1249 & WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) != 0 in setLayoutParams()
1250 && (attrs.flags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) == 0) { in setLayoutParams()
1759 params.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in applyKeepScreenOnFlag()
1761 params.flags = (params.flags&~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) in applyKeepScreenOnFlag()
1762 | (mClientWindowLayoutFlags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in applyKeepScreenOnFlag()
/frameworks/base/core/java/android/widget/
DToast.java397 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in TN()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java22 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
889 if ((attrFlags & FLAG_KEEP_SCREEN_ON) != 0) { in handleNotObscuredLocked()
DWindowManagerService.java46 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
4932 window.mAttrs.flags &= ~FLAG_KEEP_SCREEN_ON; in handleMessage()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java251 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java624 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java484 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in showUsbHighTemperatureAlarmInternal()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1802 if (keepOn) mWindow.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setSurfaceKeepScreenOn()
1803 else mWindow.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setSurfaceKeepScreenOn()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34705 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80
/frameworks/base/non-updatable-api/
Dcurrent.txt53200 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80
/frameworks/base/api/
Dcurrent.txt53344 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80