Home
last modified time | relevance | path

Searched refs:stateDescription (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/commons/
DTileExt.kt27 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/
DInternetTileModel.kt36 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/
DInternetTileModel.kt29 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/
DInternetTileViewModelTest.kt172 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/
DInternetTileViewModel.kt81 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/
DInternetTileDataInteractorTest.kt211 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/
DInternetTileDataInteractor.kt83 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/
DQSTileState.kt45 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/
DQSTile.java165 @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/
DCustomTileStatePersisterTest.kt64 stateDescription == other.stateDescription in Tile()
98 stateDescription = TEST_STATE_DESCRIPTION in testWriteState()
115 stateDescription = TEST_STATE_DESCRIPTION in testReadState()
DCustomTileTest.kt251 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/
DSeekBarWithIconButtonsViewTest.java182 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/
DTileSubject.kt52 check("stateDescription").that(actual.stateDescription).isEqualTo(other.stateDescription) in <lambda>()
DQSTileStateSubject.kt56 check("stateDescription").that(actual.stateDescription).isEqualTo(other.stateDescription) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/
DInternetTileMapper.kt53 stateDescription = data.stateDescription.loadContentDescription(context) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTileStatePersister.kt111 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/
DQuickAccessWalletTileTest.java300 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/
DQSTileViewImpl.kt651 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/
DControlAdapter.kt237 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/
DCastTile.java272 state.stateDescription = ""; in handleUpdateState()
282 state.stateDescription = state.stateDescription + "," in handleUpdateState()
309 state.stateDescription = state.stateDescription + ", " + state.secondaryLabel; in handleUpdateState()
DBluetoothTile.java201 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/
DCustomTileMapper.kt74 stateDescription = data.tile.stateDescription in map()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/
DInternetTileMapperTest.kt61 stateDescription = null, in withActiveModel_mappedStateMatchesDataModel()
85 stateDescription = null, in withInactiveModel_mappedStateMatchesDataModel()
/frameworks/base/core/java/android/service/quicksettings/
DTile.java224 public void setStateDescription(@Nullable CharSequence stateDescription) { in setStateDescription() argument
225 this.mStateDescription = stateDescription; in setStateDescription()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTarget.java134 public void setStateDescription(CharSequence stateDescription) { in setStateDescription() argument
135 mStateDescription = stateDescription; in setStateDescription()

123