Searched defs:label (Results 1 - 25 of 38) sorted by relevance

12

/packages/apps/Email/src/com/android/email/activity/setup/
H A DSpinnerOption.java24 public final String label; field in class:SpinnerOption
36 public SpinnerOption(Object value, String label) { argument
38 this.label = label;
43 return label;
H A DAccountSettingsUtils.java102 provider.label = getXmlAttribute(context, xml, "label");
152 public String label; field in class:AccountSettingsUtils.Provider
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DCorpusView.java52 public void setLabel(CharSequence label) { argument
53 mLabel.setText(label);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java104 public static void dumpApplicationInfoList(String tag, String label, argument
106 Log.d(tag, label + " size=" + list.size());
H A DShortcutInfo.java159 public static void dumpShortcutInfoList(String tag, String label, argument
161 Log.d(tag, label + " size=" + list.size());
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java101 CharSequence label = appInfo.loadLabel(pm);
104 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(label);
122 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label);
140 CharSequence label; field in class:PackageUtil.AppSnippet
142 public AppSnippet(CharSequence label, Drawable icon) { argument
143 this.label = label;
148 * Utility method to load application label
161 CharSequence label = null;
162 // Try to load the label fro
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DLocalePicker.java49 String label; field in class:LocalePicker.Loc
52 public Loc(String label, Locale locale) { argument
53 this.label = label;
59 return this.label;
63 return sCollator.compare(this.label, ((Loc) o).label);
108 preprocess[finalSize-1].label+" to "+
111 preprocess[finalSize-1].label = toTitleCase(
H A DActivityPicker.java153 String label = labels.get(i);
167 items.add(new PickAdapter.Item(this, label, icon));
216 CharSequence label; field in class:ActivityPicker.PickAdapter.Item
223 * Create a list item from given label and icon.
225 Item(Context context, CharSequence label, Drawable icon) { argument
226 this.label = label;
235 label = resolveInfo.loadLabel(pm);
236 if (label == null && resolveInfo.activityInfo != null) {
237 label
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DInputLanguageSelection.java57 String label; field in class:InputLanguageSelection.Loc
60 public Loc(String label, Locale locale) { argument
61 this.label = label;
67 return this.label;
71 return sCollator.compare(this.label, ((Loc) o).label);
196 preprocess[finalSize-1].label = LanguageSwitcher.toTitleCase(
H A DLatinKeyboardView.java115 protected CharSequence adjustCase(CharSequence label) { argument
120 && !TextUtils.isEmpty(label) && label.length() < 3
121 && Character.isLowerCase(label.charAt(0))) {
122 return label.toString().toUpperCase(getKeyboardLocale());
124 return label;
/packages/apps/Contacts/src/com/android/contacts/
H A DContactEntryAdapter.java44 public String label; field in class:ContactEntryAdapter.Entry
57 p.writeString(label);
71 label = p.readString();
H A DCallDetailActivity.java232 entry.label = callLabel;
289 public String label = null; field in class:CallDetailActivity.ViewEntry
340 boolean labelEmpty = TextUtils.isEmpty(entry.label) || numberEmpty;
346 TextView label = (TextView) convertView.findViewById(R.id.label);
348 label.setVisibility(View.GONE);
350 label.setText(entry.label);
351 label.setVisibility(View.VISIBLE);
H A DContactsUtils.java61 // Try finding the type and label for this mimetype
67 // Reset to phone mimetype so we generate a label for SMS case
85 final CharSequence label = cursor.getString(colLabel);
87 return getDisplayLabel(context, mimeType, type, label);
91 CharSequence label) {
114 // Can't return display label for given mimetype.
126 if (!TextUtils.isEmpty(label)) {
127 display = label;
368 * @param label The label t
90 getDisplayLabel(Context context, String mimetype, int type, CharSequence label) argument
372 createTabIndicatorView(ViewGroup parent, CharSequence label, Drawable icon) argument
[all...]
H A DPhoneDisambigDialog.java162 values.put(Phone.LABEL, item.label);
178 final String label; field in class:PhoneDisambigDialog.PhoneItem
180 public PhoneItem(long id, String phoneNumber, String accountType, int type, String label) { argument
185 this.label = label;
220 String label = phonesCursor.getString(phonesCursor.getColumnIndex(Phone.LABEL));
222 phoneList.add(new PhoneItem(id, phone, accountType, type, label));
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerTester.java222 private void reportSummary(String label, FileFilter filter) { argument
254 label);
H A DCommandRecognizerEngine.java254 // fetch a scrubbed window label
255 String label = scrubName(ri.loadLabel(pm).toString());
256 if (label.length() == 0) continue;
259 addClassName(mOpenEntries, label,
263 String[] words = label.split(" ");
322 for (String label : mOpenEntries.keySet()) {
324 String entry = mOpenEntries.get(label);
337 mSrecGrammar.addWordToSlot("@Opens", label, null, 1, "V='" + label + "'");
344 * @param label
347 addClassName(HashMap<String,String> openEntries, String label, String packageName, String className) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/model/
H A DFallbackSource.java547 protected CharSequence getTypeLabel(Resources res, Integer type, CharSequence label) { argument
552 return res.getString(labelRes, label == null ? "" : label);
560 final String label = cursor.getString(cursor.getColumnIndex(getLabelColumn()));
561 return getTypeLabel(context.getResources(), type, label);
566 final String label = values.getAsString(getLabelColumn());
567 return getTypeLabel(context.getResources(), type, label);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarm.java59 p.writeString(label);
165 public String label; field in class:Alarm
177 label = c.getString(Columns.ALARM_MESSAGE_INDEX);
206 label = p.readString();
224 if (label == null || label.length() == 0) {
227 return label;
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DPathBarLayer.java44 public void pushLabel(int icon, String label, Runnable action) { argument
46 mComponents.add(new Component(icon, label, action, 0));
68 public void changeLabel(String label) { argument
69 if (label == null || label.length() == 0)
73 pushLabel(component.icon, label, component.action);
114 Component(int icon, String label, Runnable action, float widthLeft) { argument
116 origString = label;
123 String label = "";
125 label
[all...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatterySipper.java64 Handler handler, String label, DrainType drainType,
70 name = label;
76 if ((label == null || iconId == 0) && uid != null) {
155 CharSequence label = ai.loadLabel(pm);
156 if (label != null) {
157 packageLabels[i] = label.toString();
63 BatterySipper(Context context, ArrayList<BatterySipper> requestQueue, Handler handler, String label, DrainType drainType, int iconId, Uid uid, double[] values) argument
H A DPowerUsageSummary.java367 String label = getString(mStats.isOnBattery()
370 setTitle(label);
681 private BatterySipper addEntry(String label, DrainType drainType, long time, int iconId, argument
686 label, drainType, iconId, null, new double[] {power});
/packages/apps/Tag/src/com/android/vcard/
H A DVCardUtils.java157 * when not, which should be set to label.
165 String label = null;
204 label = typeString;
227 return label;
234 public static boolean isMobilePhoneLabel(final String label) { argument
237 // To support mobile type at that time, this custom label had been used.
238 return ("_AUTO_CELL".equals(label) || sMobilePhoneLabelSet.contains(label));
241 public static boolean isValidInV21ButUnknownToContactsPhoteType(final String label) { argument
242 return sPhoneTypesUnknownToContactsSet.contains(label);
[all...]
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DBalloonHint.java127 * Set configurations to show text label in this balloon.
129 * @param label The text label to show in the balloon.
130 * @param textSize The text size used to show label.
131 * @param textBold Used to indicate whether the label should be bold.
132 * @param textColor The text color used to show label.
140 public void setBalloonConfig(String label, float textSize, argument
142 mBalloonView.setTextConfig(label, textSize, textBold, textColor);
147 * Set configurations to show text label in this balloon.
349 * The label t
376 setTextConfig(String label, float fontSize, boolean textBold, int textColor) argument
[all...]
H A DSoftKey.java94 public void setKeyAttribute(int keyCode, String label, boolean repeat, argument
97 mKeyLabel = label;
/packages/apps/Phone/src/com/android/phone/
H A DNotificationMgr.java260 public String label; field in class:NotificationMgr.QueryHandler.NotificationInfo
328 notifyMissedCall(n.name, n.number, n.label, n.date);
346 n.label = cursor.getString(cursor.getColumnIndexOrThrow(Calls.TYPE));
378 * @param label the label of the number if nameOrNumber is a name, null if it is a number
380 void notifyMissedCall(String name, String number, String label, long date) { argument
595 // "on hold") and 2 lines of text: (1) the label (either "ongoing

Completed in 707 milliseconds

12