/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/commons/ |
D | TileExt.kt | 27 it.stateDescription = stateDescription in Tile() 45 if (otherTile.stateDescription != null) { in setFrom() 46 stateDescription = otherTile.stateDescription in setFrom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/ |
D | InternetTileModel.kt | 36 val stateDescription: ContentDescription? constant 46 state.stateDescription = stateDescription.loadContentDescription(context) in applyTo() 69 override val stateDescription: ContentDescription? = null, constant in com.android.systemui.statusbar.pipeline.shared.ui.model.InternetTileModel.Active 78 override val stateDescription: ContentDescription? = null, constant in com.android.systemui.statusbar.pipeline.shared.ui.model.InternetTileModel.Inactive
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/model/ |
D | InternetTileModel.kt | 29 val stateDescription: ContentDescription? constant 37 override val stateDescription: ContentDescription? = null, constant in com.android.systemui.qs.tiles.impl.internet.domain.model.InternetTileModel.Active 46 override val stateDescription: ContentDescription? = null, constant in com.android.systemui.qs.tiles.impl.internet.domain.model.InternetTileModel.Inactive
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModelTest.kt | 172 assertThat(latest?.stateDescription).isEqualTo(expectedSd) in wifiDefaultAndActive() 194 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotNone() 207 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotTablet() 220 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotLaptop() 233 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotWatch() 246 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotAuto() 259 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotPhone() 272 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotUnknown() 285 assertThat(latest?.stateDescription.loadContentDescription(context)) in wifiDefaultAndActive_hotspotInvalid() 321 assertThat(latest?.stateDescription).isNull() in wifiDefaultAndNotActive_networksAvailable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModel.kt | 81 stateDescription = wifiIcon.contentDescription, in <lambda>() 131 stateDescription = ContentDescription.Loaded(secondary.toString()), in <lambda>() 141 stateDescription = ContentDescription.Loaded(secondary), in <lambda>() 188 stateDescription = null, in <lambda>() 206 stateDescription = null, in <lambda>() 216 stateDescription = null, in <lambda>() 251 stateDescription = null, in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractorTest.kt | 211 assertThat(latest?.stateDescription).isEqualTo(expectedSd) in <lambda>() 237 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 259 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 281 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 303 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 325 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 346 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 368 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 390 assertThat(latest?.stateDescription.loadContentDescription(context)) in <lambda>() 433 assertThat(latest?.stateDescription).isNull() in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractor.kt | 83 stateDescription = wifiIcon.contentDescription, in <lambda>() 142 stateDescription = in <lambda>() 155 stateDescription = ContentDescription.Loaded(secondary), in <lambda>() 202 stateDescription = null, in <lambda>() 220 stateDescription = null, in <lambda>() 230 stateDescription = null, in <lambda>() 268 stateDescription = null, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/ |
D | QSTileState.kt | 45 val stateDescription: CharSequence?, constant in com.android.systemui.qs.tiles.viewmodel.QSTileState 123 var stateDescription: CharSequence? = null variable in com.android.systemui.qs.tiles.viewmodel.QSTileState.Builder 137 stateDescription,
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 165 @Nullable public CharSequence stateDescription; field in QSTile.State 205 || !Objects.equals(other.stateDescription, stateDescription) in copyTo() 222 other.stateDescription = stateDescription; in copyTo() 249 sb.append(",stateDescription=").append(stateDescription); in toStringBuilder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileStatePersisterTest.kt | 64 stateDescription == other.stateDescription in Tile() 98 stateDescription = TEST_STATE_DESCRIPTION in testWriteState() 115 stateDescription = TEST_STATE_DESCRIPTION in testReadState()
|
D | CustomTileTest.kt | 251 val stateDescription = "test_state_description" in testPersistedStateRetrieved() constant 258 this.stateDescription = stateDescription in testPersistedStateRetrieved() 287 assertEquals(stateDescription, tileState.stateDescription) in testPersistedStateRetrieved() 297 stateDescription = "test_state_description" in testStoreStateOnChange()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/ |
D | SeekBarWithIconButtonsViewTest.java | 182 final CharSequence stateDescription = mSeekbar.getStateDescription(); in setProgressStateLabels_getExpectedStateDescriptionOnInitialization() local 185 assertThat(stateDescription).isEqualTo(stateLabels[currentProgress]); in setProgressStateLabels_getExpectedStateDescriptionOnInitialization() 196 final CharSequence stateDescription = mSeekbar.getStateDescription(); in setProgressStateLabels_progressChanged_getExpectedStateDescription() local 199 assertThat(stateDescription).isEqualTo(stateLabels[currentProgress]); in setProgressStateLabels_progressChanged_getExpectedStateDescription()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/ |
D | TileSubject.kt | 52 check("stateDescription").that(actual.stateDescription).isEqualTo(other.stateDescription) in <lambda>()
|
D | QSTileStateSubject.kt | 56 check("stateDescription").that(actual.stateDescription).isEqualTo(other.stateDescription) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/ |
D | InternetTileMapper.kt | 53 stateDescription = data.stateDescription.loadContentDescription(context) in map()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTileStatePersister.kt | 111 stateDescription = json.getStringOrNull(STATE_DESCRIPTION) in readTileFromString() 130 .put(STATE_DESCRIPTION, stateDescription) in writeToString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | QuickAccessWalletTileTest.java | 300 assertNotNull(state.stateDescription); in testHandleUpdateState_walletIsUpdating() 311 assertNotNull(state.stateDescription); in testHandleUpdateState_walletIsUpdating() 325 assertNotNull(state.stateDescription); in testHandleUpdateState_hasCard_deviceLocked_tileInactive() 339 assertNotNull(state.stateDescription); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive() 355 assertNotNull(state.stateDescription); in testHandleUpdateState_noCard_tileInactive() 367 assertNull(state.stateDescription); in testHandleUpdateState_qawServiceUnavailable_tileUnavailable() 379 assertNull(state.stateDescription); in testHandleUpdateState_qawFeatureUnavailable_tileUnavailable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 651 val stateDescription = StringBuilder() in <lambda>() constant 656 stateDescription.append(stateText) in <lambda>() 659 stateDescription.append(", ") in <lambda>() 660 stateDescription.append(getUnavailableText(state.spec)) in <lambda>() 662 if (!TextUtils.isEmpty(state.stateDescription)) { in <lambda>() 663 stateDescription.append(", ") in <lambda>() 664 stateDescription.append(state.stateDescription) in <lambda>() 668 state.stateDescription != lastStateDescription in <lambda>() 670 stateDescriptionDeltas = state.stateDescription in <lambda>() 674 setStateDescription(stateDescription.toString()) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlAdapter.kt | 237 this::stateDescription, 247 private fun stateDescription(favorite: Boolean): CharSequence? { in stateDescription() method 280 itemView.stateDescription = stateDescription(favorite) in updateFavorite() 346 info.stateDescription = stateRetriever(isFavorite) in onInitializeAccessibilityNodeInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CastTile.java | 272 state.stateDescription = ""; in handleUpdateState() 282 state.stateDescription = state.stateDescription + "," in handleUpdateState() 309 state.stateDescription = state.stateDescription + ", " + state.secondaryLabel; in handleUpdateState()
|
D | BluetoothTile.java | 201 state.stateDescription = ""; in handleUpdateState() 209 state.stateDescription = in handleUpdateState() 215 state.stateDescription = state.secondaryLabel; in handleUpdateState() 219 state.stateDescription = mContext.getString(R.string.accessibility_not_connected); in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/ |
D | CustomTileMapper.kt | 74 stateDescription = data.tile.stateDescription in map()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/ |
D | InternetTileMapperTest.kt | 61 stateDescription = null, in withActiveModel_mappedStateMatchesDataModel() 85 stateDescription = null, in withInactiveModel_mappedStateMatchesDataModel()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 224 public void setStateDescription(@Nullable CharSequence stateDescription) { in setStateDescription() argument 225 this.mStateDescription = stateDescription; in setStateDescription()
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityTarget.java | 134 public void setStateDescription(CharSequence stateDescription) { in setStateDescription() argument 135 mStateDescription = stateDescription; in setStateDescription()
|