Searched refs:label (Results 1 - 25 of 130) sorted by relevance

123456

/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;
/packages/apps/Settings/src/com/android/settings/net/
H A DUidDetail.java22 public CharSequence label; field in class:UidDetail
H A DUidDetailProvider.java61 * Resolve best descriptive label for the given UID.
94 detail.label = pm.getNameForUid(uid);
100 detail.label = res.getString(R.string.process_kernel_label);
104 detail.label = res.getString(UserManager.supportsMultipleUsers()
112 detail.label = res.getString(Utils.getTetheringLabel(cm));
123 detail.label = res.getString(R.string.running_process_item_user_label, info.name);
135 detail.label = info.loadLabel(pm).toString();
146 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel,
155 if (TextUtils.isEmpty(detail.label)) {
156 detail.label
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DLabelDialogFragment.java38 * DialogFragment to edit label.
42 private static final String KEY_LABEL = "label";
49 public static LabelDialogFragment newInstance(Alarm alarm, String label) { argument
52 args.putString(KEY_LABEL, label);
58 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { argument
61 args.putString(KEY_LABEL, label);
78 final String label = bundle.getString(KEY_LABEL);
86 mLabelBox.setText(label);
121 String label = mLabelBox.getText().toString();
122 if (label
139 onDialogLabelSet(Alarm alarm, String label) argument
143 onDialogLabelSet(TimerObj timer, String label, String tag) argument
[all...]
H A DAlarm.java60 p.writeString(label);
166 public String label; field in class:Alarm
181 ", label='" + label + '\'' +
194 label = c.getString(Columns.ALARM_MESSAGE_INDEX);
223 label = p.readString();
235 label = "";
240 if (label == null || label.length() == 0) {
243 return label;
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DClipboardUtils.java36 * @param label Label to show to the user describing this clip.
40 public static void copyText(Context context, CharSequence label, CharSequence text, argument
46 ClipData clipData = ClipData.newPlainText(label == null ? "" : label, text);
H A DStopWatch.java35 private StopWatch(String label) { argument
36 mLabel = label;
43 public static StopWatch start(String label) { argument
44 return new StopWatch(label);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java80 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { argument
82 ((TextView)snippetView.findViewById(R.id.app_name)).setText(label);
119 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label);
137 CharSequence label; field in class:PackageUtil.AppSnippet
139 public AppSnippet(CharSequence label, Drawable icon) { argument
140 this.label = label;
146 * Utility method to load application label
159 CharSequence label = null;
160 // Try to load the label fro
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DWallpaperTypeSettings.java55 CharSequence label = info.loadLabel(pm);
56 if (label == null) label = info.activityInfo.packageName;
57 pref.setTitle(label);
H A DAppPicker.java79 CharSequence label; field in class:AppPicker.MyApplicationInfo
104 info.label = info.info.loadLabel(getPackageManager()).toString();
109 info.label = context.getText(R.string.no_application);
121 holder.appName.setText(info.label);
139 return collator.compare(a.label, b.label);
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...]
H A DAllowBindAppWidgetActivity.java86 CharSequence label = "";
95 label = pm.getApplicationLabel(ai);
108 ap.mMessage = getString(R.string.allow_bind_app_widget_activity_allow_bind, label);
117 mAlwaysUse.setText(getString(R.string.allow_bind_app_widget_activity_always_allow_bind, label));
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DResultActivity.java83 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 DStopWatch.java53 public void split(String label) { argument
56 Log.w(Logging.LOG_TAG, "StopWatch(" + mName + ") split(" + label + ") " + elapse);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DWakeLockHoldingProgressListener.java34 public WakeLockHoldingProgressListener(AbstractGalleryActivity galleryActivity, String label) { argument
38 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, label);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupDeletionDialogFragment.java34 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DMoreKeySpec.java76 final String label = (mIconId == KeyboardIconsSet.ICON_UNDEFINED ? mLabel
80 if (StringUtils.codePointCount(label) == 1 && label.codePointAt(0) == mCode) {
83 return label + "|" + output;
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DContactInfo.java31 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 DCarouselTab.java41 * This view adds an alpha layer over the entire tab (except for the label).
53 mLabelView = (TextView) findViewById(R.id.label);
59 public void setLabel(String label) { argument
60 mLabelView.setText(label);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupDetailDisplayUtils.java46 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/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DCorpusView.java59 public void setLabel(CharSequence label) { argument
60 mLabel.setText(label);
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceContact.java166 + " label=" + labelAtCursor
195 String label = labelAtCursor.toLowerCase();
196 if (label.contains("home") || label.contains("house")) {
199 else if (label.contains("mobile") || label.contains("cell")) {
202 else if (label.contains("work") || label.contains("office")) {
205 else if (label.contains("other")) {
/packages/apps/Mms/src/com/android/mms/ui/
H A DRecipientsAdapter.java94 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 DLegacyPhoneNumberListAdapter.java97 CharSequence label = null;
103 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel);
105 view.setLabel(label);
H A DLegacyPostalAddressListAdapter.java99 CharSequence label = null;
105 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel);
107 view.setLabel(label);

Completed in 500 milliseconds

123456