Home
last modified time | relevance | path

Searched refs:labelResId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java44 public int add(final TextView text, final int labelResId) { in add() argument
62 mTextLabels.put(text, labelResId); in add()
75 private void setTextLabelH(TextView text, int labelResId) { in setTextLabelH() argument
77 if (labelResId >= 0) { in setTextLabelH()
78 Util.setText(text, mContext.getString(labelResId)); in setTextLabelH()
DSegmentedButtons.java81 public void addButton(int labelResId, int contentDescriptionResId, Object value) { in addButton() argument
83 b.setTag(LABEL_RES_KEY, labelResId); in addButton()
84 b.setText(labelResId); in addButton()
100 mConfigurableTexts.add(b, labelResId); in addButton()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java186 public AccessibilityButtonTarget(Context context, @NonNull String id, int labelResId, in AccessibilityButtonTarget() argument
189 this.mLabel = context.getText(labelResId); in AccessibilityButtonTarget()
/frameworks/base/core/java/android/print/
DPrintAttributes.java821 public MediaSize(String id, String packageName, int labelResId, in MediaSize() argument
823 this(id, null, packageName, widthMils, heightMils, labelResId); in MediaSize()
882 int labelResId) { in MediaSize() argument
885 mLabelResId = labelResId; in MediaSize()
894 (!TextUtils.isEmpty(packageName) && labelResId != 0), "label cannot be empty."); in MediaSize()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java265 CharSequence label, int labelResId, Icon icon, Icon iconStandby, Icon iconDisconnected, in TvInputInfo() argument
275 mLabelResId = labelResId; in TvInputInfo()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java1273 final int labelResId = (labelResIdString != null) in parsePrintJobLocked() local
1277 widthMils, heightMils, labelResId); in parsePrintJobLocked()