Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/java/android/app/
H A DExitTransitionCoordinator.java126 ViewGroup decorView = getDecor(); in resetViews() local
127 if (decorView != null) { in resetViews()
145 if (decorView != null) { in sharedElementExitBack()
186 decorView.invalidate(); in startSharedElementExit()
207 if (decorView != null) { in startExit()
225 if (decorView != null) { in startExit()
237 if (decorView != null && decorView.getBackground() == null) { in startExit()
240 final boolean targetsM = decorView == null || decorView.getContext() in startExit()
273 ViewGroup decorView = getDecor(); in startExitTransition() local
278 decorView.invalidate(); in startExitTransition()
[all …]
H A DEnterTransitionCoordinator.java83 final View decorView = getDecor(); in EnterTransitionCoordinator() local
84 if (decorView != null) { in EnterTransitionCoordinator()
176 ViewGroup decorView = getDecor(); in mapNamedElements() local
177 if (decorView != null) { in mapNamedElements()
200 } else if (decorView == null) { in sendSharedElementDestination()
217 } else if (decorView != null) { in sendSharedElementDestination()
397 if (decorView == null) { in startSharedElementTransition()
567 decorView.invalidate(); in beginTransition()
586 if (decorView != null) { in onTransitionsComplete()
650 if (decorView != null) { in stop()
[all …]
H A DActivityTransitionCoordinator.java240 ViewGroup decorView = getDecor(); in viewsReady() local
241 if (decorView != null) { in viewsReady()
478 ViewGroup decorView = getDecor(); in mapSharedElements() local
479 if (decorView != null) { in mapSharedElements()
637 final View decorView = getDecor(); in scheduleSetSharedElementEnd() local
638 if (decorView != null) { in scheduleSetSharedElementEnd()
685 ViewGroup decorView = getDecor(); in createSnapshots() local
686 if (decorView != null) { in createSnapshots()
687 decorView.getLocationOnScreen(decorLoc); in createSnapshots()
937 final View decorView = getDecor(); in scheduleGhostVisibilityChange() local
[all …]
/aosp12/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DDialogLaunchAnimator.kt201 private val decorView by lazy { dialog.window!!.decorView as ViewGroup } regex
257 for (i in 0 until decorView.childCount) {
283 decorView.addView(
319 for (i in 1 until decorView.childCount) {
320 val view = decorView.getChildAt(1)
321 decorView.removeViewAt(1)
394 if (decorView.viewRootImpl == null) {
397 decorView.post(::addTouchSurfaceGhost)
408 GhostView.addGhost(touchSurface, decorView)
424 !decorView.isAttachedToWindow || decorView.viewRootImpl == null) {
[all …]
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A 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
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DUserSwitchingDialog.java128 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()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
H A DDialogLaunchAnimatorTest.kt68 val decorView = window.decorView as DecorView regex
71 assertEquals(MATCH_PARENT, decorView.layoutParams.width)
72 assertEquals(MATCH_PARENT, decorView.layoutParams.height)
76 assertEquals(1, decorView.childCount)
77 val transparentBackground = decorView.getChildAt(0) as ViewGroup
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotController.java736 View decorView = mWindow.getDecorView(); in withWindowAttached() local
737 if (decorView.isAttachedToWindow()) { in withWindowAttached()
763 View decorView = mWindow.getDecorView(); in attachWindow() local
764 if (decorView.isAttachedToWindow() || mBlockAttach) { in attachWindow()
771 mWindowManager.addView(decorView, mWindowLayoutParams); in attachWindow()
772 decorView.requestApplyInsets(); in attachWindow()
776 final View decorView = mWindow.peekDecorView(); in removeWindow() local
777 if (decorView != null && decorView.isAttachedToWindow()) { in removeWindow()
781 mWindowManager.removeViewImmediate(decorView); in removeWindow()
1008 final View decorView = mWindow.peekDecorView(); in setWindowFocusable() local
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowTest.java123 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()
H A DDecorViewTest.java85 DecorView decorView = (DecorView) phoneWindow.getDecorView(); in setBackgroundWithNoWindow() local
86 assertThat(decorView.getBackground()).isNotNull(); in setBackgroundWithNoWindow()
/aosp12/frameworks/base/core/java/android/preference/
H A 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()
/aosp12/frameworks/base/core/java/android/widget/
H A DPopupWindow.java1551 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()
2028 final PopupDecorView decorView = mDecorView; in dismiss() local
2040 decorView.cancelTransitions(); in dismiss()
2058 mWindowManager.updateViewLayout(decorView, p); in dismiss()
2130 if (decorView.getParent() != null) { in dismissImmediate()
[all …]
/aosp12/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DMainActivity.java19 View decorView = getWindow().getDecorView(); in onCreate() local
22 decorView.setSystemUiVisibility(uiOptions); in onCreate()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/insets/
H A DWindowInsetsTestActivity.java46 View decorView = getWindow().getDecorView(); in hideSysUI() local
47 WindowInsetsController windowInsetsController = decorView.getWindowInsetsController(); in hideSysUI()
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java77 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()
H A DPhoneWindow.java854 if (st.decorView == null) { in openPanel()
860 st.decorView.removeAllViews(); in openPanel()
917 st.decorView.mDefaultOpacity); in openPanel()
928 wm.addView(st.decorView, lp); in openPanel()
967 if (st.decorView != null) { in closePanel()
968 wm.removeView(st.decorView); in closePanel()
1400 st.decorView = generateDecor(st.featureId); in initializePanelDecor()
1407 st.decorView.setElevation(elevation); in initializePanelDecor()
1440 wm.updateViewLayout(st.decorView, lp); in onOptionsPanelRotationChanged()
3371 DecorView decorView;
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DFallbackHome.java68 final View decorView = getWindow().getDecorView();
69 decorView.setSystemUiVisibility(
70 updateVisibilityFlagsFromColors(colors, decorView.getSystemUiVisibility()));
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/animation/
H A DViewGroupItemVerticalExplodeAnimation.java110 final View decorView = ((Activity) context).getWindow().getDecorView(); in startAnimation() local
111 final ViewOverlay viewOverlay = decorView.getOverlay(); in startAnimation()
119 final Rect decorRect = UiUtils.getMeasuredBoundsOnScreen(decorView); in startAnimation()
/aosp12/frameworks/base/core/java/android/view/
H A DWindow.java931 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()
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
H A 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()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A 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()
H A DSystemBarHelperTest.java249 TestWindow(Context context, View decorView) { in TestWindow() argument
251 mDecorView = decorView; in TestWindow()
H A 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()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DStartingSurfaceDrawer.java635 private void removeWindowInner(View decorView, boolean hideView) { in removeWindowInner() argument
640 decorView.setVisibility(View.GONE); in removeWindowInner()
642 mWindowManagerGlobal.removeView(decorView, false /* immediate */); in removeWindowInner()
657 StartingWindowRecord(IBinder appToken, View decorView, in StartingWindowRecord() argument
660 mDecorView = decorView; in StartingWindowRecord()
/aosp12/packages/apps/Contacts/src/com/android/contacts/activities/
H A DActionBarAdapter.java445 final ViewGroup decorView = (ViewGroup) mActivity.getWindow().getDecorView(); in updateOverflowButtonColor() local
446 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in updateOverflowButtonColor()
453 decorView.findViewsWithText(outViews, overflowDescription, in updateOverflowButtonColor()
475 decorView.getViewTreeObserver().removeOnGlobalLayoutListener(this); in updateOverflowButtonColor()

12