Home
last modified time | relevance | path

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

12

/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/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTestActivity.java51 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/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfTestActivity.java40 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DSurfaceFlingerTestActivity.java45 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/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java131 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java75 windowParams.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in onCreate()
/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/core/java/android/service/dreams/
DDreamService.java624 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright()
636 return getWindowFlagValue(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, mScreenBright); in isScreenBright()
1303 | (mScreenBright ? WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON : 0) in onWindowCreated()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenshotTests.java132 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/core/java/android/widget/
DToastPresenter.java149 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in createLayoutParams()
/frameworks/base/core/java/android/view/
DWindowManager.java2188 public static final int FLAG_KEEP_SCREEN_ON = 0x00000080; field in WindowManager.LayoutParams
2564 FLAG_KEEP_SCREEN_ON,
2637 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
DViewRootImpl.java1181 & WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) != 0
1182 && (attrs.flags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) == 0) {
1692 & WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) != 0
1693 && (attrs.flags&WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) == 0) {
2385 params.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in applyKeepScreenOnFlag()
2387 params.flags = (params.flags&~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) in applyKeepScreenOnFlag()
2388 | (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.java590 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in showUsbHighTemperatureAlarmInternal()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1908 if (keepOn) mWindow.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setSurfaceKeepScreenOn()
1909 else mWindow.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setSurfaceKeepScreenOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java1310 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java65 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
970 if ((w.mAttrs.flags & FLAG_KEEP_SCREEN_ON) != 0) {
DWindowManagerService.java60 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
5636 window.mAttrs.flags &= ~FLAG_KEEP_SCREEN_ON; in handleMessage()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34705 field public static final int FLAG_KEEP_SCREEN_ON = 128; // 0x80

12