/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerService.java | 793 private static final String ATTR_LABEL = "label"; 968 // resource id and fallback to the label. 1131 String label = parser.getAttributeValue(null, ATTR_LABEL); 1132 printJob.setLabel(label); 1223 label = parser.getAttributeValue(null, ATTR_LABEL); 1232 label = parser.getAttributeValue(null, ATTR_LABEL); 1233 MediaSize mediaSize = new MediaSize(id, label, packageName, 1245 label = parser.getAttributeValue(null, ATTR_LABEL); 1250 Resolution resolution = new Resolution(id, label, horizontalDpi, verticalDpi);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintActivity.java | 1967 mediaSizeText = mediaItem.label; 2153 final CharSequence label; field in class:PrintActivity.SpinnerItem 2155 public SpinnerItem(T value, CharSequence label) { argument 2157 this.label = label; 2162 return label.toString();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | MediaSizeUtils.java | 98 /** Mapping from media size to label */ 124 * Get the label for a {@link MediaSize}. 126 * @param context The context the label should be loaded for 129 * @return The label for the media size 132 String label = mMediaSizeToLabel.get(mediaSize); 134 if (label == null) { 135 label = mediaSize.getLabel(context.getPackageManager()); 136 mMediaSizeToLabel.put(mediaSize, label); 139 return label; 160 // Same standard - sort alphabetically by label [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
H A D | AuthenticatorHelper.java | 123 * Gets the label associated with a particular account type. If none found, return null. 125 * @return a CharSequence for the label or null if one cannot be found. 128 CharSequence label = null; 134 label = authContext.getResources().getText(desc.labelId); 136 Log.w(TAG, "No label name for account type " + accountType); 138 Log.w(TAG, "No label icon for account type " + accountType); 141 return label; 158 * Gets the resource id of the label associated with a particular account type. If none found, 161 * @return a resource id for the label or -1 if none found;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 701 // Only need the label if we are going to be sorting. 1095 if (DEBUG) Log.i(TAG, "Set size of " + entry.label + " " + entry 1167 // AppInfo with new label, icon and size information as appropriate 1224 public String label; field in class:ApplicationsState.AppEntry 1246 normalizedLabel = normalize(label); 1274 if (this.label == null || !this.mounted) { 1277 this.label = info.packageName; 1280 CharSequence label = info.loadLabel(context.getPackageManager()); 1281 this.label = label ! [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeEnablerManager.java | 129 final CharSequence label = imi.loadLabel(pm); 131 keyboardSettingsCategory.setTitle(label);
|
H A D | InputMethodPreference.java | 240 final CharSequence label = mImi.getServiceInfo().applicationInfo.loadLabel( 242 builder.setMessage(context.getString(R.string.ime_security_warning, label));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
H A D | RecentLocationApps.java | 156 // If badged label is not different from original then no need for it as 174 public final CharSequence label; field in class:RecentLocationApps.Request 179 CharSequence label, boolean isHighBattery, CharSequence contentDescription) { 183 this.label = label; 178 Request(String packageName, UserHandle userHandle, Drawable icon, CharSequence label, boolean isHighBattery, CharSequence contentDescription) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | UidDetail.java | 22 public CharSequence label; field in class:UidDetail
|
H A D | UidDetailProvider.java | 76 * Resolve best descriptive label for the given UID. 109 detail.label = pm.getNameForUid(uid); 115 detail.label = res.getString(R.string.process_kernel_label); 119 detail.label = res.getString(UserManager.supportsMultipleUsers() 127 detail.label = res.getString(Utils.getTetheringLabel(cm)); 139 detail.label = Utils.getUserLabel(mContext, info); 156 detail.label = info.loadLabel(pm).toString(); 174 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel, 181 detail.contentDescription = um.getBadgedLabelForUser(detail.label, userHandle); 188 if (TextUtils.isEmpty(detail.label)) { [all...] |
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 110 public CharSequence label; field in class:QSTile.State 124 || !Objects.equals(other.label, label) 137 other.label = label; 158 sb.append(",label=").append(label);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServicesDialog.java | 201 TextView label = view.findViewById(R.id.app_name); 202 label.setText(getItem(position).loadLabel(mPm));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsDialog.java | 1332 CharSequence label = 1334 if (label != null) { 1335 event.getText().add(label);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaProjectionPermissionActivity.java | 99 String label = aInfo.loadLabel(packageManager).toString(); 101 // If the label contains new line characters it may push the security 105 final int labelLength = label.length(); 108 final int codePoint = label.codePointAt(offset); 113 label = label.substring(0, offset) + ELLIPSIS; 119 if (label.isEmpty()) { 120 label = mPackageName; 123 String unsanitizedAppName = TextUtils.ellipsize(label,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
H A D | PluginInstanceManager.java | 331 String label = cls; 333 label = mPm.getServiceInfo(component, 0).loadLabel(mPm).toString(); 338 nb.setContentTitle("Plugin \"" + label + "\" is too old") 343 nb.setContentTitle("Plugin \"" + label + "\" is too new")
|
H A D | PluginManagerImpl.java | 222 String label = pkg; 225 label = pm.getApplicationInfo(pkg, 0).loadLabel(pm).toString(); 237 .setContentTitle("Plugin \"" + label + "\" has updated")
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | CustomizeTileView.java | 47 public void setAppLabel(CharSequence label) { argument 48 if (!Objects.equal(label, mAppLabel.getText())) { 49 mAppLabel.setText(label);
|
H A D | TileAdapter.java | 262 R.string.accessibility_qs_edit_add_tile_label, info.state.label); 268 R.string.accessibility_qs_edit_tile_label, position + 1, info.state.label); 317 mContext.getString(R.string.accessibility_qs_edit_move_tile, info.state.label), 318 mContext.getString(R.string.accessibility_qs_edit_remove_tile, info.state.label), 356 CharSequence fromLabel = mTiles.get(from).state.label; 388 // The first null is the edit tiles label, the second null is the tile divider.
|
H A D | TileQueryHelper.java | 95 // Ignore the current state and get the generic label instead. 96 state.label = tile.getTileLabel(); 146 CharSequence label = info.serviceInfo.loadLabel(pm); 147 addTile(spec, icon, label != null ? label.toString() : "null", appLabel, mContext); 178 private void addTile(String spec, Drawable drawable, CharSequence label, CharSequence appLabel, argument 181 state.label = label; 182 state.contentDescription = label;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | CustomTile.java | 112 // Update the label if there is no label. 290 return getState().label; 317 state.label = mTile.getLabel(); 321 state.contentDescription = state.label;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileBaseView.java | 194 String label = getResources() 196 event.setContentDescription(label); 209 String label = getResources() 211 info.setText(label);
|
H A D | QSTileView.java | 96 if (!Objects.equal(mLabel.getText(), state.label) || mState != state.state) { 99 state.label = new SpannableStringBuilder().append(state.label, 104 mLabel.setText(state.label);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | AirplaneModeTile.java | 88 state.label = mContext.getString(R.string.airplane_mode); 95 state.contentDescription = state.label;
|
H A D | BatterySaverTile.java | 88 state.label = mContext.getString(R.string.battery_detail_switch_title); 89 state.contentDescription = state.label;
|
H A D | BluetoothTile.java | 129 state.label = null; 132 state.label = mController.getLastDeviceName(); 143 R.string.accessibility_bluetooth_name, state.label); 148 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 155 if (TextUtils.isEmpty(state.label)) { 156 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 161 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
|