Home
last modified time | relevance | path

Searched refs:decorView (Results 1 – 18 of 18) 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.java80 final View decorView = getDecor(); in EnterTransitionCoordinator() local
81 if (decorView != null) { in EnterTransitionCoordinator()
82 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in EnterTransitionCoordinator()
91 decorView.getViewTreeObserver().removeOnPreDrawListener(this); in EnterTransitionCoordinator()
173 ViewGroup decorView = getDecor(); in mapNamedElements() local
174 if (decorView != null) { in mapNamedElements()
175 decorView.findNamedViews(sharedElements); in mapNamedElements()
194 final View decorView = getDecor(); in sendSharedElementDestination() local
197 } else if (decorView == null) { in sendSharedElementDestination()
200 allReady = !decorView.isLayoutRequested(); in sendSharedElementDestination()
[all …]
DActivityOptions.java673 final View decorView = window.getDecorView(); in startSharedElementAnimation() local
674 if (decorView == null) { in startSharedElementAnimation()
695 final View decorView = window.getDecorView(); in stopSharedElementAnimation() local
696 if (decorView == null) { in stopSharedElementAnimation()
700 decorView.getTag(com.android.internal.R.id.cross_task_transition); in stopSharedElementAnimation()
703 decorView.setTagInternal(com.android.internal.R.id.cross_task_transition, null); in stopSharedElementAnimation()
704 TransitionManager.endTransitions((ViewGroup) decorView); in stopSharedElementAnimation()
707 decorView.setVisibility(View.VISIBLE); in stopSharedElementAnimation()
1433 View decorView = mWindow.getDecorView(); in HideWindowListener() local
1434 if (decorView != null) { in HideWindowListener()
[all …]
DActivityTransitionCoordinator.java233 ViewGroup decorView = getDecor(); in viewsReady() local
234 if (decorView != null) { in viewsReady()
235 decorView.captureTransitioningViews(mTransitioningViews); in viewsReady()
473 ViewGroup decorView = getDecor(); in mapSharedElements() local
474 if (decorView != null) { in mapSharedElements()
475 decorView.findNamedViews(sharedElements); in mapSharedElements()
632 final View decorView = getDecor(); in scheduleSetSharedElementEnd() local
633 if (decorView != null) { in scheduleSetSharedElementEnd()
634 OneShotPreDrawListener.add(decorView, () -> { in scheduleSetSharedElementEnd()
680 ViewGroup decorView = getDecor(); in createSnapshots() local
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java96 final View decorView = getWindow().getDecorView(); in show() local
97 if (decorView != null) { in show()
98 decorView.getViewTreeObserver().addOnWindowShownListener(this); in show()
118 final View decorView = getWindow().getDecorView(); in startUser() local
119 if (decorView != null) { in startUser()
120 decorView.getViewTreeObserver().removeOnWindowShownListener(this); in startUser()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java224 public void onDecorViewInstalled(View decorView) { in addImmersiveFlagsToDecorView()
225 addVisibilityFlag(decorView, vis); in addImmersiveFlagsToDecorView()
234 public void onDecorViewInstalled(View decorView) { in removeImmersiveFlagsFromDecorView()
235 removeVisibilityFlag(decorView, vis); in removeImmersiveFlagsFromDecorView()
256 final View decorView = mWindow.peekDecorView();
257 if (decorView != null) {
258 mCallback.onDecorViewInstalled(decorView);
282 void onDecorViewInstalled(View decorView); in onDecorViewInstalled() argument
/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/widget/
DPopupWindow.java1407 final PopupDecorView decorView = new PopupDecorView(mContext); in createDecorView() local
1408 decorView.addView(contentView, MATCH_PARENT, height); in createDecorView()
1409 decorView.setClipChildren(false); in createDecorView()
1410 decorView.setClipToPadding(false); in createDecorView()
1412 return decorView; in createDecorView()
1428 final PopupDecorView decorView = mDecorView; in invokePopup() local
1429 decorView.setFitsSystemWindows(mLayoutInsetDecor); in invokePopup()
1433 mWindowManager.addView(decorView, p); in invokePopup()
1436 decorView.requestEnterTransition(mEnterTransition); in invokePopup()
1883 final PopupDecorView decorView = mDecorView; in dismiss() local
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java79 public BackdropFrameRenderer(DecorView decorView, ThreadedRenderer renderer, Rect initialBounds, in BackdropFrameRenderer() argument
86 onResourcesLoaded(decorView, resizingBackgroundDrawable, captionBackgroundDrawable, in BackdropFrameRenderer()
109 void onResourcesLoaded(DecorView decorView, Drawable resizingBackgroundDrawable, in onResourcesLoaded() argument
112 mDecorView = decorView; in onResourcesLoaded()
DPhoneWindow.java811 if (st.decorView == null || st.refreshDecorView) { in openPanel()
812 if (st.decorView == null) { in openPanel()
814 if (!initializePanelDecor(st) || (st.decorView == null)) in openPanel()
816 } else if (st.refreshDecorView && (st.decorView.getChildCount() > 0)) { in openPanel()
818 st.decorView.removeAllViews(); in openPanel()
841 st.decorView.setWindowBackground(getContext().getDrawable( in openPanel()
848 st.decorView.addView(st.shownPanelView, lp); in openPanel()
875 st.decorView.mDefaultOpacity); in openPanel()
886 wm.addView(st.decorView, lp); in openPanel()
925 if (st.decorView != null) { in closePanel()
[all …]
/frameworks/base/core/java/android/view/
DWindow.java871 final View decorView = getDecorView(); in addOnFrameMetricsAvailableListener() local
872 if (decorView == null) { in addOnFrameMetricsAvailableListener()
880 decorView.addFrameMetricsListener(this, listener, handler); in addOnFrameMetricsAvailableListener()
887 final View decorView = getDecorView(); in removeOnFrameMetricsAvailableListener() local
888 if (decorView != null) { in removeOnFrameMetricsAvailableListener()
1294 final View decorView = getDecorView(); in isOutOfBounds() local
1296 || (x > (decorView.getWidth()+slop)) in isOutOfBounds()
1297 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
/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.java240 TestWindow(Context context, View decorView) { in TestWindow() argument
242 mDecorView = decorView; in TestWindow()
DSetupWizardLayoutTest.java235 View decorView = layout.findViewById(R.id.suw_layout_decor); in assertDefaultTemplateInflated() local
238 assertNotNull("@id/suw_layout_decor_view should not be null", decorView); in assertDefaultTemplateInflated()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DDataBindingUtil.java277 View decorView = activity.getWindow().getDecorView(); in setContentView() local
278 ViewGroup contentView = (ViewGroup) decorView.findViewById(android.R.id.content); in setContentView()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV9.java1131 if (st.decorView == null || st.refreshDecorView) {
1132 if (st.decorView == null) {
1134 if (!initializePanelDecor(st) || (st.decorView == null))
1136 } else if (st.refreshDecorView && (st.decorView.getChildCount() > 0)) {
1138 st.decorView.removeAllViews();
1152 st.decorView.setBackgroundResource(backgroundResId);
1158 st.decorView.addView(st.shownPanelView, lp);
1188 wm.addView(st.decorView, lp);
1194 st.decorView = new ListMenuDecorView(st.listPresenterContext);
1437 if (wm != null && st.isOpen && st.decorView != null) {
[all …]
DAppCompatActivity.java557 final View decorView = currentWindow.getDecorView(); in performMenuItemShortcut() local
558 if (decorView.dispatchKeyShortcutEvent(event)) { in performMenuItemShortcut()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java462 View decorView = getWindow().getDecorView(); in updateLayout() local
463 mDialogContentWidth = width - decorView.getPaddingLeft() - decorView.getPaddingRight(); in updateLayout()
616 View decorView = getWindow().getDecorView(); in updateLayoutHeightInternal() local
617 decorView.measure( in updateLayoutHeightInternal()
644 decorView.getWindowVisibleDisplayFrame(visibleRect); in updateLayoutHeightInternal()