Searched refs:ClusterHomeManager (Results 1 – 8 of 8) sorted by relevance
19 import static android.car.cluster.ClusterHomeManager.CONFIG_DISPLAY_BOUNDS;20 import static android.car.cluster.ClusterHomeManager.CONFIG_DISPLAY_ID;23 import android.car.cluster.ClusterHomeManager;57 private ClusterHomeManager mClusterHomeManager;85 mClusterHomeManager = (ClusterHomeManager) car.getCarManager(Car.CLUSTER_HOME_SERVICE);99 private final ClusterHomeManager.ClusterStateListener mClusterStateListener =100 new ClusterHomeManager.ClusterStateListener() {
40 public class ClusterHomeManager extends CarManagerBase { class41 private static final String TAG = ClusterHomeManager.class.getSimpleName();145 public ClusterHomeManager(Car car, IBinder service) { in ClusterHomeManager() method in ClusterHomeManager239 private final WeakReference<ClusterHomeManager> mManager;241 private IClusterStateListenerImpl(ClusterHomeManager manager) { in IClusterStateListenerImpl()247 ClusterHomeManager manager = mManager.get(); in onClusterStateChanged()259 private final WeakReference<ClusterHomeManager> mManager;261 private IClusterNavigationStateListenerImpl(ClusterHomeManager manager) { in IClusterNavigationStateListenerImpl()267 ClusterHomeManager manager = mManager.get(); in onNavigationStateChanged()
22 import static android.car.cluster.ClusterHomeManager.ClusterStateListener;23 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_HOME;24 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_NONE;40 import android.car.cluster.ClusterHomeManager;73 private ClusterHomeManager mHomeManager;109 mHomeManager = (ClusterHomeManager) car.getCarManager(Car.CLUSTER_HOME_SERVICE); in onCreate()195 ClusterState state, @ClusterHomeManager.Config int changes) {199 if ((changes & ClusterHomeManager.CONFIG_DISPLAY_BOUNDS) != 0200 || (changes & ClusterHomeManager.CONFIG_DISPLAY_INSETS) != 0201 || ((changes & ClusterHomeManager.CONFIG_UI_TYPE) != 0
32 import android.car.cluster.ClusterHomeManager;86 private ClusterHomeManager mClusterHomeManager;159 mClusterHomeManager = (ClusterHomeManager) getCar().getCarManager(Car.CLUSTER_HOME_SERVICE); in setUp()196 assertThat(mChanges).isEqualTo(ClusterHomeManager.CONFIG_UI_TYPE); in testClusterSwitchUi()216 assertThat(mChanges).isEqualTo(ClusterHomeManager.CONFIG_DISPLAY_ON_OFF in testClusterState()217 | ClusterHomeManager.CONFIG_DISPLAY_BOUNDS in testClusterState()218 | ClusterHomeManager.CONFIG_DISPLAY_INSETS); in testClusterState()336 private class ClusterStateListenerImpl implements ClusterHomeManager.ClusterStateListener {344 ClusterHomeManager.ClusterNavigationStateListener {
20 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_HOME;21 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_NONE;34 import android.car.cluster.ClusterHomeManager;190 assertThat(mClusterStateChanges).isEqualTo(ClusterHomeManager.CONFIG_UI_TYPE); in onSwitchUiSendsDisplayState()203 assertThat(mClusterStateChanges).isEqualTo(ClusterHomeManager.CONFIG_DISPLAY_ON_OFF); in displayOnSendsDisplayState()217 assertThat(mClusterStateChanges).isEqualTo(ClusterHomeManager.CONFIG_DISPLAY_BOUNDS); in displayBoundsSendsDisplayState()231 assertThat(mClusterStateChanges).isEqualTo(ClusterHomeManager.CONFIG_DISPLAY_INSETS); in displayInsetsSendsDisplayState()
30 import android.car.cluster.ClusterHomeManager;86 private int mUiType = ClusterHomeManager.UI_TYPE_CLUSTER_HOME;142 sendDisplayState(ClusterHomeManager.CONFIG_DISPLAY_ID); in initClusterDisplay()197 changes |= ClusterHomeManager.CONFIG_UI_TYPE; in onSwitchUi()208 changes |= ClusterHomeManager.CONFIG_DISPLAY_ON_OFF; in onDisplayState()212 changes |= ClusterHomeManager.CONFIG_DISPLAY_BOUNDS; in onDisplayState()216 changes |= ClusterHomeManager.CONFIG_DISPLAY_INSETS; in onDisplayState()
20 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_HOME;21 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_NONE;
38 import android.car.cluster.ClusterHomeManager;1921 manager = new ClusterHomeManager(this, binder); in createCarManagerLocked()