Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/TvSystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java48 getWindow().setBackgroundDrawable(enabled ? mBackgroundWithBlur : mBackgroundWithoutBlur); in onBlurChanged()
67 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate()
77 getWindow().setAttributes(windowParams); in onCreate()
78 getWindow().setElevation(getWindow().getElevation() + 5); in onCreate()
79 getWindow().setBackgroundBlurRadius(getResources().getDimensionPixelSize( in onCreate()
/packages/apps/Car/Settings/tests/multivalent/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()
59 TextView messageView = dialogFragment.getDialog().getWindow().findViewById( in getMessage()
/packages/apps/Car/Settings/tests/deviceless/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()
59 TextView messageView = dialogFragment.getDialog().getWindow().findViewById( in getMessage()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/notifications/
DTvNotificationPanelActivity.java113 getWindow().setGravity(Gravity.END); in onAttachedToWindow()
121 getWindow().setBackgroundDrawable( in enableBlur()
123 getWindow().setBackgroundBlurRadius(blurRadius); in enableBlur()
125 getWindow().setBackgroundDrawable( in enableBlur()
127 getWindow().setBackgroundBlurRadius(0); in enableBlur()
/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DFullPreviewActivity.java65 getWindow().setAllowEnterTransitionOverlap(true); in onCreate()
66 getWindow().requestFeature(Window.FEATURE_ACTIVITY_TRANSITIONS); in onCreate()
67 getWindow().setExitTransition(new Slide()); in onCreate()
68 getWindow().setEnterTransition(new Slide()); in onCreate()
DBasePreviewActivity.java50 getWindow().setColorMode(ActivityInfo.COLOR_MODE_WIDE_COLOR_GAMUT); in onCreate()
52 getWindow().setFormat(PixelFormat.TRANSLUCENT); in onCreate()
63 WindowCompat.setDecorFitsSystemWindows(getWindow(), /* decorFitsSystemWindows= */ false); in enableFullScreen()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorActivity.java121 getWindow().setNavigationBarDividerColor(Color.TRANSPARENT); in setContainer()
123 getWindow().setNavigationBarColor(Color.TRANSPARENT); in setContainer()
124 getWindow().setNavigationBarContrastEnforced(true); in setContainer()
126 getWindow().setNavigationBarColor(getColor(R.color.nav_bar_translucent)); in setContainer()
/packages/services/Telephony/src/com/android/phone/
DPhoneDisplayMessage.java78 sDisplayMessageDialog.getWindow().setType( in displayMessage()
80 sDisplayMessageDialog.getWindow().addFlags( in displayMessage()
96 sDisplayMessageDialog.getWindow().clearFlags( in dismissMessage()
DPhoneUtils.java288 pd.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in displayMMIInitiate()
376 pd.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); in displayMMIComplete()
377 pd.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in displayMMIComplete()
502 newDialog.getWindow().setType( in displayMMIComplete()
504 newDialog.getWindow().addFlags( in displayMMIComplete()
602 ussdDialog.getWindow().setType(windowType); in createUssdDialog()
603 ussdDialog.getWindow().addFlags( in createUssdDialog()
DADNList.java83 getWindow().requestFeature(Window.FEATURE_INDETERMINATE_PROGRESS); in onCreate()
84 getWindow().addSystemFlags( in onCreate()
200 getWindow().setFeatureInt( in displayProgress()
/packages/apps/Settings/src/com/android/settings/
DFallbackHome.java61 getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON);
68 final View decorView = getWindow().getDecorView();
106 getWindow().getDecorView().setSystemUiVisibility(flags); in onCreate()
162 getWindow().getDecorView().setSystemUiVisibility(flagsToUpdate); in loadWallpaperColors()
/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/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAccessConfirmationActivityTest.java54 assertThat(activity.getWindow().getAttributes().privateFlags in onCreate_setsWindowFlags()
56 assertThat(activity.getWindow().getAttributes().flags in onCreate_setsWindowFlags()
112 TextView tv = activity.getWindow().findViewById(android.R.id.message); in getDialogText()
/packages/apps/Settings/src/com/android/settings/notification/app/
DChannelPanelActivity.java98 final Window window = getWindow(); in createOrUpdatePanel()
120 ViewCompat.setOnApplyWindowInsetsListener(getWindow().getDecorView(), in setupNavigationBar()
129 ViewCompat.getWindowInsetsController(getWindow().getDecorView()); in setupNavigationBar()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMemoryCursor.java36 DatabaseUtils.cursorFillWindow(cursor, 0, getWindow()); in fillFromCursor()
41 return getWindow().getNumRows(); in getCount()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/privacy/
DPrivacyIndicatorFragment.java59 getActivity().getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in onCreateView()
73 getActivity().getWindow() in onCreateView()
76 getActivity().getWindow() in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DSettingsPanelActivityTest.java115 when(activity.getWindow()).thenReturn(window); in onStart_isNotDebuggable_shouldHideSystemOverlay()
132 when(activity.getWindow()).thenReturn(window); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
214 int paddingBottom = mSettingsPanelActivity.getWindow().getDecorView().getPaddingBottom(); in onCreated_isWindowBottomPaddingZero()
227 View decorView = mSettingsPanelActivity.getWindow().getDecorView(); in notInNightMode_lightNavigationBarAppearance()
/packages/apps/Settings/src/com/android/settings/panel/
DSettingsPanelActivity.java149 final Window window = getWindow(); in createOrUpdatePanel()
166 ViewCompat.setOnApplyWindowInsetsListener(getWindow().getDecorView(), in setupNavigationBar()
175 ViewCompat.getWindowInsetsController(getWindow().getDecorView()); in setupNavigationBar()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java73 getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); in onCreate()
156 .create(this, this, getWindow()) in onCreate()
160 getWindow().setCloseOnTouchOutside(false); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DTransitionHelper.java72 activity.getWindow().requestFeature(Window.FEATURE_ACTIVITY_TRANSITIONS); in applyContentScreenTransitions()
194 if (activity.getWindow() == null) { in hasContentView()
197 final ViewGroup rootView = (ViewGroup) activity.getWindow().getDecorView().getRootView(); in hasContentView()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DBaseFdnContactScreen.java73 getWindow().requestFeature(Window.FEATURE_INDETERMINATE_PROGRESS); in onCreate()
74 getWindow().addSystemFlags( in onCreate()
87 getWindow().setFeatureInt( in displayProgress()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/
DEmergencyActionActivity.java53 getWindow().setDecorFitsSystemWindows(false); in onCreate()
54 WindowInsetsController controller = getWindow().getInsetsController(); in onCreate()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/activity/
DNavigationTaskViewWallpaperActivity.java68 WindowCompat.setDecorFitsSystemWindows(getWindow(), /* decorFitsSystemWindows= */ false); in onCreate()
70 getWindow().getDecorView().getRootView().setOnApplyWindowInsetsListener( in onCreate()
/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()

12345678910>>...15