Searched refs:mLayoutListener (Results 1 – 3 of 3) sorted by relevance
79 private ViewTreeObserver.OnGlobalLayoutListener mLayoutListener; field in ToastTest89 mLayoutListener = () -> mLayoutDone = true; in setup()133 view.getViewTreeObserver().addOnGlobalLayoutListener(mLayoutListener); in registerLayoutListener()138 view.getViewTreeObserver().removeOnGlobalLayoutListener(mLayoutListener); in assertLayoutDone()
113 private ViewTreeObserver.OnGlobalLayoutListener mLayoutListener; field in ToastTest127 mLayoutListener = () -> mLayoutDone = true; in setup()207 view.getViewTreeObserver().addOnGlobalLayoutListener(mLayoutListener); in registerLayoutListener()212 view.getViewTreeObserver().removeOnGlobalLayoutListener(mLayoutListener); in assertLayoutDone()
602 private final View.OnLayoutChangeListener mLayoutListener; field in MockIme.KeyboardLayoutView686 mLayoutListener = (View v, int left, int top, int right, int bottom, int oldLeft, in KeyboardLayoutView()692 this.addOnLayoutChangeListener(mLayoutListener); in KeyboardLayoutView()749 removeOnLayoutChangeListener(mLayoutListener); in onDetachedFromWindow()