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

12345

/packages/apps/ContactsCommon/src/com/android/contacts/common/
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/ContactsCommon/src/com/android/contacts/common/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.java30 * Send category, action and label describing an event to Log system.
36 * @param label string resource id indicating where the action originated;
37 * e.g. DeskClock (UI), Intent, Notification, etc. or 0 for no label
39 void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label); argument
42 * Send category, action and label describing an event to Log system.
46 * @param label where the action originated; e.g. DeskClock (UI), Intent, Notification, etc.
48 void sendEvent(String category, String action, String label); argument
H A DLogEventTracker.java39 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
40 sendEvent(safeGetString(category), safeGetString(action), safeGetString(label));
44 public void sendEvent(String category, String action, String label) { argument
45 if (label == null) {
48 LogUtils.d(TAG, "[%s] [%s] [%s]", category, action, label);
H A DEvents.java42 * @param label resource id of event label
44 public static void sendAlarmEvent(@StringRes int action, @StringRes int label) { argument
45 sendEvent(R.string.category_alarm, action, label);
52 * @param label resource id of event label
54 public static void sendClockEvent(@StringRes int action, @StringRes int label) { argument
55 sendEvent(R.string.category_clock, action, label);
62 * @param label resource id of event label
64 sendTimerEvent(@tringRes int action, @StringRes int label) argument
74 sendStopwatchEvent(@tringRes int action, @StringRes int label) argument
87 sendEvent(@tringRes int category, @StringRes int action, @StringRes int label) argument
103 sendEvent(String category, String action, String label) argument
[all...]
/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/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/Launcher3/src/com/android/launcher3/compat/
H A DUserManagerCompatVL.java87 public CharSequence getBadgedLabelForUser(CharSequence label, UserHandleCompat user) { argument
89 return label;
91 return mPm.getUserBadgedLabel(label, user.getUser());
H A DUserManagerCompatV16.java41 public CharSequence getBadgedLabelForUser(CharSequence label, UserHandleCompat user) { argument
42 return label;
H A DUserManagerCompat.java61 public abstract CharSequence getBadgedLabelForUser(CharSequence label, UserHandleCompat user); argument
/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/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/apps/ContactsCommon/src/com/android/contacts/common/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/ContactsCommon/src/com/android/contacts/commonbind/analytics/
H A DAnalyticsUtil.java46 * @param label The event label.
50 String label, long value) { }
49 sendEvent(Application application, String category, String action, String label, long value) argument
/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.java31 public final String label; field in class:WidgetItem
37 label = Utilities.trim(widgetManager.loadLabel(info));
49 label = Utilities.trim(info.loadLabel(pm));
71 int labelCompare = sCollator.compare(label, another.label);
76 // If the label is same, put the smaller widget before the larger widget. If the area is
/packages/apps/Settings/src/com/android/settings/
H A DAppHeader.java41 CharSequence label, String pkgName, int uid) {
42 createAppHeader(fragment, icon, label, pkgName, uid, 0, null);
46 CharSequence label, String pkgName, int uid, Intent externalSettings) {
47 createAppHeader(fragment, icon, label, pkgName, uid, 0, externalSettings);
50 public static void createAppHeader(Activity activity, Drawable icon, CharSequence label, argument
54 setupHeaderView(activity, icon, label, pkgName, uid, false, 0, bar, null);
59 CharSequence label, String pkgName, int uid, int tintColorRes) {
60 createAppHeader(fragment, icon, label, pkgName, uid, tintColorRes, null);
64 CharSequence label, String pkgName, int uid, int tintColorRes,
67 setupHeaderView(fragment.getActivity(), icon, label, pkgNam
40 createAppHeader(SettingsPreferenceFragment fragment, Drawable icon, CharSequence label, String pkgName, int uid) argument
45 createAppHeader(SettingsPreferenceFragment fragment, Drawable icon, CharSequence label, String pkgName, int uid, Intent externalSettings) argument
58 createAppHeader(SettingsPreferenceFragment fragment, Drawable icon, CharSequence label, String pkgName, int uid, int tintColorRes) argument
63 createAppHeader(SettingsPreferenceFragment fragment, Drawable icon, CharSequence label, String pkgName, int uid, int tintColorRes, Intent externalSettings) argument
71 setupHeaderView(final Activity activity, Drawable icon, CharSequence label, final String pkgName, final int uid, final boolean includeAppInfo, int tintColorRes, View bar, final Intent externalSettings) argument
[all...]
/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/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java40 public String label; field in class:ContactInfo
87 if (!TextUtils.equals(label, other.label)) return false;
102 .add("type", type).add("label", label)
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java105 public static void dumpApplicationInfoList(String tag, String label, argument
107 Log.d(tag, label + " size=" + list.size());
H A DShortcutInfo.java158 public static void dumpShortcutInfoList(String tag, String label, argument
160 Log.d(tag, label + " size=" + list.size());
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppInfo.java135 public static void dumpApplicationInfoList(String tag, String label, ArrayList<AppInfo> list) { argument
136 Log.d(tag, label + " size=" + list.size());
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java61 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { argument
63 ((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;
147 * Utility method to load application label
160 CharSequence label = null;
161 // Try to load the label fro
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
H A DPermissionGroup.java28 CharSequence label, Drawable icon) {
31 mLabel = label;
27 PermissionGroup(String name, String declaringPackage, CharSequence label, Drawable icon) argument

Completed in 985 milliseconds

12345