Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java36 getWindow().setType(WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL); in SystemUIDialog()
37 getWindow().addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM in SystemUIDialog()
39 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
41 getWindow().setAttributes(attrs); in SystemUIDialog()
46 getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
49 getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
/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()
DInputMethodService.java317 View decor = getWindow().getWindow().getDecorView();
676 mWindow.getWindow().addFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); in onCreate()
679 mWindow.getWindow().setLayout(MATCH_PARENT, WRAP_CONTENT); in onCreate()
714 mWindow.getWindow().setWindowAnimations( in initViews()
746 mWindow.getWindow().setWindowAnimations(0); in onDestroy()
830 public Dialog getWindow() { in getWindow() method in InputMethodService
936 onConfigureWindow(mWindow.getWindow(), isFullscreen, !mShowInputRequested); in updateFullscreenMode()
959 final int currentHeight = mWindow.getWindow().getAttributes().height; in onConfigureWindow()
965 mWindow.getWindow().setLayout(MATCH_PARENT, newHeight); in onConfigureWindow()
1069 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets()
[all …]
/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/services/core/java/com/android/server/am/
DUserSwitchingDialog.java60 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in UserSwitchingDialog()
62 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in UserSwitchingDialog()
65 getWindow().setAttributes(attrs); in UserSwitchingDialog()
72 final View decorView = getWindow().getDecorView(); in show()
82 final View decorView = getWindow().getDecorView(); in onWindowShown()
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()
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()
DAppErrorDialog.java73 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in AppErrorDialog()
77 getWindow().setAttributes(attrs); in AppErrorDialog()
79 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in AppErrorDialog()
DFactoryErrorDialog.java34 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in FactoryErrorDialog()
36 getWindow().setAttributes(attrs); in FactoryErrorDialog()
DAppWaitingForDebuggerDialog.java56 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in AppWaitingForDebuggerDialog()
58 getWindow().setAttributes(attrs); in AppWaitingForDebuggerDialog()
DAppNotRespondingDialog.java93 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in AppNotRespondingDialog()
95 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in AppNotRespondingDialog()
99 getWindow().setAttributes(attrs); in AppNotRespondingDialog()
DStrictModeViolationDialog.java77 getWindow().addPrivateFlags(PRIVATE_FLAG_SYSTEM_ERROR); in StrictModeViolationDialog()
78 getWindow().setTitle("Strict Mode Violation: " + app.info.processName); in StrictModeViolationDialog()
/frameworks/base/core/java/android/app/
DActivity.java751 Window window = Activity.this.getWindow();
847 public Window getWindow() { in getWindow() method in Activity
1238 final Window win = getWindow(); in onPostResume()
2072 return getWindow().findViewById(id); in findViewById()
2118 Window window = getWindow(); in initWindowDecorActionBar()
2145 getWindow().setContentView(layoutResID); in setContentView()
2165 getWindow().setContentView(view); in setContentView()
2181 getWindow().setContentView(view, params); in setContentView()
2193 getWindow().addContentView(view, params); in addContentView()
2207 return getWindow().getTransitionManager(); in getContentTransitionManager()
[all …]
DDialog.java220 getWindow().setVolumeControlStream(mOwnerActivity.getVolumeControlStream()); in setOwnerActivity()
454 public Window getWindow() { in getWindow() method in Dialog
809 LayoutParams params = getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
1066 return getWindow().requestFeature(featureId); in requestWindowFeature()
1074 getWindow().setFeatureDrawableResource(featureId, resId); in setFeatureDrawableResource()
1082 getWindow().setFeatureDrawableUri(featureId, uri); in setFeatureDrawableUri()
1090 getWindow().setFeatureDrawable(featureId, drawable); in setFeatureDrawable()
1098 getWindow().setFeatureDrawableAlpha(featureId, alpha); in setFeatureDrawableAlpha()
1102 return getWindow().getLayoutInflater(); in getLayoutInflater()
1235 getWindow().setVolumeControlStream(streamType); in setVolumeControlStream()
[all …]
DNativeActivity.java135 getWindow().takeSurface(this); in onCreate()
136 getWindow().takeInputQueue(this); in onCreate()
137 getWindow().setFormat(PixelFormat.RGB_565); in onCreate()
138 getWindow().setSoftInputMode( in onCreate()
323 getWindow().setFlags(flags, mask); in setWindowFlags()
327 getWindow().setFormat(format); in setWindowFormat()
DExitTransitionCoordinator.java75 super(activity.getWindow(), names, getListener(activity, isReturning), isReturning); in ExitTransitionCoordinator()
237 getWindow().setBackgroundDrawable(new ColorDrawable(Color.BLACK)); in startExit()
285 getWindow().setBackgroundDrawable(background); in fadeOutBackground()
463 return getWindow().getReturnTransition(); in getViewsTransition()
465 return getWindow().getExitTransition(); in getViewsTransition()
471 return getWindow().getSharedElementReturnTransition(); in getSharedElementTransition()
473 return getWindow().getSharedElementExitTransition(); in getSharedElementTransition()
DEnterTransitionCoordinator.java63 super(activity.getWindow(), sharedElementNames, in EnterTransitionCoordinator()
274 getWindow().setBackgroundDrawable(null); in prepareEnter()
277 getWindow().setBackgroundDrawable(background); in prepareEnter()
286 Window window = getWindow(); in getViewsTransition()
298 Window window = getWindow(); in getSharedElementTransition()
516 getWindow().setBackgroundDrawable(background); in startEnterTransition()
596 return mIsReturning ? getWindow().getAllowExitTransitionOverlap() in allowOverlappingTransitions()
597 : getWindow().getAllowEnterTransitionOverlap(); in allowOverlappingTransitions()
/frameworks/base/core/java/android/database/
DCrossProcessCursorWrapper.java57 public CursorWindow getWindow() { in getWindow() method in CrossProcessCursorWrapper
60 return crossProcessCursor.getWindow(); in getWindow()
DCursorToBulkCursorAdaptor.java146 d.window = mCursor.getWindow(); in getBulkCursorDescriptor()
157 public CursorWindow getWindow(int position) { in getWindow() method in CursorToBulkCursorAdaptor
166 CursorWindow window = mCursor.getWindow(); in getWindow()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuDialogHelper.java85 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show()
99 Window win = mDialog.getWindow(); in onKey()
111 Window win = mDialog.getWindow(); in onKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java82 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show()
96 Window win = mDialog.getWindow(); in onKey()
108 Window win = mDialog.getWindow(); in onKey()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java54 mAlert = new AlertController(this, this, getWindow()); in onCreate()
75 ViewGroup.LayoutParams params = getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DTestInteractionActivity.java52 getWindow().setGravity(Gravity.TOP); in onCreate()
53 getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java370 public Window getWindow() { in getWindow() method in DreamService
386 getWindow().setContentView(layoutResID); in setContentView()
402 getWindow().setContentView(view); in setContentView()
422 getWindow().setContentView(view, params); in setContentView()
434 getWindow().addContentView(view, params); in addContentView()
446 return getWindow().findViewById(id); in findViewById()

123456