Home
last modified time | relevance | path

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

1234567

/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java289 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
290 getWindow().setStatusBarColor(Color.TRANSPARENT); in onCreate()
291 getWindow().setNavigationBarColor(Color.TRANSPARENT); in onCreate()
334 getWindow().setBackgroundDrawable(new ColorDrawable(attribute.data)); in initView()
336 getWindow().setBackgroundDrawable(getResources().getDrawable(attribute.resourceId, in initView()
341 getWindow().setNavigationBarColor(attribute.data); in initView()
344 getWindow().setStatusBarColor(attribute.data); in initView()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java177 WindowManager.LayoutParams lp = getWindow().getAttributes(); in onCreate()
184 getWindow().setAttributes(lp); in onCreate()
207 getWindow().setBackgroundDrawable(mBackgroundGradient); in onCreate()
557 int vis = getWindow().getDecorView().getSystemUiVisibility(); in updateTheme()
567 getWindow().getDecorView().setSystemUiVisibility(vis); in updateTheme()
665 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreateDialog()
666 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreateDialog()
DPhoneDisplayMessage.java78 sDisplayMessageDialog.getWindow().setType( in displayMessage()
80 sDisplayMessageDialog.getWindow().addFlags( in displayMessage()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1286 final Window window = getWindow().getWindow(); in updateSoftInputWindowLayoutParameters()
1367 final IBinder token = getWindow().getWindow().getAttributes().token; in switchLanguage()
1373 final IBinder token = getWindow().getWindow().getAttributes().token; in switchToNextSubtype()
1846 final Window window = dialog.getWindow(); in showOptionDialog()
1930 final IBinder token = getWindow().getWindow().getAttributes().token; in shouldSwitchToOtherInputMethods()
1942 final IBinder token = getWindow().getWindow().getAttributes().token; in shouldShowLanguageSwitchKey()
1953 getWindow().getWindow().setNavigationBarColor( in setNavigationBarVisibility()
/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java80 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
81 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in onCreate()
211 Window window = getWindow(); in onCreate()
236 View decor = getWindow().getDecorView(); in onConfigurationChanged()
248 View rootView = getWindow().getDecorView(); in dispatchTouchEvent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestInstrumentationRunner.java74 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in newApplication()
76 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in newApplication()
77 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in newApplication()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java79 .create(this, this, getWindow()) in onCreate()
86 getWindow().addFlags( in onResume()
92 getWindow().clearFlags( in onPause()
/packages/apps/Settings/src/com/android/settings/
DFallbackHome.java60 getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON);
73 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_FULLSCREEN in onCreate()
76 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in onCreate()
DBandMode.java80 getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, in onCreate()
99 getWindow().setFeatureInt(
231 getWindow().setFeatureInt(
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java105 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in initUI()
327 setLiveWallpaper(getWindow().getDecorView()); in onOptionsItemSelected()
364 getWindow().getDecorView().post(new Runnable() { in onAttachedToWindow()
396 boolean handled = getWindow().superDispatchTouchEvent(ev); in dispatchTouchEvent()
466 final View root = getWindow().getDecorView(); in onServiceConnected()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java96 mActivity.getWindow().setTitle(title); in onSelectionChanged()
121 mActivity.getWindow().setTitle(title); in onSelectionRestored()
143 mActivity.getWindow().setTitle(mActivity.getTitle()); in onDestroyActionMode()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivityCommon.java175 inCallActivity.getWindow().addFlags(flags); in onCreate()
441 Window w = inCallActivity.getWindow(); in onKeyDown()
475 inCallActivity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in dismissKeyguard()
477 inCallActivity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in dismissKeyguard()
572 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in showErrorDialog()
/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/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/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/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java178 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED in onCreate()
217 getWindow().setBackgroundDrawable(new ColorDrawable(mCurrentHourColor)); in onCreate()
427 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION in hideNavigationBar()
632 getWindow().setBackgroundDrawable(new ColorDrawable(backgroundColor)); in getAlertAnimator()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/setup/
DDeviceNameFlowStartActivity.java49 animator.setTarget(getWindow().getDecorView()); in onCreate()
59 animator.setTarget(getWindow().getDecorView()); in finish()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java199 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in addWindowFlags()
205 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON in clearWindowFlags()
225 final Window win = getWindow(); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DBaseActivity.java51 getWindow().getDecorView().setSystemUiVisibility( in onCreate()
79 getWindow().setBackgroundDrawable(mBackground); in adjustAppColor()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivity.java80 getWindow().getDecorView() in onNavigateUp()
106 getWindow().getDecorView() in onAttachFragment()
/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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java90 Window window = getWindow(); in setMainColor()
96 View decorView = getWindow().getDecorView(); in setMainColor()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java71 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE); in onCreate()
82 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DCreateCustomSmsDialogFragment.java113 customMessagePopup.getWindow().setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); in onCreateDialog()
114 customMessagePopup.getWindow().addFlags(LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreateDialog()

1234567