/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | SpinnerOption.java | 24 public final String label; field in class:SpinnerOption 36 public SpinnerOption(Object value, String label) { argument 38 this.label = label; 43 return label;
|
/packages/apps/Settings/src/com/android/settings/net/ |
H A D | UidDetail.java | 22 public CharSequence label; field in class:UidDetail
|
H A D | UidDetailProvider.java | 47 * Resolve best descriptive label for the given UID. 61 detail.label = pm.getNameForUid(uid); 67 detail.label = res.getString(R.string.process_kernel_label); 72 detail.label = res.getString(R.string.data_usage_uninstalled_apps); 79 detail.label = res.getString(Utils.getTetheringLabel(cm)); 92 detail.label = info.loadLabel(pm).toString(); 103 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel, 112 if (TextUtils.isEmpty(detail.label)) { 113 detail.label = Integer.toString(uid);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | WallpaperTypeSettings.java | 55 CharSequence label = info.loadLabel(pm); 56 if (label == null) label = info.activityInfo.packageName; 57 pref.setTitle(label);
|
H A D | ActivityPicker.java | 153 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...] |
H A D | UsageStats.java | 131 CharSequence label; 134 label = appInfo.loadLabel(mPm); 136 label = ps.packageName; 138 mAppLabelMap.put(ps.packageName, label); 185 CharSequence label = mAppLabelMap.get(pkgStats.packageName); 186 holder.pkgName.setText(label);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | ResultActivity.java | 83 private void addRowForValue(String label, Object value) { argument 85 addRow(label, "null"); 87 addRowWithBitmap(label, (Bitmap)value); 89 addRow(label, "INTENT"); 92 addRow(label, "DATA"); 95 addRow(label, "ARRAY"); 101 addRow(label, String.valueOf(value)); 134 TextView label = new TextView(this); 135 label.setPadding(4, 4, 4, 4); 136 label 165 addRowWithBitmap(String label, Bitmap bitmap) argument [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | StopWatch.java | 53 public void split(String label) { argument 56 Log.w(Logging.LOG_TAG, "StopWatch(" + mName + ") split(" + label + ") " + elapse);
|
/packages/experimental/UiAutomation/service/src/com/android/testing/uiautomation/ |
H A D | Provider.aidl | 32 boolean setTextFieldByLabel(String label, String text);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | GroupDeletionDialogFragment.java | 34 private static final String ARG_LABEL = "label"; 37 public static void show(FragmentManager fragmentManager, long groupId, String label, argument 42 args.putString(ARG_LABEL, label); 50 String label = getArguments().getString(ARG_LABEL); 51 String message = getActivity().getString(R.string.delete_group_dialog_message, label);
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
H A D | ContactInfo.java | 31 public String label; field in class:ContactInfo 63 if (!TextUtils.equals(label, other.label)) return false;
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | CarouselTab.java | 55 mLabelView = (TextView) findViewById(R.id.label); 62 public void setLabel(String label) { argument 63 mLabelView.setText(label);
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupDetailDisplayUtils.java | 46 TextView label = (TextView) view.findViewById(android.R.id.title); 47 if (label == null) { 49 + "android.R.id.label"); 51 label.setText(accountType.getViewGroupLabel(context));
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageUtil.java | 81 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { argument 83 ((TextView)snippetView.findViewById(R.id.app_name)).setText(label); 120 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label); 138 CharSequence label; field in class:PackageUtil.AppSnippet 140 public AppSnippet(CharSequence label, Drawable icon) { argument 141 this.label = label; 146 * Utility method to load application label 159 CharSequence label = null; 160 // Try to load the label fro [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | MoreKeySpecParser.java | 111 final String label = (end > 0) ? parseEscape(moreKeySpec.substring(0, end)) 113 if (TextUtils.isEmpty(label)) 114 throw new MoreKeySpecParserError("Empty label: " + moreKeySpec); 115 return label; 131 final String label = getLabel(moreKeySpec); 132 if (label == null) 133 throw new MoreKeySpecParserError("Empty label: " + moreKeySpec); 134 // Code is automatically generated for one letter label. See {@link getCode()}. 135 if (label.length() == 1) 137 return label; [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | CorpusView.java | 59 public void setLabel(CharSequence label) { argument 60 mLabel.setText(label);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
H A D | VoiceContact.java | 156 + " label=" + labelAtCursor 184 String label = labelAtCursor.toLowerCase(); 185 if (label.contains("home") || label.contains("house")) { 188 else if (label.contains("mobile") || label.contains("cell")) { 191 else if (label.contains("work") || label.contains("office")) { 194 else if (label.contains("other")) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | Alarm.java | 58 p.writeString(label); 164 public String label; field in class:Alarm 176 label = c.getString(Columns.ALARM_MESSAGE_INDEX); 205 label = p.readString(); 223 if (label == null || label.length() == 0) { 226 return label;
|
H A D | AlarmReceiver.java | 156 // Use the alarm's label or the default label as the ticker text and 158 String label = alarm.getLabelOrDefault(context); 160 label, alarm.time); 161 n.setLatestEventInfo(context, label, 206 String label = alarm.getLabelOrDefault(context); 208 label, alarm.time); 209 n.setLatestEventInfo(context, label,
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | RecipientsAdapter.java | 94 String label = cursor.getString(RecipientsAdapter.LABEL_INDEX); 95 CharSequence displayLabel = Phone.getDisplayLabel(mContext, type, label); 127 out.setSpan(new Annotation("label", displayLabel.toString()), 0, len, 140 TextView label = (TextView) view.findViewById(R.id.label); 144 // When there's no label, getDisplayLabel() returns a CharSequence of length==1 containing 145 // a unicode non-breaking space. Need to check for that and consider that as "no label". 148 label.setVisibility(View.GONE); 150 label.setText(labelText); 151 label [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | LegacyPhoneNumberListAdapter.java | 97 CharSequence label = null; 103 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); 105 view.setLabel(label);
|
H A D | LegacyPostalAddressListAdapter.java | 99 CharSequence label = null; 105 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel); 107 view.setLabel(label);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapCallLogComposer.java | 161 String label = mCursor.getString(CALLER_NUMBERLABEL_COLUMN_INDEX); 162 if (TextUtils.isEmpty(label)) { 163 label = Integer.toString(type); 165 builder.appendTelLine(type, label, number, false); 189 String label = Integer.toString(phonetype); 190 builder.appendTelLine(phonetype, label, phoneNumber, false);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | PieControlXLarge.java | 212 TextView label = 214 label.setText(item.getTitle()); 215 label.setTag(item); 216 label.setOnClickListener(this); 217 label.setLayoutParams(new LayoutParams(240, 32)); 218 return label;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatterySipper.java | 64 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
|