Home
last modified time | relevance | path

Searched refs:mTreeObserver (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java92 if (mTreeObserver != null) {
93 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver();
94 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);
105 private ViewTreeObserver mTreeObserver; field in StandardMenuPopup
175 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 …]
DCascadingMenuPopup.java109 if (mTreeObserver != null) {
110 if (!mTreeObserver.isAlive()) {
111 mTreeObserver = v.getViewTreeObserver();
113 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);
191 private ViewTreeObserver mTreeObserver; field in CascadingMenuPopup
260 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 …]
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java46 view.mAttachInfo.mTreeObserver.dispatchOnPreDraw(); in dispatchOnPreDraw()
50 view.mAttachInfo.mTreeObserver.dispatchOnGlobalLayout(); in dispatchOnGlobalLayout()
/frameworks/base/core/java/android/view/
DViewRootImpl.java3444 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 …]
DView.java8369 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.AttachInfo
32177 mTreeObserver = new ViewTreeObserver(context); in AttachInfo()