/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileViewImpl.kt | 453 val stateDescription = StringBuilder() regex 458 stateDescription.append(stateText) 461 stateDescription.append(", ") 462 stateDescription.append(getUnavailableText(state.spec)) 464 if (!TextUtils.isEmpty(state.stateDescription)) { 465 stateDescription.append(", ") 466 stateDescription.append(state.stateDescription) 468 state.stateDescription != lastStateDescription) { 469 stateDescriptionDeltas = state.stateDescription 473 setStateDescription(stateDescription.toString()) [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
H A D | CustomTileStatePersisterTest.kt | 63 stateDescription == other.stateDescription 97 stateDescription = TEST_STATE_DESCRIPTION 114 stateDescription = TEST_STATE_DESCRIPTION
|
H A D | CustomTileTest.kt | 231 val stateDescription = "test_state_description" regex 238 this.stateDescription = stateDescription 267 assertEquals(stateDescription, tileState.stateDescription) 277 stateDescription = "test_state_description"
|
H A D | TileRequestDialogTest.kt | 147 assertThat(tile.stateDescription).isEqualTo("")
|
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 167 @Nullable public CharSequence stateDescription; field in QSTile.State 208 || !Objects.equals(other.stateDescription, stateDescription) in copyTo() 226 other.stateDescription = stateDescription; in copyTo() 254 sb.append(",stateDescription=").append(stateDescription); in toStringBuilder()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
H A D | QuickAccessWalletTileTest.java | 289 assertNotNull(state.stateDescription); in testHandleUpdateState_walletIsUpdating() 300 assertNotNull(state.stateDescription); in testHandleUpdateState_walletIsUpdating() 314 assertNotNull(state.stateDescription); in testHandleUpdateState_hasCard_deviceLocked_tileInactive() 328 assertNotNull(state.stateDescription); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive() 344 assertNotNull(state.stateDescription); in testHandleUpdateState_noCard_tileInactive() 356 assertNull(state.stateDescription); in testHandleUpdateState_qawServiceUnavailable_tileUnavailable() 368 assertNull(state.stateDescription); in testHandleUpdateState_qawFeatureUnavailable_tileUnavailable()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | CustomTileStatePersister.kt | 100 stateDescription = json.getStringOrNull(STATE_DESCRIPTION) 119 .put(STATE_DESCRIPTION, stateDescription)
|
H A D | TileRequestDialog.kt | 82 tile.stateDescription = ""
|
H A D | CustomTile.java | 474 state.stateDescription = mTile.getStateDescription(); in handleUpdateState() 476 state.stateDescription = null; in handleUpdateState()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
H A D | ControlAdapter.kt | 237 this::stateDescription, 247 private fun stateDescription(favorite: Boolean): CharSequence? { regex 280 itemView.stateDescription = stateDescription(favorite) 346 info.stateDescription = stateRetriever(isFavorite)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 261 state.stateDescription = ""; in handleUpdateState() 271 state.stateDescription = state.stateDescription + "," in handleUpdateState() 298 state.stateDescription = state.stateDescription + ", " + state.secondaryLabel; in handleUpdateState()
|
H A D | BluetoothTile.java | 163 state.stateDescription = ""; in handleUpdateState() 171 state.stateDescription = in handleUpdateState() 177 state.stateDescription = state.secondaryLabel; in handleUpdateState() 181 state.stateDescription = mContext.getString(R.string.accessibility_not_connected); in handleUpdateState()
|
H A D | FlashlightTile.java | 125 state.stateDescription = ""; in handleUpdateState() 129 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | DeviceControlsTile.kt | 146 state.stateDescription = state.secondaryLabel
|
H A D | InternetTile.java | 577 state.stateDescription = minimalStateDescription.toString(); in handleUpdateWifiState() 621 state.stateDescription = ""; in handleUpdateCellularState() 623 state.stateDescription = state.secondaryLabel; in handleUpdateCellularState()
|
H A D | HotspotTile.java | 176 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | RotationLockTile.java | 166 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | QuickAccessWalletTile.java | 168 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
/aosp14/frameworks/base/core/java/android/service/quicksettings/ |
H A D | Tile.java | 208 public void setStateDescription(@Nullable CharSequence stateDescription) { in setStateDescription() argument 209 this.mStateDescription = stateDescription; in setStateDescription()
|
/aosp14/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
H A D | AccessibilityTarget.java | 123 public void setStateDescription(CharSequence stateDescription) { in setStateDescription() argument 124 mStateDescription = stateDescription; in setStateDescription()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | CompoundButton.java | 185 public void setStateDescription(@Nullable CharSequence stateDescription) { in setStateDescription() argument 186 mCustomStateDescription = stateDescription; in setStateDescription() 187 if (stateDescription == null) { in setStateDescription() 190 super.setStateDescription(stateDescription); in setStateDescription()
|
/aosp14/frameworks/base/services/core/java/com/android/server/rollback/ |
H A D | Rollback.java | 229 @RollbackState int state, String stateDescription, boolean restoreUserDataInProgress, in Rollback() argument 238 mStateDescription = stateDescription; in Rollback()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileViewImplTest.kt | 383 assertThat(tileView.stateDescription?.contains(unavailableString)).isTrue()
|
/aosp14/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 3365 public void setStateDescription(@Nullable CharSequence stateDescription) { in setStateDescription() argument 3367 mStateDescription = (stateDescription == null) ? null in setStateDescription() 3368 : stateDescription.subSequence(0, stateDescription.length()); in setStateDescription()
|