Searched refs:mResources (Results 1 - 7 of 7) sorted by relevance

/development/samples/XmlAdapters/src/com/example/android/xmladapters/
H A DContactPhotoBinder.java47 private final Resources mResources; field in class:ContactPhotoBinder
53 mResources = mContext.getResources();
55 mDefault = mResources.getDrawable(R.drawable.ic_contact_picture);
59 mPhotoSize = (int) (PHOTO_SIZE_DIP * mResources.getDisplayMetrics().density + 0.5f);
80 d = new BitmapDrawable(mResources, bitmap);
H A DAdapters.java602 private final Resources mResources; field in class:Adapters.XmlCursorAdapterParser
610 mResources = mContext.getResources();
620 Resources resources = mResources;
676 TypedArray a = mResources.obtainAttributes(mAttrs,
682 mResources.getResourceEntryName(mId) +
693 Resources resources = mResources;
800 Resources resources = mResources;
834 Resources resources = mResources;
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
H A DSimpleMenu.java39 private Resources mResources; field in class:SimpleMenu
45 mResources = context.getResources();
54 return mResources;
62 return addInternal(0, 0, mResources.getString(titleRes));
70 return addInternal(itemId, order, mResources.getString(titleRes));
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
H A DImageWorker.java53 protected Resources mResources; field in class:ImageWorker
61 mResources = context.getResources();
93 new AsyncDrawable(mResources, mLoadingBitmap, task);
119 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId);
295 drawable = new BitmapDrawable(mResources, bitmap);
299 drawable = new RecyclingBitmapDrawable(mResources, bitmap);
397 new BitmapDrawable(mResources, mLoadingBitmap));
H A DImageResizer.java95 return decodeSampledBitmapFromResource(mResources, resId, mImageWidth,
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
H A DImageLoader.java52 private Resources mResources; field in class:ImageLoader
55 mResources = context.getResources();
90 new AsyncDrawable(mResources, mLoadingBitmap, task);
102 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId);
318 new BitmapDrawable(mResources, bitmap)
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DGameControllerInput.java339 private final Resources mResources; field in class:GameControllerInput.SummaryAdapter
354 mResources = resources;
357 mResources.getString(R.string.game_controller_input_heading_device));
359 mResources.getString(R.string.game_controller_input_label_device_name));
362 mResources.getString(R.string.game_controller_input_heading_axes));
364 mResources.getString(R.string.game_controller_input_heading_keys));
410 column.setContent(mResources.getString(state.isKeyPressed(i)

Completed in 768 milliseconds