HomeSort by relevance Sort by last modified time
    Searched full:resid (Results 101 - 125 of 482) sorted by null

1 2 3 45 6 7 8 91011>>

  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 88 * @param resId
91 private Bitmap processBitmap(int resId) {
93 Log.d(TAG, "processBitmap - " + resId);
95 return decodeSampledBitmapFromResource(mResources, resId, mImageWidth,
108 * @param resId The resource id of the image data
115 public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId,
122 BitmapFactory.decodeResource(res, resId, options);
135 return BitmapFactory.decodeResource(res, resId, options);
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 88 * @param resId
91 private Bitmap processBitmap(int resId) {
93 Log.d(TAG, "processBitmap - " + resId);
95 return decodeSampledBitmapFromResource(mResources, resId, mImageWidth,
108 * @param resId The resource id of the image data
115 public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId,
122 BitmapFactory.decodeResource(res, resId, options);
135 return BitmapFactory.decodeResource(res, resId, options);
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 88 * @param resId
91 private Bitmap processBitmap(int resId) {
93 Log.d(TAG, "processBitmap - " + resId);
95 return decodeSampledBitmapFromResource(mResources, resId, mImageWidth,
108 * @param resId The resource id of the image data
115 public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId,
122 BitmapFactory.decodeResource(res, resId, options);
135 return BitmapFactory.decodeResource(res, resId, options);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMediaPlayer.java 30 public static MediaPlayer create(Context context, int resId) {
32 shadowOf(mp).sourceResId = resId;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
SettingsLayoutActivity.java 90 protected void setIcon(int resId) {
91 mSettingsLayoutFragment.setIcon(resId);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
CursorFactoryListAdapter.java 45 public ResourceViewFactory(int resId) {
46 mResId = resId;
  /packages/services/Telephony/src/com/android/phone/
ErrorDialogActivity.java 54 private void showGenericErrorDialog(int resid) {
55 final CharSequence msg = getResources().getText(resid);
  /cts/libs/deviceutil/src/android/cts/util/
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/test-runner/src/android/test/mock/
MockResources.java 204 public String getResourceName(int resid) throws NotFoundException {
209 public String getResourcePackageName(int resid) throws NotFoundException {
214 public String getResourceTypeName(int resid) throws NotFoundException {
219 public String getResourceEntryName(int resid) throws NotFoundException {
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactsUnavailableFragment.java 176 * @param resId - String resource ID of the message , -1 means view will not be visible
178 public void setMessageText(int resId, int secResId) {
179 mNoContactsMsgResId = resId;
183 if (resId != -1) {
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
ContactsMockPackageManager.java 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactDisplayUtils.java 66 int resId;
68 resId = getSmsLabelResourceId(type);
70 resId = getPhoneLabelResourceId(type);
77 return context.getResources().getText(resId);
  /packages/apps/Stk/src/com/android/stk/
StkDialogActivity.java 186 private void sendResponse(int resId, boolean confirmed) {
189 args.putInt(StkAppService.RES_ID, resId);
195 private void sendResponse(int resId) {
196 sendResponse(resId, true);
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
CodeGenerator.java 132 int resId = item.getValueInt();
133 String packageName = context.getResources().getResourcePackageName(resId);
134 String type = context.getResources().getResourceTypeName(resId);
135 String entryName = context.getResources().getResourceEntryName(resId);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryFactory.java 150 final int resId = DictionaryInfoUtils.getMainDictionaryResourceIdIfAvailableForLocale(
152 if (0 == resId) return null;
153 afd = context.getResources().openRawResourceFd(resId);
155 Log.e(TAG, "Found the resource but it is compressed. resId=" + resId);
  /external/eigen/unsupported/Eigen/src/Eigenvalues/
ArpackSelfAdjointEigenSolver.h 427 Scalar *resid = new Scalar[n]; local
456 // residual vector is used, any other values means resid contains the initial residual
509 internal::arpack_wrapper<Scalar, RealScalar>::saupd(&ido, bmat, &n, whch, &nev, &tol, resid,
603 &sigma, bmat, &n, whch, &nev, &tol, resid, &ncv,
639 delete resid;
650 int *nev, float *tol, float *resid, int *ncv,
658 float *tol, float *resid, int *ncv, float *v,
665 int *nev, double *tol, double *resid, int *ncv,
673 double *tol, double *resid, int *ncv, double *v,
683 int *nev, RealScalar *tol, Scalar *resid, int *ncv
    [all...]
  /frameworks/base/core/java/android/widget/
TabWidget.java 244 * @param resId the resource identifier of the drawable to use as a
247 public void setDividerDrawable(int resId) {
248 setDividerDrawable(mContext.getDrawable(resId));
265 * @param resId the resource identifier of the drawable to use as the
268 public void setLeftStripDrawable(int resId) {
269 setLeftStripDrawable(mContext.getDrawable(resId));
286 * @param resId the resource identifier of the drawable to use as the
289 public void setRightStripDrawable(int resId) {
290 setRightStripDrawable(mContext.getDrawable(resId));
Toolbar.java 270 * @param resId theme used to inflate popup menus
273 public void setPopupTheme(int resId) {
274 if (mPopupTheme != resId) {
275 mPopupTheme = resId;
276 if (resId == 0) {
279 mPopupContext = new ContextThemeWrapper(mContext, resId);
306 * @param resId ID of a drawable resource
308 public void setLogo(int resId) {
309 setLogo(getContext().getDrawable(resId));
456 * @param resId String resource i
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDisplayUtils.java 164 final int resId = isStarred
167 starredView.setImageResource(resId);
184 final int resId = isStarred
187 starredMenuItem.setIcon(resId);
303 final int resId = resources.getIdentifier(name, "drawable", packageName);
305 if (resId == 0) {
312 return getResourceDrawable(resources, resId);
320 private Drawable getResourceDrawable(Resources resources, int resId)
322 Drawable drawable = resources.getDrawable(resId);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 106 public void initForImportTest(int vcardType, int resId) {
112 setInputResourceId(resId);
136 private void setInputResourceId(int resId) {
138 mAndroidTestCase.getContext().getResources().openRawResource(resId);
140 AndroidTestCase.fail("Wrong resId: " + resId);
  /packages/apps/Calendar/src/com/android/calendar/event/
EventViewUtils.java 47 int value, resId;
52 resId = R.plurals.Nmins;
54 resId = R.plurals.Nminutes;
58 resId = R.plurals.Nhours;
61 resId = R.plurals.Ndays;
64 String format = resources.getQuantityString(resId, value);
  /packages/apps/Camera2/src/com/android/camera/ui/
BottomBar.java 431 public void setShutterButtonIcon(int resId) {
432 Drawable iconDrawable = getResources().getDrawable(resId);
442 public void animateToVideoStop(int resId) {
450 getResources().getDrawable(resId));
458 public void animateToFullSize(int resId) {
466 getResources().getDrawable(resId));
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
Toolbar.java 285 * @param resId theme used to inflate popup menus
288 public void setPopupTheme(int resId) {
289 if (mPopupTheme != resId) {
290 mPopupTheme = resId;
291 if (resId == 0) {
294 mPopupContext = new ContextThemeWrapper(getContext(), resId);
322 * @param resId ID of a drawable resource
324 public void setLogo(int resId) {
325 setLogo(mTintManager.getDrawable(resId));
472 * @param resId String resource i
    [all...]
  /cts/tests/app/src/android/app/cts/
AppStubActivity.java 138 int resid,
140 super.onApplyThemeResource(theme,resid,first);
  /cts/tests/tests/media/src/android/media/cts/
FaceView.java 46 public FaceView(Context context, int resId) {
63 mSourceImage = BitmapFactory.decodeResource(getResources(), resId, bfo);

Completed in 539 milliseconds

1 2 3 45 6 7 8 91011>>