Home
last modified time | relevance | path

Searched refs:getWindow (Results 1 – 25 of 237) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java41 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/
DSoftInputWindow.java50 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/
DFakeBackgroundService.java77 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/
DNekoLockedActivity.java31 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/
DBaseErrorDialog.java38 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()
DUserSwitchingDialog.java84 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()
DLaunchWarningWindow.java34 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()
DCompatModeDialog.java44 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()
DFactoryErrorDialog.java34 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in FactoryErrorDialog()
36 getWindow().setAttributes(attrs); in FactoryErrorDialog()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestActivity.java48 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/
DForcedResizableInfoActivity.java52 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/
DItemTouchHelperTest.java99 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/
DActivity.java890 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 …]
DNativeActivity.java138 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()
DDialog.java239 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/
DUserInactivityCountdownDialog.java40 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/
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()
/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/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/core/java/android/database/
DCrossProcessCursorWrapper.java57 public CursorWindow getWindow() { in getWindow() method in CrossProcessCursorWrapper
60 return crossProcessCursor.getWindow(); in getWindow()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DVoiceInteractionMain.java62 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
64 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java79 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show()
93 Window win = mDialog.getWindow(); in onKey()
105 Window win = mDialog.getWindow(); in onKey()

12345678910