Home
last modified time | relevance | path

Searched refs:secondaryLabel (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java101 state.secondaryLabel = mContext.getResources().getString( in handleUpdateState()
105 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState()
116 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState()
121 state.secondaryLabel = null; in handleUpdateState()
126 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState()
128 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
DScreenRecordTile.java86 state.secondaryLabel = mContext.getString(R.string.quick_settings_screen_record_stop); in handleUpdateState()
90 state.secondaryLabel = String.format("%d...", countdown); in handleUpdateState()
92 state.secondaryLabel = mContext.getString(R.string.quick_settings_screen_record_start); in handleUpdateState()
94 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState()
96 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
DFlashlightTile.java100 state.secondaryLabel = ""; in handleUpdateState()
105 state.secondaryLabel = mContext.getString( in handleUpdateState()
107 state.stateDescription = state.secondaryLabel; in handleUpdateState()
DCellularTile.java179 state.secondaryLabel = r.getString(R.string.keyguard_missing_sim_message_short); in handleUpdateState()
182 state.secondaryLabel = r.getString(R.string.status_bar_airplane); in handleUpdateState()
185 state.secondaryLabel = appendMobileDataType( in handleUpdateState()
191 state.secondaryLabel = r.getString(R.string.cell_data_off); in handleUpdateState()
199 state.stateDescription = state.secondaryLabel; in handleUpdateState()
DCastTile.java196 state.secondaryLabel = getDeviceName(device); in handleUpdateState()
207 state.secondaryLabel = mContext.getString(R.string.quick_settings_connecting); in handleUpdateState()
214 state.secondaryLabel = ""; in handleUpdateState()
222 state.secondaryLabel = noWifi; in handleUpdateState()
224 state.stateDescription = state.stateDescription + ", " + state.secondaryLabel; in handleUpdateState()
DNightDisplayTile.java124 state.secondaryLabel = getSecondaryLabel(state.value); in handleUpdateState()
125 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState()
127 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
DDndTile.java243 state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, in handleUpdateState()
253 + state.secondaryLabel; in handleUpdateState()
259 + ", " + state.secondaryLabel; in handleUpdateState()
265 + ", " + state.secondaryLabel; in handleUpdateState()
DHotspotTile.java147 state.secondaryLabel = getSecondaryLabel( in handleUpdateState()
149 state.stateDescription = state.secondaryLabel; in handleUpdateState()
DBluetoothTile.java131 state.secondaryLabel = TextUtils.emptyIfNull( in handleUpdateState()
143 + ", " + state.secondaryLabel; in handleUpdateState()
147 state.stateDescription = state.secondaryLabel; in handleUpdateState()
DWifiTile.java176 state.secondaryLabel = getSecondaryLabel(isTransient, cb.statusLabel); in handleUpdateState()
210 if (!TextUtils.isEmpty(state.secondaryLabel)) { in handleUpdateState()
211 minimalContentDescription.append(",").append(state.secondaryLabel); in handleUpdateState()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java131 public CharSequence secondaryLabel; field in QSTile.State
149 || !Objects.equals(other.secondaryLabel, secondaryLabel) in copyTo()
166 other.secondaryLabel = secondaryLabel; in copyTo()
193 sb.append(",secondaryLabel=").append(secondaryLabel); in toStringBuilder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DScreenRecordTileTest.java84 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testNotActive()
102 assertTrue(mTile.getState().secondaryLabel.toString().endsWith("...")); in testIsStarting()
126 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testIsRecording()
DCastTileTest.java201 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(device.name)); in testUpdateState_projectionOnly()
225 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(casting.name)); in testUpdateState_castingAndProjection()
249 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(connected.name)); in testUpdateState_connectedAndConnecting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileView.java126 if (!Objects.equals(mSecondLine.getText(), state.secondaryLabel)) { in handleStateChanged()
127 mSecondLine.setText(state.secondaryLabel); in handleStateChanged()
128 mSecondLine.setVisibility(TextUtils.isEmpty(state.secondaryLabel) ? View.GONE in handleStateChanged()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DDomainMatcher.java129 List<String> secondaryLabel = Utils.splitDomain(domain); in DomainMatcher() local
130 mRoot.addDomain(secondaryLabel.iterator(), MATCH_SECONDARY); in DomainMatcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java113 final String description, boolean isTransient, String secondaryLabel) { in setWifiIndicators() argument
117 description, isTransient, secondaryLabel); in setWifiIndicators()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java87 String secondaryLabel = "Secondary label"; in testSignalCallback_setWifiIndicators() local
88 mHandler.setWifiIndicators(enabled, status, qs, in, out, description, true, secondaryLabel); in testSignalCallback_setWifiIndicators()
109 assertEquals(secondaryLabel, secondary.getValue()); in testSignalCallback_setWifiIndicators()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java87 final String secondaryLabel = "secondaryLabel"; in testParcel() local
92 final RemoteAction remoteAction1 = new RemoteAction(secondaryIcon, secondaryLabel, in testParcel()
124 assertEquals(secondaryLabel, secondaryAction.getTitle()); in testParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java345 state.secondaryLabel = subtitle; in handleUpdateState()
347 state.secondaryLabel = null; in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java478 state.secondaryLabel = in handleUpdateState()
485 state.secondaryLabel = null; in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java218 info.state.secondaryLabel = (isSystem || TextUtils.equals(state.label, appLabel)) in addTile()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md53 * **`secondaryLabel`**: text to display in a second line. Usually extra state information.