Searched refs:mTreeObserver (Results 1 – 5 of 5) sorted by relevance
92 if (mTreeObserver != null) {93 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver();94 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);105 private ViewTreeObserver mTreeObserver; field in StandardMenuPopup175 final boolean addGlobalListener = mTreeObserver == null; in tryShow()176 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest in tryShow()178 mTreeObserver.addOnGlobalLayoutListener(mGlobalLayoutListener); in tryShow()246 if (mTreeObserver != null) { in onDismiss()247 if (!mTreeObserver.isAlive()) mTreeObserver = mShownAnchorView.getViewTreeObserver(); in onDismiss()248 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener); in onDismiss()[all …]
109 if (mTreeObserver != null) {110 if (!mTreeObserver.isAlive()) {111 mTreeObserver = v.getViewTreeObserver();113 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);191 private ViewTreeObserver mTreeObserver; field in CascadingMenuPopup260 final boolean addGlobalListener = mTreeObserver == null; in show()261 mTreeObserver = mShownAnchorView.getViewTreeObserver(); // Refresh to latest in show()263 mTreeObserver.addOnGlobalLayoutListener(mGlobalLayoutListener); in show()656 if (mTreeObserver != null) { in onCloseMenu()657 if (mTreeObserver.isAlive()) { in onCloseMenu()[all …]
46 view.mAttachInfo.mTreeObserver.dispatchOnPreDraw(); in dispatchOnPreDraw()50 view.mAttachInfo.mTreeObserver.dispatchOnGlobalLayout(); in dispatchOnGlobalLayout()
3444 mAttachInfo.mTreeObserver.dispatchOnWindowAttachedChange(true); in performTraversals()3472 mAttachInfo.mTreeObserver.dispatchOnWindowVisibilityChange(viewVisibility); in performTraversals()3590 mAttachInfo.mTreeObserver.hasComputeInternalInsetsListeners() in performTraversals()4106 mAttachInfo.mTreeObserver.dispatchOnGlobalLayout(); in performTraversals()4121 mAttachInfo.mTreeObserver.dispatchOnComputeInternalInsets(insets); in performTraversals()4239 boolean cancelDueToPreDrawListener = mAttachInfo.mTreeObserver.dispatchOnPreDraw(); in performTraversals()4286 ? "predraw_" + mAttachInfo.mTreeObserver.getLastDispatchOnPreDrawCanceledReason() in performTraversals()4698 mAttachInfo.mTreeObserver.dispatchOnWindowFocusChange(hasWindowFocus); in dispatchFocusEvent()5224 ArrayList<Runnable> commitCallbacks = mAttachInfo.mTreeObserver in addFrameCommitCallbackIfNeeded()5528 mAttachInfo.mTreeObserver.dispatchOnScrollChanged(); in draw()[all …]
8369 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, this);8552 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, null);22844 info.mTreeObserver.merge(mFloatingTreeObserver); in dispatchAttachedToWindow()27225 return mAttachInfo.mTreeObserver; in getViewTreeObserver()31974 final ViewTreeObserver mTreeObserver; field in View.AttachInfo32177 mTreeObserver = new ViewTreeObserver(context); in AttachInfo()