Searched refs:mTreeObserver (Results 1 – 5 of 5) sorted by relevance
86 if (mTreeObserver != null) {87 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver();88 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);99 private ViewTreeObserver mTreeObserver; field in StandardMenuPopup163 final boolean addGlobalListener = mTreeObserver == null; in tryShow()164 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest in tryShow()166 mTreeObserver.addOnGlobalLayoutListener(mGlobalLayoutListener); in tryShow()234 if (mTreeObserver != null) { in onDismiss()235 if (!mTreeObserver.isAlive()) mTreeObserver = mShownAnchorView.getViewTreeObserver(); in onDismiss()236 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener); in onDismiss()[all …]
110 if (mTreeObserver != null) {111 if (!mTreeObserver.isAlive()) {112 mTreeObserver = v.getViewTreeObserver();114 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);192 private ViewTreeObserver mTreeObserver; field in CascadingMenuPopup254 final boolean addGlobalListener = mTreeObserver == null; in show()255 mTreeObserver = mShownAnchorView.getViewTreeObserver(); // Refresh to latest in show()257 mTreeObserver.addOnGlobalLayoutListener(mGlobalLayoutListener); in show()650 if (mTreeObserver != null) { in onCloseMenu()651 if (mTreeObserver.isAlive()) { in onCloseMenu()[all …]
46 view.mAttachInfo.mTreeObserver.dispatchOnPreDraw(); in dispatchOnPreDraw()
2053 mAttachInfo.mTreeObserver.dispatchOnWindowAttachedChange(true); in performTraversals()2232 mAttachInfo.mTreeObserver.hasComputeInternalInsetsListeners() in performTraversals()2652 mAttachInfo.mTreeObserver.dispatchOnGlobalLayout(); in performTraversals()2661 mAttachInfo.mTreeObserver.dispatchOnComputeInternalInsets(insets); in performTraversals()2769 boolean cancelDraw = mAttachInfo.mTreeObserver.dispatchOnPreDraw() || !isViewVisible; in performTraversals()2941 mAttachInfo.mTreeObserver.dispatchOnWindowFocusChange(hasWindowFocus); in handleWindowFocusChanged()3468 ArrayList<Runnable> commitCallbacks = mAttachInfo.mTreeObserver in performDraw()3654 mAttachInfo.mTreeObserver.dispatchOnScrollChanged(); in draw()3698 mAttachInfo.mTreeObserver.dispatchOnDraw(); in draw()3989 mAttachInfo.mTreeObserver in systemGestureExclusionChanged()[all …]
7598 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, this);7779 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, null);20093 info.mTreeObserver.merge(mFloatingTreeObserver); in dispatchAttachedToWindow()24282 return mAttachInfo.mTreeObserver; in getViewTreeObserver()28642 final ViewTreeObserver mTreeObserver; field in View.AttachInfo28792 mTreeObserver = new ViewTreeObserver(context); in AttachInfo()