Searched refs:label (Results 126 - 150 of 313) sorted by relevance

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DExportDialogFragment.java222 public AdapterEntry(CharSequence label, int resId, int subId) { argument
223 mLabel = label;
228 public AdapterEntry(String label, int resId) { argument
231 this(label, resId, /* subId = */ -1);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DFetchMatchingAlarmsAction.java139 final String label = mIntent.getStringExtra(AlarmClock.EXTRA_MESSAGE);
140 if (label == null) {
146 // there might me multiple alarms with this label
148 if (alarm.label.contains(label)) {
/packages/apps/Settings/src/com/android/settings/
H A DCreateShortcut.java64 item.resolveInfo, item.label));
69 CharSequence label) {
82 .setShortLabel(label)
93 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, label);
68 createResultIntent(Intent shortcutIntent, ResolveInfo resolveInfo, CharSequence label) argument
H A DUsageStatsActivity.java128 String label = appInfo.loadLabel(mPm).toString();
129 mAppLabelMap.put(pkgStats.getPackageName(), label);
193 String label = mAppLabelMap.get(pkgStats.getPackageName());
194 holder.pkgName.setText(label);
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
H A DDefaultPaymentSettingsPreferenceController.java69 preference.setSummary(app.label);
/packages/apps/Settings/src/com/android/settings/nfc/
H A DPaymentBackend.java45 public 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/StorageManager/src/com/android/storagemanager/deletionhelper/
H A DAppDeletionPreference.java37 setTitle(item.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/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java427 if (TextUtils.isEmpty(entry.label)) {
428 entry.label = context.getString(R.string.chat).toLowerCase();
438 (hasData || !TextUtils.isEmpty(entry.label))) {
445 && (!hasData || TextUtils.isEmpty(entry.label));
450 if (TextUtils.isEmpty(entry.label)) {
451 entry.label = entry.data;
558 entry.label = buildActionString(kind, values, false, context);
595 // Choose the label associated with the highest type precedence.
599 label = entry.label;
645 public TextView label; field in class:ContactFragment.ViewCache
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizeTabHost.java119 String label;
120 label = getContext().getString(R.string.all_apps_button_label);
122 tabView.setText(label);
123 tabView.setContentDescription(label);
125 label = getContext().getString(R.string.widgets_tab_label);
127 tabView.setText(label);
128 tabView.setContentDescription(label);
H A DShortcutInfo.java158 public static void dumpShortcutInfoList(String tag, String label, argument
160 Log.d(tag, label + " size=" + list.size());
/packages/apps/Contacts/src/com/android/contacts/
H A DDynamicShortcuts.java290 ShortcutInfo getActionShortcutInfo(String id, String label, Intent action, Icon icon) { argument
291 if (id == null || label == null) {
303 setLabel(builder, label);
316 private void setLabel(ShortcutInfo.Builder builder, String label) { argument
317 if (label.length() < mLongLabelMaxLength) {
318 builder.setLongLabel(label);
320 builder.setLongLabel(label.substring(0, mLongLabelMaxLength - 1).trim() + "…");
323 if (label.length() < mShortLabelMaxLength) {
324 builder.setShortLabel(label);
326 builder.setShortLabel(label
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DTimer.java109 long lastWallClockTime, long remainingTime, String label, boolean deleteAfterUse) {
117 mLabel = label;
296 * @return a copy of this timer with the given {@code label}
298 Timer setLabel(String label) { argument
299 if (TextUtils.equals(mLabel, label)) {
304 mLastStartWallClockTime, mRemainingTime, label, mDeleteAfterUse);
108 Timer(int id, State state, long length, long totalLength, long lastStartTime, long lastWallClockTime, long remainingTime, String label, boolean deleteAfterUse) argument
/packages/apps/Settings/src/com/android/settings/utils/
H A DManagedServiceSettings.java199 public ScaryWarningDialogFragment setServiceInfo(ComponentName cn, String label, argument
203 args.putString(KEY_LABEL, label);
212 final String label = args.getString(KEY_LABEL);
217 final String title = getResources().getString(parent.mConfig.warningDialogTitle, label);
219 label);
/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/TV/src/com/android/tv/ui/
H A DSelectInputView.java110 // TODO: pass english label to tracker http://b/22355024
111 final String label = mSelectedInput.loadLabel(getContext()).toString();
112 mTracker.sendInputSelected(label);
286 CharSequence label = input.loadLabel(getContext());
287 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) {
288 inputLabelView.setText(label);
292 secondaryInputLabelView.setText(label);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java616 private CharSequence adjustCase(CharSequence label) { argument
617 if (mKeyboard.isShifted() && label != null && label.length() < 3
618 && Character.isLowerCase(label.charAt(0))) {
619 label = label.toString().toUpperCase();
621 return label;
722 String label = key.label == null? null : adjustCase(key.label)
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppWidgetProviderInfo.java60 label = widget.getLabel();
101 return Utilities.trim(label);
117 return String.format("WidgetProviderInfo provider:%s package:%s short:%s label:%s",
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcessStatsDetail.java370 CharSequence label = getLabel(service);
373 servicePref.setTitle(label);
383 // Try to get the service label, on the off chance that one exists.
392 String label = service.mName;
393 int tail = label.lastIndexOf('.');
394 if (tail >= 0 && tail < (label.length()-1)) {
395 label = label.substring(tail+1);
397 return label;
/packages/apps/Settings/src/com/android/settings/users/
H A DRestrictedProfileSettings.java164 public void onLabelChanged(CharSequence label) { argument
165 mUserNameView.setText(label);
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
H A DAccountHeaderPreferenceControllerTest.java106 final CharSequence label =
109 assertThat(label).isEqualTo(account.name);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
H A DAccessibilityServiceFragment.java44 private static final String ARG_LABEL = "label";
54 * @param label Screen title
57 String activityName, String label) {
61 args.putString(ARG_LABEL, label);
56 prepareArgs(@onNull Bundle args, String packageName, String serviceName, String activityName, String label) argument
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
H A DLiveWallpaperInfo.java66 TextView label = (TextView) mView.findViewById(R.id.wallpaper_item_label);
67 label.setText(mInfo.loadLabel(context.getPackageManager()));
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
H A DActionTestsBase.java46 static ExpectedActionKey newLabelKey(final String label) { argument
47 return new ExpectedActionKey(ExpectedKeyVisual.newInstance(label));
85 assertEquals(tag + " label " + expectedKey, expectedKey.getLabel(), actualKey.getLabel());

Completed in 1321 milliseconds

1234567891011>>