Home
last modified time | relevance | path

Searched refs:mClusterState (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
H A DClusterHomeApplication.java76 private ClusterState mClusterState; field in ClusterHomeApplication
118 mClusterState = mHomeManager.getClusterState(); in initClusterHome()
119 if (!mClusterState.on) { in initClusterHome()
137 if (mClusterState.uiType != UI_TYPE_HOME) { in initClusterHome()
138 startClusterActivity(mClusterState.uiType); in initClusterHome()
160 if (mClusterState == null || mClusterState.displayId == Display.INVALID_DISPLAY) { in startClusterActivity()
168 if (mClusterState.bounds != null && mClusterState.insets != null) { in startClusterActivity()
169 Rect unobscured = new Rect(mClusterState.bounds); in startClusterActivity()
170 unobscured.inset(mClusterState.insets); in startClusterActivity()
196 mClusterState = state;
[all …]
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/cluster/
H A DClusterDisplayController.java59 private ClusterState mClusterState; field in ClusterDisplayController
92 mClusterState = mClusterHomeManager.getClusterState();
93 if (mClusterState.displayId != Display.INVALID_DISPLAY) {
94 mRootTDAOrganizer.registerListener(mClusterState.displayId, mRootTDAListener);
105 mClusterState = state;
128 if (mClusterState != null && mClusterState.displayId != Display.INVALID_DISPLAY) {
129 resizeTDA(displayAreaInfo.token, mClusterState.bounds, mClusterState.displayId);
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
H A DClusterHomeServiceUnitTest.java92 private ClusterState mClusterState; field in ClusterHomeServiceUnitTest
102 mClusterState = state; in onClusterStateChanged()
191 assertThat(mClusterState.uiType).isEqualTo(UI_TYPE_CLUSTER_MAPS); in onSwitchUiSendsDisplayState()
204 assertThat(mClusterState.on).isTrue(); in displayOnSendsDisplayState()
218 assertThat(mClusterState.bounds).isEqualTo(newBounds); in displayBoundsSendsDisplayState()
232 assertThat(mClusterState.insets).isEqualTo(newInsets); in displayInsetsSendsDisplayState()