Home
last modified time | relevance | path

Searched refs:textResId (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/widget/
DTextViewPreference.java139 public void setTitle(int textResId) { in setTitle() argument
140 textResourceId = textResId; in setTitle()
141 setTitle(getContext().getString(textResId)); in setTitle()
/packages/services/Telephony/src/com/android/phone/settings/
DTextViewPreference.java143 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()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DSuwUiFragment.java72 int textResId = arguments.getInt(TEXT_RES_ID_KEY, 0); in onCreateView() local
89 if (textResId != 0) { in onCreateView()
91 text.setText(textResId); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSplitConfigurationOptions.java78 public SplitPositionOption(int iconResId, int textResId, int stagePosition, int stageType) { in SplitPositionOption() argument
80 mTextResId = textResId; in SplitPositionOption()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DInputTestFragment.java298 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()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DSidePanelHelper.java41 public BySelector byViewText(int textResId) { in byViewText() argument
42 return By.hasDescendant(ByResource.text(mTargetResources, textResId)); in byViewText()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonInfo.java75 public ActionButtonInfo setText(@StringRes int textResId) { in setText() argument
76 final String newText = mContext.getString(textResId); in setText()
/packages/apps/Settings/src/com/android/settings/display/
DAppGridView.java77 public AppsAdapter(Context context, int layout, int textResId, int iconResId) { in AppsAdapter() argument
78 super(context, layout, textResId); in AppsAdapter()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DHeaderHolder.kt27 @param:StringRes val textResId: Int constant in com.android.deskclock.ringtone.HeaderHolder
DHeaderViewHolder.kt33 mItemHeader.setText(itemHolder.textResId) in onBindItemView()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java368 public BaseDrawerItem(int adapterViewType, int viewId, int textResId, int iconResId) { in BaseDrawerItem() argument
371 text = textResId; in BaseDrawerItem()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java271 private void showWarningView(int textResId) { in showWarningView() argument
277 mWarningText.setText(textResId); in showWarningView()