Home
last modified time | relevance | path

Searched refs:mAppFocusManager (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java141 private CarAppFocusManager mAppFocusManager; field in AudioTestFragment
187 mAppFocusManager.abandonAppFocus(mOwnershipCallbacks, APP_FOCUS_TYPE_NAVIGATION);
202 mAppFocusManager = in connectCar()
209 mAppFocusManager.addFocusListener(listener, APP_FOCUS_TYPE_NAVIGATION); in connectCar()
210 mAppFocusManager.addFocusListener(listener, APP_FOCUS_TYPE_VOICE_COMMAND); in connectCar()
321 if (mAppFocusManager == null) { in onCreateView()
328 mAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION, mOwnershipCallbacks); in onCreateView()
335 if (mAppFocusManager == null) { in onCreateView()
342 mAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_VOICE_COMMAND, mOwnershipCallbacks); in onCreateView()
471 if (mAppFocusManager != null) { in onDestroyView()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DOccupantZoneStartActivity.java49 private CarAppFocusManager mAppFocusManager; field in OccupantZoneStartActivity
112 mAppFocusManager = in connectCar()
114 mAppFocusManager.addFocusListener( in connectCar()
DAudioAutoStartActivity.java68 private CarAppFocusManager mAppFocusManager; field in AudioAutoStartActivity
104 mAppFocusManager = in connectCar()
106 mAppFocusManager.addFocusListener( in connectCar()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterRenderingService.java93 private CarAppFocusManager mAppFocusManager = null; field in ClusterRenderingService
179 mAppFocusManager = (CarAppFocusManager) car.getCarManager(Car.APP_FOCUS_SERVICE); in onCreate()
180 mAppFocusManager.addFocusListener(this, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in onCreate()
190 mAppFocusManager.removeFocusListener(this, CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION); in onDestroy()
262 List<String> focusOwnerPackageNames = mAppFocusManager.getAppTypeOwner( in getNavigationClusterActivity()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeApplication.java89 private CarAppFocusManager mAppFocusManager; field in ClusterHomeApplication
181 mAppFocusManager = (CarAppFocusManager) car.getCarManager( in onCreate()
220 mAppFocusManager.addFocusListener(mAppFocusChangedListener, in initClusterHome()
459 List<String> focusOwnerPackageNames = mAppFocusManager.getAppTypeOwner( in getFocusedNavigationUi()