Searched refs:mFocusCallbacks (Results 1 – 4 of 4) sorted by relevance
58 private TestFocusDelegate mFocusCallbacks; field in MouseInputHandlerTest75 mFocusCallbacks = new TestFocusDelegate(); in setUp()85 mFocusCallbacks); in setUp()183 mFocusCallbacks.focusItem(item); in testConfirmedShiftClick_ExtendsSelectionFromFocus()268 mFocusCallbacks.assertHasFocus(true); in testClick_Focuses()269 mFocusCallbacks.assertFocused("11"); in testClick_Focuses()276 mFocusCallbacks.assertHasFocus(true); in testClickOff_ClearsFocus()280 mFocusCallbacks.assertHasFocus(false); in testClickOff_ClearsFocus()296 mFocusCallbacks.assertFocused("11"); in testClickOffSelection_RemovesSelectionAndFocuses()
51 private TestFocusDelegate<String> mFocusCallbacks; field in MouseInputHandler_RangeTest64 mFocusCallbacks = new TestFocusDelegate<>(); in setUp()74 mFocusCallbacks); in setUp()116 mFocusCallbacks.focusItem(item); in testMultipleContiguousRanges()
59 private TestFocusDelegate mFocusCallbacks; field in TouchInputHandlerTest73 mFocusCallbacks = new TestFocusDelegate(); in setUp()85 mFocusCallbacks, in setUp()
282 private RemoteCallbackList<IWindowFocusObserver> mFocusCallbacks; field in WindowState2949 if (mFocusCallbacks != null) { in reportFocusChangedSerialized()2950 final int N = mFocusCallbacks.beginBroadcast(); in reportFocusChangedSerialized()2952 IWindowFocusObserver obs = mFocusCallbacks.getBroadcastItem(i); in reportFocusChangedSerialized()2962 mFocusCallbacks.finishBroadcast(); in reportFocusChangedSerialized()3087 if (mFocusCallbacks == null) { in registerFocusObserver()3088 mFocusCallbacks = new RemoteCallbackList<IWindowFocusObserver>(); in registerFocusObserver()3090 mFocusCallbacks.register(observer); in registerFocusObserver()3096 if (mFocusCallbacks != null) { in unregisterFocusObserver()3097 mFocusCallbacks.unregister(observer); in unregisterFocusObserver()