Searched refs:resId (Results 1 - 25 of 63) sorted by last modified time

123

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardImporterTests.java750 private void testV21Japanese1Common(int resId, int vcardType, boolean japanese) { argument
751 mVerifier.initForImportTest(vcardType, resId);
/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),
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/v4/java/android/support/v4/app/
H A DFragment.java560 * @param resId Resource id for the CharSequence text
562 public final CharSequence getText(int resId) { argument
563 return getResources().getText(resId);
570 * @param resId Resource id for the string
572 public final String getString(int resId) { argument
573 return getResources().getString(resId);
581 * @param resId Resource id for the format string
585 public final String getString(int resId, Object... formatArgs) { argument
586 return getResources().getString(resId, formatArgs);
H A DShareCompat.java347 * @param resId Resource ID of the title string to use
350 public IntentBuilder setChooserTitle(int resId) { argument
351 return setChooserTitle(mActivity.getText(resId));
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java559 * @param resId Resource ID of a drawable to display between pages
561 public void setPageMarginDrawable(int resId) { argument
562 setPageMarginDrawable(getContext().getResources().getDrawable(resId));
/frameworks/ex/carousel/java/com/android/ex/carousel/
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...]
H A DCarouselRS.java263 public CarouselRS(RenderScriptGL rs, Resources res, int resId) { argument
268 mScript = new ScriptC_carousel(mRS, mRes, resId);
935 public Mesh loadGeometry(int resId) { argument
936 if (resId == 0) {
939 FileA3D model = FileA3D.createFromResource(mRS, mRes, resId);
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...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java644 * @param resId Resource ID of the iamge inserted to TextView.
646 public void onInsertImage(int resId) { argument
647 mManager.onInsertImage(resId);
1045 public void onInsertImage(int resId) { argument
1046 mActions.onAction(MODE_IMAGE, resId);
1055 private void insertImageFromResId(int resId) { argument
1057 resId, mEST.getMaxImageWidthDip()), mEST.getSelectionStart());
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
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;
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java307 private String getResourceName(int resId) { argument
308 if (resId != 0) {
311 return res.getResourceName(resId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkController.java1324 private String getResourceName(int resId) { argument
1325 if (resId != 0) {
1328 return res.getResourceName(resId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodButton.java153 public void setIconImage(int resId) { argument
155 mIcon.setImageResource(resId);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DKeyguardStatusViewManager.java238 * @param resId resource id of the message
240 public void setCarrierHelpText(int resId) { argument
241 mCarrierHelpText = getText(resId);
245 private CharSequence getText(int resId) { argument
246 return resId == 0 ? null : getContext().getText(resId);
H A DLockScreen.java205 int resId;
208 resId = mSilentMode ? R.array.lockscreen_targets_when_silent
211 resId = R.array.lockscreen_targets_with_camera;
213 mMultiWaveView.setTargetResources(resId);
H A DPhoneWindow.java1131 public final void setFeatureDrawableResource(int featureId, int resId) { argument
1132 if (resId != 0) {
1134 if (st.resid != resId) {
1135 st.resid = resId;
1137 st.local = getContext().getResources().getDrawable(resId);
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java97 public Entry get(String packageName, int resId, int[] styleable) { argument
103 map = pkg.mMap.get(resId);
126 pkg.mMap.put(resId, map);
131 pkg.context.obtainStyledAttributes(resId, styleable));
H A DWallpaperManagerService.java885 int resId = -1;
891 resId = r.getIdentifier(resName, null, null);
892 if (resId == 0) {
898 res = r.openRawResource(resId);
916 Slog.e(TAG, "Resource not found: " + resId);
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java2891 + " resId=0x" + (lp != null ? Integer.toHexString(lp.windowAnimations) : null));
2897 int resId = lp.windowAnimations;
2898 if ((resId&0xFF000000) == 0x01000000) {
2903 return AttributeCache.instance().get(packageName, resId,
2909 private AttributeCache.Entry getCachedAnimations(String packageName, int resId) { argument
2911 + packageName + " resId=0x" + Integer.toHexString(resId));
2913 if ((resId&0xFF000000) == 0x01000000) {
2918 return AttributeCache.instance().get(packageName, resId,
3010 private Animation loadAnimation(String packageName, int resId) { argument
[all...]
/frameworks/base/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);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java873 Bitmap loadBitmap(int resId) { argument
874 BitmapDrawable bd = (BitmapDrawable)getResources().getDrawable(resId);

Completed in 4666 milliseconds

123