/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
H A D | UserManagerCompatVL.java | 114 public CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user) { argument 116 return label; 118 return mPm.getUserBadgedLabel(label, user);
|
H A D | UserManagerCompat.java | 58 public abstract CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user); argument
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ActivityPicker.java | 157 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 D | AllowBindAppWidgetActivity.java | 95 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 D | AppPreference.java | 46 // 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 D | AppPrefLoaderTest.java | 83 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 D | ThirdPartyWallpaperInfo.java | 49 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 D | WallpaperTileInfo.java | 32 public void onIndexUpdated(CharSequence label) { argument 34 mView.setContentDescription(label);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryHistoryChart.java | 325 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 D | LoggingBindings.java | 76 void sendHitEventAnalytics(String category, String action, String label, long value); argument
|
H A D | LoggingBindingsStub.java | 50 public void sendHitEventAnalytics(String category, String action, String label, long value) {} argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ShortcutInfo.java | 215 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 D | NotificationAccessSettings.java | 128 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 D | AppInfo.java | 48 return mEntry.label;
|
/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | VoicemailProviderListPreference.java | 135 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 D | BackupSettingsHelperTest.java | 225 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 D | SettingsWithHeader.java | 54 public void setHeader(Drawable icon, CharSequence label, Intent infoIntent) { argument 56 mLabel = label;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
H A D | LocationUtils.java | 39 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 D | ColorModePreferenceFragment.java | 97 ColorModeCandidateInfo(CharSequence label, String key) { argument 99 mLabel = label;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapCallLogComposer.java | 159 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 D | CycleAdapter.java | 157 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 D | AppPicker.java | 89 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 D | ExpectedKeyboardBuilder.java | 145 * 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 D | legacy_contacts.sql | 11 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 D | SimpleDayPickerFragment.java | 315 * 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...] |