Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DActivityTransitionState.java262 ViewGroup decor = null; in startExitBackTransition() local
266 decor = mEnterTransitionCoordinator.getDecor(); in startExitBackTransition()
269 if (enterViewsTransition != null && decor != null) { in startExitBackTransition()
270 enterViewsTransition.pause(decor); in startExitBackTransition()
276 if (enterViewsTransition != null && decor != null) { in startExitBackTransition()
277 enterViewsTransition.resume(decor); in startExitBackTransition()
279 if (delayExitBack && decor != null) { in startExitBackTransition()
280 final ViewGroup finalDecor = decor; in startExitBackTransition()
281 decor.getViewTreeObserver().addOnPreDrawListener( in startExitBackTransition()
DActivityTransitionCoordinator.java796 ViewGroup decor = getDecor(); in moveSharedElementsToOverlay() local
797 if (decor != null) { in moveSharedElementsToOverlay()
804 GhostView.addGhost(view, decor, tempMatrix); in moveSharedElementsToOverlay()
806 if (moveWithParent && !isInTransitionGroup(parent, decor)) { in moveSharedElementsToOverlay()
807 GhostViewListeners listener = new GhostViewListeners(view, parent, decor); in moveSharedElementsToOverlay()
819 public static boolean isInTransitionGroup(ViewParent viewParent, ViewGroup decor) { in isInTransitionGroup() argument
820 if (viewParent == decor || !(viewParent instanceof ViewGroup)) { in isInTransitionGroup()
827 return isInTransitionGroup(parent.getParent(), decor); in isInTransitionGroup()
843 ViewGroup decor = getDecor(); in moveSharedElementsFromOverlay() local
844 if (decor != null) { in moveSharedElementsFromOverlay()
[all …]
DEnterTransitionCoordinator.java134 final ViewGroup decor = getDecor(); in triggerViewsReady() local
136 if (decor == null || (decor.isAttachedToWindow() && in triggerViewsReady()
140 decor.getViewTreeObserver() in triggerViewsReady()
144 decor.getViewTreeObserver().removeOnPreDrawListener(this); in triggerViewsReady()
DExitTransitionCoordinator.java288 ViewGroup decor = getDecor(); in fadeOutBackground() local
290 if (decor != null && (background = decor.getBackground()) != null) { in fadeOutBackground()
DActivity.java2617 View decor = mDecor; in onWindowAttributesChanged() local
2618 if (decor != null && decor.getParent() != null) { in onWindowAttributesChanged()
2619 getWindowManager().updateViewLayout(decor, params); in onWindowAttributesChanged()
2728 View decor = mDecor; in dispatchKeyEvent() local
2729 if (decor == null) decor = win.getDecorView(); in dispatchKeyEvent()
2730 return event.dispatch(this, decor != null in dispatchKeyEvent()
2731 ? decor.getKeyDispatcherState() : null, this); in dispatchKeyEvent()
3955 final View decor = mWindow != null ? mWindow.peekDecorView() : null; in cancelInputsAndStartExitTransition() local
3956 if (decor != null) { in cancelInputsAndStartExitTransition()
3957 decor.cancelPendingInputEvents(); in cancelInputsAndStartExitTransition()
DActivityThread.java3160 View decor = r.window.getDecorView(); in handleResumeActivity() local
3161 decor.setVisibility(View.INVISIBLE); in handleResumeActivity()
3164 a.mDecor = decor; in handleResumeActivity()
3169 wm.addView(decor, l); in handleResumeActivity()
3210 View decor = r.window.getDecorView(); in handleResumeActivity() local
3211 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.java99 View decor = win.getDecorView(); in onKey() local
100 if (decor != null) { in onKey()
101 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
111 View decor = win.getDecorView(); in onKey() local
112 if (decor != null) { in onKey()
113 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java168 View decor = window.getDecorView(); in WindowDecorActionBar() local
170 init(decor); in WindowDecorActionBar()
172 mContentView = decor.findViewById(android.R.id.content); in WindowDecorActionBar()
190 private void init(View decor) { in init() argument
191 mOverlayLayout = (ActionBarOverlayLayout) decor.findViewById( in init()
196 mDecorToolbar = getDecorToolbar(decor.findViewById(com.android.internal.R.id.action_bar)); in init()
197 mContextView = (ActionBarContextView) decor.findViewById( in init()
199 mContainerView = (ActionBarContainer) decor.findViewById( in init()
201 mSplitView = (ActionBarContainer) decor.findViewById( in init()
DAlertController.java431 final View decor = mWindow.getDecorView(); in setupDecor() local
433 if (parent != null && decor != null) { in setupDecor()
434 decor.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() { in setupDecor()
446 decor.setFitsSystemWindows(true); in setupDecor()
447 decor.requestApplyInsets(); in setupDecor()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DWindowDecorActionBar.java174 View decor = window.getDecorView(); in WindowDecorActionBar() local
175 init(decor); in WindowDecorActionBar()
177 mContentView = decor.findViewById(android.R.id.content); in WindowDecorActionBar()
195 private void init(View decor) { in init() argument
196 mOverlayLayout = (ActionBarOverlayLayout) decor.findViewById(R.id.decor_content_parent); in init()
200 mDecorToolbar = getDecorToolbar(decor.findViewById(R.id.action_bar)); in init()
201 mContextView = (ActionBarContextView) decor.findViewById( in init()
203 mContainerView = (ActionBarContainer) decor.findViewById( in init()
/frameworks/base/core/java/android/view/
DWindow.java583 View decor = peekDecorView(); in adjustLayoutParamsForSubWindow() local
584 if (decor != null) { in adjustLayoutParamsForSubWindow()
585 wp.token = decor.getWindowToken(); in adjustLayoutParamsForSubWindow()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java326 View decor = getWindow().getWindow().getDecorView();
328 = decor.getHeight();
1084 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1085 loc[1] = decor.getHeight(); in onComputeInsets()
1089 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1090 outInsets.contentTopInsets = decor.getHeight(); 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/services/core/java/com/android/server/policy/
DGlobalActions.java1191 View decor = getWindow().getDecorView();
1196 || eventX >= decor.getWidth() + mWindowTouchSlop
1197 || eventY >= decor.getHeight() + mWindowTouchSlop) {
/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/base/core/java/android/service/voice/
DVoiceInteractionSession.java1425 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local
1426 outInsets.contentInsets.top = decor.getHeight(); in onComputeInsets()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1622 final View decor = mDecorView; in getRelativeAnchorBounds() local
1623 if (anchor == null || decor == null) { in getRelativeAnchorBounds()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java1158 public void addItemDecoration(ItemDecoration decor, int index) { in addItemDecoration() argument
1167 mItemDecorations.add(decor); in addItemDecoration()
1169 mItemDecorations.add(index, decor); in addItemDecoration()
1187 public void addItemDecoration(ItemDecoration decor) { in addItemDecoration() argument
1188 addItemDecoration(decor, -1); in addItemDecoration()
1200 public void removeItemDecoration(ItemDecoration decor) { in removeItemDecoration() argument
1205 mItemDecorations.remove(decor); in removeItemDecoration()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3648 protected ViewGroup generateLayout(DecorView decor) {
3783 decor.setSystemUiVisibility(
3784 decor.getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
3910 decor.addView(in, new ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT));