/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowManager_LayoutParamsTest.java | 60 private WindowManager.LayoutParams mLayoutParams; 64 new WindowManager.LayoutParams(); in testConstructor() 66 new WindowManager.LayoutParams( in testConstructor() 67 WindowManager.LayoutParams.TYPE_APPLICATION); in testConstructor() 69 new WindowManager.LayoutParams( in testConstructor() 70 WindowManager.LayoutParams.TYPE_APPLICATION, in testConstructor() 71 WindowManager.LayoutParams.FLAG_DITHER); in testConstructor() 73 new WindowManager.LayoutParams( in testConstructor() 74 WindowManager.LayoutParams.TYPE_APPLICATION, in testConstructor() 75 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testConstructor() [all …]
|
D | WindowContextPolicyTests.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY; 20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 21 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA; 23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; 25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_STARTING; 26 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL; 27 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 28 import static android.view.WindowManager.LayoutParams.TYPE_DRAWN_APPLICATION; [all …]
|
D | LocationInWindowTests.java | 20 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 21 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR; 22 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 23 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER; 24 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES; 40 import android.view.WindowManager.LayoutParams; 69 private LayoutParams mLayoutParams; 73 mLayoutParams = new LayoutParams(MATCH_PARENT, MATCH_PARENT, LayoutParams.TYPE_APPLICATION, in setUp() 74 LayoutParams.FLAG_LAYOUT_IN_SCREEN | LayoutParams.FLAG_LAYOUT_INSET_DECOR, in setUp() 85 mLayoutParams.flags |= LayoutParams.FLAG_FULLSCREEN; in testLocationInWindow_appWindow_fullscreen() [all …]
|
D | WindowTest.java | 21 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; 157 final WindowManager.LayoutParams attrs = mWindow.getAttributes(); in testOpFlags() 160 mWindow.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); in testOpFlags() 161 assertEquals(WindowManager.LayoutParams.FLAG_FULLSCREEN, attrs.flags); in testOpFlags() 163 mWindow.addFlags(WindowManager.LayoutParams.FLAG_DITHER); in testOpFlags() 164 assertEquals(WindowManager.LayoutParams.FLAG_FULLSCREEN in testOpFlags() 165 | WindowManager.LayoutParams.FLAG_DITHER, attrs.flags); in testOpFlags() 167 mWindow.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); in testOpFlags() 168 assertEquals(WindowManager.LayoutParams.FLAG_DITHER, attrs.flags); in testOpFlags() 169 mWindow.clearFlags(WindowManager.LayoutParams.FLAG_DITHER); in testOpFlags() [all …]
|
D | WindowInputTests.java | 25 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 26 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; 27 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 28 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL; 29 import static android.view.WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH; 125 final WindowManager.LayoutParams p = new WindowManager.LayoutParams(); in testMoveWindowAndTap() 128 p.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL in testMoveWindowAndTap() 129 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; in testMoveWindowAndTap() 200 final WindowManager.LayoutParams p = new WindowManager.LayoutParams(); in testTouchModalWindow() 216 p.type = WindowManager.LayoutParams.TYPE_APPLICATION; in testTouchModalWindow() [all …]
|
D | LocationOnScreenTests.java | 23 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 24 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR; 25 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 26 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER; 27 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES; 48 import android.view.WindowManager.LayoutParams; 79 private LayoutParams mLayoutParams; 85 mLayoutParams = new LayoutParams(MATCH_PARENT, MATCH_PARENT, LayoutParams.TYPE_APPLICATION, in setUp() 86 LayoutParams.FLAG_LAYOUT_IN_SCREEN | LayoutParams.FLAG_LAYOUT_INSET_DECOR, in setUp() 97 mLayoutParams.flags |= LayoutParams.FLAG_FULLSCREEN; in testLocationOnDisplay_appWindow_fullscreen() [all …]
|
D | AlertWindowsAppOpsTestsActivity.java | 23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 29 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in showSystemAlertWindow() 31 params.width = WindowManager.LayoutParams.MATCH_PARENT; in showSystemAlertWindow() 32 params.height = WindowManager.LayoutParams.MATCH_PARENT; in showSystemAlertWindow()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayout_LayoutParamsTest.java | 28 import android.widget.FrameLayout.LayoutParams; 64 new LayoutParams(mContext, attrs); in testConstructor() 65 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in testConstructor() 66 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); in testConstructor() 67 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)); in testConstructor() 68 new LayoutParams(new LayoutParams(mContext, attrs)); in testConstructor() 69 new LayoutParams(new MarginLayoutParams(mContext, attrs)); in testConstructor() 71 new LayoutParams(-1, -1); in testConstructor() 72 new LayoutParams(-1, -1, -1); in testConstructor() 77 new LayoutParams(null, null); in testConstructorNullContext() [all …]
|
D | TableLayout_LayoutParamsTest.java | 56 TableLayout.LayoutParams layoutParams = new TableLayout.LayoutParams(); in testConstructor() 57 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor() 58 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, layoutParams.height); in testConstructor() 61 layoutParams = new TableLayout.LayoutParams(mContext, null); in testConstructor() 62 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor() 63 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, layoutParams.height); in testConstructor() 66 layoutParams = new TableLayout.LayoutParams(200, 300); in testConstructor() 67 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor() 71 layoutParams = new TableLayout.LayoutParams(250, 350, 1.2f); in testConstructor() 72 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor() [all …]
|
D | AbsListView_LayoutParamsTest.java | 25 import android.widget.AbsListView.LayoutParams; 57 AbsListView.LayoutParams layoutParams; in testConstructors() 59 layoutParams = new AbsListView.LayoutParams(mContext, mAttributeSet); in testConstructors() 63 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT, in testConstructors() 64 LayoutParams.MATCH_PARENT); in testConstructors() 65 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructors() 66 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.height); in testConstructors() 68 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT, in testConstructors() 69 LayoutParams.MATCH_PARENT, 0); in testConstructors() 70 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructors() [all …]
|
D | AbsoluteLayoutTest.java | 30 import android.widget.AbsoluteLayout.LayoutParams; 59 private LayoutParams mAbsoluteLayoutParams; 70 mAbsoluteLayoutParams = new LayoutParams(DEFAULT_WIDTH, DEFAULT_HEIGHT, in setup() 96 ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(1, 2); in testCheckLayoutParams() 104 LayoutParams params = (LayoutParams) mAbsoluteLayout.generateLayoutParams( in testGenerateLayoutParamsFromAttributeSet() 108 assertEquals(LayoutParams.MATCH_PARENT, params.width); in testGenerateLayoutParamsFromAttributeSet() 109 assertEquals(LayoutParams.MATCH_PARENT, params.height); in testGenerateLayoutParamsFromAttributeSet() 117 LayoutParams params = in testGenerateLayoutParamsFromLayoutParams() 118 (LayoutParams) mMyAbsoluteLayout.generateLayoutParams(mAbsoluteLayoutParams); in testGenerateLayoutParamsFromLayoutParams() 128 mMyAbsoluteLayout.generateLayoutParams((LayoutParams) null); in testGenerateLayoutParamsFromNull() [all …]
|
D | LinearLayout_LayoutParamsTest.java | 25 import android.view.ViewGroup.LayoutParams; 49 LinearLayout.LayoutParams linearLayoutParams = in testConstructor() 50 new LinearLayout.LayoutParams(context, p); in testConstructor() 51 assertEquals(LayoutParams.MATCH_PARENT, linearLayoutParams.width); in testConstructor() 52 assertEquals(LayoutParams.WRAP_CONTENT, linearLayoutParams.height); in testConstructor() 56 linearLayoutParams = new LinearLayout.LayoutParams(320, 240); in testConstructor() 62 linearLayoutParams = new LinearLayout.LayoutParams(360, 320, 0.4f); in testConstructor() 68 LayoutParams layoutParams = new LayoutParams(200, 480); in testConstructor() 69 linearLayoutParams = new LinearLayout.LayoutParams(layoutParams); in testConstructor() 76 linearLayoutParams = new LinearLayout.LayoutParams(marginLayoutParams); in testConstructor() [all …]
|
D | RadioGroup_LayoutParamsTest.java | 58 RadioGroup.LayoutParams mLayoutParams = in testConstructor() 59 new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); in testConstructor() 64 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE); in testConstructor() 69 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 75 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 81 mLayoutParams = new RadioGroup.LayoutParams(new ViewGroup.LayoutParams(40, 60)); in testConstructor() 86 mLayoutParams = new RadioGroup.LayoutParams(new ViewGroup.MarginLayoutParams(100, 200)); in testConstructor() 101 mLayoutParams = new RadioGroup.LayoutParams(source); in testConstructor() 110 mLayoutParams = new RadioGroup.LayoutParams(mContext, in testConstructor() 119 assertEquals(RadioGroup.LayoutParams.MATCH_PARENT, mLayoutParams.width); in testConstructor() [all …]
|
D | RadioGroupTest.java | 38 import android.widget.RadioGroup.LayoutParams; 115 mRadioGroup.addView(newButton, new RadioGroup.LayoutParams( in testInternalPassThroughHierarchyChangeListener() 116 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalPassThroughHierarchyChangeListener() 128 mRadioGroup.addView(newButton, new RadioGroup.LayoutParams( in testInternalCheckedStateTracker() 129 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalCheckedStateTracker() 303 RadioGroup.LayoutParams layoutParams = in testGenerateLayoutParams() 313 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width); in testGenerateLayoutParams() 314 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height); in testGenerateLayoutParams() 326 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.width); in testGenerateLayoutParams() 327 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.height); in testGenerateLayoutParams() [all …]
|
D | RelativeLayout_LayoutParamsTest.java | 63 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(200, 300); in testConstructor() 67 RelativeLayout.LayoutParams tempLayoutParams = layoutParams; in testConstructor() 68 layoutParams = new RelativeLayout.LayoutParams(tempLayoutParams); in testConstructor() 72 ViewGroup.LayoutParams tempViewGroupLayoutParams = new ViewGroup.LayoutParams(300, 400); in testConstructor() 73 layoutParams = new RelativeLayout.LayoutParams(tempViewGroupLayoutParams); in testConstructor() 78 layoutParams = new RelativeLayout.LayoutParams(tempMarginLayoutParams); in testConstructor() 84 layoutParams = new RelativeLayout.LayoutParams(mActivity, p); in testConstructor() 85 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor() 86 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, layoutParams.height); in testConstructor() 100 layoutParams = (RelativeLayout.LayoutParams) (view1.getLayoutParams()); in testConstructor() [all …]
|
D | AbsoluteLayout_LayoutParamsTest.java | 26 import android.widget.AbsoluteLayout.LayoutParams; 60 LayoutParams layoutParams; in testConstructor() 62 layoutParams = new AbsoluteLayout.LayoutParams(1, 2, 3, 4); in testConstructor() 68 LayoutParams params = new AbsoluteLayout.LayoutParams(layoutParams); in testConstructor() 74 new AbsoluteLayout.LayoutParams(mContext, getAttributeSet()); in testConstructor() 79 LayoutParams layoutParams = new AbsoluteLayout.LayoutParams(1, 2, 3, 4); in testDebug()
|
D | TableRow_LayoutParamsTest.java | 65 new TableRow.LayoutParams(mActivity, null); in testConstructor() 67 TableRow.LayoutParams layoutParams = new TableRow.LayoutParams(200, 300); in testConstructor() 72 ViewGroup.LayoutParams oldParams = layoutParams; in testConstructor() 74 layoutParams = new TableRow.LayoutParams(200, 300, 1.2f); in testConstructor() 82 layoutParams = new TableRow.LayoutParams(); in testConstructor() 86 layoutParams = new TableRow.LayoutParams(5); in testConstructor() 90 layoutParams = new TableRow.LayoutParams(oldParams); in testConstructor() 96 layoutParams = new TableRow.LayoutParams(oldMarginParams); in testConstructor() 106 layoutParams = (TableRow.LayoutParams) vVirtual1.getLayoutParams(); in testConstructor() 109 layoutParams = (TableRow.LayoutParams) vVirtual2.getLayoutParams(); in testConstructor() [all …]
|
D | FrameLayoutTest.java | 50 import android.widget.FrameLayout.LayoutParams; 198 ViewGroup.LayoutParams p = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in testGenerateLayoutParams1() 199 ViewGroup.LayoutParams.WRAP_CONTENT); in testGenerateLayoutParams1() 201 ViewGroup.LayoutParams params = myFrameLayout.generateLayoutParams(p); in testGenerateLayoutParams1() 203 assertTrue(params instanceof FrameLayout.LayoutParams); in testGenerateLayoutParams1() 204 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, params.width); in testGenerateLayoutParams1() 205 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, params.height); in testGenerateLayoutParams1() 212 FrameLayout.LayoutParams params = mFrameLayout.generateLayoutParams(attrs); in testGenerateLayoutParams2() 214 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, params.width); in testGenerateLayoutParams2() 215 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, params.height); in testGenerateLayoutParams2() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 117 LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); in onMeasure() 124 if ((lp.boxedEdges & LayoutParams.BOX_LEFT) == 0) { in onMeasure() 127 if ((lp.boxedEdges & LayoutParams.BOX_RIGHT) == 0) { in onMeasure() 130 if ((lp.boxedEdges & LayoutParams.BOX_TOP) == 0) { in onMeasure() 133 if ((lp.boxedEdges & LayoutParams.BOX_BOTTOM) == 0) { in onMeasure() 178 final LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); in onMeasure() 190 if (mLastKnownRound && ((lp.boxedEdges & LayoutParams.BOX_LEFT) != 0)) { in onMeasure() 195 if (mLastKnownRound && ((lp.boxedEdges & LayoutParams.BOX_RIGHT) != 0)) { in onMeasure() 200 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure() 212 if (mLastKnownRound && ((lp.boxedEdges & LayoutParams.BOX_TOP) != 0)) { in onMeasure() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 51 final LinearLayout.LayoutParams buttonLp = in twoButtonsSeparatedByFiller() 52 new LinearLayout.LayoutParams( in twoButtonsSeparatedByFiller() 53 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller() 63 middleFiller.setLayoutParams(new LinearLayout.LayoutParams( in twoButtonsSeparatedByFiller() 64 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller() 96 final LinearLayout.LayoutParams lp in horizontalButtonSlots() 97 = new LinearLayout.LayoutParams(0, desiredHeight); in horizontalButtonSlots() 158 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in button() 159 ViewGroup.LayoutParams.MATCH_PARENT, in button() 160 ViewGroup.LayoutParams.WRAP_CONTENT); in button() [all …]
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | UntrustedTouchTestService.java | 35 import android.view.WindowManager.LayoutParams; 93 LayoutParams params = newOverlayLayoutParams(name, in showSystemAlertWindow() 94 LayoutParams.TYPE_APPLICATION_OVERLAY); in showSystemAlertWindow() 104 LayoutParams params = newOverlayLayoutParams(name, LayoutParams.TYPE_APPLICATION); in showActivityChildWindow() 133 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw() 142 private static LayoutParams newOverlayLayoutParams(String windowName, int type) { in newOverlayLayoutParams() 143 LayoutParams params = new LayoutParams( in newOverlayLayoutParams() 144 LayoutParams.MATCH_PARENT, in newOverlayLayoutParams() 145 LayoutParams.MATCH_PARENT, in newOverlayLayoutParams() 147 LayoutParams.FLAG_NOT_TOUCHABLE | LayoutParams.FLAG_NOT_FOCUSABLE, in newOverlayLayoutParams()
|
/cts/tests/framework/base/windowmanager/alertwindowapp/src/android/server/wm/alertwindowapp/ |
D | AlertWindowTestActivity.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 23 import static android.view.WindowManager.LayoutParams.TYPE_PHONE; 24 import static android.view.WindowManager.LayoutParams.TYPE_PRIORITY_PHONE; 25 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ALERT; 26 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ERROR; 27 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY;
|
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/ |
D | AlertWindowTestActivitySdk25.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_PHONE; 22 import static android.view.WindowManager.LayoutParams.TYPE_PRIORITY_PHONE; 23 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ALERT; 24 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ERROR; 25 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 20 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 21 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; 22 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL; 23 import static android.view.WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH; 24 import static android.view.WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN; 25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 121 WindowManager.LayoutParams params = in createPopupTextView() 122 (WindowManager.LayoutParams) editText.getLayoutParams(); in createPopupTextView() 134 WindowManager.LayoutParams params = in createPopupTextView() 135 (WindowManager.LayoutParams) editText.getLayoutParams(); in createPopupTextView() [all …]
|
/cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/ |
D | OverlayingActivity.java | 19 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; 20 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS; 21 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 22 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL; 34 WindowManager.LayoutParams params = getWindow().getAttributes(); in onCreate()
|