/frameworks/base/core/java/android/app/ |
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 | 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 | 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 …]
|
D | ActivityOptions.java | 918 final View decorView = window.getDecorView(); in stopSharedElementAnimation() local 919 if (decorView == null) { in stopSharedElementAnimation() 923 decorView.getTag(com.android.internal.R.id.cross_task_transition); in stopSharedElementAnimation() 926 decorView.setTagInternal(com.android.internal.R.id.cross_task_transition, null); in stopSharedElementAnimation() 927 TransitionManager.endTransitions((ViewGroup) decorView); in stopSharedElementAnimation() 930 decorView.setVisibility(View.VISIBLE); in stopSharedElementAnimation()
|
D | UiAutomation.java | 1048 View decorView = window.peekDecorView(); in takeScreenshot() local 1049 if (decorView == null) { in takeScreenshot() 1053 ViewRootImpl viewRoot = decorView.getViewRootImpl(); in takeScreenshot()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserSwitchingDialog.java | 128 final View decorView = getWindow().getDecorView(); in show() local 129 if (decorView != null) { in show() 130 decorView.getViewTreeObserver().addOnWindowShownListener(this); in show() 151 final View decorView = getWindow().getDecorView(); in startUser() local 152 if (decorView != null) { in startUser() 153 decorView.getViewTreeObserver().removeOnWindowShownListener(this); in startUser()
|
/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/core/tests/coretests/src/com/android/internal/policy/ |
D | PhoneWindowTest.java | 123 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallback_colorLiteral() local 124 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallback_colorLiteral() 141 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral() local 142 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
|
D | DecorViewTest.java | 85 DecorView decorView = (DecorView) phoneWindow.getDecorView(); in setBackgroundWithNoWindow() local 86 assertThat(decorView.getBackground()).isNotNull(); in setBackgroundWithNoWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotController.java | 727 View decorView = mWindow.getDecorView(); in withWindowAttached() local 728 if (decorView.isAttachedToWindow()) { in withWindowAttached() 731 decorView.getViewTreeObserver().addOnWindowAttachListener( in withWindowAttached() 735 decorView.getViewTreeObserver().removeOnWindowAttachListener(this); in withWindowAttached() 752 View decorView = mWindow.getDecorView(); in attachWindow() local 753 if (decorView.isAttachedToWindow()) { in attachWindow() 759 mWindowManager.addView(decorView, mWindowLayoutParams); in attachWindow() 760 decorView.requestApplyInsets(); in attachWindow() 764 final View decorView = mWindow.peekDecorView(); in removeWindow() local 765 if (decorView != null && decorView.isAttachedToWindow()) { in removeWindow() [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/core/java/android/widget/ |
D | PopupWindow.java | 1549 final PopupDecorView decorView = new PopupDecorView(mContext); in createDecorView() local 1550 decorView.addView(contentView, MATCH_PARENT, height); in createDecorView() 1551 decorView.setClipChildren(false); in createDecorView() 1552 decorView.setClipToPadding(false); in createDecorView() 1554 return decorView; in createDecorView() 1571 final PopupDecorView decorView = mDecorView; in invokePopup() local 1572 decorView.setFitsSystemWindows(mLayoutInsetDecor); in invokePopup() 1576 mWindowManager.addView(decorView, p); in invokePopup() 1579 decorView.requestEnterTransition(mEnterTransition); in invokePopup() 2028 final PopupDecorView decorView = mDecorView; in dismiss() local [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 77 public BackdropFrameRenderer(DecorView decorView, ThreadedRenderer renderer, Rect initialBounds, in BackdropFrameRenderer() argument 84 onResourcesLoaded(decorView, resizingBackgroundDrawable, captionBackgroundDrawable, in BackdropFrameRenderer() 104 void onResourcesLoaded(DecorView decorView, Drawable resizingBackgroundDrawable, in onResourcesLoaded() argument 108 mDecorView = decorView; in onResourcesLoaded()
|
D | PhoneWindow.java | 853 if (st.decorView == null || st.refreshDecorView) { in openPanel() 854 if (st.decorView == null) { in openPanel() 856 if (!initializePanelDecor(st) || (st.decorView == null)) in openPanel() 858 } else if (st.refreshDecorView && (st.decorView.getChildCount() > 0)) { in openPanel() 860 st.decorView.removeAllViews(); in openPanel() 883 st.decorView.setWindowBackground(getContext().getDrawable( in openPanel() 890 st.decorView.addView(st.shownPanelView, lp); in openPanel() 917 st.decorView.mDefaultOpacity); in openPanel() 928 wm.addView(st.decorView, lp); in openPanel() 967 if (st.decorView != null) { in closePanel() [all …]
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 931 final View decorView = getDecorView(); in addOnFrameMetricsAvailableListener() local 932 if (decorView == null) { in addOnFrameMetricsAvailableListener() 940 decorView.addFrameMetricsListener(this, listener, handler); in addOnFrameMetricsAvailableListener() 947 final View decorView = getDecorView(); in removeOnFrameMetricsAvailableListener() local 948 if (decorView != null) { in removeOnFrameMetricsAvailableListener() 1448 final View decorView = getDecorView(); in isOutOfBounds() local 1450 || (x > (decorView.getWidth()+slop)) in isOutOfBounds() 1451 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | StartingSurfaceDrawer.java | 586 private void removeWindowInner(View decorView, boolean hideView) { in removeWindowInner() argument 588 decorView.setVisibility(View.GONE); in removeWindowInner() 590 final WindowManager wm = decorView.getContext().getSystemService(WindowManager.class); in removeWindowInner() 592 wm.removeView(decorView); in removeWindowInner() 608 StartingWindowRecord(IBinder appToken, View decorView, in StartingWindowRecord() argument 611 mDecorView = decorView; in StartingWindowRecord()
|
/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()
|
D | SystemBarHelperTest.java | 249 TestWindow(Context context, View decorView) { in TestWindow() argument 251 mDecorView = decorView; in TestWindow()
|
D | SetupWizardLayoutTest.java | 237 View decorView = layout.findViewById(R.id.suw_layout_decor); in assertDefaultTemplateInflated() local 240 assertNotNull("@id/suw_layout_decor_view should not be null", decorView); in assertDefaultTemplateInflated()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | MainActivity.kt | 49 window.decorView.apply { in onCreate()
|
/frameworks/base/core/java/android/window/ |
D | SplashScreenView.java | 508 final DecorView decorView = (DecorView) mWindow.peekDecorView(); in remove() local 512 if (decorView != null) { in remove() 513 decorView.removeView(this); in remove()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ChallengeDialogs.kt | 78 window?.decorView?.let { in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 197 final View[] decorView = new View[1]; in relaunchActivityAndAssertPreserveWindow() local 201 decorView[0] = activity.getWindow().getDecorView(); in relaunchActivityAndAssertPreserveWindow() 215 assertEquals("Window must be preserved", decorView[0], newDecorView[0]); in relaunchActivityAndAssertPreserveWindow()
|