Home
last modified time | relevance | path

Searched refs:FLAG_KEEP_SCREEN_ON (Results 1 – 24 of 24) 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/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfTestActivity.java36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLockedActivity.java36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java50 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.java563 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright()
575 return getWindowFlagValue(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, mScreenBright); in isScreenBright()
1062 | (mScreenBright ? WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON : 0) in onWindowCreated()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java131 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/native/include/input/
DInputWindow.h48 FLAG_KEEP_SCREEN_ON = 0x00000080, enumerator
/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/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java127 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java30 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
264 attrs.flags = FLAG_KEEP_SCREEN_ON | FLAG_NOT_FOCUSABLE | FLAG_NOT_TOUCHABLE; in createToastWindow()
/frameworks/base/core/java/android/widget/
DToastPresenter.java135 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in createLayoutParams()
/frameworks/base/core/java/android/view/
DWindowManager.java1363 public static final int FLAG_KEEP_SCREEN_ON = 0x00000080; field in WindowManager.LayoutParams
1771 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
DViewRootImpl.java941 & WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) != 0
942 && (attrs.flags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) == 0) {
1399 & WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) != 0 in setLayoutParams()
1400 && (attrs.flags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) == 0) { in setLayoutParams()
1966 params.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in applyKeepScreenOnFlag()
1968 params.flags = (params.flags&~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) in applyKeepScreenOnFlag()
1969 | (mClientWindowLayoutFlags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in applyKeepScreenOnFlag()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java250 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.java486 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in showUsbHighTemperatureAlarmInternal()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1801 if (keepOn) mWindow.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setSurfaceKeepScreenOn()
1802 else mWindow.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setSurfaceKeepScreenOn()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java36 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
1120 if ((attrFlags & FLAG_KEEP_SCREEN_ON) != 0) { in handleNotObscuredLocked()
DWindowManagerService.java53 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
5091 window.mAttrs.flags &= ~FLAG_KEEP_SCREEN_ON; in handleMessage()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt55643 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80
55728 ….view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, equals=android.view.WindowManager.LayoutPara…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34705 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80