/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileViewImplTest.kt | 68 state.secondaryLabel = testString 80 state.secondaryLabel = testString 92 state.secondaryLabel = testString 103 state.secondaryLabel = "" 114 state.secondaryLabel = "" 125 state.secondaryLabel = "" 138 state.secondaryLabel = "" 151 state.secondaryLabel = "" 242 state.secondaryLabel = "" 248 state.secondaryLabel = "" [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | CustomizeTileView.kt | 36 secondaryLabel.visibility = getVisibilityState(secondaryLabel.text) 48 secondaryLabel.visibility = getVisibilityState(state.secondaryLabel)
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileViewImpl.kt | 104 protected lateinit var secondaryLabel: TextView 209 secondaryLabel = labelContainer.requireViewById(R.id.app_label) 217 secondaryLabel.alpha = 0f 321 return secondaryLabel 422 if (TextUtils.isEmpty(state.secondaryLabel)) { 423 state.secondaryLabel = stateText 456 if (!Objects.equals(secondaryLabel.text, state.secondaryLabel)) { 457 secondaryLabel.text = state.secondaryLabel 458 secondaryLabel.visibility = if (TextUtils.isEmpty(state.secondaryLabel)) { 482 secondaryLabel.currentTextColor, [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UiModeNightTile.java | 124 state.secondaryLabel = mContext.getResources().getString( in handleUpdateState() 128 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState() 139 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState() 144 state.secondaryLabel = null; in handleUpdateState() 149 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState() 151 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
|
H A D | InternetTile.java | 429 state.secondaryLabel = r.getString(R.string.status_bar_airplane); in handleUpdateWifiState() 433 state.secondaryLabel = in handleUpdateWifiState() 436 state.secondaryLabel = in handleUpdateWifiState() 448 state.secondaryLabel = r.getString(R.string.quick_settings_networks_available); in handleUpdateWifiState() 469 } else if (!TextUtils.isEmpty(state.secondaryLabel)) { in handleUpdateWifiState() 470 minimalContentDescription.append(",").append(state.secondaryLabel); in handleUpdateWifiState() 501 state.secondaryLabel = r.getString(R.string.status_bar_airplane); in handleUpdateCellularState() 508 state.secondaryLabel = r.getString(R.string.quick_settings_networks_available); in handleUpdateCellularState() 512 state.secondaryLabel = appendMobileDataType(cb.mDataSubscriptionName, in handleUpdateCellularState() 521 state.stateDescription = state.secondaryLabel; in handleUpdateCellularState() [all …]
|
H A D | ScreenRecordTile.java | 120 state.secondaryLabel = mContext.getString(R.string.quick_settings_screen_record_stop); in handleUpdateState() 124 state.secondaryLabel = String.format("%d...", countdown); in handleUpdateState() 126 state.secondaryLabel = mContext.getString(R.string.quick_settings_screen_record_start); in handleUpdateState() 128 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState() 130 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
|
H A D | QuickAccessWalletTile.java | 166 state.secondaryLabel = in handleUpdateState() 171 state.secondaryLabel = mSelectedCard.getContentDescription(); in handleUpdateState() 176 state.secondaryLabel = in handleUpdateState() 183 state.stateDescription = state.secondaryLabel; in handleUpdateState() 186 state.secondaryLabel = null; in handleUpdateState()
|
H A D | AlarmTile.kt | 91 state.secondaryLabel = formatNextAlarm(it) 94 state.secondaryLabel = mContext.getString(R.string.qs_alarm_tile_no_alarm) 97 state.contentDescription = TextUtils.concat(state.label, ", ", state.secondaryLabel)
|
H A D | DeviceControlsTile.kt | 129 state.secondaryLabel = controlsComponent 133 state.secondaryLabel = mContext.getText(R.string.controls_tile_locked) 135 state.stateDescription = state.secondaryLabel
|
H A D | FlashlightTile.java | 123 state.secondaryLabel = ""; in handleUpdateState() 128 state.secondaryLabel = mContext.getString( in handleUpdateState() 130 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | CellularTile.java | 200 state.secondaryLabel = r.getString(R.string.keyguard_missing_sim_message_short); in handleUpdateState() 203 state.secondaryLabel = r.getString(R.string.status_bar_airplane); in handleUpdateState() 206 state.secondaryLabel = appendMobileDataType( in handleUpdateState() 212 state.secondaryLabel = r.getString(R.string.cell_data_off); in handleUpdateState() 220 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | CastTile.java | 240 state.secondaryLabel = getDeviceName(device); in handleUpdateState() 251 state.secondaryLabel = mContext.getString(R.string.quick_settings_connecting); in handleUpdateState() 258 state.secondaryLabel = ""; in handleUpdateState() 267 state.secondaryLabel = noWifi; in handleUpdateState() 270 state.stateDescription = state.stateDescription + ", " + state.secondaryLabel; in handleUpdateState()
|
H A D | NightDisplayTile.java | 150 state.secondaryLabel = getSecondaryLabel(state.value); in handleUpdateState() 151 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState() 153 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
|
H A D | SensorPrivacyToggleTile.java | 119 state.secondaryLabel = mContext.getString(R.string.quick_settings_camera_mic_blocked); in handleUpdateState() 121 state.secondaryLabel = mContext.getString(R.string.quick_settings_camera_mic_available); in handleUpdateState()
|
H A D | DndTile.java | 265 state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, in handleUpdateState() 275 + state.secondaryLabel; in handleUpdateState() 281 + ", " + state.secondaryLabel; in handleUpdateState() 287 + ", " + state.secondaryLabel; in handleUpdateState()
|
H A D | HotspotTile.java | 170 state.secondaryLabel = getSecondaryLabel( in handleUpdateState() 172 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | BluetoothTile.java | 146 state.secondaryLabel = TextUtils.emptyIfNull( in handleUpdateState() 159 + ", " + state.secondaryLabel; in handleUpdateState() 163 state.stateDescription = state.secondaryLabel; in handleUpdateState()
|
H A D | WifiTile.java | 199 state.secondaryLabel = getSecondaryLabel(isTransient, cb.statusLabel); in handleUpdateState() 233 if (!TextUtils.isEmpty(state.secondaryLabel)) { in handleUpdateState() 234 minimalContentDescription.append(",").append(state.secondaryLabel); in handleUpdateState()
|
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 157 public CharSequence secondaryLabel; field in QSTile.State 178 || !Objects.equals(other.secondaryLabel, secondaryLabel) in copyTo() 197 other.secondaryLabel = secondaryLabel; in copyTo() 226 sb.append(",secondaryLabel=").append(secondaryLabel); in toStringBuilder()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
H A D | CallbackHandlerTest.java | 86 String secondaryLabel = "Secondary label"; in testSignalCallback_setWifiIndicators() local 88 enabled, status, qs, in, out, description, true, secondaryLabel); in testSignalCallback_setWifiIndicators() 104 assertEquals(secondaryLabel, expected.statusLabel); in testSignalCallback_setWifiIndicators()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
H A D | ScreenRecordTileTest.java | 121 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testNotActive() 147 assertTrue(mTile.getState().secondaryLabel.toString().endsWith("...")); in testIsStarting() 171 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testIsRecording()
|
H A D | QuickAccessWalletTileTest.java | 313 mContext.getString(R.string.wallet_secondary_label_updating), state.secondaryLabel); in testHandleUpdateState_walletIsUpdating() 326 state.secondaryLabel); in testHandleUpdateState_walletIsUpdating() 342 state.secondaryLabel); in testHandleUpdateState_hasCard_deviceLocked_tileInactive() 358 state.secondaryLabel); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive() 374 state.secondaryLabel); in testHandleUpdateState_noCard_tileInactive()
|
H A D | CastTileTest.java | 285 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(device.name)); in testUpdateState_projectionOnly() 309 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(casting.name)); in testUpdateState_castingAndProjection() 333 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(connected.name)); in testUpdateState_connectedAndConnecting()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | DomainMatcher.java | 129 List<String> secondaryLabel = Utils.splitDomain(domain); in DomainMatcher() local 130 mRoot.addDomain(secondaryLabel.iterator(), MATCH_SECONDARY); in DomainMatcher()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationTest.java | 89 final String secondaryLabel = "secondaryLabel"; in testParcel() local 94 final RemoteAction remoteAction1 = new RemoteAction(secondaryIcon, secondaryLabel, in testParcel() 126 assertEquals(secondaryLabel, secondaryAction.getTitle()); in testParcel()
|