Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarChartInfo.java23 import androidx.annotation.StringRes;
32 @StringRes
34 @StringRes
36 @StringRes
107 @StringRes
109 @StringRes
111 @StringRes
131 public Builder setTitle(@StringRes int title) { in setTitle()
139 public Builder setDetails(@StringRes int details) { in setDetails()
147 public Builder setEmptyText(@StringRes int emptyText) { in setEmptyText()
/frameworks/base/core/java/android/content/pm/
DPermissionGroupInfo.java24 import android.annotation.StringRes;
44 public @StringRes int descriptionRes;
53 public @StringRes int requestRes;
65 public final @StringRes int requestDetailResourceId;
77 public final @StringRes int backgroundRequestResourceId;
89 public final @StringRes int backgroundRequestDetailResourceId;
126 public PermissionGroupInfo(@StringRes int requestDetailResourceId, in PermissionGroupInfo()
127 @StringRes int backgroundRequestResourceId, in PermissionGroupInfo()
128 @StringRes int backgroundRequestDetailResourceId) { in PermissionGroupInfo()
DSuspendDialogInfo.java24 import android.annotation.StringRes;
90 @StringRes
99 @StringRes
118 @StringRes
308 public Builder setTitle(@StringRes int resId) { in setTitle()
349 public Builder setMessage(@StringRes int resId) { in setMessage()
364 public Builder setNeutralButtonText(@StringRes int resId) { in setNeutralButtonText()
/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;
107 public abstract void setTitle(@StringRes int resId); in setTitle()
129 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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBarChartInfoTest.java23 import androidx.annotation.StringRes;
36 @StringRes
38 @StringRes
40 @StringRes
/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;
38 public final @StringRes int name;
/frameworks/base/core/java/android/app/
DActionBar.java24 import android.annotation.StringRes;
414 public abstract void setTitle(@StringRes int resId); in setTitle()
437 public abstract void setSubtitle(@StringRes int resId); in setSubtitle()
962 public void setHomeActionContentDescription(@StringRes int resId) { } in setHomeActionContentDescription()
1221 public abstract Tab setText(@StringRes int resId); in setText()
1284 public abstract Tab setContentDescription(@StringRes int resId); in setContentDescription()
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()
DAlertDialog.java22 import android.annotation.StringRes;
520 public Builder setTitle(@StringRes int titleId) { in setTitle()
561 public Builder setMessage(@StringRes int messageId) { in setMessage()
626 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton()
652 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton()
678 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysUIToast.java20 import android.annotation.StringRes;
27 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText()
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java29 import androidx.annotation.StringRes;
114 public ActionButtonsPreference setButton1Text(@StringRes int textResId) { in setButton1Text()
179 public ActionButtonsPreference setButton2Text(@StringRes int textResId) { in setButton2Text()
244 public ActionButtonsPreference setButton3Text(@StringRes int textResId) { in setButton3Text()
309 public ActionButtonsPreference setButton4Text(@StringRes int textResId) { in setButton4Text()
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntitiesHeaderController.java30 import androidx.annotation.StringRes;
138 public AppEntitiesHeaderController setHeaderTitleRes(@StringRes int titleRes) { in setHeaderTitleRes()
146 public AppEntitiesHeaderController setHeaderDetailsRes(@StringRes int detailsRes) { in setHeaderDetailsRes()
171 public AppEntitiesHeaderController setHeaderEmptyRes(@StringRes int emptyRes) { in setHeaderEmptyRes()
/frameworks/base/core/java/android/preference/
DSwitchPreference.java19 import android.annotation.StringRes;
182 public void setSwitchTextOn(@StringRes int resId) { in setSwitchTextOn()
192 public void setSwitchTextOff(@StringRes int resId) { in setSwitchTextOff()
DTwoStatePreference.java19 import android.annotation.StringRes;
128 public void setSummaryOn(@StringRes int summaryResId) { in setSummaryOn()
156 public void setSummaryOff(@StringRes int summaryResId) { in setSummaryOff()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java33 import androidx.annotation.StringRes;
73 public static String getString(Context context, @StringRes int id) { in getString()
90 public static CharSequence getText(Context context, @StringRes int id) { in getText()
/frameworks/base/services/core/java/com/android/server/infra/
DFrameworkResourcesServiceNameResolver.java20 import android.annotation.StringRes;
52 private final @StringRes int mResourceId;
86 @StringRes int resourceId) { in FrameworkResourcesServiceNameResolver()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DRequireScrollMixin.java23 import androidx.annotation.StringRes;
150 @NonNull Button button, @StringRes int moreText, @Nullable OnClickListener onClickListener) {
DButtonFooterMixin.java23 import androidx.annotation.StringRes;
84 public Button addButton(@StringRes int text, @StyleRes int theme) { in addButton()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java25 import android.annotation.StringRes;
258 private void showContentFragment(@NonNull Fragment fragment, @StringRes int title, in showContentFragment()
259 @StringRes int text) { in showContentFragment()
271 @StringRes int title, @StringRes int text) { in showDialogFragment()

123