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

1234567891011>>

/packages/apps/DeskClock/src/com/android/deskclock/events/
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 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 DLogEventTracker.java34 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
35 if (label == 0) {
39 safeGetString(label));
/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/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/Settings/tests/app/src/com/android/settings/
H A DManagedAccessSettingsLowRamTest.java57 for (String label : managedServiceLabels) {
59 onView(withText(label)).check(doesNotExist());
61 onView(withText(label)).check(matches(isDisplayed()));
72 final String label = "This feature is not available on this device";
74 onView(withText(label)).check(matches(isDisplayed()));
76 onView(withText(label)).check(doesNotExist());
86 final String label = "This feature is not available on this device";
88 onView(withText(label)).check(matches(isDisplayed()));
90 onView(withText(label)).check(doesNotExist());
100 final String label
[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/UnifiedEmail/src/com/android/mail/analytics/
H A DTracker.java29 void sendEvent(String category, String action, String label, long value); argument
30 void sendMenuItemEvent(String category, int itemResId, String label, long value); argument
31 void sendTiming(String category, long millis, String name, String label); argument
H A DAnalyticsTimer.java61 * Logs the duration of the event with the provided category, name, and label.
73 * @param label label for analytics logging
76 String label) {
78 logDurationAndReturn(id, isDestructive, category, name, label);
89 String label) throws IllegalStateException {
95 Analytics.getInstance().sendTiming(category, time, name, label);
75 logDuration(String id, boolean isDestructive, String category, String name, String label) argument
88 logDurationAndReturn(String id, boolean isDestructive, String category, String name, String label) argument
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
H A DBottomRow.java44 @Nullable public final CharSequence label; field in class:BottomRow.Info
54 @Nullable CharSequence label,
62 this.label = label;
76 CharSequence label;
86 label = context.getString(R.string.contact_grid_incoming_suspected_spam);
94 label = context.getString(R.string.incall_hanging_up);
96 label = state.disconnectCause.getLabel();
97 if (TextUtils.isEmpty(label)) {
98 label
53 Info( @ullable CharSequence label, boolean isTimerVisible, boolean isWorkIconVisible, boolean isHdAttemptingIconVisible, boolean isHdIconVisible, boolean isForwardIconVisible, boolean isSpamIconVisible, boolean shouldPopulateAccessibilityEvent) argument
[all...]
H A DTopRow.java49 @Nullable public final CharSequence label; field in class:TopRow.Info
53 public Info(@Nullable CharSequence label, @Nullable Drawable icon, boolean labelIsSingleLine) { argument
54 this.label = label;
63 CharSequence label = null;
76 label = state.callSubject;
79 label = getLabelForIncoming(context, state);
83 label = TextUtils.concat(label, " ", spanDisplayNumber(primaryInfo.number));
88 label
[all...]
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
H A DSecondaryInfo.java29 public final String label; field in class:SecondaryInfo
43 String label,
51 this.label = label;
62 "SecondaryInfo, show: %b, name: %s, label: %s, " + "providerLabel: %s",
65 label,
73 label = in.readString();
103 dest.writeString(label);
39 SecondaryInfo( boolean shouldShow, String name, boolean nameIsNumber, String label, String providerLabel, boolean isConference, boolean isVideoCall, boolean isFullscreen) argument
/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/TvSettings/Settings/src/com/android/tv/settings/accessibility/
H A DAccessibilityServiceConfirmationFragment.java36 private static final String ARG_LABEL = "label";
55 * @param label Human readable label
60 CharSequence label, boolean enabling) {
62 prepareArgs(args, cn, label, enabling);
73 * @param label Human readable label
76 public static void prepareArgs(@NonNull Bundle args, ComponentName cn, CharSequence label, argument
79 args.putCharSequence(ARG_LABEL, label);
86 final CharSequence label
59 newInstance(ComponentName cn, CharSequence label, boolean enabling) argument
[all...]
/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/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/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java66 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { argument
68 ((TextView)snippetView.findViewById(R.id.app_name)).setText(label);
127 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label);
132 @NonNull public CharSequence label; field in class:PackageUtil.AppSnippet
134 public AppSnippet(@NonNull CharSequence label, @Nullable Drawable icon) { argument
135 this.label = label;
141 * Utility method to load application label
154 CharSequence label = null;
155 // Try to load the label fro
[all...]
/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/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchService.java61 final int label = intent.getIntExtra(Events.EXTRA_EVENT_LABEL, R.string.label_intent);
64 Events.sendStopwatchEvent(R.string.action_show, label);
74 Events.sendStopwatchEvent(R.string.action_start, label);
79 Events.sendStopwatchEvent(R.string.action_pause, label);
84 Events.sendStopwatchEvent(R.string.action_reset, label);
89 Events.sendStopwatchEvent(R.string.action_lap, 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}.
H A DLensPickerRow.java42 String label = item.getLabel();
43 if (TextUtils.isEmpty(label)) {
44 label = context.getString(R.string.unknown_provider_name);
46 mTitleView.setText(label);
H A DResolverListRow.java48 String label = item.getLabel();
49 if (TextUtils.isEmpty(label)) {
50 label = context.getString(R.string.unknown_provider_name);
53 mTitleView.setText(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/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/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);

Completed in 615 milliseconds

1234567891011>>