Home
last modified time | relevance | path

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

1234

/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.java111 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral()
123 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallback_colorLiteral()
141 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
155 mPhoneWindow.getDecorView(); in installDecor()
DDecorViewTest.java44 mDecorView = (DecorView) phoneWindow.getDecorView(); in setUp()
85 DecorView decorView = (DecorView) phoneWindow.getDecorView(); in setBackgroundWithNoWindow()
/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/core/java/android/inputmethodservice/
DInkWindow.java82 if (getDecorView() == null) { in show()
86 getDecorView().setVisibility(keepInvisible ? View.INVISIBLE : View.VISIBLE); in show()
88 mWindowManager.addView(getDecorView(), getAttributes()); in show()
99 if (getDecorView() != null) { in hide()
100 getDecorView().setVisibility(remove ? View.GONE : View.INVISIBLE); in hide()
180 return getDecorView().getVisibility() == View.VISIBLE in isInkViewVisible()
DNavigationBarController.java166 final View decorView = mService.mWindow.getWindow().getDecorView(); in getSystemInsets()
187 final View rawDecorView = mService.mWindow.getWindow().getDecorView(); in installNavigationBarFrameIfNecessary()
257 final View decor = window.getDecorView(); in updateTouchableInsets()
403 View rawDecorView = window.getDecorView(); in onWindowShown()
DSoftInputWindow.java101 getWindow().getDecorView().setVisibility(View.INVISIBLE); in setToken()
147 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DLoginTest.java102 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged()
111 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noService()
122 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noOptions()
132 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_notImportant()
/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/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java86 TextView t1 = dialog.getWindow().getDecorView().findViewById(R.id.text1); in onCreate()
88 TextView t2 = dialog.getWindow().getDecorView().findViewById(R.id.text2); in onCreate()
90 mAllCheckbox = dialog.getWindow().getDecorView().findViewById( in onCreate()
/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/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/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java85 mViewRootImpl = mActivityRule.getActivity().getWindow().getDecorView() in setUp()
141 activity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivity()
151 activity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivity()
/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/dreams/
DDreamOverlayService.java263 mWindow.getDecorView().getWindowInsetsController().hide(WindowInsets.Type.systemBars()); in addOverlayWindowLocked()
284 mWindowManager.addView(mWindow.getDecorView(), mWindow.getAttributes()); in addOverlayWindowLocked()
309 mWindowManager.removeView(mWindow.getDecorView()); in resetCurrentDreamOverlayLocked()
/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/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayWindow.java125 View decorView = getDecorView(); in withWindowAttached()
146 View decorView = getDecorView(); in attach()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java131 final View decorView = getWindow().getDecorView(); in show()
154 final View decorView = getWindow().getDecorView(); in startUser()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTest.java263 activity.getWindow().getDecorView().getWindowInsetsController(); in testShowImeCold()
305 activity.getWindow().getDecorView().getWindowInsetsController(); in testShowOrHideImeWarm()
390 return activity.getWindow().getDecorView().getRootWindowInsets().isVisible( in isImeVisible()
441 activity.getWindow().getDecorView().setWindowInsetsAnimationCallback( in setImeListener()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DMainActivity.java19 View decorView = getWindow().getDecorView(); in onCreate()
/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()

1234