Searched refs:FocusOwnershipCallback (Results 1 – 4 of 4) sorted by relevance
81 FocusOwnershipCallback owner = new FocusOwnershipCallback(/* assertEventThread= */ false); in abandonAllAppFocuses()124 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()136 assertThat(manager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, new FocusOwnershipCallback())) in testRegisterUnregisterSpecificApp()156 FocusOwnershipCallback owner1 = new FocusOwnershipCallback(); in testFocusChange()157 FocusOwnershipCallback owner2 = new FocusOwnershipCallback(); in testFocusChange()251 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testFilter()280 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testGetAppTypeOwner()322 FocusOwnershipCallback owner = new FocusOwnershipCallback(); in testMultipleChangeListenersPerManager()376 private final class FocusOwnershipCallback class in CarAppFocusManagerTest384 private FocusOwnershipCallback(boolean assertEventThread) { in FocusOwnershipCallback() method in CarAppFocusManagerTest.FocusOwnershipCallback[all …]
80 private final List<FocusOwnershipCallback> mFocusOwnershipCallbacks = new ArrayList<>();333 public interface FocusOwnershipCallback { interface in AppFocusService345 public void registerContextOwnerChangedCallback(FocusOwnershipCallback callback) { in registerContextOwnerChangedCallback()361 public void unregisterContextOwnerChangedCallback(FocusOwnershipCallback callback) { in unregisterContextOwnerChangedCallback()368 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAcquireFocusOwnerLocked()371 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAcquireFocusOwnerLocked()378 List<FocusOwnershipCallback> focusOwnershipCallbacks) { in dispatchAbandonFocusOwnerLocked()381 FocusOwnershipCallback callback = focusOwnershipCallbacks.get(i); in dispatchAbandonFocusOwnerLocked()
48 FocusOwnershipCallback ownershipListener = new FocusOwnershipCallback(); in testFocusChange()92 private class FocusOwnershipCallback class in AppFocusTest
35 import com.android.car.AppFocusService.FocusOwnershipCallback;55 implements CarServiceBase, FocusOwnershipCallback {