/frameworks/base/core/java/android/app/ |
D | EnterTransitionCoordinator.java | 83 final View decorView = getDecor(); in EnterTransitionCoordinator() local 84 if (decorView != null) { in EnterTransitionCoordinator() 85 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in EnterTransitionCoordinator() 94 decorView.getViewTreeObserver().removeOnPreDrawListener(this); in EnterTransitionCoordinator() 176 ViewGroup decorView = getDecor(); in mapNamedElements() local 177 if (decorView != null) { in mapNamedElements() 178 decorView.findNamedViews(sharedElements); in mapNamedElements() 197 final View decorView = getDecor(); in sendSharedElementDestination() local 200 } else if (decorView == null) { in sendSharedElementDestination() 203 allReady = !decorView.isLayoutRequested(); in sendSharedElementDestination() [all …]
|
D | ExitTransitionCoordinator.java | 126 ViewGroup decorView = getDecor(); in resetViews() local 127 if (decorView != null) { in resetViews() 128 TransitionManager.endTransitions(decorView); in resetViews() 136 if (!mIsReturning && decorView != null) { in resetViews() 137 decorView.suppressLayout(false); in resetViews() 144 final ViewGroup decorView = getDecor(); in sharedElementExitBack() local 145 if (decorView != null) { in sharedElementExitBack() 146 decorView.suppressLayout(true); in sharedElementExitBack() 148 if (decorView != null && mExitSharedElementBundle != null && in sharedElementExitBack() 153 startSharedElementExit(decorView); in sharedElementExitBack() [all …]
|
D | ActivityTransitionCoordinator.java | 240 ViewGroup decorView = getDecor(); in viewsReady() local 241 if (decorView != null) { in viewsReady() 242 decorView.captureTransitioningViews(mTransitioningViews); in viewsReady() 478 ViewGroup decorView = getDecor(); in mapSharedElements() local 479 if (decorView != null) { in mapSharedElements() 480 decorView.findNamedViews(sharedElements); in mapSharedElements() 637 final View decorView = getDecor(); in scheduleSetSharedElementEnd() local 638 if (decorView != null) { in scheduleSetSharedElementEnd() 639 OneShotPreDrawListener.add(decorView, () -> { in scheduleSetSharedElementEnd() 685 ViewGroup decorView = getDecor(); in createSnapshots() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayWindow.java | 114 final View decorView = peekDecorView(); in remove() local 115 if (decorView != null && decorView.isAttachedToWindow()) { in remove() 116 mWindowManager.removeViewImmediate(decorView); in remove() 125 View decorView = getDecorView(); in withWindowAttached() local 126 if (decorView.isAttachedToWindow()) { in withWindowAttached() 129 decorView.getViewTreeObserver().addOnWindowAttachListener( in withWindowAttached() 133 decorView.getViewTreeObserver().removeOnWindowAttachListener(this); in withWindowAttached() 146 View decorView = getDecorView(); in attach() local 147 if (decorView.isAttachedToWindow()) { in attach() 150 mWindowManager.addView(decorView, mWindowLayoutParams); in attach() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/ |
D | Dialog.kt | 73 val decorView = window.decorView as ViewGroup in maybeForceFullscreen() constant 94 decorView.addView( in maybeForceFullscreen() 101 dialogContentWithBackground.background = decorView.background in maybeForceFullscreen() 128 for (i in 1 until decorView.childCount) { in maybeForceFullscreen() 129 val view = decorView.getChildAt(1) in maybeForceFullscreen() 130 decorView.removeViewAt(1) in maybeForceFullscreen() 159 decorView.addOnLayoutChangeListener(decorViewLayoutListener) in maybeForceFullscreen()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | PhoneWindowTest.java | 141 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallback_colorLiteral() local 142 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallback_colorLiteral() 159 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral() local 160 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral() 174 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowFrameRateHint_disabled() local 182 wm.addView(decorView, wmlp); in testWindowFrameRateHint_disabled() 186 ViewRootImpl viewRootImpl = decorView.getViewRootImpl(); in testWindowFrameRateHint_disabled() 196 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowFrameRateHint_enabled() local 204 wm.addView(decorView, wmlp); in testWindowFrameRateHint_enabled() 208 ViewRootImpl viewRootImpl = decorView.getViewRootImpl(); in testWindowFrameRateHint_enabled()
|
D | DecorViewTest.java | 85 DecorView decorView = (DecorView) phoneWindow.getDecorView(); in setBackgroundWithNoWindow() local 86 assertThat(decorView.getBackground()).isNotNull(); in setBackgroundWithNoWindow()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 235 public void onDecorViewInstalled(View decorView) { in addImmersiveFlagsToDecorView() 236 addVisibilityFlag(decorView, vis); in addImmersiveFlagsToDecorView() 247 public void onDecorViewInstalled(View decorView) { in removeImmersiveFlagsFromDecorView() 248 removeVisibilityFlag(decorView, vis); in removeImmersiveFlagsFromDecorView() 270 final View decorView = window.peekDecorView(); 271 if (decorView != null) { 272 callback.onDecorViewInstalled(decorView); 295 void onDecorViewInstalled(View decorView); in onDecorViewInstalled() argument
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | DialogTransitionAnimator.kt | 261 it.dialog.window?.decorView?.viewRootImpl == controller.viewRoot in <lambda>() 348 it.dialog.window?.decorView?.viewRootImpl == view.viewRootImpl in <lambda>() 541 private val decorView by lazy { dialog.window!!.decorView as ViewGroup } in <lambda>() constant 613 for (i in 0 until decorView.childCount) { in start() 615 findFirstViewGroupWithBackground(decorView.getChildAt(i)) in start() 730 if (decorView.viewRootImpl == null) { in moveSourceDrawingToDialog() 733 decorView.post(::moveSourceDrawingToDialog) in moveSourceDrawingToDialog() 740 controller.startDrawingInOverlayOf(decorView) in moveSourceDrawingToDialog() 764 ViewRootSync.synchronizeNextDraw(controllerRootView, decorView, then) in synchronizeNextDraw() 765 decorView.invalidate() in synchronizeNextDraw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotController.java | 684 View decorView = mWindow.getDecorView(); in withWindowAttached() local 685 if (decorView.isAttachedToWindow()) { in withWindowAttached() 688 decorView.getViewTreeObserver().addOnWindowAttachListener( in withWindowAttached() 693 decorView.getViewTreeObserver().removeOnWindowAttachListener(this); in withWindowAttached() 707 View decorView = mWindow.getDecorView(); in attachWindow() local 708 if (decorView.isAttachedToWindow() || mAttachRequested) { in attachWindow() 715 mWindowManager.addView(decorView, mWindowLayoutParams); in attachWindow() 716 decorView.requestApplyInsets(); in attachWindow() 719 ViewGroup layout = decorView.requireViewById(android.R.id.content); in attachWindow() 726 final View decorView = mWindow.peekDecorView(); in removeWindow() local [all …]
|
/frameworks/base/core/java/android/preference/ |
D | DialogPreference.java | 363 View decorView = getDecorView(); in postDismiss() local 364 if (decorView != null) { in postDismiss() 366 decorView.post(mDismissRunnable); in postDismiss() 371 View decorView = getDecorView(); in removeDismissCallbacks() local 372 if (decorView != null) { in removeDismissCallbacks() 373 decorView.removeCallbacks(mDismissRunnable); in removeDismissCallbacks()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | MainActivity.java | 19 View decorView = getWindow().getDecorView(); in onCreate() local 22 decorView.setSystemUiVisibility(uiOptions); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ComponentSystemUIDialog.kt | 149 window!!.decorView.setViewTreeLifecycleOwner(this) in initializeViewTreeOwners() 150 window!!.decorView.setViewTreeOnBackPressedDispatcherOwner(this) in initializeViewTreeOwners() 151 window!!.decorView.setViewTreeSavedStateRegistryOwner(this) in initializeViewTreeOwners()
|
D | SystemUIDialog.java | 567 View decorView = dialog.getWindow().getDecorView(); in getHorizontalInsets() local 568 if (decorView == null) { in getHorizontalInsets() 574 View viewWithBackground = decorView.findViewByPredicate( in getHorizontalInsets() 578 : decorView.getBackground(); in getHorizontalInsets()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1553 final PopupDecorView decorView = new PopupDecorView(mContext); in createDecorView() local 1554 decorView.addView(contentView, MATCH_PARENT, height); in createDecorView() 1555 decorView.setClipChildren(false); in createDecorView() 1556 decorView.setClipToPadding(false); in createDecorView() 1558 return decorView; in createDecorView() 1575 final PopupDecorView decorView = mDecorView; in invokePopup() local 1576 decorView.setFitsSystemWindows(mLayoutInsetDecor); in invokePopup() 1580 mWindowManager.addView(decorView, p); in invokePopup() 1583 decorView.requestEnterTransition(mEnterTransition); in invokePopup() 2031 final PopupDecorView decorView = mDecorView; in dismiss() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | DialogTransitionAnimatorTest.kt | 75 val decorView = window.decorView as DecorView in testShowDialogFromView() constant 78 assertEquals(MATCH_PARENT, decorView.layoutParams.width) in testShowDialogFromView() 79 assertEquals(MATCH_PARENT, decorView.layoutParams.height) in testShowDialogFromView() 83 assertEquals(1, decorView.childCount) in testShowDialogFromView() 84 val transparentBackground = decorView.getChildAt(0) as ViewGroup in testShowDialogFromView()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashscreenWindowCreator.java | 371 private void removeWindowInner(@NonNull View decorView, boolean hideView) { in removeWindowInner() argument 373 if (!decorView.isAttachedToWindow()) { in removeWindowInner() 377 decorView.setVisibility(View.GONE); in removeWindowInner() 379 mWindowManagerGlobal.removeView(decorView, false /* immediate */); in removeWindowInner() 428 SplashWindowRecord(IBinder appToken, View decorView, in SplashWindowRecord() argument 431 mRootView = decorView; in SplashWindowRecord()
|
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
D | SurfaceFlingerTestActivity.java | 48 View decorView = getWindow().getDecorView(); in onCreate() local 51 decorView.setSystemUiVisibility(uiOptions); in onCreate()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | NavigationBarController.java | 192 final View decorView = mService.mWindow.getWindow().getDecorView(); in getSystemInsets() local 193 if (decorView == null) { in getSystemInsets() 196 final WindowInsets windowInsets = decorView.getRootWindowInsets(); in getSystemInsets() 217 final ViewGroup decorView = (ViewGroup) rawDecorView; in installNavigationBarFrameIfNecessary() local 218 mNavigationBarFrame = decorView.findViewByPredicate( in installNavigationBarFrameIfNecessary() 227 decorView.addView(mNavigationBarFrame, new FrameLayout.LayoutParams( in installNavigationBarFrameIfNecessary() 232 decorView.addView(mNavigationBarFrame); in installNavigationBarFrameIfNecessary()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | PaintActivity.java | 296 final View decorView = getWindow().getDecorView(); in refreshNightMode() local 297 int decorSUIV = decorView.getSystemUiVisibility(); in refreshNightMode() 300 decorView.setSystemUiVisibility( in refreshNightMode() 303 decorView.setSystemUiVisibility( in refreshNightMode()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SetupWizardListLayoutTest.java | 126 View decorView = layout.findViewById(R.id.suw_layout_decor); in assertListTemplateInflated() local 130 assertNotNull("@id/suw_layout_decor_view should not be null", decorView); in assertListTemplateInflated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/ui/view/ |
D | MirroringConfirmationDialogDelegate.kt | 89 dialog.window?.decorView?.setWindowInsetsAnimationCallback(insetsAnimationCallback) in <lambda>() 93 dialog.window?.decorView?.setWindowInsetsAnimationCallback(null) in <lambda>()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/extensions/ |
D | ActivityExt.kt | 44 window.decorView.systemUiVisibility = ( in Activity()
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 983 final View decorView = getDecorView(); in addOnFrameMetricsAvailableListener() local 984 if (decorView == null) { in addOnFrameMetricsAvailableListener() 992 decorView.addFrameMetricsListener(this, listener, handler); in addOnFrameMetricsAvailableListener() 999 final View decorView = getDecorView(); in removeOnFrameMetricsAvailableListener() local 1000 if (decorView != null) { in removeOnFrameMetricsAvailableListener() 1661 final View decorView = getDecorView(); in isOutOfBounds() local 1663 || (x > (decorView.getWidth()+slop)) in isOutOfBounds() 1664 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
D | UserSwitcherFullscreenDialog.kt | 42 window?.decorView?.windowInsetsController?.let { controller -> in <lambda>()
|