Home
last modified time | relevance | path

Searched refs:decor (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/app/
DActivityTransitionState.java263 ViewGroup decor = null; in startExitBackTransition() local
267 decor = mEnterTransitionCoordinator.getDecor(); in startExitBackTransition()
270 if (enterViewsTransition != null && decor != null) { in startExitBackTransition()
271 enterViewsTransition.pause(decor); in startExitBackTransition()
277 if (enterViewsTransition != null && decor != null) { in startExitBackTransition()
278 enterViewsTransition.resume(decor); in startExitBackTransition()
280 if (delayExitBack && decor != null) { in startExitBackTransition()
281 final ViewGroup finalDecor = decor; in startExitBackTransition()
282 decor.getViewTreeObserver().addOnPreDrawListener( in startExitBackTransition()
DActivityTransitionCoordinator.java817 ViewGroup decor = getDecor(); in moveSharedElementsToOverlay() local
818 if (decor != null) { in moveSharedElementsToOverlay()
822 GhostView.addGhost(view, decor); in moveSharedElementsToOverlay()
824 if (moveWithParent && !isInTransitionGroup(parent, decor)) { in moveSharedElementsToOverlay()
825 GhostViewListeners listener = new GhostViewListeners(view, parent, decor); in moveSharedElementsToOverlay()
837 public static boolean isInTransitionGroup(ViewParent viewParent, ViewGroup decor) { in isInTransitionGroup() argument
838 if (viewParent == decor || !(viewParent instanceof ViewGroup)) { in isInTransitionGroup()
845 return isInTransitionGroup(parent.getParent(), decor); in isInTransitionGroup()
861 ViewGroup decor = getDecor(); in moveSharedElementsFromOverlay() local
862 if (decor != null) { in moveSharedElementsFromOverlay()
[all …]
DEnterTransitionCoordinator.java135 final ViewGroup decor = getDecor(); in triggerViewsReady() local
137 if (decor == null || (decor.isAttachedToWindow() && in triggerViewsReady()
141 decor.getViewTreeObserver() in triggerViewsReady()
145 decor.getViewTreeObserver().removeOnPreDrawListener(this); in triggerViewsReady()
DExitTransitionCoordinator.java281 ViewGroup decor = getDecor(); in fadeOutBackground() local
283 if (decor != null && (background = decor.getBackground()) != null) { in fadeOutBackground()
DActivity.java2594 View decor = mDecor; in onWindowAttributesChanged() local
2595 if (decor != null && decor.getParent() != null) { in onWindowAttributesChanged()
2596 getWindowManager().updateViewLayout(decor, params); in onWindowAttributesChanged()
2705 View decor = mDecor; in dispatchKeyEvent() local
2706 if (decor == null) decor = win.getDecorView(); in dispatchKeyEvent()
2707 return event.dispatch(this, decor != null in dispatchKeyEvent()
2708 ? decor.getKeyDispatcherState() : null, this); in dispatchKeyEvent()
3765 final View decor = mWindow != null ? mWindow.peekDecorView() : null; in startActivityForResult() local
3766 if (decor != null) { in startActivityForResult()
3767 decor.cancelPendingInputEvents(); in startActivityForResult()
[all …]
DActivityThread.java3043 View decor = r.window.getDecorView(); in handleResumeActivity() local
3044 decor.setVisibility(View.INVISIBLE); in handleResumeActivity()
3047 a.mDecor = decor; in handleResumeActivity()
3052 wm.addView(decor, l); in handleResumeActivity()
3089 View decor = r.window.getDecorView(); in handleResumeActivity() local
3090 wm.updateViewLayout(decor, l); in handleResumeActivity()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java98 View decor = win.getDecorView(); in onKey() local
99 if (decor != null) { in onKey()
100 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
110 View decor = win.getDecorView(); in onKey() local
111 if (decor != null) { in onKey()
112 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuDialogHelper.java101 View decor = win.getDecorView(); in onKey() local
102 if (decor != null) { in onKey()
103 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
113 View decor = win.getDecorView(); in onKey() local
114 if (decor != null) { in onKey()
115 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DWindowDecorActionBar.java175 View decor = window.getDecorView(); in WindowDecorActionBar() local
176 init(decor); in WindowDecorActionBar()
178 mContentView = decor.findViewById(android.R.id.content); in WindowDecorActionBar()
196 private void init(View decor) { in init() argument
197 mOverlayLayout = (ActionBarOverlayLayout) decor.findViewById(R.id.decor_content_parent); in init()
201 mDecorToolbar = getDecorToolbar(decor.findViewById(R.id.action_bar)); in init()
202 mContextView = (ActionBarContextView) decor.findViewById( in init()
204 mContainerView = (ActionBarContainer) decor.findViewById( in init()
207 mSplitView = (ActionBarContainer) decor.findViewById(R.id.split_action_bar); in init()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java163 View decor = window.getDecorView(); in WindowDecorActionBar() local
165 init(decor); in WindowDecorActionBar()
167 mContentView = decor.findViewById(android.R.id.content); in WindowDecorActionBar()
185 private void init(View decor) { in init() argument
186 mOverlayLayout = (ActionBarOverlayLayout) decor.findViewById( in init()
191 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init()
192 mContextView = (ActionBarContextView) decor.findViewById( in init()
194 mContainerView = (ActionBarContainer) decor.findViewById( in init()
196 mSplitView = (ActionBarContainer) decor.findViewById( in init()
DAlertController.java433 final View decor = mWindow.getDecorView(); in setupDecor() local
435 if (parent != null && decor != null) { in setupDecor()
436 decor.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() { in setupDecor()
448 decor.setFitsSystemWindows(true); in setupDecor()
449 decor.requestApplyInsets(); in setupDecor()
/frameworks/base/core/java/android/view/
DWindow.java556 View decor = peekDecorView(); in adjustLayoutParamsForSubWindow() local
557 if (decor != null) { in adjustLayoutParamsForSubWindow()
558 wp.token = decor.getWindowToken(); in adjustLayoutParamsForSubWindow()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java317 View decor = getWindow().getWindow().getDecorView();
319 = decor.getHeight();
1069 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1070 loc[1] = decor.getHeight(); in onComputeInsets()
1074 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1075 outInsets.contentTopInsets = decor.getHeight(); in onComputeInsets()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java1138 View decor = getWindow().getDecorView();
1143 || eventX >= decor.getWidth() + mWindowTouchSlop
1144 || eventY >= decor.getHeight() + mWindowTouchSlop) {
DPhoneWindow.java3334 protected ViewGroup generateLayout(DecorView decor) {
3606 decor.addView(in, new ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT));
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java710 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
711 decor.getLocationInWindow(loc); in onComputeInsets()
/frameworks/base/docs/html/training/system-ui/
Ddim.jd60 // This example uses decor view, but you can use any visible view.
/frameworks/base/docs/html/training/activity-testing/
Dactivity-ui-testing.jd157 to the decor view for the {@link android.app.Activity}. The decor view is the
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java891 public void addItemDecoration(ItemDecoration decor, int index) { in addItemDecoration() argument
900 mItemDecorations.add(decor); in addItemDecoration()
902 mItemDecorations.add(index, decor); in addItemDecoration()
920 public void addItemDecoration(ItemDecoration decor) { in addItemDecoration() argument
921 addItemDecoration(decor, -1); in addItemDecoration()
933 public void removeItemDecoration(ItemDecoration decor) { in removeItemDecoration() argument
938 mItemDecorations.remove(decor); in removeItemDecoration()