Home
last modified time | relevance | path

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

12

/frameworks/support/fragment/tests/java/android/support/v4/
DBaseTestActivity.java27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/support/core-ui/tests/java/android/support/v4/
DBaseTestActivity.java27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/support/compat/tests/java/android/support/v4/
DBaseTestActivity.java27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
DThemedYellowActivity.java32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/support/percent/tests/java/android/support/percent/
DBaseTestActivity.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DDrawableStubActivity.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
30 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/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/support/design/tests/src/android/support/design/widget/
DBaseTestActivity.java32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestActivity.java48 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
51 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DBaseTestActivity.java55 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
61 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
DTestActivity.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/core/tests/coretests/src/android/print/
DPrintTestActivity.java29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/frameworks/support/core-ui/tests/java/android/support/v4/view/
DViewPagerWithTitleStripActivity.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
DViewPagerWithTabStripActivity.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 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/packages/EasterEgg/src/com/android/egg/neko/
DNekoLockedActivity.java33 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/core/java/android/service/dreams/
DDreamService.java548 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright()
560 return getWindowFlagValue(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, mScreenBright); in isScreenBright()
986 | (mScreenBright ? WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON : 0) in attach()
/frameworks/native/services/inputflinger/
DInputWindow.h46 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/java/android/view/
DWindowManager.java729 public static final int FLAG_KEEP_SCREEN_ON = 0x00000080; field in WindowManager.LayoutParams
1071 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
/frameworks/base/core/java/android/widget/
DToast.java373 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in TN()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java251 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java628 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()

12