/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 41 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog() 43 getWindow().setAttributes(attrs); in SystemUIDialog() 64 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers() 67 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers() 73 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL); in applyFlags() 74 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM in applyFlags()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | SoftInputWindow.java | 50 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken() 52 getWindow().setAttributes(lp); in setToken() 89 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent() 112 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity() 115 getWindow().setAttributes(lp); in setGravity() 119 return getWindow().getAttributes().gravity; in getGravity() 169 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow() 177 getWindow().setAttributes(lp); in initDockWindow() 191 getWindow().setFlags(windowSetFlags, windowModFlags); in initDockWindow()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeBackgroundService.java | 77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in onCreate() 78 dialog.getWindow().setFlags( in onCreate() 88 dialog.getWindow().setDimAmount(0); in onCreate() 89 dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 91 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); in onCreate() 97 dialog.getWindow().setAttributes(lp); in onCreate() 98 dialog.getWindow().setContentView(view); in onCreate()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLockedActivity.java | 31 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate() 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate() 33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseErrorDialog.java | 38 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in BaseErrorDialog() 39 getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, in BaseErrorDialog() 41 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in BaseErrorDialog() 43 getWindow().setAttributes(attrs); in BaseErrorDialog()
|
D | UserSwitchingDialog.java | 84 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in UserSwitchingDialog() 86 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in UserSwitchingDialog() 89 getWindow().setAttributes(attrs); in UserSwitchingDialog() 96 final View decorView = getWindow().getDecorView(); in show() 117 final View decorView = getWindow().getDecorView(); in startUser()
|
D | LaunchWarningWindow.java | 34 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in LaunchWarningWindow() 35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in LaunchWarningWindow() 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId); in LaunchWarningWindow()
|
D | CompatModeDialog.java | 44 getWindow().requestFeature(Window.FEATURE_NO_TITLE); in CompatModeDialog() 45 getWindow().setType(WindowManager.LayoutParams.TYPE_PHONE); in CompatModeDialog() 46 getWindow().setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL); in CompatModeDialog()
|
D | FactoryErrorDialog.java | 34 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in FactoryErrorDialog() 36 getWindow().setAttributes(attrs); in FactoryErrorDialog()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | TestActivity.java | 48 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate() 51 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 106 return getWindow() != null && mVisible && !mAllowFinish; in canBeReUsed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivity.java | 52 getWindow().setTitle(getString(R.string.dock_forced_resizable)); in onCreate() 53 getWindow().getDecorView().setOnTouchListener(this); in onCreate() 59 getWindow().getDecorView().postDelayed(mFinishRunnable, DISMISS_DELAY); in onStart()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/ |
D | ItemTouchHelperTest.java | 99 basicSwipeTest(LEFT, LEFT | RIGHT, -getActivity().getWindow().getDecorView().getWidth()); in swipeLeft() 104 basicSwipeTest(RIGHT, LEFT | RIGHT, getActivity().getWindow().getDecorView().getWidth()); in swipeRight() 109 basicSwipeTest(START, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeStart() 114 basicSwipeTest(END, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeEnd() 121 basicSwipeTest(START, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeStartInRTL() 128 basicSwipeTest(END, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeEndInRTL()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 890 public Window getWindow() { in getWindow() method in Activity 1270 final Window win = getWindow(); in onPostResume() 2323 return getWindow().findViewById(id); in findViewById() 2387 Window window = getWindow(); in initWindowDecorActionBar() 2414 getWindow().setContentView(layoutResID); in setContentView() 2434 getWindow().setContentView(view); in setContentView() 2450 getWindow().setContentView(view, params); in setContentView() 2462 getWindow().addContentView(view, params); in addContentView() 2476 return getWindow().getTransitionManager(); in getContentTransitionManager() 2486 getWindow().setTransitionManager(tm); in setContentTransitionManager() [all …]
|
D | NativeActivity.java | 138 getWindow().takeSurface(this); in onCreate() 139 getWindow().takeInputQueue(this); in onCreate() 140 getWindow().setFormat(PixelFormat.RGB_565); in onCreate() 141 getWindow().setSoftInputMode( in onCreate() 324 getWindow().setFlags(flags, mask); in setWindowFlags() 328 getWindow().setFormat(format); in setWindowFormat()
|
D | Dialog.java | 239 getWindow().setVolumeControlStream(mOwnerActivity.getVolumeControlStream()); in setOwnerActivity() 470 public @Nullable Window getWindow() { in getWindow() method in Dialog 840 LayoutParams params = getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent() 1139 return getWindow().requestFeature(featureId); in requestWindowFeature() 1147 getWindow().setFeatureDrawableResource(featureId, resId); in setFeatureDrawableResource() 1155 getWindow().setFeatureDrawableUri(featureId, uri); in setFeatureDrawableUri() 1163 getWindow().setFeatureDrawable(featureId, drawable); in setFeatureDrawable() 1171 getWindow().setFeatureDrawableAlpha(featureId, alpha); in setFeatureDrawableAlpha() 1175 return getWindow().getLayoutInflater(); in getLayoutInflater() 1309 getWindow().setVolumeControlStream(streamType); in setVolumeControlStream() [all …]
|
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/ |
D | UserInactivityCountdownDialog.java | 40 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in UserInactivityCountdownDialog() 41 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in UserInactivityCountdownDialog() 43 getWindow().setAttributes(attrs); in UserInactivityCountdownDialog()
|
/frameworks/support/fragment/tests/java/android/support/v4/ |
D | BaseTestActivity.java | 27 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/ |
D | BaseTestActivity.java | 27 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/ |
D | BaseTestActivity.java | 27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/frameworks/support/percent/tests/java/android/support/percent/ |
D | BaseTestActivity.java | 28 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/ |
D | DrawableStubActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 30 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BaseTestActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/frameworks/base/core/java/android/database/ |
D | CrossProcessCursorWrapper.java | 57 public CursorWindow getWindow() { in getWindow() method in CrossProcessCursorWrapper 60 return crossProcessCursor.getWindow(); in getWindow()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | VoiceInteractionMain.java | 62 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE); 64 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 79 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show() 93 Window win = mDialog.getWindow(); in onKey() 105 Window win = mDialog.getWindow(); in onKey()
|