Searched defs:resId (Results 1 - 25 of 68) sorted by relevance

123

/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/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/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 DNumPadKey.java115 public void setTextViewResId(int resId) { argument
117 mTextViewResId = resId;
H A DKeyguardMessageArea.java101 public void setMessage(int resId, boolean important) { argument
102 if (resId != 0 && important) {
103 mMessageArea.mMessage = mMessageArea.getContext().getResources().getText(resId);
108 public void setMessage(int resId, boolean important, Object... formatArgs) { argument
109 if (resId != 0 && important) {
110 mMessageArea.mMessage = mMessageArea.getContext().getString(resId, formatArgs);
H A DKeyguardMultiUserAvatar.java73 public static KeyguardMultiUserAvatar fromXml(int resId, Context context, argument
76 LayoutInflater.from(context).inflate(resId, userSelector, false);
H A DKeyguardSelectorView.java59 final int resId = mGlowPadView.getResourceIdForTarget(target);
60 switch (resId) {
162 public boolean isTargetPresent(int resId) { argument
163 return mGlowPadView.getTargetPosition(resId) != -1;
/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/base/core/java/android/preference/
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 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();
/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/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));
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditLayout.java112 public void setTitle(int resId) { argument
122 public void setSubtitle(int resId) { argument
/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/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java941 Bitmap loadBitmap(int resId) { argument
942 BitmapDrawable bd = (BitmapDrawable)getResources().getDrawable(resId);
/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);
/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/core/java/android/widget/
H A DToast.java257 * @param resId The resource id of the string resource to use. Can be formatted text.
263 public static Toast makeText(Context context, int resId, int duration) argument
265 return makeText(context, context.getResources().getText(resId), duration);
270 * @param resId The new text for the Toast.
272 public void setText(int resId) { argument
273 setText(mContext.getText(resId));
/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/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/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);

Completed in 1038 milliseconds

123