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

123456

/packages/apps/Contacts/src/com/android/contacts/
H A DClipboardUtils.java34 * @param label Label to show to the user describing this clip.
38 public static void copyText(Context context, CharSequence label, CharSequence text, argument
44 ClipData clipData = ClipData.newPlainText(label == null ? "" : label, text);
/packages/apps/Contacts/src/com/android/contacts/compat/
H A DEventCompat.java36 * the given label value for TYPE_CUSTOM.
38 public static CharSequence getTypeLabel(Resources res, int type, CharSequence label) { argument
40 return Event.getTypeLabel(res, type, label);
42 return getTypeLabelInternal(res, type, label);
50 private static CharSequence getTypeLabelInternal(Resources res, int type, CharSequence label) { argument
51 if (type == BaseTypes.TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
52 return label;
/packages/apps/DeskClock/src/com/android/deskclock/events/
H A DEventTracker.java27 * @param label indicates where the action originated; e.g. DeskClock (UI), Intent,
28 * Notification, etc.; 0 indicates no label could be established
30 void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label); argument
H A DEvents.java36 * @param label resource id of event label
38 public static void sendAlarmEvent(@StringRes int action, @StringRes int label) { argument
39 sendEvent(R.string.category_alarm, action, label);
46 * @param label resource id of event label
48 public static void sendClockEvent(@StringRes int action, @StringRes int label) { argument
49 sendEvent(R.string.category_clock, action, label);
56 * @param label resource id of event label
58 sendTimerEvent(@tringRes int action, @StringRes int label) argument
68 sendStopwatchEvent(@tringRes int action, @StringRes int label) argument
78 sendScreensaverEvent(@tringRes int action, @StringRes int label) argument
91 sendEvent(@tringRes int category, @StringRes int action, @StringRes int label) argument
[all...]
H A DLogEventTracker.java34 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
35 if (label == 0) {
39 safeGetString(label));
H A DShortcutEventTracker.java48 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
/packages/apps/Dialer/java/com/android/contacts/common/
H A DClipboardUtils.java33 * @param label Label to show to the user describing this clip.
38 Context context, CharSequence label, CharSequence text, boolean showToast) {
45 ClipData clipData = ClipData.newPlainText(label == null ? "" : label, text);
37 copyText( Context context, CharSequence label, CharSequence text, boolean showToast) argument
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupDeletionDialogFragment.java35 private static final String ARG_LABEL = "label";
37 public static void show(FragmentManager fragmentManager, long groupId, String label) { argument
41 args.putString(ARG_LABEL, label);
48 String label = getArguments().getString(ARG_LABEL);
49 String message = getActivity().getString(R.string.delete_group_dialog_message, label);
/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DEventController.java38 void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
40 eventTracker.sendEvent(category, action, label);
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/
H A DAlarmSelection.java25 * Created a new selectable item with a visual label and an id.
28 public AlarmSelection(String label, Alarm alarm) { argument
29 mLabel = label;
/packages/apps/Dialer/java/com/android/contacts/common/util/
H A DStopWatch.java30 private StopWatch(String label) { argument
31 mLabel = label;
36 public static StopWatch start(String label) { argument
37 return new StopWatch(label);
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/
H A DSpeakerButtonInfo.java41 @StringRes public final int label; field in class:SpeakerButtonInfo
50 label = R.string.incall_label_audio;
83 label = R.string.incall_label_speaker;
/packages/apps/Email/src/com/android/email/
H A DStopWatch.java53 public void split(String label) { argument
56 LogUtils.w(Logging.LOG_TAG, "StopWatch(" + mName + ") split(" + label + ") " + elapse);
/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/PackageInstaller/src/com/android/packageinstaller/permission/utils/
H A DLocationUtils.java39 public static void showLocationDialog(final Context context, CharSequence label) { argument
43 .setMessage(context.getString(R.string.location_warning, label))
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
H A DLensPickerItem.java31 public LensPickerItem(String label, Drawable icon, Intent launchIntent, String facetId) { argument
33 mLabel = label;
46 * Gets a label that describes this {@link LensPickerItem}.
/packages/apps/Contacts/src/com/android/contacts/util/
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/Contacts/tests/src/com/android/contacts/tests/
H A DFakeAccountType.java77 public static FakeAccountType create(String accountType, String label) { argument
80 result.displayLabel = label;
84 public static FakeAccountType create(String accountType, String label, Drawable icon) { argument
88 result.displayLabel = label;
92 public static AccountType create(AccountWithDataSet account, String label, Drawable icon) { argument
93 final FakeAccountType result = create(account.type, label, icon);
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
H A DHeaderCell.java65 TextView label = (TextView) findViewById(R.id.label);
66 label.setText(dimension.getLabelId());
69 setDataTypeNumber(label);
72 setDataTypeString(label);
116 private void setDataTypeNumber(View label) { argument
117 label.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_END);
121 private void setDataTypeString(View label) { argument
122 label.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DSidebarBot.java53 private UiObject findRoot(String label) throws UiObjectNotFoundException { argument
65 new UiScrollable(rootsList).scrollIntoView(new UiSelector().text(label));
66 return new UiObject(rootsList.childSelector(new UiSelector().text(label)));
69 public void openRoot(String label) throws UiObjectNotFoundException { argument
70 findRoot(label).click();
109 for (String label : labels) {
110 if (!findRoot(label).exists()) {
111 missing.add(label);
122 for (String label : labels) {
123 if (findRoot(label)
[all...]
/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/Launcher3/src/com/android/launcher3/model/
H A DWidgetItem.java29 public final String label; field in class:WidgetItem
36 label = Utilities.trim(info.getLabel(pm));
46 label = Utilities.trim(info.getLabel());
68 int labelCompare = sCollator.compare(label, another.label);
73 // If the label is same, put the smaller widget before the larger widget. If the area is
/packages/apps/Settings/src/com/android/settings/display/
H A DVrDisplayPreferencePicker.java75 public final String label; field in class:VrDisplayPreferencePicker.VrCandidateInfo
81 label = context.getString(resId);
86 return label;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DRemoteDevice.java66 synchronized public void setNotificationLabel(int label) { argument
67 mNotificationLabel = 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...]

Completed in 2069 milliseconds

123456