Home
last modified time | relevance | path

Searched refs:getWindow (Results 1 – 25 of 250) 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_APPLICATION_OVERLAY); 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/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DBackgroundManagerTest.java251 BackgroundManager.getInstance(activity).attach(activity.getWindow()); in establishInOnAttachToWindow()
274 BackgroundManager.getInstance(activity).attach(activity.getWindow()); in multipleSetBitmaps()
312 BackgroundManager.getInstance(activity).attach(activity.getWindow()); in multipleSetBitmapsAndColor()
355 BackgroundManager.getInstance(activity).attach(activity.getWindow()); in establishInOnCreate()
381 m.attach(activity.getWindow()); in establishInOnStart()
405 m.attach(activity.getWindow()); in assignColorImmediately()
427 m.attach(activity.getWindow()); in assignBitmapImmediately()
450 m.attach(activity.getWindow()); in inheritBitmapByNewActivity()
462 m.attach(activity.getWindow()); in inheritBitmapByNewActivity()
485 m.attach(activity.getWindow()); in inheritColorByNewActivity()
[all …]
/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/services/core/java/com/android/server/am/
DBaseErrorDialog.java39 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in BaseErrorDialog()
40 getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, in BaseErrorDialog()
42 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in BaseErrorDialog()
44 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()
118 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/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/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivity.java70 getWindow().setTitle(text); in onCreate()
71 getWindow().getDecorView().setOnTouchListener(this); in onCreate()
77 getWindow().getDecorView().postDelayed(mFinishRunnable, DISMISS_DELAY); in onStart()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java105 basicSwipeTest(LEFT, LEFT | RIGHT, -getActivity().getWindow().getDecorView().getWidth()); in swipeLeft()
110 basicSwipeTest(RIGHT, LEFT | RIGHT, getActivity().getWindow().getDecorView().getWidth()); in swipeRight()
115 basicSwipeTest(START, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeStart()
120 basicSwipeTest(END, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeEnd()
129 basicSwipeTest(START, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeStartInRTL()
136 basicSwipeTest(END, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeEndInRTL()
/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/base/core/java/android/app/
DNativeActivity.java130 getWindow().takeSurface(this); in onCreate()
131 getWindow().takeInputQueue(this); in onCreate()
132 getWindow().setFormat(PixelFormat.RGB_565); in onCreate()
133 getWindow().setSoftInputMode( in onCreate()
316 getWindow().setFlags(flags, mask); in setWindowFlags()
320 getWindow().setFormat(format); in setWindowFormat()
DActivity.java911 public Window getWindow() { in getWindow() method in Activity
1331 final Window win = getWindow(); in onPostResume()
2563 return getWindow().findViewById(id); in findViewById()
2627 Window window = getWindow(); in initWindowDecorActionBar()
2654 getWindow().setContentView(layoutResID); in setContentView()
2674 getWindow().setContentView(view); in setContentView()
2690 getWindow().setContentView(view, params); in setContentView()
2702 getWindow().addContentView(view, params); in addContentView()
2716 return getWindow().getTransitionManager(); in getContentTransitionManager()
2726 getWindow().setTransitionManager(tm); in setContentTransitionManager()
[all …]
DDialog.java248 getWindow().setVolumeControlStream(mOwnerActivity.getVolumeControlStream()); in setOwnerActivity()
484 public @Nullable Window getWindow() { in getWindow() method in Dialog
862 LayoutParams params = getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
1161 return getWindow().requestFeature(featureId); in requestWindowFeature()
1169 getWindow().setFeatureDrawableResource(featureId, resId); in setFeatureDrawableResource()
1177 getWindow().setFeatureDrawableUri(featureId, uri); in setFeatureDrawableUri()
1185 getWindow().setFeatureDrawable(featureId, drawable); in setFeatureDrawable()
1193 getWindow().setFeatureDrawableAlpha(featureId, alpha); in setFeatureDrawableAlpha()
1197 return getWindow().getLayoutInflater(); in getLayoutInflater()
1333 getWindow().setVolumeControlStream(streamType); in setVolumeControlStream()
[all …]
DEnterTransitionCoordinator.java71 super(activity.getWindow(), sharedElementNames, in EnterTransitionCoordinator()
345 getWindow().setBackgroundDrawable(null); in prepareEnter()
349 getWindow().setBackgroundDrawable(background); in prepareEnter()
357 Window window = getWindow(); in getViewsTransition()
369 Window window = getWindow(); in getSharedElementTransition()
566 Window window = getWindow(); in onTransitionsComplete()
586 getWindow().setBackgroundDrawable(background); in startEnterTransition()
678 return mIsReturning ? getWindow().getAllowReturnTransitionOverlap() in allowOverlappingTransitions()
679 : getWindow().getAllowEnterTransitionOverlap(); in allowOverlappingTransitions()
/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);

12345678910