Home
last modified time | relevance | path

Searched refs:StringRes (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/core/java/android/view/
DMenu.java19 import android.annotation.StringRes;
159 public MenuItem add(@StringRes int titleRes); in add()
193 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add()
213 SubMenu addSubMenu(@StringRes final int titleRes); in addSubMenu()
250 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu()
DActionMode.java20 import android.annotation.StringRes;
106 public abstract void setTitle(@StringRes int resId); in setTitle()
128 public abstract void setSubtitle(@StringRes int resId); in setSubtitle()
DContextMenu.java20 import android.annotation.StringRes;
49 public ContextMenu setHeaderTitle(@StringRes int titleRes); in setHeaderTitle()
DSubMenu.java20 import android.annotation.StringRes;
43 public SubMenu setHeaderTitle(@StringRes int titleRes); in setHeaderTitle()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DActionBarDrawerToggle.java31 import androidx.annotation.StringRes;
90 void setActionBarUpIndicator(Drawable upDrawable, @StringRes int contentDescRes); in setActionBarUpIndicator()
97 void setActionBarDescription(@StringRes int contentDescRes); in setActionBarDescription()
151 @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
152 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
182 Toolbar toolbar, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
183 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
194 DrawerArrowDrawable slider, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
195 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
598 public void setActionBarUpIndicator(Drawable upDrawable, @StringRes int contentDescRes) { in setActionBarUpIndicator()
[all …]
DAlertDialog.java43 import androidx.annotation.StringRes;
366 public Builder setTitle(@StringRes int titleId) { in setTitle()
407 public Builder setMessage(@StringRes int messageId) { in setMessage()
472 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton()
508 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton()
544 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton()
DActionBar.java38 import androidx.annotation.StringRes;
401 public abstract void setTitle(@StringRes int resId); in setTitle()
950 public void setHomeActionContentDescription(@StringRes int resId) {} in setHomeActionContentDescription()
1297 public abstract Tab setContentDescription(@StringRes int resId); in setContentDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DEmptyShadeView.java20 import android.annotation.StringRes;
34 private @StringRes int mText = R.string.empty_shade_text;
60 public void setText(@StringRes int text) { in setText()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DMDNSFilterPlugin.java23 import androidx.annotation.StringRes;
68 private final @StringRes int mName;
105 public @StringRes int getName() { in getName()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
DPrintServicePlugin.java21 import androidx.annotation.StringRes;
54 @StringRes int getName(); in getName()
DRemotePrintServicePlugin.java21 import androidx.annotation.StringRes;
37 public final @StringRes int name;
/frameworks/support/legacy/core-ui/src/main/java/androidx/legacy/app/
DActionBarDrawerToggle.java39 import androidx.annotation.StringRes;
108 void setActionBarUpIndicator(Drawable upDrawable, @StringRes int contentDescRes); in setActionBarUpIndicator()
115 void setActionBarDescription(@StringRes int contentDescRes); in setActionBarDescription()
165 @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
166 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
198 @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
199 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
/frameworks/support/core/ktx/src/main/java/androidx/core/widget/
DToast.kt23 import androidx.annotation.StringRes
40 inline fun Context.toast(@StringRes resId: Int, duration: Int = Toast.LENGTH_SHORT): Toast { in toast()
/frameworks/base/core/java/android/app/
DFragmentTransaction.java7 import android.annotation.StringRes;
266 public abstract FragmentTransaction setBreadCrumbTitle(@StringRes int res); in setBreadCrumbTitle()
281 public abstract FragmentTransaction setBreadCrumbShortTitle(@StringRes int res); in setBreadCrumbShortTitle()
DActionBar.java24 import android.annotation.StringRes;
411 public abstract void setTitle(@StringRes int resId); in setTitle()
434 public abstract void setSubtitle(@StringRes int resId); in setSubtitle()
959 public void setHomeActionContentDescription(@StringRes int resId) { } in setHomeActionContentDescription()
1216 public abstract Tab setText(@StringRes int resId); in setText()
1279 public abstract Tab setContentDescription(@StringRes int resId); in setContentDescription()
DAlertDialog.java22 import android.annotation.StringRes;
516 public Builder setTitle(@StringRes int titleId) { in setTitle()
557 public Builder setMessage(@StringRes int messageId) { in setMessage()
622 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton()
648 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton()
674 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysUIToast.java18 import android.annotation.StringRes;
26 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText()
/frameworks/base/core/java/android/preference/
DSwitchPreference.java19 import android.annotation.StringRes;
173 public void setSwitchTextOn(@StringRes int resId) { in setSwitchTextOn()
183 public void setSwitchTextOff(@StringRes int resId) { in setSwitchTextOff()
DTwoStatePreference.java19 import android.annotation.StringRes;
120 public void setSummaryOn(@StringRes int summaryResId) { in setSummaryOn()
148 public void setSummaryOff(@StringRes int summaryResId) { in setSummaryOff()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentTransaction.java31 import androidx.annotation.StringRes;
319 public abstract FragmentTransaction setBreadCrumbTitle(@StringRes int res); in setBreadCrumbTitle()
336 public abstract FragmentTransaction setBreadCrumbShortTitle(@StringRes int res); in setBreadCrumbShortTitle()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java32 import android.support.annotation.StringRes;
74 public static String getString(Context context, @StringRes int id) { in getString()
92 public static CharSequence getText(Context context, @StringRes int id) { in getText()
/frameworks/base/core/java/android/content/pm/
DPermissionGroupInfo.java19 import android.annotation.StringRes;
45 public @StringRes int requestRes;
/frameworks/support/car/src/main/java/androidx/car/app/
DCarAlertDialog.java35 import androidx.annotation.StringRes;
390 public Builder setTitle(@StringRes int titleId) { in setTitle()
412 public Builder setBody(@StringRes int bodyId) { in setBody()
441 public Builder setPositiveButton(@StringRes int textId, in setPositiveButton()
479 public Builder setNegativeButton(@StringRes int textId, in setNegativeButton()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGuidedAction.java23 import androidx.annotation.StringRes;
241 public B title(@StringRes int titleResourceId) { in title()
262 public B editTitle(@StringRes int editTitleResourceId) { in editTitle()
282 public B description(@StringRes int descriptionResourceId) { in description()
303 public B editDescription(@StringRes int descriptionResourceId) { in editDescription()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DRequireScrollMixin.java23 import android.support.annotation.StringRes;
169 @StringRes int moreText,

123