/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | SplitConfigurationOptions.java | 78 public final int textResId; field in SplitConfigurationOptions.SplitPositionOption 85 public SplitPositionOption(int iconResId, int textResId, int stagePosition, int stageType) { in SplitPositionOption() argument 87 this.textResId = textResId; in SplitPositionOption()
|
/aosp12/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
H A D | ActionButtonsPreference.java | 241 public ActionButtonsPreference setButton1Text(@StringRes int textResId) { in setButton1Text() argument 242 final String newText = getContext().getString(textResId); in setButton1Text() 306 public ActionButtonsPreference setButton2Text(@StringRes int textResId) { in setButton2Text() argument 307 final String newText = getContext().getString(textResId); in setButton2Text() 371 public ActionButtonsPreference setButton3Text(@StringRes int textResId) { in setButton3Text() argument 372 final String newText = getContext().getString(textResId); in setButton3Text() 436 public ActionButtonsPreference setButton4Text(@StringRes int textResId) { in setButton4Text() argument 437 final String newText = getContext().getString(textResId); in setButton4Text()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
H A D | TaskbarEduView.java | 141 void updateStartButton(int textResId, OnClickListener onClickListener) { in updateStartButton() argument 142 mStartButton.setText(textResId); in updateStartButton() 146 void updateEndButton(int textResId, OnClickListener onClickListener) { in updateEndButton() argument 147 mEndButton.setText(textResId); in updateEndButton()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/widget/ |
H A D | TextViewPreference.java | 139 public void setTitle(int textResId) { in setTitle() argument 140 textResourceId = textResId; in setTitle() 141 setTitle(getContext().getString(textResId)); in setTitle()
|
/aosp12/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | TextViewPreference.java | 143 public void setTitle(int textResId) { in setTitle() argument 144 mTextResourceId = textResId; in setTitle() 145 setTitle(Html.fromHtml(getContext().getString(textResId), Html.FROM_HTML_MODE_COMPACT)); in setTitle()
|
/aosp12/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/ |
H A D | BannerMessagePreference.java | 270 public BannerMessagePreference setPositiveButtonText(@StringRes int textResId) { in setPositiveButtonText() argument 271 return setPositiveButtonText(getContext().getString(textResId)); in setPositiveButtonText() 288 public BannerMessagePreference setNegativeButtonText(@StringRes int textResId) { in setNegativeButtonText() argument 289 return setNegativeButtonText(getContext().getString(textResId)); in setNegativeButtonText() 307 public BannerMessagePreference setSubtitle(@StringRes int textResId) { in setSubtitle() argument 308 return setSubtitle(getContext().getString(textResId)); in setSubtitle()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MigrationTooltipView.java | 48 final int textResId = R.string.accessibility_floating_button_migration_tooltip; in MigrationTooltipView() local 49 setDescription(AnnotationLinkSpan.linkify(getContext().getText(textResId), linkInfo)); in MigrationTooltipView()
|
/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
H A D | SuwUiFragment.java | 72 int textResId = arguments.getInt(TEXT_RES_ID_KEY, 0); in onCreateView() local 89 if (textResId != 0) { in onCreateView() 91 text.setText(textResId); in onCreateView()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipMenuActionButton.java | 75 final int textResId = typedArray.getResourceId(1, 0); in TvPipMenuActionButton() local 76 if (textResId != 0) { in TvPipMenuActionButton() 77 setTextAndDescription(getContext().getString(textResId)); in TvPipMenuActionButton()
|
/aosp12/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
H A D | SidePanelHelper.java | 41 public BySelector byViewText(int textResId) { in byViewText() argument 42 return By.hasDescendant(ByResource.text(mTargetResources, textResId)); in byViewText()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/ |
H A D | InputTestFragment.java | 298 private Button createButton(@StringRes int textResId, int keyCode) { in createButton() argument 299 return createButton(textResId, keyCode, VehicleDisplay.MAIN); in createButton() 302 private Button createButton(@StringRes int textResId, int keyCode, int targetDisplay) { in createButton() argument 304 button.setText(getContext().getString(textResId)); in createButton()
|
/aosp12/packages/apps/Settings/src/com/android/settings/display/ |
H A D | AppGridView.java | 77 public AppsAdapter(Context context, int layout, int textResId, int iconResId) { in AppsAdapter() argument 78 super(context, layout, textResId); in AppsAdapter()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | ActionButtonInfo.java | 76 public ActionButtonInfo setText(@StringRes int textResId) { in setText() argument 77 final String newText = mContext.getString(textResId); in setText()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
H A D | HeaderHolder.kt | 27 @param:StringRes val textResId: Int
|
H A D | HeaderViewHolder.kt | 33 mItemHeader.setText(itemHolder.textResId)
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutParser.java | 383 final int textResId = sa.getResourceId(R.styleable.Shortcut_shortcutLongLabel, 0); in parseShortcutAttributes() local 408 textResId, in parseShortcutAttributes() 421 int titleResId, int textResId, int disabledMessageResId, in createShortcutFromManifest() argument 444 textResId, in createShortcutFromManifest()
|
H A D | ShortcutPackage.java | 1995 int textResId; in parseShortcut() local 2027 textResId = ShortcutService.parseIntAttribute(parser, ATTR_TEXT_RES_ID); in parseShortcut() 2113 title, titleResId, titleResName, text, textResId, textResName, in parseShortcut()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardIndicationTextView.java | 83 public void switchIndication(int textResId) { in switchIndication() argument 84 switchIndication(getResources().getText(textResId), null); in switchIndication()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/drawer/ |
H A D | DrawerAdapter.java | 368 public BaseDrawerItem(int adapterViewType, int viewId, int textResId, int iconResId) { in BaseDrawerItem() argument 371 text = textResId; in BaseDrawerItem()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
H A D | IngestActivity.java | 271 private void showWarningView(int textResId) { in showWarningView() argument 277 mWarningText.setText(textResId); in showWarningView()
|
/aosp12/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
H A D | RingtonePickerActivity.java | 420 private int addStaticItem(ListView listView, int textResId) { in addStaticItem() argument 423 textView.setText(textResId); in addStaticItem()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | TaskShortcutFactory.java | 126 super(option.iconResId, option.textResId, target, taskView.getItemInfo()); in SplitSelectSystemShortcut()
|
/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | ShortcutInfo.java | 2482 CharSequence text, int textResId, String textResName, in ShortcutInfo() argument 2498 mTextResId = textResId; in ShortcutInfo()
|