Searched defs:label (Results 51 - 75 of 117) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/voice/
H A DVoiceInputHelper.java57 public final CharSequence label; field in class:VoiceInputHelper.BaseInfo
67 label = _service.loadLabel(pm);
68 labelStr = label.toString();
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DAppDialogFragment.java45 private static final String ARG_LABEL = "label";
61 public static void show(Fragment parent, PackageInfo packageInfo, String label, argument
63 show(parent, null, packageInfo, label, managing, connected);
67 String label, boolean managing, boolean connected) {
73 args.putString(ARG_LABEL, label);
93 final String label = args.getString(ARG_LABEL);
99 return new AppDialog(getActivity(), this, mPackageInfo, label);
103 .setTitle(label)
66 show(Fragment parent, Listener listener, PackageInfo packageInfo, String label, boolean managing, boolean connected) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DAccessibilityFragment.java154 private static final String ARG_LABEL = "label";
159 String activityName, String label) {
163 args.putString(ARG_LABEL, label);
212 private static final String ARG_LABEL = "label";
216 public static void prepareArgs(@NonNull Bundle args, ComponentName cn, String label, argument
219 args.putString(ARG_LABEL, label);
226 final String label = getArguments().getString(ARG_LABEL);
230 label),
232 label),
239 label),
158 prepareArgs(@onNull Bundle args, String packageName, String serviceName, String activityName, String label) argument
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java42 public String label; field in class:ContactEntryAdapter.Entry
55 p.writeString(label);
69 label = p.readString();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DActualKeyboardBuilder.java111 static String toString(final String label, final int iconId, final String outputText, argument
114 ? KeyboardIconsSet.getIconName(iconId) : label;
H A DAbstractLayoutBase.java30 // Helper method to create an {@link ExpectedKey} object that has the label.
31 public static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) { argument
32 return ExpectedKey.newInstance(label, moreKeys);
35 // Helper method to create an {@link ExpectedKey} object that has the label and the output text.
36 public static ExpectedKey key(final String label, final String outputText, argument
38 return ExpectedKey.newInstance(label, outputText, moreKeys);
41 // Helper method to create an {@link ExpectedKey} object that has the label and the output code.
42 public static ExpectedKey key(final String label, final int code, argument
44 return ExpectedKey.newInstance(label, code, moreKeys);
65 // "additional more key" that has the label
69 additionalMoreKey(final String label) argument
74 moreKey(final String label) argument
80 moreKey(final String label, final String outputText) argument
86 moreKey(final String label, final int code) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DAttendeesView.java147 private View constructDividerView(CharSequence label) { argument
150 textView.setText(label);
156 // parenthesis next to the label
157 private void updateDividerViewLabel(View divider, CharSequence label, int count) { argument
159 ((TextView)divider).setText(label);
162 ((TextView)divider).setText(label + " (" + count + ")");
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java203 DayInfo(int julianDay, String label) { argument
205 mDayLabel = label;
411 String label;
413 label = mContext.getString(R.string.agenda_tomorrow,
417 label = Utils.formatDateRange(mContext, millis, millis, flags);
419 return new DayInfo(julianDay, label);
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DImportExportDialogFragment.java347 public AdapterEntry(CharSequence label, int resId, int subId) { argument
348 mLabel = label;
353 public AdapterEntry(String label, int resId) { argument
356 this(label, resId, /* subId = */ -1);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DDirectoryPartition.java143 * A label to display in the header next to the display name.
149 public void setLabel(String label) { argument
150 mLabel = label;
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmClockFragment.java171 public void setLabel(Alarm alarm, String label) { argument
172 alarm.label = label;
H A DLabelDialogFragment.java45 * DialogFragment to edit label.
49 private static final String KEY_LABEL = "label";
59 public static LabelDialogFragment newInstance(Alarm alarm, String label, String tag) { argument
61 args.putString(KEY_LABEL, label);
93 final String label = savedInstanceState != null ?
103 mLabelBox.setText(label);
111 .setMessage(R.string.label)
119 * Sets the new label into the timer or alarm.
122 String label = mLabelBox.getText().toString();
123 if (label
139 onDialogLabelSet(Alarm alarm, String label, String tag) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DTimer.java102 long remainingTime, String label, boolean deleteAfterUse) {
109 mLabel = label;
210 * @return a copy of this timer with the given {@code label}
212 Timer setLabel(String label) { argument
213 if (TextUtils.equals(mLabel, label)) {
217 return new Timer(mId, mState, mLength, mTotalLength, mLastStartTime, mRemainingTime, label,
101 Timer(int id, State state, long length, long totalLength, long lastStartTime, long remainingTime, String label, boolean deleteAfterUse) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumLabelMaker.java203 public void recycleLabel(Bitmap label) { argument
204 GalleryBitmapPool.getInstance().put(label);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DInstallShortcutReceiver.java185 if (info.launchIntent == null || info.label == null) {
272 final String label; field in class:InstallShortcutReceiver.PendingInstallShortcutInfo
283 label = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME);
298 label = info.getLabel().toString();
330 String name = ensureValidName(mContext, launchIntent, label).toString();
449 // Ignore any conflicts in the label name, as that can change based on locale.
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
H A DDownloadPackageTask.java86 String packageName, PackageDownloadInfo downloadInfo, String label) {
89 mDownloads.add(new DownloadStatusInfo(downloadInfo, label));
335 public String getDownloadedPackageLocation(String label) { argument
337 if (info.mLabel.equals(label)) {
409 public DownloadStatusInfo(PackageDownloadInfo packageDownloadInfo,String label) { argument
411 mLabel = label;
85 addDownloadIfNecessary( String packageName, PackageDownloadInfo downloadInfo, String label) argument
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAppChooserActivity.java183 public DisplayAppInfo(ApduServiceInfo serviceInfo, CharSequence label, Drawable icon, argument
187 displayLabel = label;
204 CharSequence label = service.getDescription();
205 if (label == null) label = service.loadLabel(pm);
211 Log.e(TAG, "Not showing " + label + " because no banner specified.");
215 DisplayAppInfo info = new DisplayAppInfo(service, label, icon, banner);
/packages/apps/Settings/src/com/android/settings/
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/apps/Settings/src/com/android/settings/nfc/
H A DPaymentBackend.java45 CharSequence label; field in class:PaymentBackend.PaymentAppInfo
93 appInfo.label = service.loadLabel(pm);
94 if (appInfo.label == null) {
95 appInfo.label = service.loadAppLabel(pm);
/packages/apps/Settings/src/com/android/settings/utils/
H A DManagedServiceSettings.java135 public ScaryWarningDialogFragment setServiceInfo(ComponentName cn, String label) { argument
138 args.putString(KEY_LABEL, label);
147 final String label = args.getString(KEY_LABEL);
151 final String title = getResources().getString(mConfig.warningDialogTitle, label);
152 final String summary = getResources().getString(mConfig.warningDialogSummary, label);
/packages/apps/TV/src/com/android/tv/analytics/
H A DStubTracker.java66 public void sendMenuClicked(String label) { } argument
H A DTracker.java114 * <p><strong>WARNING</strong> callers must ensure no PII is included in the label.
116 * @param label The label of the item clicked.
118 void sendMenuClicked(String label); argument
123 * <p>NOTE: the tracker will use the english version of the label.
125 * @param labelResId The resource Id of the label for the menu item.
223 * <p><strong>WARNING</strong> callers must ensure no PII is included in the label.
225 * @param inputLabel the label of the TV input selected
232 * @param trackerLabel the label of the side panel.
239 * @param trackerLabel The label o
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
H A DAnalytics.java117 public void sendEvent(String category, String action, String label, long value) {} argument
120 public void sendTiming(String category, long millis, String name, String label) {} argument
123 public void sendMenuItemEvent(String category, int itemResId, String label, long value) {} argument
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DFallbackSource.java512 protected CharSequence getTypeLabel(Resources res, Integer type, CharSequence label) { argument
517 return res.getString(labelRes, label == null ? "" : label);
525 final String label = cursor.getString(cursor.getColumnIndex(getLabelColumn()));
526 return getTypeLabel(context.getResources(), type, label);
531 final String label = values.getAsString(getLabelColumn());
532 return getTypeLabel(context.getResources(), type, label);
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java52 // Try finding the type and label for this mimetype
58 // Reset to phone mimetype so we generate a label for SMS case
76 final CharSequence label = cursor.getString(colLabel);
78 return getDisplayLabel(context, mimeType, type, label);
82 CharSequence label) {
105 // Can't return display label for given mimetype.
117 if (!TextUtils.isEmpty(label)) {
118 display = label;
81 getDisplayLabel(Context context, String mimetype, int type, CharSequence label) argument

Completed in 1041 milliseconds

12345