Searched refs:label (Results 76 - 100 of 313) sorted by relevance

1234567891011>>

/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DUserManagerCompatVL.java114 public CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user) { argument
116 return label;
118 return mPm.getUserBadgedLabel(label, user);
H A DUserManagerCompat.java58 public abstract CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user); argument
/packages/apps/Settings/src/com/android/settings/
H A DActivityPicker.java157 String label = labels.get(i);
171 items.add(new PickAdapter.Item(this, label, icon));
220 CharSequence label; field in class:ActivityPicker.PickAdapter.Item
227 * Create a list item from given label and icon.
229 Item(Context context, CharSequence label, Drawable icon) { argument
230 this.label = label;
239 label = resolveInfo.loadLabel(pm);
240 if (label == null && resolveInfo.activityInfo != null) {
241 label
[all...]
H A DAllowBindAppWidgetActivity.java95 CharSequence label = "";
111 label = pm.getApplicationLabel(ai);
123 ap.mMessage = getString(R.string.allow_bind_app_widget_activity_allow_bind, label);
132 mAlwaysUse.setText(getString(R.string.allow_bind_app_widget_activity_always_allow_bind, label));
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DAppPreference.java46 // Fetch icon and VPN label
47 String label = packageName;
59 label = VpnConfig.getVpnLabel(userContext, mPackageName).toString();
62 // Use default app label and icon as fallback
70 mName = label;
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
H A DAppPrefLoaderTest.java83 final String label = "Label1";
85 when(info.loadLabel(mPackageManager)).thenReturn(label);
88 assertThat(preference.getTitle()).isEqualTo(label);
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
H A DThirdPartyWallpaperInfo.java49 TextView label = (TextView) mView.findViewById(R.id.wallpaper_item_label);
50 label.setText(mResolveInfo.loadLabel(context.getPackageManager()));
53 label.setCompoundDrawables(null, icon, null, null);
H A DWallpaperTileInfo.java32 public void onIndexUpdated(CharSequence label) { argument
34 mView.setContentDescription(label);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java325 final String label; field in class:BatteryHistoryChart.TimeLabel
332 label = DateFormat.format(bestFormat, cal).toString();
333 width = (int)paint.measureText(label);
339 final String label; field in class:BatteryHistoryChart.DateLabel
346 label = DateFormat.format(bestFormat, cal).toString();
347 width = (int)paint.measureText(label);
1094 // show an axis label giving the entire duration.
1172 TimeLabel label = mTimeLabels.get(i);
1174 int x = label.x - label
[all...]
/packages/apps/Dialer/java/com/android/dialer/logging/
H A DLoggingBindings.java76 void sendHitEventAnalytics(String category, String action, String label, long value); argument
H A DLoggingBindingsStub.java50 public void sendHitEventAnalytics(String category, String action, String label, long value) {} argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutInfo.java215 CharSequence label = shortcutInfo.getLongLabel();
216 if (TextUtils.isEmpty(label)) {
217 label = shortcutInfo.getShortLabel();
220 .getBadgedLabelForUser(label, user);
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationAccessSettings.java128 public FriendlyWarningDialogFragment setServiceInfo(ComponentName cn, String label, argument
132 args.putString(KEY_LABEL, label);
146 final String label = args.getString(KEY_LABEL);
152 R.string.notification_listener_disable_warning_summary, label);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DAppInfo.java48 return mEntry.label;
/packages/services/Telephony/src/com/android/phone/settings/
H A DVoicemailProviderListPreference.java135 CharSequence label = ri.loadLabel(pm);
136 if (TextUtils.isEmpty(label)) {
139 String nameForDisplay = (label != null) ? label.toString() : "";
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
H A DBackupSettingsHelperTest.java225 String label = "test_label";
227 when(mBackupManager.getDataManagementLabel(anyString())).thenReturn(label);
231 assertThat(backupLabel).isEqualTo(label);
272 String label = "test_label";
274 when(mBackupManager.getDataManagementLabel(anyString())).thenReturn(label);
278 assertThat(backupLabel).isEqualTo(label);
283 String label = "";
285 when(mBackupManager.getDataManagementLabel(anyString())).thenReturn(label);
353 String label = "test_label";
358 when(spiedResources.getString(MANUFACTURER_LABEL_RESOURCE)).thenReturn(label);
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
H A DSettingsWithHeader.java54 public void setHeader(Drawable icon, CharSequence label, Intent infoIntent) { argument
56 mLabel = 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/Settings/src/com/android/settings/display/
H A DColorModePreferenceFragment.java97 ColorModeCandidateInfo(CharSequence label, String key) { argument
99 mLabel = label;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapCallLogComposer.java159 String label = mCursor.getString(CALLER_NUMBERLABEL_COLUMN_INDEX);
160 if (TextUtils.isEmpty(label)) {
161 label = Integer.toString(type);
163 builder.appendTelLine(type, label, number, false);
187 String label = Integer.toString(phonetype);
188 builder.appendTelLine(phonetype, label, phoneNumber, false);
/packages/apps/Settings/src/com/android/settings/datausage/
H A DCycleAdapter.java157 public CharSequence label; field in class:CycleAdapter.CycleItem
161 public CycleItem(CharSequence label) { argument
162 this.label = label;
166 this.label = Utils.formatDateRange(context, start, end);
173 return label.toString();
/packages/apps/Settings/src/com/android/settings/development/
H A DAppPicker.java89 CharSequence label; field in class:AppPicker.MyApplicationInfo
142 info.label = info.info.loadLabel(getPackageManager()).toString();
147 info.label = context.getText(R.string.no_application);
159 holder.appName.setText(info.label);
176 return collator.compare(a.label, b.label);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DExpectedKeyboardBuilder.java145 * Set the "more keys" of the key that has the specified label.
146 * @param label the label of the key to set the "more keys".
151 public ExpectedKeyboardBuilder setMoreKeysOf(final String label, final Object ... moreKeys) { argument
152 setMoreKeysOf(ExpectedKeyVisual.newInstance(label), joinKeys(moreKeys));
182 * Set the "additional more keys position" of the key that has the specified label.
183 * @param label the label of the key to set the "additional more keys".
188 public ExpectedKeyboardBuilder setAdditionalMoreKeysPositionOf(final String label, argument
195 final ExpectedKeyVisual visual = ExpectedKeyVisual.newInstance(label);
269 replaceKeyOfLabel(final String label, final Object ... newKeys) argument
[all...]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id));
55 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
91 CREATE TRIGGER contact_methods_INSERT_typeAndLabel AFTER INSERT ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type or label must be set'); END;
92 CREATE TRIGGER contact_methods_UPDATE_typeAndLabel AFTER UPDATE ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type or label must be set'); END;
104 CREATE TRIGGER organizations_INSERT_typeAndLabel AFTER INSERT ON organizations WHEN (NEW.type != 0 AND NEW.label I
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleDayPickerFragment.java315 * label text. Override this to set up a custom header.
318 TextView label = (TextView) mDayNamesHeader.findViewById(R.id.wk_label);
320 label.setVisibility(View.VISIBLE);
322 label.setVisibility(View.GONE);
326 label = (TextView) mDayNamesHeader.getChildAt(i);
329 label.setText(mDayLabels[position]);
330 label.setVisibility(View.VISIBLE);
332 label.setTextColor(mSaturdayColor);
334 label.setTextColor(mSundayColor);
336 label
[all...]

Completed in 4330 milliseconds

1234567891011>>