Searched refs:label (Results 151 - 175 of 313) sorted by relevance

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DImportDialogFragment.java296 public AdapterEntry(CharSequence label, int resId, SimCard sim) { argument
297 mLabel = label;
302 public AdapterEntry(String label, int resId) { argument
305 this(label, resId, /* sim= */ null);
/packages/apps/DeskClock/src/com/android/deskclock/events/
H A DShortcutEventTracker.java48 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
H A DPermissionApps.java215 String label = mSkipUi ? app.packageName
228 PermissionApp permApp = new PermissionApp(app.packageName, group, label, icon,
317 String label, Drawable icon, ApplicationInfo info) {
320 mLabel = label;
316 PermissionApp(String packageName, AppPermissionGroup appPermissionGroup, String label, Drawable icon, ApplicationInfo info) argument
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsDetails.java64 // Utility method to set application label and icon.
67 CharSequence label = mPm.getApplicationLabel(pkgInfo.applicationInfo);
69 setupAppSnippet(appSnippet, label, icon,
200 void setupAppSnippet(View appSnippet, CharSequence label, Drawable icon, argument
209 labelView.setText(label);
H A DAppViewHolder.java63 + entry.label + " " + entry + ": " + entry.sizeStr);
/packages/apps/Settings/src/com/android/settings/localepicker/
H A DLocaleDragCell.java29 // We need to keep the label and the checkbox "in sync"
30 // The checkbox shows in remove mode, and the label shows in normal mode, in the same position.
45 mLabel = (TextView) findViewById(R.id.label);
63 // "Opposite" visibility for label / checkbox
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DAppStoragePreference.java68 return mEntry.label;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMoreKeysKeyboard.java322 final String label = spec.mLabel;
323 // If the label is single letter, minKeyWidth is enough to hold the label.
324 if (label != null && StringUtils.codePointCount(label) > 1) {
326 (int)(TypefaceUtils.getStringWidth(label, paint) + padding));
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventViewUtils.java41 // Constructs a label given an arbitrary number of minutes. For example,
145 String label = constructReminderLabel(context, minutes, false);
150 labels.add(i, label);
156 labels.add(len, label);
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/Contacts/src/com/android/contacts/list/
H A DEmailAddressListAdapter.java143 CharSequence label = null;
149 label = Email.getTypeLabel(getContext().getResources(), type, customLabel);
151 view.setLabel(label);
H A DMultiSelectEmailAddressesListAdapter.java176 CharSequence label = null;
182 label = Email.getTypeLabel(getContext().getResources(), type, customLabel);
184 view.setLabel(label);
H A DMultiSelectPhoneNumbersListAdapter.java176 CharSequence label = null;
182 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel);
184 view.setLabel(label);
H A DPostalAddressListAdapter.java134 CharSequence label = null;
140 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel);
142 view.setLabel(label);
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
H A DAccountType.java215 /** @return resource ID for the "invite contact" action label, or -1 if not defined. */
220 /** @return resource ID for the "view group" label, or -1 if not defined. */
241 * Returns an optional custom label for the "invite contact" action, which will be shown on the
250 * Returns a label for the "view group" action. If not defined, this falls back to our own "View
317 * Description of a specific "type" or "label" of a {@link DataKind} row, such as {@link
493 CharSequence label = type.getDisplayLabel(mContext);
494 return (label == null) ? "" : label.toString();
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
H A DSearchContactViewHolder.java83 String label = getLabel(context.getResources(), cursor);
85 TextUtils.isEmpty(label)
88 com.android.contacts.common.R.string.call_subject_type_and_number, label, number);
136 // Returns empty label instead of "custom" if the custom label is empty.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DVendorPolicyLoader.java199 public String label; field in class:VendorPolicyLoader.OAuthProvider
215 public String label; field in class:VendorPolicyLoader.Provider
300 p.label = null;
/packages/apps/Settings/src/com/android/settings/
H A DTrustAgentSettings.java57 CharSequence label; field in class:TrustAgentSettings.AgentInfo
126 preference.setTitle(agent.label);
174 agentInfo.label = resolveInfo.loadLabel(pm);
/packages/apps/Settings/src/com/android/settings/applications/assist/
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/nfc/
H A DNfcPaymentPreference.java88 setSummary(defaultApp.label);
180 holder.imageView.setContentDescription(appInfo.label);
186 holder.radioButton.setContentDescription(appInfo.label);
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java47 row.label = app.loadLabel(pm);
49 Log.e(TAG, "Error loading application label for " + row.pkg, t);
50 row.label = row.pkg;
195 public CharSequence label; field in class:NotificationBackend.AppRow
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
H A DMasterSwitchPreferenceTest.java194 final String label = "TestButton";
195 preference.setTitle(label);
199 assertThat(toggle.getContentDescription()).isEqualTo(label);
/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/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java655 private CharSequence adjustCase(CharSequence label) { argument
656 if (mKeyboard.isShifted() && label != null && label.length() < 3
657 && Character.isLowerCase(label.charAt(0))) {
658 label = label.toString().toUpperCase(mLocale);
660 return label;
787 String label = key.label == null? null : adjustCase(key.label)
885 isPunctuation(String label) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
H A DCollapsedAlarmViewHolder.java58 alarmLabel = (TextView) itemView.findViewById(R.id.label);
111 if (alarm.label != null && alarm.label.length() != 0) {
112 alarmLabel.setText(alarm.label);
115 + " " + alarm.label);

Completed in 1359 milliseconds

1234567891011>>