Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java95 state.secondaryLabel = mContext.getResources().getString( in handleUpdateState()
98 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState()
102 state.secondaryLabel = null; in handleUpdateState()
107 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState()
109 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
DCellularTile.java180 state.secondaryLabel = r.getString(R.string.keyguard_missing_sim_message_short); in handleUpdateState()
183 state.secondaryLabel = r.getString(R.string.status_bar_airplane); in handleUpdateState()
186 state.secondaryLabel = appendMobileDataType( in handleUpdateState()
192 state.secondaryLabel = r.getString(R.string.cell_data_off); in handleUpdateState()
202 contentDescriptionSuffix = state.secondaryLabel; in handleUpdateState()
DNightDisplayTile.java121 state.secondaryLabel = getSecondaryLabel(state.value); in handleUpdateState()
122 state.contentDescription = TextUtils.isEmpty(state.secondaryLabel) in handleUpdateState()
124 : TextUtils.concat(state.label, ", ", state.secondaryLabel); in handleUpdateState()
DCastTile.java193 state.secondaryLabel = getDeviceName(device); in handleUpdateState()
203 state.secondaryLabel = mContext.getString(R.string.quick_settings_connecting); in handleUpdateState()
210 state.secondaryLabel = ""; in handleUpdateState()
218 state.secondaryLabel = noWifi; in handleUpdateState()
DDndTile.java236 state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, in handleUpdateState()
244 + state.secondaryLabel; in handleUpdateState()
250 + ", " + state.secondaryLabel; in handleUpdateState()
256 + ", " + state.secondaryLabel; in handleUpdateState()
DBluetoothTile.java135 state.secondaryLabel = TextUtils.emptyIfNull( in handleUpdateState()
145 + ", " + state.secondaryLabel; in handleUpdateState()
149 state.contentDescription = state.secondaryLabel; in handleUpdateState()
DWifiTile.java180 state.secondaryLabel = getSecondaryLabel(isTransient, cb.statusLabel); in handleUpdateState()
213 if (!TextUtils.isEmpty(state.secondaryLabel)) { in handleUpdateState()
214 minimalContentDescription.append(",").append(state.secondaryLabel); in handleUpdateState()
DHotspotTile.java148 state.secondaryLabel = getSecondaryLabel( in handleUpdateState()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java111 public CharSequence secondaryLabel; field in QSTile.State
128 || !Objects.equals(other.secondaryLabel, secondaryLabel) in copyTo()
144 other.secondaryLabel = secondaryLabel; in copyTo()
168 sb.append(",secondaryLabel=").append(secondaryLabel); in toStringBuilder()
/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/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java85 final String secondaryLabel = "secondaryLabel"; in testParcel() local
90 final RemoteAction remoteAction1 = new RemoteAction(secondaryIcon, secondaryLabel, in testParcel()
122 assertEquals(secondaryLabel, secondaryAction.getTitle()); in testParcel()
/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/qs/tiles/
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/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/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java329 state.secondaryLabel = subtitle; in handleUpdateState()
331 state.secondaryLabel = null; in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java466 state.secondaryLabel = in handleUpdateState()
473 state.secondaryLabel = null; in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java207 info.state.secondaryLabel = (isSystem || TextUtils.equals(state.label, appLabel)) in addTile()