Searched refs:resId (Results 1 - 25 of 76) sorted by relevance

1234

/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsInterface.java28 * @param resId The resource ID of the title.
30 public void setInputMethodSettingsCategoryTitle(int resId); argument
41 * @param resId The resource ID of the title.
43 public void setSubtypeEnablerTitle(int resId); argument
54 * @param resId The resource id of an optional icon for the preference.
56 public void setSubtypeEnablerIcon(int resId); argument
H A DInputMethodSettingsActivity.java42 public void setInputMethodSettingsCategoryTitle(int resId) { argument
43 mSettings.setInputMethodSettingsCategoryTitle(resId);
58 public void setSubtypeEnablerTitle(int resId) { argument
59 mSettings.setSubtypeEnablerTitle(resId);
74 public void setSubtypeEnablerIcon(int resId) { argument
75 mSettings.setSubtypeEnablerIcon(resId);
H A DInputMethodSettingsFragment.java43 public void setInputMethodSettingsCategoryTitle(int resId) { argument
44 mSettings.setInputMethodSettingsCategoryTitle(resId);
59 public void setSubtypeEnablerTitle(int resId) { argument
60 mSettings.setSubtypeEnablerTitle(resId);
75 public void setSubtypeEnablerIcon(int resId) { argument
76 mSettings.setSubtypeEnablerIcon(resId);
H A DInputMethodSettingsImpl.java113 public void setInputMethodSettingsCategoryTitle(int resId) { argument
114 mInputMethodSettingsCategoryTitleRes = resId;
132 public void setSubtypeEnablerTitle(int resId) { argument
133 mSubtypeEnablerTitleRes = resId;
151 public void setSubtypeEnablerIcon(int resId) { argument
152 mSubtypeEnablerIconRes = resId;
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
H A DOverlayBaseTest.java17 private int calculateRawResourceChecksum(int resId) throws Throwable { argument
20 input = mResources.openRawResource(resId);
39 private void assertResource(int resId, boolean ewo, boolean ew) throws Throwable { argument
41 boolean actual = mResources.getBoolean(resId);
45 private void assertResource(int resId, String ewo, String ew) throws Throwable { argument
47 String actual = mResources.getString(resId);
51 private void assertResource(int resId, int[] ewo, int[] ew) throws Throwable { argument
53 int[] actual = mResources.getIntArray(resId);
62 final int resId = com.android.internal.R.bool.config_automatic_brightness_available;
63 assertResource(resId, fals
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DSecurityMessageDisplay.java22 public void setMessage(int resId, boolean important); argument
24 public void setMessage(int resId, boolean important, Object... formatArgs); argument
H A DKeyguardMessageArea.java102 public void setMessage(int resId, boolean important) { argument
103 if (resId != 0 && important) {
104 mMessageArea.mMessage = mMessageArea.getContext().getResources().getText(resId);
109 public void setMessage(int resId, boolean important, Object... formatArgs) { argument
110 if (resId != 0 && important) {
111 mMessageArea.mMessage = mMessageArea.getContext().getString(resId, formatArgs);
/frameworks/base/core/java/android/view/
H A DActionMode.java78 * @param resId Resource ID of a string to set as the title
83 public abstract void setTitle(int resId); argument
100 * @param resId Resource ID of a string to set as the subtitle
105 public abstract void setSubtitle(int resId); argument
/frameworks/base/tools/aapt/
H A DResourceIdCache.h23 uint32_t resId);
H A DResourceIdCache.cpp29 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } argument
90 uint32_t resId) {
94 mIdMap[hashcode] = CacheEntry(hashedName, resId);
96 return resId;
86 store(const android::String16& package, const android::String16& type, const android::String16& name, bool onlyPublic, uint32_t resId) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNodesVerifier.java46 public void verify(int resId, int vcardType) throws IOException, VCardException { argument
47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
50 public void verify(int resId, int vcardType, final VCardParser parser) argument
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
/frameworks/base/core/java/android/preference/
H A DPreferenceGroupAdapter.java92 private int resId; field in class:PreferenceGroupAdapter.PreferenceLayout
99 if (resId == other.resId) {
106 return resId - other.resId;
179 pl.resId = preference.getLayoutResource();
H A DSwitchPreference.java147 * @param resId The text as a string resource ID
149 public void setSwitchTextOn(int resId) { argument
150 setSwitchTextOn(getContext().getString(resId));
157 * @param resId The text as a string resource ID
159 public void setSwitchTextOff(int resId) { argument
160 setSwitchTextOff(getContext().getString(resId));
H A DPreferenceManager.java256 * @param resId The resource ID of the XML to inflate.
263 public PreferenceScreen inflateFromResource(Context context, int resId, argument
269 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences, true);
424 * @param resId The resource ID of the preference XML file.
438 public static void setDefaultValues(Context context, int resId, boolean readAgain) { argument
442 getDefaultSharedPreferencesMode(), resId, readAgain);
455 * @param resId The resource ID of the preference XML file.
474 int sharedPreferencesMode, int resId, boolean readAgain) {
482 pm.inflateFromResource(context, resId, null);
473 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java65 public void setTitle(int resId) { argument
66 setTitle(mContext.getString(resId));
70 public void setSubtitle(int resId) { argument
71 setSubtitle(mContext.getString(resId));
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselView.java112 public Info(int _resId) { resId = _resId; }
113 public int resId; // resource for renderscript resource (e.g. R.raw.carousel) field in class:CarouselView.Info
163 getRenderScriptInfo().resId);
199 * @param resId
202 public Mesh loadGeometry(int resId) { argument
203 return mController.loadGeometry(resId);
446 * @param resId
448 public void setDefaultGeometry(int resId) { argument
449 mController.setDefaultGeometry(resId);
470 * @param resId
472 setLoadingGeometry(int resId) argument
[all...]
H A DCarouselController.java151 * @param resId
154 public Mesh loadGeometry(int resId) { argument
156 return mRenderScript.loadGeometry(resId);
174 * Load A3D file from resource. If resId == 0, will clear geometry for this item.
176 * @param resId The resource ID for the geometry for that item
179 public void setGeometryForItem(int n, int resId) { argument
181 Mesh mesh = mRenderScript.loadGeometry(resId);
531 public void setDefaultGeometry(int resId) { argument
532 mDefaultGeometry = resId;
534 Mesh mesh = mRenderScript.loadGeometry(resId);
562 setLoadingGeometry(int resId) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActionBar.java187 * @param resId Resource ID of a layout to inflate into the ActionBar.
191 public abstract void setCustomView(int resId); argument
201 * @param resId Resource ID of a drawable to show as an icon.
206 public abstract void setIcon(int resId); argument
231 * @param resId Resource ID of a drawable to show as a logo.
236 public abstract void setLogo(int resId); argument
307 * @param resId Resource ID of title string to set
312 public abstract void setTitle(int resId); argument
330 * @param resId Resource ID of subtitle string to set
335 public abstract void setSubtitle(int resId); argument
776 setIcon(int resId) argument
794 setText(int resId) argument
857 setContentDescription(int resId) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java106 public Entry get(int userId, String packageName, int resId, int[] styleable) { argument
117 map = pkg.mMap.get(resId);
141 pkg.mMap.put(resId, map);
146 pkg.context.obtainStyledAttributes(resId, styleable));
/frameworks/support/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java88 private static byte[] readRawResource(Resources res, int resId) throws IOException { argument
89 InputStream in = res.openRawResource(resId);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java79 public TargetDrawable(Resources res, int resId) { argument
80 mResourceId = resId;
81 setDrawable(res, resId);
84 public void setDrawable(Resources res, int resId) { argument
85 // Note we explicitly don't set mResourceId to resId since we allow the drawable to be
87 Drawable drawable = resId == 0 ? null : res.getDrawable(resId);
/frameworks/base/core/java/com/android/internal/app/
H A DActionBarImpl.java309 public void setCustomView(int resId) { argument
310 setCustomView(LayoutInflater.from(getThemedContext()).inflate(resId, mActionView, false));
344 public void setTitle(int resId) { argument
345 setTitle(mContext.getString(resId));
349 public void setSubtitle(int resId) { argument
350 setSubtitle(mContext.getString(resId));
899 public void setTitle(int resId) { argument
900 setTitle(mContext.getResources().getString(resId));
904 public void setSubtitle(int resId) { argument
905 setSubtitle(mContext.getResources().getString(resId));
1052 setIcon(int resId) argument
1066 setText(int resId) argument
1076 setContentDescription(int resId) argument
1178 setIcon(int resId) argument
1188 setLogo(int resId) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java137 * @param resId Resource ID of a color resource to load
139 public void setTabIndicatorColorResource(int resId) { argument
140 setTabIndicatorColor(getContext().getResources().getColor(resId));
183 public void setBackgroundResource(int resId) { argument
184 super.setBackgroundResource(resId);
186 mDrawFullUnderline = resId == 0;
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java389 int resId;
395 resId = com.android.internal.R.plurals.abbrev_num_seconds_ago;
397 resId = com.android.internal.R.plurals.num_seconds_ago;
401 resId = com.android.internal.R.plurals.abbrev_in_num_seconds;
403 resId = com.android.internal.R.plurals.in_num_seconds;
410 resId = com.android.internal.R.plurals.abbrev_num_minutes_ago;
412 resId = com.android.internal.R.plurals.num_minutes_ago;
416 resId = com.android.internal.R.plurals.abbrev_in_num_minutes;
418 resId = com.android.internal.R.plurals.in_num_minutes;
425 resId
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java129 public String getString(int resId) throws Resources.NotFoundException { argument
130 switch (resId) {
134 throw new UnsupportedOperationException("Missing handling for resid " + resId);

Completed in 3641 milliseconds

1234