Home
last modified time | relevance | path

Searched refs:line2 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DCondition.java79 public final String line2; field in Condition
101 public Condition(Uri id, String summary, String line1, String line2, int icon, in Condition() argument
109 this.line2 = line2; in Condition()
134 dest.writeString(line2); in writeToParcel()
147 .append(",line2=").append(line2) in toString()
161 proto.write(ConditionProto.LINE_2, line2); in writeToProto()
193 && Objects.equals(other.line2, line2) in equals()
201 return Objects.hash(id, summary, line1, line2, icon, state, flags); in hashCode()
DZenModeConfig.java701 final String line2 = parser.getAttributeValue(null, CONDITION_ATT_LINE2); in readConditionXml() local
706 return new Condition(id, summary, line1, line2, icon, state, flags); in readConditionXml()
717 out.attribute(null, CONDITION_ATT_LINE2, c.line2); in writeConditionXml()
1196 String summary, line1, line2; in toTimeCondition() local
1209 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1219 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1222 summary = line1 = line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1225 return new Condition(id, summary, line1, line2, 0, Condition.STATE_TRUE, in toTimeCondition()
/frameworks/base/core/java/android/provider/
DSearchRecentSuggestions.java161 public void saveRecentQuery(final String queryString, final String line2) { in saveRecentQuery() argument
165 if (!mTwoLineDisplay && !TextUtils.isEmpty(line2)) { in saveRecentQuery()
172 saveRecentQueryBlocking(queryString, line2); in saveRecentQuery()
188 private void saveRecentQueryBlocking(String queryString, String line2) { in saveRecentQueryBlocking() argument
197 values.put(SuggestionColumns.DISPLAY2, line2); in saveRecentQueryBlocking()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java337 if (tag.line2 == null) { in updateUi()
338 tag.line2 = (TextView) row.findViewById(android.R.id.text2); in updateUi()
343 final String line2 = condition.line2; in updateUi() local
345 if (TextUtils.isEmpty(line2)) { in updateUi()
346 tag.line2.setVisibility(View.GONE); in updateUi()
348 tag.line2.setVisibility(View.VISIBLE); in updateUi()
349 tag.line2.setText(line2); in updateUi()
510 public TextView line2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java678 if (tag.line2 == null) { in bind()
679 tag.line2 = (TextView) row.findViewById(android.R.id.text2); in bind()
680 mConfigurableTexts.add(tag.line2); in bind()
684 final String line2 = condition.line2; in bind() local
686 if (TextUtils.isEmpty(line2)) { in bind()
687 tag.line2.setVisibility(GONE); in bind()
689 tag.line2.setVisibility(VISIBLE); in bind()
690 tag.line2.setText(line2); in bind()
878 TextView line2; field in ZenModePanel.ConditionTag
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java202 final boolean twoLines = !TextUtils.isEmpty(item.line2); in getView()
205 summary.setText(twoLines ? item.line2 : null); in getView()
266 public CharSequence line2; field in QSDetailItems.Item
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java397 item.line2 = mContext.getString( in updateItems()
401 item.line2 = mContext.getString(R.string.quick_settings_connected); in updateItems()
408 item.line2 = mContext.getString(R.string.quick_settings_connecting); in updateItems()
DCastTile.java339 item.line2 = mContext.getString(R.string.quick_settings_connected); in updateItems()
360 item.line2 = mContext.getString(R.string.quick_settings_connecting); in updateItems()
DWifiTile.java439 item.line2 = ap.isActive() ? ap.getSummary() : null; in updateItems()
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java277 final String line2 = line2Base + i; in writeEntries() local
278 mSearchHelper.saveRecentQuery(line1, line2); in writeEntries()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dcommon_unittest.cc151 int line2 = __LINE__; GOOGLE_LOG(INFO) << "Visible2"; in TEST() local
160 "0 " __FILE__ ":" + SimpleItoa(line2) + ": Visible2", in TEST()
/frameworks/base/core/java/android/text/
DSelection.java501 int line2 = layout.getLineForOffset(off2); in chooseHorizontal() local
503 if (line1 == line2) { in chooseHorizontal()
DLayout.java2475 int line2 = mLayout.getLineForOffset(end); in getChars() local
2479 for (int i = line1; i <= line2; i++) { in getChars()
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java289 final String line2 = NOT_SHOWN; in createCondition() local
290 return new Condition(id, summary, line1, line2, 0, state, Condition.FLAG_RELEVANT_ALWAYS); in createCondition()
DScheduleConditionProvider.java269 final String line2 = NOT_SHOWN; in createCondition() local
270 return new Condition(id, summary, line1, line2, 0, state, Condition.FLAG_RELEVANT_ALWAYS); in createCondition()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java81 ((TextView) view.findViewById(R.id.line2)).setText(even ? in generateNextView()
/frameworks/base/api/
Dcurrent.txt41453 field public final String line2;