Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DExitTransitionCoordinator.java128 ViewGroup decorView = getDecor(); in resetViews() local
129 if (decorView != null) { in resetViews()
130 TransitionManager.endTransitions(decorView); in resetViews()
138 if (!mIsReturning && decorView != null) { in resetViews()
139 decorView.suppressLayout(false); in resetViews()
146 final ViewGroup decorView = getDecor(); in sharedElementExitBack() local
147 if (decorView != null) { in sharedElementExitBack()
148 decorView.suppressLayout(true); in sharedElementExitBack()
150 if (decorView != null && mExitSharedElementBundle != null && in sharedElementExitBack()
155 startSharedElementExit(decorView); in sharedElementExitBack()
[all …]
DEnterTransitionCoordinator.java81 final View decorView = getDecor(); in EnterTransitionCoordinator() local
82 if (decorView != null) { in EnterTransitionCoordinator()
83 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in EnterTransitionCoordinator()
92 decorView.getViewTreeObserver().removeOnPreDrawListener(this); in EnterTransitionCoordinator()
174 ViewGroup decorView = getDecor(); in mapNamedElements() local
175 if (decorView != null) { in mapNamedElements()
176 decorView.findNamedViews(sharedElements); in mapNamedElements()
195 final View decorView = getDecor(); in sendSharedElementDestination() local
198 } else if (decorView == null) { in sendSharedElementDestination()
201 allReady = !decorView.isLayoutRequested(); in sendSharedElementDestination()
[all …]
DActivityOptions.java742 final View decorView = window.getDecorView(); in startSharedElementAnimation() local
743 if (decorView == null) { in startSharedElementAnimation()
764 final View decorView = window.getDecorView(); in stopSharedElementAnimation() local
765 if (decorView == null) { in stopSharedElementAnimation()
769 decorView.getTag(com.android.internal.R.id.cross_task_transition); in stopSharedElementAnimation()
772 decorView.setTagInternal(com.android.internal.R.id.cross_task_transition, null); in stopSharedElementAnimation()
773 TransitionManager.endTransitions((ViewGroup) decorView); in stopSharedElementAnimation()
776 decorView.setVisibility(View.VISIBLE); in stopSharedElementAnimation()
1676 View decorView = mWindow.getDecorView(); in HideWindowListener() local
1677 if (decorView != null) { in HideWindowListener()
[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 …]
DActivity.java7302 View decorView = getWindow().getDecorView(); in dispatchEnterAnimationComplete() local
7303 decorView.getViewTreeObserver().dispatchOnEnterAnimationComplete(); in dispatchEnterAnimationComplete()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java123 final View decorView = getWindow().getDecorView(); in show() local
124 if (decorView != null) { in show()
125 decorView.getViewTreeObserver().addOnWindowShownListener(this); in show()
145 final View decorView = getWindow().getDecorView(); in startUser() local
146 if (decorView != null) { in startUser()
147 decorView.getViewTreeObserver().removeOnWindowShownListener(this); in startUser()
/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/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java113 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallback_colorLiteral() local
114 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallback_colorLiteral()
131 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral() local
132 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
/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/core/java/android/preference/
DDialogPreference.java368 View decorView = getDecorView(); in postDismiss() local
369 if (decorView != null) { in postDismiss()
371 decorView.post(mDismissRunnable); in postDismiss()
376 View decorView = getDecorView(); in removeDismissCallbacks() local
377 if (decorView != null) { in removeDismissCallbacks()
378 decorView.removeCallbacks(mDismissRunnable); in removeDismissCallbacks()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtils.java51 View decorView = activity.getWindow().getDecorView(); in maybeHideSystemUI() local
52 decorView.setSystemUiVisibility( in maybeHideSystemUI()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1550 final PopupDecorView decorView = new PopupDecorView(mContext); in createDecorView() local
1551 decorView.addView(contentView, MATCH_PARENT, height); in createDecorView()
1552 decorView.setClipChildren(false); in createDecorView()
1553 decorView.setClipToPadding(false); in createDecorView()
1555 return decorView; in createDecorView()
1572 final PopupDecorView decorView = mDecorView; in invokePopup() local
1573 decorView.setFitsSystemWindows(mLayoutInsetDecor); in invokePopup()
1577 mWindowManager.addView(decorView, p); in invokePopup()
1580 decorView.requestEnterTransition(mEnterTransition); in invokePopup()
2029 final PopupDecorView decorView = mDecorView; in dismiss() local
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java78 public BackdropFrameRenderer(DecorView decorView, ThreadedRenderer renderer, Rect initialBounds, in BackdropFrameRenderer() argument
85 onResourcesLoaded(decorView, resizingBackgroundDrawable, captionBackgroundDrawable, in BackdropFrameRenderer()
107 void onResourcesLoaded(DecorView decorView, Drawable resizingBackgroundDrawable, in onResourcesLoaded() argument
111 mDecorView = decorView; in onResourcesLoaded()
DPhoneWindow.java830 if (st.decorView == null || st.refreshDecorView) { in openPanel()
831 if (st.decorView == null) { in openPanel()
833 if (!initializePanelDecor(st) || (st.decorView == null)) in openPanel()
835 } else if (st.refreshDecorView && (st.decorView.getChildCount() > 0)) { in openPanel()
837 st.decorView.removeAllViews(); in openPanel()
860 st.decorView.setWindowBackground(getContext().getDrawable( in openPanel()
867 st.decorView.addView(st.shownPanelView, lp); in openPanel()
894 st.decorView.mDefaultOpacity); in openPanel()
905 wm.addView(st.decorView, lp); in openPanel()
944 if (st.decorView != null) { in closePanel()
[all …]
/frameworks/base/core/java/android/view/
DWindow.java880 final View decorView = getDecorView(); in addOnFrameMetricsAvailableListener() local
881 if (decorView == null) { in addOnFrameMetricsAvailableListener()
889 decorView.addFrameMetricsListener(this, listener, handler); in addOnFrameMetricsAvailableListener()
896 final View decorView = getDecorView(); in removeOnFrameMetricsAvailableListener() local
897 if (decorView != null) { in removeOnFrameMetricsAvailableListener()
1325 final View decorView = getDecorView(); in isOutOfBounds() local
1327 || (x > (decorView.getWidth()+slop)) in isOutOfBounds()
1328 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
DViewRootImpl.java6870 ViewGroup decorView = (ViewGroup) mView;
6871 if (decorView.getChildCount() > 0) {
6875 return decorView.getChildAt(0).getContext()
/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()
DSystemBarHelperTest.java249 TestWindow(Context context, View decorView) { in TestWindow() argument
251 mDecorView = decorView; in TestWindow()
DSetupWizardLayoutTest.java237 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/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java168 final View[] decorView = new View[1]; in testHandleActivity_assetsChanged() local
174 decorView[0] = activity.getWindow().getDecorView(); in testHandleActivity_assetsChanged()
188 assertEquals("Window must be preserved", decorView[0], newDecorView[0]); in testHandleActivity_assetsChanged()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt55 window.decorView.systemUiVisibility = in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1682 View decorView = getWindow().getDecorView();
1684 decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR |
1687 decorView.setSystemUiVisibility(0);