Home
last modified time | relevance | path

Searched refs:mFocusCallbacks (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
DMouseInputHandlerTest.java58 private TestFocusDelegate mFocusCallbacks; field in MouseInputHandlerTest
75 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()
DMouseInputHandler_RangeTest.java51 private TestFocusDelegate<String> mFocusCallbacks; field in MouseInputHandler_RangeTest
64 mFocusCallbacks = new TestFocusDelegate<>(); in setUp()
74 mFocusCallbacks); in setUp()
116 mFocusCallbacks.focusItem(item); in testMultipleContiguousRanges()
DTouchInputHandlerTest.java59 private TestFocusDelegate mFocusCallbacks; field in TouchInputHandlerTest
73 mFocusCallbacks = new TestFocusDelegate(); in setUp()
85 mFocusCallbacks, in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java282 private RemoteCallbackList<IWindowFocusObserver> mFocusCallbacks; field in WindowState
2949 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()