/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
D | InputMethodSettingsFragment.java | 49 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()
|
D | InputMethodSettingsInterface.java | 36 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
|
D | InputMethodSettingsImpl.java | 119 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/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/ |
D | ResourceCache.java | 28 public <ViewType extends View> ViewType getViewById(View view, int resId) { in getViewById() argument 29 View child = mCachedViews.get(resId, null); in getViewById() 31 child = view.findViewById(resId); in getViewById() 32 mCachedViews.put(resId, child); in getViewById()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | CompatTabEclair.java | 37 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()
|
D | CompatTabHoneycomb.java | 44 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()
|
D | CompatTab.java | 37 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/ |
D | ImageResizer.java | 91 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()
|
D | ImageWorker.java | 137 public void setLoadingImage(int resId) { in setLoadingImage() argument 138 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId); in setLoadingImage()
|
/development/samples/browseable/DocumentCentricApps/src/com.example.android.documentcentricapps/ |
D | NewDocumentActivity.java | 67 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/ |
D | PhotoView.java | 265 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/ |
D | MyCloudProvider.java | 557 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/ |
D | ImageLoader.java | 101 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/ |
D | BluetoothChatFragment.java | 246 private void setStatus(int resId) { in setStatus() argument 255 actionBar.setSubtitle(resId); in setStatus()
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChat.java | 233 private final void setStatus(int resId) { in setStatus() argument 235 actionBar.setSubtitle(resId); in setStatus()
|