Home
last modified time | relevance | path

Searched refs:decorView (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/app/
DEnterTransitionCoordinator.java83 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 …]
DExitTransitionCoordinator.java126 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 …]
DActivityTransitionCoordinator.java240 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/
DClipboardOverlayWindow.java114 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/
DDialog.kt73 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/
DPhoneWindowTest.java141 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()
DDecorViewTest.java85 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/
DSystemBarHelper.java235 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/
DDialogTransitionAnimator.kt261 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/
DScreenshotController.java684 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/
DDialogPreference.java363 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/
DMainActivity.java19 View decorView = getWindow().getDecorView(); in onCreate() local
22 decorView.setSystemUiVisibility(uiOptions); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DComponentSystemUIDialog.kt149 window!!.decorView.setViewTreeLifecycleOwner(this) in initializeViewTreeOwners()
150 window!!.decorView.setViewTreeOnBackPressedDispatcherOwner(this) in initializeViewTreeOwners()
151 window!!.decorView.setViewTreeSavedStateRegistryOwner(this) in initializeViewTreeOwners()
DSystemUIDialog.java567 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/
DPopupWindow.java1553 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/
DDialogTransitionAnimatorTest.kt75 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/
DSplashscreenWindowCreator.java371 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/
DSurfaceFlingerTestActivity.java48 View decorView = getWindow().getDecorView(); in onCreate() local
51 decorView.setSystemUiVisibility(uiOptions); in onCreate()
/frameworks/base/core/java/android/inputmethodservice/
DNavigationBarController.java192 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/
DPaintActivity.java296 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/
DSetupWizardListLayoutTest.java126 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/
DMirroringConfirmationDialogDelegate.kt89 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/
DActivityExt.kt44 window.decorView.systemUiVisibility = ( in Activity()
/frameworks/base/core/java/android/view/
DWindow.java983 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/
DUserSwitcherFullscreenDialog.kt42 window?.decorView?.windowInsetsController?.let { controller -> in <lambda>()

12