Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java26 import android.support.annotation.StringRes;
88 void setActionBarUpIndicator(Drawable upDrawable, @StringRes int contentDescRes); in setActionBarUpIndicator()
95 void setActionBarDescription(@StringRes int contentDescRes); in setActionBarDescription()
148 @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
149 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
179 Toolbar toolbar, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
180 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
192 @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
193 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
623 public void setActionBarUpIndicator(Drawable upDrawable, @StringRes int contentDescRes) { in setActionBarUpIndicator()
[all …]
DActionBar.java27 import android.support.annotation.StringRes;
390 public abstract void setTitle(@StringRes int resId); in setTitle()
930 public void setHomeActionContentDescription(@StringRes int resId) {} in setHomeActionContentDescription()
/frameworks/base/core/java/android/view/
DMenu.java19 import android.annotation.StringRes;
152 public MenuItem add(@StringRes int titleRes); in add()
186 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add()
206 SubMenu addSubMenu(@StringRes final int titleRes); in addSubMenu()
243 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu()
DActionMode.java20 import android.annotation.StringRes;
105 public abstract void setTitle(@StringRes int resId); in setTitle()
127 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()
DMenuItem.java21 import android.annotation.StringRes;
171 public MenuItem setTitle(@StringRes int title); in setTitle()
/frameworks/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java30 import android.support.annotation.StringRes;
95 void setActionBarUpIndicator(Drawable upDrawable, @StringRes int contentDescRes); in setActionBarUpIndicator()
102 void setActionBarDescription(@StringRes int contentDescRes); in setActionBarDescription()
227 @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
228 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
260 @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle()
261 @StringRes int closeDrawerContentDescRes) { in ActionBarDrawerToggle()
DFragmentTransaction.java23 import android.support.annotation.StringRes;
256 public abstract FragmentTransaction setBreadCrumbTitle(@StringRes int res); in setBreadCrumbTitle()
271 public abstract FragmentTransaction setBreadCrumbShortTitle(@StringRes int res); in setBreadCrumbShortTitle()
DFragment.java30 import android.support.annotation.StringRes;
650 public final CharSequence getText(@StringRes int resId) { in getText()
660 public final String getString(@StringRes int resId) { in getString()
673 public final String getString(@StringRes int resId, Object... formatArgs) { in getString()
/frameworks/base/core/java/android/app/
DActionBar.java24 import android.annotation.StringRes;
400 public abstract void setTitle(@StringRes int resId); in setTitle()
423 public abstract void setSubtitle(@StringRes int resId); in setSubtitle()
934 public void setHomeActionContentDescription(@StringRes int resId) { } in setHomeActionContentDescription()
1180 public abstract Tab setText(@StringRes int resId); in setText()
1243 public abstract Tab setContentDescription(@StringRes int resId); in setContentDescription()
DAlertDialog.java24 import android.annotation.StringRes;
503 public Builder setTitle(@StringRes int titleId) { in setTitle()
544 public Builder setMessage(@StringRes int messageId) { in setMessage()
609 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton()
635 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton()
661 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton()
DSearchableInfo.java22 import android.annotation.StringRes;
686 @StringRes
697 @StringRes
708 @StringRes
/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()
DDialogPreference.java22 import android.annotation.StringRes;
200 public void setPositiveButtonText(@StringRes int positiveButtonTextResId) { in setPositiveButtonText()
228 public void setNegativeButtonText(@StringRes int negativeButtonTextResId) { in setNegativeButtonText()
DPreferenceActivity.java20 import android.annotation.StringRes;
343 @StringRes
356 @StringRes
369 @StringRes
382 @StringRes
1096 @StringRes int titleRes, int shortTitleRes) { in onBuildStartFragmentIntent()
1134 Fragment resultTo, int resultRequestCode, @StringRes int titleRes, in startWithFragment()
1135 @StringRes int shortTitleRes) { in startWithFragment()
1356 public void startPreferencePanel(String fragmentClass, Bundle args, @StringRes int titleRes, in startPreferencePanel()
DPreference.java24 import android.annotation.StringRes;
659 public void setTitle(@StringRes int titleResId) { in setTitle()
671 @StringRes
753 public void setSummary(@StringRes int summaryResId) { in setSummary()
/frameworks/base/core/java/android/annotation/
DStringRes.java36 public @interface StringRes { annotation
/frameworks/support/annotations/src/android/support/annotation/
DStringRes.java35 public @interface StringRes { annotation
/frameworks/base/core/java/android/widget/
DToast.java20 import android.annotation.StringRes;
284 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText()
293 public void setText(@StringRes int resId) { in setText()
DActivityChooserView.java21 import android.annotation.StringRes;
338 public void setExpandActivityOverflowButtonContentDescription(@StringRes int resourceId) { in setExpandActivityOverflowButtonContentDescription()
518 public void setDefaultActionButtonContentDescription(@StringRes int resourceId) { in setDefaultActionButtonContentDescription()
/frameworks/support/design/src/android/support/design/widget/
DSnackbar.java29 import android.support.annotation.StringRes;
230 public static Snackbar make(@NonNull View view, @StringRes int resId, @Duration int duration) { in make()
269 public Snackbar setAction(@StringRes int resId, View.OnClickListener listener) { in setAction()
341 public Snackbar setText(@StringRes int resId) { in setText()
/frameworks/base/docs/html/tools/debugging/
Dannotations.jd57 <dt>{@link android.support.annotation.StringRes @StringRes}</dt>
166 <p>For example, add {@link android.support.annotation.StringRes @StringRes} annotations to check
172 <p>This example attaches the {@link android.support.annotation.StringRes @StringRes}
176 import android.support.annotation.StringRes;
178 public abstract void setTitle(&#64;StringRes int resId);
/frameworks/base/core/java/android/content/
DContext.java25 import android.annotation.StringRes;
395 public final CharSequence getText(@StringRes int resId) { in getText()
408 public final String getString(@StringRes int resId) { in getString()
424 public final String getString(@StringRes int resId, Object... formatArgs) { in getString()

12