HomeSort by relevance Sort by last modified time
    Searched refs:resId (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsMockResources.java 31 public void addResource(int resId, String packageName, String typeName, String entryName) {
32 mPackages.put(resId, packageName);
33 mTypes.put(resId, typeName);
34 mEntries.put(resId, entryName);
38 public String getResourceName(int resId) throws NotFoundException {
39 if (!mPackages.containsKey(resId)) {
40 throw new NotFoundException("Resource " + resId + " not found");
42 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId);
    [all...]
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsInterface.java 34 * @param resId The resource ID of the title.
36 public void setInputMethodSettingsCategoryTitle(int resId);
47 * @param resId The resource ID of the title.
49 public void setSubtypeEnablerTitle(int resId);
60 * @param resId The resource id of an optional icon for the preference.
62 public void setSubtypeEnablerIcon(int resId);
InputMethodSettingsFragment.java 49 public void setInputMethodSettingsCategoryTitle(int resId) {
50 mSettings.setInputMethodSettingsCategoryTitle(resId);
65 public void setSubtypeEnablerTitle(int resId) {
66 mSettings.setSubtypeEnablerTitle(resId);
81 public void setSubtypeEnablerIcon(int resId) {
82 mSettings.setSubtypeEnablerIcon(resId);
InputMethodSettingsImpl.java 119 public void setInputMethodSettingsCategoryTitle(int resId) {
120 mInputMethodSettingsCategoryTitleRes = resId;
138 public void setSubtypeEnablerTitle(int resId) {
139 mSubtypeEnablerTitleRes = resId;
157 public void setSubtypeEnablerIcon(int resId) {
158 mSubtypeEnablerIconRes = resId;
  /frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
InputMethodSettingsInterface.java 28 * @param resId The resource ID of the title.
30 public void setInputMethodSettingsCategoryTitle(int resId);
41 * @param resId The resource ID of the title.
43 public void setSubtypeEnablerTitle(int resId);
54 * @param resId The resource id of an optional icon for the preference.
56 public void setSubtypeEnablerIcon(int resId);
InputMethodSettingsActivity.java 42 public void setInputMethodSettingsCategoryTitle(int resId) {
43 mSettings.setInputMethodSettingsCategoryTitle(resId);
58 public void setSubtypeEnablerTitle(int resId) {
59 mSettings.setSubtypeEnablerTitle(resId);
74 public void setSubtypeEnablerIcon(int resId) {
75 mSettings.setSubtypeEnablerIcon(resId);
InputMethodSettingsFragment.java 43 public void setInputMethodSettingsCategoryTitle(int resId) {
44 mSettings.setInputMethodSettingsCategoryTitle(resId);
59 public void setSubtypeEnablerTitle(int resId) {
60 mSettings.setSubtypeEnablerTitle(resId);
75 public void setSubtypeEnablerIcon(int resId) {
76 mSettings.setSubtypeEnablerIcon(resId);
InputMethodSettingsImpl.java 113 public void setInputMethodSettingsCategoryTitle(int resId) {
114 mInputMethodSettingsCategoryTitleRes = resId;
132 public void setSubtypeEnablerTitle(int resId) {
133 mSubtypeEnablerTitleRes = resId;
151 public void setSubtypeEnablerIcon(int resId) {
152 mSubtypeEnablerIconRes = resId;
  /frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
OverlayBaseTest.java 17 private int calculateRawResourceChecksum(int resId) throws Throwable {
20 input = mResources.openRawResource(resId);
39 private void assertResource(int resId, boolean ewo, boolean ew) throws Throwable {
41 boolean actual = mResources.getBoolean(resId);
45 private void assertResource(int resId, String ewo, String ew) throws Throwable {
47 String actual = mResources.getString(resId);
51 private void assertResource(int resId, int[] ewo, int[] ew) throws Throwable {
53 int[] actual = mResources.getIntArray(resId);
62 final int resId = com.android.internal.R.bool.config_automatic_brightness_available;
63 assertResource(resId, false, true)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/vcard/
SelectAccountActivity.java 59 final int resId = R.string.import_from_sdcard;
82 this, accountList, resId) {
95 showDialog(resId);
100 protected Dialog onCreateDialog(int resId, Bundle bundle) {
101 switch (resId) {
107 return AccountSelectionUtil.getSelectAccountDialog(this, resId,
112 return super.onCreateDialog(resId, bundle);
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 40 int resId;
44 resId = R.plurals.message_view_attachment_bytes;
47 resId = R.plurals.message_view_attachment_kilobytes;
50 resId = R.plurals.message_view_attachment_megabytes;
53 resId = R.plurals.message_view_attachment_gigabytes;
56 return res.getQuantityString(resId, value, value);
  /frameworks/base/core/java/android/view/
ActionMode.java 77 * @param resId Resource ID of a string to set as the title
82 public abstract void setTitle(int resId);
99 * @param resId Resource ID of a string to set as the subtitle
104 public abstract void setSubtitle(int resId);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ResourceTexture.java 32 public ResourceTexture(Context context, int resId) {
34 mResId = resId;
  /cts/tests/src/android/provider/cts/
FileCopyHelper.java 57 * @param resId the res id
63 public String copy(int resId, String fileName) throws IOException {
64 InputStream source = mContext.getResources().openRawResource(resId);
71 public void copyToExternalStorage(int resId, File path) throws IOException {
72 InputStream source = mContext.getResources().openRawResource(resId);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
PropertyNodesVerifier.java 46 public void verify(int resId, int vcardType) throws IOException, VCardException {
47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
50 public void verify(int resId, int vcardType, final VCardParser parser)
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountSelectionUtil.java 60 int resId) {
66 mResId = resId;
75 public static Dialog getSelectAccountDialog(Context context, int resId) {
76 return getSelectAccountDialog(context, resId, null, null);
79 public static Dialog getSelectAccountDialog(Context context, int resId,
81 return getSelectAccountDialog(context, resId, onClickListener, null);
88 public static Dialog getSelectAccountDialog(Context context, int resId,
135 new AccountSelectedListener(context, writableAccountList, resId);
152 public static void doImport(Context context, int resId, AccountWithDataSet account) {
153 switch (resId) {
    [all...]
  /packages/apps/Email/src/com/android/email/
FolderProperties.java 78 int resId = 0;
82 resId = R.string.account_folder_list_summary_inbox;
84 resId = R.string.account_folder_list_summary_starred;
86 resId = R.string.account_folder_list_summary_drafts;
88 resId = R.string.account_folder_list_summary_outbox;
90 if (resId != 0) {
91 return mContext.getString(resId);
217 final int resId = mSpecialMailboxDrawable.getResourceId(type, -1);
218 if (resId != -1) {
219 return mContext.getResources().getDrawable(resId);
    [all...]
  /frameworks/base/core/java/android/preference/
PreferenceGroupAdapter.java 92 private int resId;
99 if (resId == other.resId) {
106 return resId - other.resId;
179 pl.resId = preference.getLayoutResource();
SwitchPreference.java 147 * @param resId The text as a string resource ID
149 public void setSwitchTextOn(int resId) {
150 setSwitchTextOn(getContext().getString(resId));
157 * @param resId The text as a string resource ID
159 public void setSwitchTextOff(int resId) {
160 setSwitchTextOff(getContext().getString(resId));
  /cts/tests/src/android/widget/cts/
WidgetTestUtils.java 118 public static Bitmap getUnscaledBitmap(Resources resources, int resId) {
121 return BitmapFactory.decodeResource(resources, resId, options);
131 int resId, Bitmap.Config config) {
136 return BitmapFactory.decodeResource(resources, resId, options);
  /frameworks/base/core/java/com/android/internal/view/
StandaloneActionMode.java 65 public void setTitle(int resId) {
66 setTitle(mContext.getString(resId));
70 public void setSubtitle(int resId) {
71 setSubtitle(mContext.getString(resId));
  /frameworks/base/services/java/com/android/server/
AttributeCache.java 97 public Entry get(String packageName, int resId, int[] styleable) {
103 map = pkg.mMap.get(resId);
126 pkg.mMap.put(resId, map);
131 pkg.context.obtainStyledAttributes(resId, styleable));
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselView.java 112 public Info(int _resId) { resId = _resId; }
113 public int resId; // resource for renderscript resource (e.g. R.raw.carousel)
163 getRenderScriptInfo().resId);
199 * @param resId
202 public Mesh loadGeometry(int resId) {
203 return mController.loadGeometry(resId);
446 * @param resId
448 public void setDefaultGeometry(int resId) {
449 mController.setDefaultGeometry(resId);
470 * @param resId
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ImportExportDialogFragment.java 84 final int resId = getItem(position);
85 result.setText(resId);
109 final int resId = adapter.getItem(which);
110 switch (resId) {
113 dismissDialog = handleImportRequest(resId);
130 + getActivity().getResources().getResourceEntryName(resId));
182 private boolean handleImportRequest(int resId) {
193 args.putInt(KEY_RES_ID, resId);
205 AccountSelectionUtil.doImport(getActivity(), resId,
  /frameworks/base/core/java/android/app/
ActionBar.java 181 * @param resId Resource ID of a layout to inflate into the ActionBar.
185 public abstract void setCustomView(int resId);
195 * @param resId Resource ID of a drawable to show as an icon.
200 public abstract void setIcon(int resId);
225 * @param resId Resource ID of a drawable to show as a logo.
230 public abstract void setLogo(int resId);
301 * @param resId Resource ID of title string to set
306 public abstract void setTitle(int resId);
324 * @param resId Resource ID of subtitle string to set
329 public abstract void setSubtitle(int resId);
    [all...]

Completed in 587 milliseconds

1 2 3 4 5 6 7