Lines Matching defs:mTreeObserver
109 if (mTreeObserver != null) {
110 if (!mTreeObserver.isAlive()) {
111 mTreeObserver = v.getViewTreeObserver();
113 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);
191 private ViewTreeObserver mTreeObserver;
253 final boolean addGlobalListener = mTreeObserver == null;
254 mTreeObserver = mShownAnchorView.getViewTreeObserver(); // Refresh to latest
256 mTreeObserver.addOnGlobalLayoutListener(mGlobalLayoutListener);
651 if (mTreeObserver != null) {
652 if (mTreeObserver.isAlive()) {
653 mTreeObserver.removeGlobalOnLayoutListener(mGlobalLayoutListener);
655 mTreeObserver = null;