Home
last modified time | relevance | path

Searched refs:resId (Results 1 – 14 of 14) sorted by relevance

/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
DInputMethodSettingsFragment.java49 public void setInputMethodSettingsCategoryTitle(int resId) { in setInputMethodSettingsCategoryTitle() argument
50 mSettings.setInputMethodSettingsCategoryTitle(resId); in setInputMethodSettingsCategoryTitle()
65 public void setSubtypeEnablerTitle(int resId) { in setSubtypeEnablerTitle() argument
66 mSettings.setSubtypeEnablerTitle(resId); in setSubtypeEnablerTitle()
81 public void setSubtypeEnablerIcon(int resId) { in setSubtypeEnablerIcon() argument
82 mSettings.setSubtypeEnablerIcon(resId); in setSubtypeEnablerIcon()
DInputMethodSettingsInterface.java36 public void setInputMethodSettingsCategoryTitle(int resId); in setInputMethodSettingsCategoryTitle() argument
49 public void setSubtypeEnablerTitle(int resId); in setSubtypeEnablerTitle() argument
62 public void setSubtypeEnablerIcon(int resId); in setSubtypeEnablerIcon() argument
DInputMethodSettingsImpl.java119 public void setInputMethodSettingsCategoryTitle(int resId) { in setInputMethodSettingsCategoryTitle() argument
120 mInputMethodSettingsCategoryTitleRes = resId; in setInputMethodSettingsCategoryTitle()
138 public void setSubtypeEnablerTitle(int resId) { in setSubtypeEnablerTitle() argument
139 mSubtypeEnablerTitleRes = resId; in setSubtypeEnablerTitle()
157 public void setSubtypeEnablerIcon(int resId) { in setSubtypeEnablerIcon() argument
158 mSubtypeEnablerIconRes = resId; in setSubtypeEnablerIcon()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabEclair.java37 public CompatTab setText(int resId) { in setText() argument
38 mText = mActivity.getResources().getText(resId); in setText()
43 public CompatTab setIcon(int resId) { in setIcon() argument
44 mIcon = mActivity.getResources().getDrawable(resId); in setIcon()
DCompatTabHoneycomb.java44 public CompatTab setText(int resId) { in setText() argument
45 mTab.setText(resId); in setText()
50 public CompatTab setIcon(int resId) { in setIcon() argument
51 mTab.setIcon(resId); in setIcon()
DCompatTab.java37 public abstract CompatTab setText(int resId); in setText() argument
38 public abstract CompatTab setIcon(int resId); in setIcon() argument
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java91 private Bitmap processBitmap(int resId) { in processBitmap() argument
93 Log.d(TAG, "processBitmap - " + resId); in processBitmap()
95 return decodeSampledBitmapFromResource(mResources, resId, mImageWidth, in processBitmap()
115 public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, in decodeSampledBitmapFromResource() argument
122 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
135 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
DImageWorker.java118 public void setLoadingImage(int resId) { in setLoadingImage() argument
119 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId); in setLoadingImage()
/development/samples/browseable/DocumentCentricApps/src/com.example.android.documentcentricapps/
DNewDocumentActivity.java67 public void setDocumentCounterText(int resId) { in setDocumentCounterText() argument
69 .setText(String.format(getString(resId), String.valueOf(mDocumentCount))); in setDocumentCounterText()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoView.java265 public void setImageResource(int resId) { in setImageResource() argument
266 super.setImageResource(resId); in setImageResource()
342 public void setStatusResource(int resId) { in setStatusResource() argument
346 setImageResource(resId); in setStatusResource()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java557 for (int resId : imageResIds) {
558 writeFileToInternalStorage(resId, ".jpeg");
562 for (int resId : textResIds) {
563 writeFileToInternalStorage(resId, ".txt");
567 for (int resId : docxResIds) {
568 writeFileToInternalStorage(resId, ".docx");
578 private void writeFileToInternalStorage(int resId, String extension) {
579 InputStream ins = getContext().getResources().openRawResource(resId);
589 String filename = getContext().getResources().getResourceEntryName(resId) + extension;
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java101 public void setLoadingImage(int resId) { in setLoadingImage() argument
102 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId); in setLoadingImage()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java246 private void setStatus(int resId) { in setStatus() argument
255 actionBar.setSubtitle(resId); in setStatus()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java233 private final void setStatus(int resId) { in setStatus() argument
235 actionBar.setSubtitle(resId); in setStatus()