Home
last modified time | relevance | path

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

123456789

/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorActivity.java104 getWindow().setNavigationBarDividerColor(Color.TRANSPARENT); in setContainer()
106 getWindow().setNavigationBarColor(Color.TRANSPARENT); in setContainer()
107 getWindow().setNavigationBarContrastEnforced(true); in setContainer()
109 getWindow().setNavigationBarColor(getColor(R.color.nav_bar_translucent)); in setContainer()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java76 .create(this, this, getWindow()) in onCreate()
80 getWindow().setCloseOnTouchOutside(false); in onCreate()
86 getWindow().addFlags( in onResume()
92 getWindow().clearFlags( in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationAccessConfirmationActivity.java76 .create(this, this, getWindow()) in onCreate()
80 getWindow().setCloseOnTouchOutside(false); in onCreate()
86 getWindow().addFlags( in onResume()
92 getWindow().clearFlags( in onPause()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DTestEncryptionActivity.java41 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in onCreate()
44 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DFallbackHome.java62 getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON);
69 final View decorView = getWindow().getDecorView();
101 getWindow().getDecorView().setSystemUiVisibility(flags); in onCreate()
157 getWindow().getDecorView().setSystemUiVisibility(flagsToUpdate); in loadWallpaperColors()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java35 Button positiveButton = dialogFragment.getDialog().getWindow().findViewById( in clickPositiveButton()
44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton()
53 TextView titleView = dialogFragment.getDialog().getWindow().findViewById( in getTitle()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1287 final Window window = getWindow().getWindow(); in updateSoftInputWindowLayoutParameters()
1368 final IBinder token = getWindow().getWindow().getAttributes().token; in switchLanguage()
1374 final IBinder token = getWindow().getWindow().getAttributes().token; in switchToNextSubtype()
1863 final Window window = dialog.getWindow(); in showOptionDialog()
1947 final IBinder token = getWindow().getWindow().getAttributes().token; in shouldSwitchToOtherInputMethods()
1959 final IBinder token = getWindow().getWindow().getAttributes().token; in shouldShowLanguageSwitchKey()
1970 getWindow().getWindow().setNavigationBarColor( in setNavigationBarVisibility()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestInstrumentationRunner.java75 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in newApplication()
77 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in newApplication()
78 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in newApplication()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DFallbackHome.java61 getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON);
68 View decorView = getWindow().getDecorView();
107 getWindow().getDecorView().setSystemUiVisibility(flags); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/
DFallbackHome.java65 getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON);
72 View decorView = getWindow().getDecorView();
111 getWindow().getDecorView().setSystemUiVisibility(flags); in onCreate()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPermissionActivity.java112 getWindow().setCloseOnTouchOutside(false); in onCreate()
113 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in onCreate()
114 getWindow().addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); in onCreate()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java352 pd.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in displayMMIInitiate()
440 pd.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); in displayMMIComplete()
441 pd.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in displayMMIComplete()
565 newDialog.getWindow().setType( in displayMMIComplete()
567 newDialog.getWindow().addFlags( in displayMMIComplete()
614 sUssdDialog.getWindow().setType(windowType); in createUssdDialog()
615 sUssdDialog.getWindow().addFlags( in createUssdDialog()
DPhoneDisplayMessage.java78 sDisplayMessageDialog.getWindow().setType( in displayMessage()
80 sDisplayMessageDialog.getWindow().addFlags( in displayMessage()
/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/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java113 getWindow().getDecorView().setSystemUiVisibility( in onCreate()
114 getWindow().getDecorView().getSystemUiVisibility() in onCreate()
117 getWindow().getDecorView().setOnApplyWindowInsetsListener((view, windowInsets) -> { in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DHideNonSystemOverlayMixin.java56 mActivity.getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); in onStart()
66 final Window window = mActivity.getWindow(); in onStop()
/packages/apps/Settings/src/com/android/settings/core/
DHideNonSystemOverlayMixin.java56 mActivity.getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); in onStart()
66 final Window window = mActivity.getWindow(); in onStop()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java123 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in initUI()
545 getWindow().getDecorView().post(new Runnable() { in onAttachedToWindow()
578 boolean handled = getWindow().superDispatchTouchEvent(ev); in dispatchTouchEvent()
654 final int displayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onServiceConnected()
655 final View root = getWindow().getDecorView(); in onServiceConnected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/setup/
DDeviceNameFlowStartActivity.java50 animator.setTarget(getWindow().getDecorView()); in onCreate()
60 animator.setTarget(getWindow().getDecorView()); in finish()
/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DHideNonSystemOverlayMixinTest.java56 final WindowManager.LayoutParams attrs = activity.getWindow().getAttributes(); in startActivity_shouldHideNonSystemOverlay()
66 final WindowManager.LayoutParams attrs = activity.getWindow().getAttributes(); in stopActivity_shouldUnhideNonSystemOverlay()
/packages/apps/DeskClock/src/com/android/deskclock/
DBaseActivity.java51 getWindow().getDecorView().setSystemUiVisibility( in onCreate()
79 getWindow().setBackgroundDrawable(mBackground); in adjustAppColor()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java89 Window window = getWindow(); in setStatusBarColor()
95 View decorView = getWindow().getDecorView(); in setStatusBarColor()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/
DSettingsHomepageActivity.java80 final View decorView = getWindow().getDecorView(); in updateWindowProperties()
87 getWindow().setStatusBarColor(getColor(R.color.homepage_status_bar_color)); in updateWindowProperties()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java200 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in addWindowFlags()
206 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in clearWindowFlags()
226 final Window win = getWindow(); in onCreate()

123456789