Home
last modified time | relevance | path

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

123456

/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java315 mActivity.getWindow().clearFlags(LayoutParams.FLAG_KEEP_SCREEN_ON); in onPause()
629 mActivity.getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON); in resumePlayback()
659 mActivity.getWindow().clearFlags(LayoutParams.FLAG_KEEP_SCREEN_ON); in pausePlayback()
716 mActivity.getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON); in setSpeakerphoneOn()
721 mActivity.getWindow().clearFlags(LayoutParams.FLAG_KEEP_SCREEN_ON); in setSpeakerphoneOn()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1216 final Window window = getWindow().getWindow(); in updateSoftInputWindowLayoutParameters()
1298 final IBinder token = getWindow().getWindow().getAttributes().token; in switchToNextSubtype()
1766 final Window window = dialog.getWindow(); in showOptionDialog()
1850 final IBinder token = getWindow().getWindow().getAttributes().token; in shouldSwitchToOtherInputMethods()
1862 final IBinder token = getWindow().getWindow().getAttributes().token; in shouldShowLanguageSwitchKey()
/packages/apps/InCallUI/src/com/android/incallui/
DInCallActivity.java149 getWindow().addFlags(flags); in onCreate()
489 Window w = this.getWindow(); in onKeyDown()
658 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in dismissKeyguard()
660 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in dismissKeyguard()
857 mDialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in showErrorDialog()
DCircularRevealFragment.java100 final View view = activity.getWindow().getDecorView(); in startOutgoingAnimation()
119 activity.getWindow().setStatusBarColor(palette.mSecondaryColor); in startOutgoingAnimation()
147 final View view = activity.getWindow().getDecorView(); in getRevealAnimator()
DAnswerFragment.java218 mCannedResponsePopup.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in showMessageDialog()
329 mCustomMessagePopup.getWindow().setSoftInputMode( in showCustomMessageDialog()
331 mCustomMessagePopup.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in showCustomMessageDialog()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintEnrollBase.java72 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS | in initViews()
76 getWindow().getDecorView().setSystemUiVisibility( in initViews()
79 getWindow().setStatusBarColor(Color.TRANSPARENT); in initViews()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java285 getWindow().getDecorView().setSystemUiVisibility(
586 activity.getWindow().clearFlags( in handleMessage()
1320 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in enableKeepScreenOn()
1517 getWindow().requestFeature(Window.FEATURE_ACTION_BAR); in onCreateTasks()
1523 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); in onCreateTasks()
1536 getWindow().setBackgroundDrawable(null); in onCreateTasks()
1573 Window win = getWindow(); in onCreateTasks()
1767 Window win = getWindow(); in setRotationAnimation()
2089 getWindow().getDecorView().setOnSystemUiVisibilityChangeListener( in resume()
2840 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOnForAWhile()
[all …]
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java173 WindowManager.LayoutParams lp = getWindow().getAttributes(); in onCreate()
180 getWindow().setAttributes(lp); in onCreate()
609 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreateDialog()
610 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreateDialog()
DPhoneUtils.java871 pd.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in displayMMIInitiate()
943 pd.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); in displayMMIComplete()
944 pd.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in displayMMIComplete()
985 sUssdDialog.getWindow().setType( in displayMMIComplete()
987 sUssdDialog.getWindow().addFlags( in displayMMIComplete()
1095 newDialog.getWindow().setType( in displayMMIComplete()
1097 newDialog.getWindow().addFlags( in displayMMIComplete()
DPhoneDisplayMessage.java78 sDisplayMessageDialog.getWindow().setType( in displayMessage()
80 sDisplayMessageDialog.getWindow().addFlags( in displayMessage()
DADNList.java82 getWindow().requestFeature(Window.FEATURE_INDETERMINATE_PROGRESS); in onCreate()
175 getWindow().setFeatureInt( in displayProgress()
/packages/apps/Settings/src/com/android/settings/
DBandMode.java65 getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, in onCreate()
84 getWindow().setFeatureInt(
205 getWindow().setFeatureInt(
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java272 Window window = getWindow(); in onCreate()
340 getWindow().clearFlags(WindowManager.LayoutParams. in onCreate()
1153 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in resetScreenOn()
1158 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOnAwhile()
1164 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOn()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java172 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED in onCreate()
217 getWindow().setBackgroundDrawable(new ColorDrawable(mCurrentHourColor)); in onCreate()
421 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION in hideNavigationBar()
597 getWindow().setBackgroundDrawable(new ColorDrawable(backgroundColor)); in getAlertAnimator()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAbstractGalleryActivity.java78 getWindow().setBackgroundDrawable(null); in onCreate()
294 Window win = getWindow(); in toggleStatusBarByOrientation()
311 return (getWindow().getAttributes().flags in isFullscreen()
DActivityState.java149 final Window win = mActivity.getWindow(); in setScreenFlags()
182 mActivity.getWindow().getDecorView().performHapticFeedback(feedbackConstant, in performHapticFeedback()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertFullScreen.java202 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in addWindowFlags()
208 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in clearWindowFlags()
248 final Window win = getWindow(); in onCreate()
/packages/apps/Browser/src/com/android/browser/
DBaseUi.java126 FrameLayout frameLayout = (FrameLayout) mActivity.getWindow() in BaseUi()
531 FrameLayout decor = (FrameLayout) mActivity.getWindow().getDecorView(); in showCustomView()
548 FrameLayout decor = (FrameLayout) mActivity.getWindow().getDecorView(); in onHideCustomView()
765 Window win = mActivity.getWindow(); in setFullscreen()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMemoryCursor.java36 DatabaseUtils.cursorFillWindow(cursor, 0, getWindow()); in fillFromCursor()
41 return getWindow().getNumRows(); in getCount()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1649 FirstFrameAnimatorHelper.initializeDrawListener(getWindow().getDecorView()); in onAttachedToWindow()
1662 Window window = getWindow(); in setupTransparentSystemBarsForLollipop()
1849 getWindow().closeAllPanels(); in closeSystemDialogs()
1891 final View v = getWindow().peekDecorView(); in onNewIntent()
3226 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in setWorkspaceBackground()
3229 getWindow().setBackgroundDrawable(null); in setWorkspaceBackground()
3232 getWindow().setBackgroundDrawable(mWorkspaceBackgroundDrawable); in setWorkspaceBackground()
3238 int curflags = getWindow().getAttributes().flags in changeWallpaperVisiblity()
3241 getWindow().setFlags(wpflags, WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER); in changeWallpaperVisiblity()
3298 getWindow().getDecorView() in showWorkspace()
[all …]
/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java186 getWindow().setStatusBarColor(errorColor); in setState()
192 getWindow().setStatusBarColor( in setState()
315 (ViewGroupOverlay) getWindow().getDecorView().getOverlay(); in reveal()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java282 getWindow().clearFlags( in handleMessage()
356 Util.initializeScreenBrightness(getWindow(), getContentResolver()); in onCreate()
400 Util.enterLightsOutMode(getWindow()); in onCreate()
1741 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in resetScreenOn()
1746 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOnAwhile()
1752 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOn()
DCamera.java284 getWindow().clearFlags( in handleMessage()
390 Util.initializeScreenBrightness(getWindow(), getContentResolver()); in initializeFirstTime()
1153 Util.enterLightsOutMode(getWindow()); in onCreate()
2239 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in resetScreenOn()
2244 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOnAwhile()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DDeleteFdnContactScreen.java69 getWindow().requestFeature(Window.FEATURE_INDETERMINATE_PROGRESS); in onCreate()
137 getWindow().setFeatureInt( in displayProgress()
/packages/apps/Camera/src/com/android/camera/
DPanoramaModule.java319 mActivity.getWindow().clearFlags(WindowManager.LayoutParams. in init()
1206 mActivity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in resetScreenOn()
1211 mActivity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOnAwhile()
1217 mActivity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in keepScreenOn()

123456