Searched refs:FocusOwnershipCallback (Results 1 – 4 of 4) sorted by relevance
57 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in setUp()102 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()112 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()131 FocusOwnershipCallback owner1 = new FocusOwnershipCallback(); in testFocusChange()132 FocusOwnershipCallback owner2 = new FocusOwnershipCallback(); in testFocusChange()226 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter()278 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager()334 private final class FocusOwnershipCallback class in CarAppFocusManagerTest342 private FocusOwnershipCallback(boolean assertEventThread) { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback346 private FocusOwnershipCallback() { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback
71 private final List<FocusOwnershipCallback> mFocusOwnershipCallbacks = new ArrayList<>();296 public interface FocusOwnershipCallback { interface in AppFocusService307 public void registerContextOwnerChangedCallback(FocusOwnershipCallback callback) { in registerContextOwnerChangedCallback()323 public void unregisterContextOwnerChangedCallback(FocusOwnershipCallback callback) { in unregisterContextOwnerChangedCallback()330 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAcquireFocusOwnerLocked()333 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAcquireFocusOwnerLocked()340 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAbandonFocusOwnerLocked()343 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAbandonFocusOwnerLocked()
44 FocusOwnershipCallback ownershipListener = new FocusOwnershipCallback(); in testFocusChange()84 private class FocusOwnershipCallback class in AppFocusTest
32 import com.android.car.AppFocusService.FocusOwnershipCallback;48 implements CarServiceBase, FocusOwnershipCallback {