Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Email/src/com/android/email/activity/setup/
DSpinnerOption.java24 public String label; field in SpinnerOption
36 public SpinnerOption(Object value, String label) { in SpinnerOption() argument
38 this.label = label; in SpinnerOption()
43 return label; in toString()
/packages/apps/Settings/src/com/android/settings/
DLocalePicker.java48 String label; field in LocalePicker.Loc
51 public Loc(String label, Locale locale) { in Loc() argument
52 this.label = label; in Loc()
58 return this.label; in toString()
62 return sCollator.compare(this.label, ((Loc) o).label); in compareTo()
105 preprocess[finalSize-1].label+" to "+ in onCreate()
107 preprocess[finalSize-1].label = toTitleCase( in onCreate()
DActivityPicker.java153 String label = labels.get(i); in getItems() local
166 items.add(new PickAdapter.Item(this, label, icon)); in getItems()
213 CharSequence label; field in ActivityPicker.PickAdapter.Item
222 Item(Context context, CharSequence label, Drawable icon) { in Item() argument
223 this.label = label; in Item()
232 label = resolveInfo.loadLabel(pm); in Item()
233 if (label == null && resolveInfo.activityInfo != null) { in Item()
234 label = resolveInfo.activityInfo.name; in Item()
258 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, label); in getIntent()
309 textView.setText(item.label); in getView()
DUsageStats.java131 CharSequence label; in UsageStatsAdapter() local
134 label = appInfo.loadLabel(mPm); in UsageStatsAdapter()
136 label = ps.packageName; in UsageStatsAdapter()
138 mAppLabelMap.put(ps.packageName, label); in UsageStatsAdapter()
185 CharSequence label = mAppLabelMap.get(pkgStats.packageName); in getView() local
186 holder.pkgName.setText(label); in getView()
DAppWidgetPickActivity.java174 CharSequence label = info.label; in putAppWidgetItems() local
185 PickAdapter.Item item = new PickAdapter.Item(this, label, icon); in putAppWidgetItems()
214 return mCollator.compare(lhs.label, rhs.label); in getItems()
DManageApplications.java876 public void refreshLabel(CharSequence label) { in refreshLabel() argument
877 if (label == null) { in refreshLabel()
880 appName = label; in refreshLabel()
956 String label = info.packageName; in generateFilterListLocked() local
959 label = aInfo.appName.toString(); in generateFilterListLocked()
961 mFilterMap.put(info.packageName, label.toLowerCase()); in generateFilterListLocked()
969 String label = info.packageName; in addFilterListLocked() local
971 label = pLabel.toString(); in addFilterListLocked()
973 mFilterMap.put(info.packageName, label.toLowerCase()); in addFilterListLocked()
1219 CharSequence label = map.get(key); in bulkUpdateLabels() local
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java97 CharSequence label = appInfo.loadLabel(pm); in initSnippetForInstalledApp() local
100 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(label); in initSnippetForInstalledApp()
123 CharSequence label = null; in initSnippetForNewApp() local
128 label = res.getText(appInfo.labelRes); in initSnippetForNewApp()
132 if ((label == null) && (appInfo.nonLocalizedLabel != null)) { in initSnippetForNewApp()
133 label = appInfo.nonLocalizedLabel; in initSnippetForNewApp()
135 label = appInfo.packageName; in initSnippetForNewApp()
150 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(label); in initSnippetForNewApp()
/packages/apps/Contacts/src/com/android/contacts/
DContactOptionsActivity.java67 TextView label = (TextView)findViewById(R.id.label); in onCreate() local
68 label.setText(getString(R.string.label_ringtone)); in onCreate()
74 label = (TextView)sendToVoicemailLayout.findViewById(R.id.label); in onCreate()
75 label.setText(getString(R.string.actionIncomingCall)); in onCreate()
DCallDetailActivity.java230 entry.label = callLabel; in updateData()
286 public String label = null; field in CallDetailActivity.ViewEntry
337 boolean labelEmpty = TextUtils.isEmpty(entry.label) || numberEmpty; in getView()
343 TextView label = (TextView) convertView.findViewById(R.id.label); in getView() local
345 label.setVisibility(View.GONE); in getView()
347 label.setText(entry.label); in getView()
348 label.setVisibility(View.VISIBLE); in getView()
DContactsUtils.java85 final CharSequence label = cursor.getString(colLabel); in getDisplayLabel() local
87 return getDisplayLabel(context, mimeType, type, label); in getDisplayLabel()
91 CharSequence label) { in getDisplayLabel() argument
126 if (!TextUtils.isEmpty(label)) { in getDisplayLabel()
127 display = label; in getDisplayLabel()
371 public static View createTabIndicatorView(ViewGroup parent, CharSequence label, Drawable icon) { in createTabIndicatorView() argument
378 tv.setText(label); in createTabIndicatorView()
/packages/apps/Launcher2/src/com/android/launcher2/
DActivityPicker.java151 String label = labels.get(i); in getItems() local
165 items.add(new PickAdapter.Item(this, label, icon)); in getItems()
212 CharSequence label; field in ActivityPicker.PickAdapter.Item
221 Item(Context context, CharSequence label, Drawable icon) { in Item() argument
222 this.label = label; in Item()
231 label = resolveInfo.loadLabel(pm); in Item()
232 if (label == null && resolveInfo.activityInfo != null) { in Item()
233 label = resolveInfo.activityInfo.name; in Item()
252 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, label); in getIntent()
303 textView.setText(item.label); in getView()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmAlert.java92 String label = mAlarm.getLabelOrDefault(this); in setTitle() local
94 title.setText(label); in setTitle()
146 String label = mAlarm.getLabelOrDefault(this); in snooze() local
147 label = getString(R.string.alarm_notify_snooze_label, label); in snooze()
157 label, 0); in snooze()
158 n.setLatestEventInfo(this, label, in snooze()
DAlarmReceiver.java140 String label = alarm.getLabelOrDefault(context); in onReceive() local
142 label, alarm.time); in onReceive()
143 n.setLatestEventInfo(context, label, in onReceive()
182 String label = alarm.getLabelOrDefault(context); in updateNotification() local
184 label, alarm.time); in updateNotification()
185 n.setLatestEventInfo(context, label, in updateNotification()
DAlarm.java59 p.writeString(label); in writeToParcel()
165 public String label; field in Alarm
177 label = c.getString(Columns.ALARM_MESSAGE_INDEX); in Alarm()
206 label = p.readString(); in Alarm()
212 if (label == null || label.length() == 0) { in getLabelOrDefault()
215 return label; in getLabelOrDefault()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java190 String label = labelAtCursor.toLowerCase(); in getVoiceContacts() local
191 if (label.contains("home") || label.contains("house")) { in getVoiceContacts()
194 else if (label.contains("mobile") || label.contains("cell")) { in getVoiceContacts()
197 else if (label.contains("work") || label.contains("office")) { in getVoiceContacts()
200 else if (label.contains("other")) { in getVoiceContacts()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DAlarm.java59 p.writeString(label); in writeToParcel()
164 public String label; field in Alarm
176 label = c.getString(Columns.ALARM_MESSAGE_INDEX); in Alarm()
205 label = p.readString(); in Alarm()
211 if (label == null || label.length() == 0) { in getLabelOrDefault()
214 return label; in getLabelOrDefault()
DAlarmAlert.java92 String label = mAlarm.getLabelOrDefault(this); in setTitle() local
94 title.setText(label); in setTitle()
160 String label = mAlarm.getLabelOrDefault(this); in snooze() local
161 label = getString(R.string.alarm_notify_snooze_label, label); in snooze()
171 label, 0); in snooze()
172 n.setLatestEventInfo(this, label, in snooze()
DAlarmReceiver.java146 String label = alarm.getLabelOrDefault(context); in onReceive() local
148 label, alarm.time); in onReceive()
149 n.setLatestEventInfo(context, label, in onReceive()
193 String label = alarm.getLabelOrDefault(context); in updateNotification() local
195 label, alarm.time); in updateNotification()
196 n.setLatestEventInfo(context, label, in updateNotification()
DSetAlarm.java97 mLabel.setText(alarm.label); in onCreate()
98 mLabel.setSummary(alarm.label); in onCreate()
206 Alarm.DaysOfWeek daysOfWeek, boolean vibrate, String label, in saveAlarm() argument
208 if (Log.LOGV) Log.v("** saveAlarm " + id + " " + label + " " + enabled in saveAlarm()
213 label, alert); in saveAlarm()
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DLatinKeyboard.java84 mEnterKey.label = res.getText(R.string.label_go_key); in setImeOptions()
89 mEnterKey.label = res.getText(R.string.label_next_key); in setImeOptions()
94 mEnterKey.label = res.getText(R.string.label_done_key); in setImeOptions()
101 mEnterKey.label = null; in setImeOptions()
106 mEnterKey.label = res.getText(R.string.label_send_key); in setImeOptions()
112 mEnterKey.label = ":-)"; in setImeOptions()
120 mEnterKey.label = null; in setImeOptions()
/packages/providers/GoogleContactsProvider/tests/src/com/android/providers/contacts/
DContactsSyncAdapterTest.java655 boolean isPrimary, int type, String label) { in checkNextNumber() argument
662 assertEquals(dumpRow(cursor), label, getString(cursor, Contacts.Phones.LABEL)); in checkNextNumber() local
678 String auxData, int kind, boolean isPrimary, int type, String label) { in checkNextContactMethod() argument
687 assertEquals(dumpRow(cursor), label, getString(cursor, Contacts.ContactMethods.LABEL)); in checkNextContactMethod() local
691 byte rel, String label) { in addPhoneNumber() argument
696 phoneNumber.setLabel(label); in addPhoneNumber()
701 String label) { in addPostal() argument
705 item.setLabel(label); in addPostal()
711 boolean isPrimary, int type, String label) { in checkNextPostal() argument
713 Contacts.KIND_POSTAL, isPrimary, type, label); in checkNextPostal()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsAdapter.java80 String label = cursor.getString(RecipientsAdapter.LABEL_INDEX); in convertToString() local
81 CharSequence displayLabel = Phone.getDisplayLabel(mContext, type, label); in convertToString()
129 TextView label = (TextView) view.findViewById(R.id.label); in bindView() local
131 label.setText(Phone.getDisplayLabel(mContext, type, cursor.getString(LABEL_INDEX))); in bindView()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DTestSuggestionSource.java43 HashSet<String> errorQueries, boolean queryAfterZeroResults, String label) { in TestSuggestionSource() argument
49 mLabel = label; in TestSuggestionSource()
187 public Builder setLabel(String label) { in setLabel() argument
188 mLabel = label; in setLabel()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java219 final String label = getString(mTypes[i]); in fillDetailsSection() local
238 TextView labelView = (TextView) item.findViewById(R.id.label); in fillDetailsSection()
240 labelView.setText(label); in fillDetailsSection()
358 CharSequence label = ai.loadLabel(pm); in fillPackagesSection() local
360 if (label != null) { in fillPackagesSection()
361 mPackages[i] = label.toString(); in fillPackagesSection()
369 TextView labelView = (TextView) item.findViewById(R.id.label); in fillPackagesSection()
/packages/apps/Settings/src/com/android/settings/quicklaunch/
DBookmarkPicker.java234 CharSequence label = info.loadLabel(getPackageManager()); in getResolveInfoTitle() local
235 if (label == null) label = info.activityInfo.name; in getResolveInfoTitle()
236 return label != null ? label.toString() : null; in getResolveInfoTitle()

123