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.java86 if (mTreeObserver != null) {
87 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver();
88 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);
99 private ViewTreeObserver mTreeObserver; field in StandardMenuPopup
163 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 …]
DCascadingMenuPopup.java110 if (mTreeObserver != null) {
111 if (!mTreeObserver.isAlive()) {
112 mTreeObserver = v.getViewTreeObserver();
114 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);
192 private ViewTreeObserver mTreeObserver; field in CascadingMenuPopup
254 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 …]
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java46 view.mAttachInfo.mTreeObserver.dispatchOnPreDraw(); in dispatchOnPreDraw()
/frameworks/base/core/java/android/view/
DViewRootImpl.java2053 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 …]
DView.java7598 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.AttachInfo
28792 mTreeObserver = new ViewTreeObserver(context); in AttachInfo()