[go: nahoru, domu]

Searched defs:resId (Results 51 - 75 of 181) sorted by relevance

12345678

/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionMode.java85 * @param resId Resource ID of a string to set as the title
90 public abstract void setTitle(int resId); argument
107 * @param resId Resource ID of a string to set as the subtitle
112 public abstract void setSubtitle(int resId); argument
H A DStandaloneActionMode.java68 public void setTitle(int resId) { argument
69 setTitle(mContext.getString(resId));
73 public void setSubtitle(int resId) { argument
74 setSubtitle(mContext.getString(resId));
H A DSupportActionModeWrapper.java92 public void setTitle(int resId) { argument
93 mWrappedObject.setTitle(resId);
102 public void setSubtitle(int resId) { argument
103 mWrappedObject.setSubtitle(resId);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatButton.java74 public void setBackgroundResource(@DrawableRes int resId) { argument
75 super.setBackgroundResource(resId);
77 mBackgroundTintHelper.onSetBackgroundResource(resId);
153 public void setTextAppearance(Context context, int resId) { argument
154 super.setTextAppearance(context, resId);
156 mTextHelper.onSetTextAppearance(context, resId);
H A DAppCompatTextHelper.java129 void onSetTextAppearance(Context context, int resId) { argument
131 resId, R.styleable.TextAppearance);
H A DDecorContentParent.java41 void setIcon(int resId); argument
43 void setLogo(int resId); argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DSwitchPreferenceCompat.java168 * @param resId The text as a string resource ID
170 public void setSwitchTextOn(int resId) { argument
171 setSwitchTextOn(getContext().getString(resId));
178 * @param resId The text as a string resource ID
180 public void setSwitchTextOff(int resId) { argument
181 setSwitchTextOff(getContext().getString(resId));
H A DPreferenceGroupAdapter.java78 private int resId; field in class:PreferenceGroupAdapter.PreferenceLayout
85 resId = other.resId;
96 return resId == other.resId
104 result = 31 * result + resId;
177 pl.resId = preference.getLayoutResource();
284 final View view = inflater.inflate(pl.resId, parent, false);
/frameworks/base/core/java/android/preference/
H A DPreferenceGroupAdapter.java103 private int resId; field in class:PreferenceGroupAdapter.PreferenceLayout
110 if (resId == other.resId) {
117 return resId - other.resId;
190 pl.resId = preference.getLayoutResource();
/frameworks/base/core/java/android/view/
H A DActionMode.java100 * @param resId Resource ID of a string to set as the title
105 public abstract void setTitle(@StringRes int resId); argument
122 * @param resId Resource ID of a string to set as the subtitle
127 public abstract void setSubtitle(@StringRes int resId); argument
/frameworks/base/core/java/android/widget/
H A DDayPickerPagerAdapter.java158 void setMonthTextAppearance(int resId) { argument
159 mMonthTextAppearance = resId;
163 void setDayOfWeekTextAppearance(int resId) { argument
164 mDayOfWeekTextAppearance = resId;
172 void setDayTextAppearance(int resId) { argument
173 mDayTextAppearance = resId;
H A DToast.java279 * @param resId The resource id of the string resource to use. Can be formatted text.
285 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) argument
287 return makeText(context, context.getResources().getText(resId), duration);
292 * @param resId The new text for the Toast.
294 public void setText(@StringRes int resId) { argument
295 setText(mContext.getText(resId));
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java66 public void setTitle(int resId) { argument
67 setTitle(resId != 0 ? mContext.getString(resId) : null);
71 public void setSubtitle(int resId) { argument
72 setSubtitle(resId != 0 ? mContext.getString(resId) : null);
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java139 public void setText(int resId) { argument
140 final CharSequence text = getContext().getText(resId);
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
H A DOverlayBaseTest.java25 private int calculateRawResourceChecksum(int resId) throws Throwable { argument
28 input = mResources.openRawResource(resId);
102 private void assertResource(int resId, boolean no, boolean so, boolean mo) throws Throwable { argument
104 boolean actual = mResources.getBoolean(resId);
108 private void assertResource(int resId, int no, int so, int mo) throws Throwable { argument
110 int actual = mResources.getInteger(resId);
114 private void assertResource(int resId, String no, String so, String mo) throws Throwable { argument
116 String actual = mResources.getString(resId);
120 private void assertResource(int resId, int[] no, int[] so, int[] mo) throws Throwable { argument
122 int[] actual = mResources.getIntArray(resId);
[all...]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java95 private int loadSound(int resId, int priority) { argument
96 int id = mSoundPool.load(getApplicationContext(), resId, priority);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java207 public PackageDrawableIcon(String pkg, int resId) { argument
209 mResId = resId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeParameters.java133 private boolean getBoolean(String propName, int resId) { argument
134 return SystemProperties.getBoolean(propName, mContext.getResources().getBoolean(resId));
137 private int getInt(String propName, int resId) { argument
138 int value = SystemProperties.getInt(propName, mContext.getResources().getInteger(resId));
142 private String getString(String propName, int resId) { argument
143 return SystemProperties.get(propName, mContext.getString(resId));
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java70 private static Bitmap getBitmap(Context context, int resId) { argument
75 Drawable d = context.getResources().getDrawable(resId);
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp266 const ResourceId resId,
271 return addResourceImpl(name, resId, config, product, std::move(value), kValidNameChars,
327 const ResourceId resId,
351 if (resId.isValid() && package->id && package->id.value() != resId.packageId()) {
356 << resId
365 if (resId.isValid() && type->id && type->id.value() != resId.typeId()) {
370 << resId
379 if (resId
265 addResource(const ResourceNameRef& name, const ResourceId resId, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
326 addResourceImpl(const ResourceNameRef& name, const ResourceId resId, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, const char16_t* validChars, std::function<int(Value*,Value*)> conflictResolver, IDiagnostics* diag) argument
418 setSymbolState(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, IDiagnostics* diag) argument
423 setSymbolStateAllowMangled(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, IDiagnostics* diag) argument
429 setSymbolStateImpl(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, const char16_t* validChars, IDiagnostics* diag) argument
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardImporterTests.java770 private void testV21Japanese1Common(int resId, int vcardType, boolean japanese) { argument
771 mVerifier.initForImportTest(vcardType, resId);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVCardVerifier.java106 public void initForImportTest(int vcardType, int resId) { argument
112 setInputResourceId(resId);
136 private void setInputResourceId(int resId) { argument
138 mAndroidTestCase.getContext().getResources().openRawResource(resId);
140 AndroidTestCase.fail("Wrong resId: " + resId);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java196 void setCollapsedTextAppearance(int resId) { argument
197 TypedArray a = mView.getContext().obtainStyledAttributes(resId,
220 mCollapsedTypeface = readFontFamilyTypeface(resId);
226 void setExpandedTextAppearance(int resId) { argument
227 TypedArray a = mView.getContext().obtainStyledAttributes(resId,
250 mExpandedTypeface = readFontFamilyTypeface(resId);
256 private Typeface readFontFamilyTypeface(int resId) { argument
257 final TypedArray a = mView.getContext().obtainStyledAttributes(resId,
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DTransitionHelperKitkat.java244 static Object loadTransition(Context context, int resId) { argument
245 return TransitionInflater.from(context).inflateTransition(resId);
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java140 * @param resId Resource ID of a color resource to load
142 public void setTabIndicatorColorResource(@ColorRes int resId) { argument
143 setTabIndicatorColor(getContext().getResources().getColor(resId));
187 public void setBackgroundResource(@DrawableRes int resId) { argument
188 super.setBackgroundResource(resId);
190 mDrawFullUnderline = resId == 0;

Completed in 1173 milliseconds

12345678