Home
last modified time | relevance | path

Searched refs:getDecorView (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java63 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeWithCallback()
73 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode()
75 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode()
87 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode()
89 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode()
101 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1()
103 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1()
115 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2()
117 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2()
128 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testWindowCallbackModesLifecycleIsNotHandled()
[all …]
DPhoneWindowTest.java129 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral()
141 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallback_colorLiteral()
159 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
174 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowFrameRateHint_disabled()
196 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowFrameRateHint_enabled()
217 mPhoneWindow.getDecorView(); in installDecor()
DDecorViewTest.java44 mDecorView = (DecorView) phoneWindow.getDecorView(); in setUp()
85 DecorView decorView = (DecorView) phoneWindow.getDecorView(); in setBackgroundWithNoWindow()
/frameworks/base/core/java/android/inputmethodservice/
DInkWindow.java89 if (getDecorView() == null) { in show()
93 getDecorView().setVisibility(keepInvisible ? View.INVISIBLE : View.VISIBLE); in show()
95 mWindowManager.addView(getDecorView(), getAttributes()); in show()
106 if (getDecorView() != null) { in hide()
108 mWindowManager.removeViewImmediate(getDecorView()); in hide()
110 getDecorView().setVisibility(View.INVISIBLE); in hide()
193 return getDecorView().getVisibility() == View.VISIBLE in isInkViewVisible()
198 final View decor = getDecorView(); in dispatchHandwritingEvent()
DNavigationBarController.java192 final View decorView = mService.mWindow.getWindow().getDecorView(); in getSystemInsets()
213 final View rawDecorView = mService.mWindow.getWindow().getDecorView(); in installNavigationBarFrameIfNecessary()
313 final View decor = window.getDecorView(); in updateTouchableInsets()
464 View rawDecorView = window.getDecorView(); in onWindowShown()
498 mService.mWindow.getWindow().getDecorView().getWindowInsetsController() in onNavButtonFlagsChanged()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtilsTest.java78 assertThat(mWindow.getDecorView().getSystemUiVisibility()) in maybeHideSystemUI()
85 assertThat(mWindow.getDecorView().getSystemUiVisibility()) in enableImmersiveMode()
97 assertThat(mWindow.getDecorView().getSystemUiVisibility()) in disableImmersiveMode()
109 assertThat(mWindow.getDecorView().getSystemUiVisibility()) in setWindow_Immersive()
117 assertThat(mWindow.getDecorView().getSystemUiVisibility()) in setWindow_ImmersiveWithStatus()
126 assertThat(mWindow.getDecorView().getSystemUiVisibility()) in setWindow_NonImmersive()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtils.java74 window.getDecorView().setOnSystemUiVisibilityChangeListener( in setWindowImmersiveMode()
79 window.getDecorView().setOnSystemUiVisibilityChangeListener( in setWindowImmersiveMode()
84 window.getDecorView().setOnSystemUiVisibilityChangeListener( in setWindowImmersiveMode()
112 window.getDecorView().setSystemUiVisibility( in enableImmersiveMode()
138 window.getDecorView().setSystemUiVisibility( in enableImmersiveModeWithStatus()
163 window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE); in disableImmersiveMode()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DDialogThemedActivity.java42 getWindow().getDecorView().setBackgroundColor(Color.TRANSPARENT); in onCreate()
60 dialog.getWindow().getDecorView().setLayoutParams(attrs); in onCreate()
72 return d.getWindow().getDecorView().getRootWindowInsets().isVisible(type) ? "VISIBLE" in isInsetsVisible()
DAssistantInteractionSession.java36 window.getDecorView().setBackgroundColor(Color.TRANSPARENT); in onCreate()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java231 getDecorView( in addImmersiveFlagsToDecorView()
243 getDecorView( in removeImmersiveFlagsFromDecorView()
253 private static void getDecorView(Window window, OnDecorViewInstalledListener callback) { in getDecorView() method in SystemBarHelper
254 new DecorViewFinder().getDecorView(window, callback, PEEK_DECOR_VIEW_RETRIES); in getDecorView()
285 public void getDecorView(Window window, OnDecorViewInstalledListener callback, int retries) { in getDecorView() method in SystemBarHelper.DecorViewFinder
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java123 window.getDecorView().getSystemUiVisibility()); in testHideSystemBarsWindow()
144 window.getDecorView().getSystemUiVisibility()); in testShowSystemBarsWindow()
201 assertThat(window.getDecorView().getSystemUiVisibility()) in testSetBackButtonVisibleTrue()
216 assertThat(window.getDecorView().getSystemUiVisibility()) in testSetBackButtonVisibleFalse()
255 public View getDecorView() { in getDecorView() method in SystemBarHelperTest.TestWindow
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DLoginTest.java178 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged()
187 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noService()
198 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noOptions()
208 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_notImportant()
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DFloatingToolbar.java113 mPopup = FloatingToolbarPopup.createInstance(window.getContext(), window.getDecorView()); in FloatingToolbar()
252 mWindow.getDecorView().addOnLayoutChangeListener(mOrientationChangeHandler); in registerOrientationHandler()
256 mWindow.getDecorView().removeOnLayoutChangeListener(mOrientationChangeHandler); in unregisterOrientationHandler()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java72 final View rootView = activity.getWindow().getDecorView(); in testRoundScrollbars()
106 final View rootView = activity.getWindow().getDecorView(); in testRoundScrollbarsWithMargins()
DAccessibilityInteractionControllerTest.java85 mViewRootImpl = mActivityRule.getActivity().getWindow().getDecorView() in setUp()
159 activity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivity()
169 activity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java92 TextView t1 = dialog.getWindow().getDecorView().findViewById(R.id.text1); in onCreate()
94 TextView t2 = dialog.getWindow().getDecorView().findViewById(R.id.text2); in onCreate()
96 mAllCheckbox = dialog.getWindow().getDecorView().findViewById( in onCreate()
/frameworks/base/core/java/android/preference/
DDialogPreference.java354 private View getDecorView() { in getDecorView() method in DialogPreference
356 return mDialog.getWindow().getDecorView(); in getDecorView()
363 View decorView = getDecorView(); in postDismiss()
371 View decorView = getDecorView(); in removeDismissCallbacks()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DDisableScreenshotsActivity.java34 getWindow().getDecorView().setBackgroundColor(Color.RED); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayWindow.java125 View decorView = getDecorView(); in withWindowAttached()
146 View decorView = getDecorView(); in attach()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java98 View decor = win.getDecorView(); in onKey()
110 View decor = win.getDecorView(); in onKey()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DMainActivity.java19 View decorView = getWindow().getDecorView(); in onCreate()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTest.java265 activity.getWindow().getDecorView().getWindowInsetsController(); in testShowImeCold()
322 activity.getWindow().getDecorView().getWindowInsetsController(); in testShowOrHideImeWarm()
407 return activity.getWindow().getDecorView().getRootWindowInsets().isVisible( in isImeVisible()
462 activity.getWindow().getDecorView().setWindowInsetsAnimationCallback( in setImeListener()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DAutomator.java218 mWindow.getDecorView().getViewTreeObserver().removeOnGlobalLayoutListener(this); in onGlobalLayout()
265 mWindow.getDecorView().getViewTreeObserver().addOnGlobalLayoutListener(this); in Automator()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java138 IBinder token = getWindow().getDecorView().getWindowToken(); in updateWallOff()
155 IBinder token = getWindow().getDecorView().getWindowToken(); in updateDispOff()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfTwoFocusableInTouchMode.java66 getWindow().getDecorView().restoreDefaultFocus(); in onCreate()

12345