/frameworks/base/core/java/android/app/ |
D | ActivityTransitionState.java | 263 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()
|
D | ActivityTransitionCoordinator.java | 817 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 …]
|
D | EnterTransitionCoordinator.java | 135 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()
|
D | ExitTransitionCoordinator.java | 281 ViewGroup decor = getDecor(); in fadeOutBackground() local 283 if (decor != null && (background = decor.getBackground()) != null) { in fadeOutBackground()
|
D | Activity.java | 2594 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 …]
|
D | ActivityThread.java | 3043 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/ |
D | MenuDialogHelper.java | 98 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/ |
D | MenuDialogHelper.java | 101 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/ |
D | WindowDecorActionBar.java | 175 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/ |
D | WindowDecorActionBar.java | 163 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()
|
D | AlertController.java | 433 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/ |
D | Window.java | 556 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/ |
D | InputMethodService.java | 317 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/ |
D | GlobalActions.java | 1138 View decor = getWindow().getDecorView(); 1143 || eventX >= decor.getWidth() + mWindowTouchSlop 1144 || eventY >= decor.getHeight() + mWindowTouchSlop) {
|
D | PhoneWindow.java | 3334 protected ViewGroup generateLayout(DecorView decor) { 3606 decor.addView(in, new ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT));
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 710 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets() local 711 decor.getLocationInWindow(loc); in onComputeInsets()
|
/frameworks/base/docs/html/training/system-ui/ |
D | dim.jd | 60 // This example uses decor view, but you can use any visible view.
|
/frameworks/base/docs/html/training/activity-testing/ |
D | activity-ui-testing.jd | 157 to the decor view for the {@link android.app.Activity}. The decor view is the
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 891 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()
|