HomeSort by relevance Sort by last modified time
    Searched defs:mResources (Results 51 - 75 of 97) sorted by null

1 23 4

  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaAdapter.java 43 private final Resources mResources;
86 mResources = context.getResources();
87 mNoTitleLabel = mResources.getString(R.string.no_title_label);
88 mDeclinedColor = mResources.getColor(R.color.agenda_item_declined_color);
89 mStandardColor = mResources.getColor(R.color.agenda_item_standard_color);
90 mWhereDeclinedColor = mResources.getColor(R.color.agenda_item_where_declined_text_color);
91 mWhereColor = mResources.getColor(R.color.agenda_item_where_text_color);
95 COLOR_CHIP_ALL_DAY_HEIGHT = mResources.getInteger(R.integer.color_chip_all_day_height);
96 COLOR_CHIP_HEIGHT = mResources.getInteger(R.integer.color_chip_height);
98 mScale = mResources.getDisplayMetrics().density
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetService.java 124 private Resources mResources;
168 mResources = context.getResources();
172 mDeclinedColor = mResources.getColor(R.color.appwidget_item_declined_color);
173 mStandardColor = mResources.getColor(R.color.appwidget_item_standard_color);
174 mAllDayColor = mResources.getColor(R.color.appwidget_item_allday_color);
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadAdapter.java 48 private Resources mResources;
66 mResources = mDownloadList.getResources();
105 title = mResources.getString(R.string.missing_title);
116 statusText = mResources.getString(getStatusStringId(status));
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java 81 protected final Resources mResources;
97 mResources = context.getResources();
99 mMaxQueueSize = mResources.getInteger(R.integer.image_queue_size);
100 mMaxCropRatio = mResources.getInteger(R.integer.max_crop_ratio) / 1000000f;
101 mBadImageSkipLimit = mResources.getInteger(R.integer.bad_image_skip_limit);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/
ConfigMatchTest.java 49 private ProjectResources mResources;
64 mResources = new ProjectResources(null /*project*/);
101 addFolder(mResources, defaultConfig, validMemberList);
125 addFolder(mResources, config1, validMemberList);
149 addFolder(mResources, config2, validMemberList);
173 addFolder(mResources, config3, validMemberList);
197 addFolder(mResources, config4, invalidMemberList);
203 mResources = null;
229 ResourceFile result = mResources.getMatchingFile(SEARCHED_FILENAME,
  /sdk/lint/cli/src/com/android/tools/lint/
Reporter.java 52 protected File mResources;
168 if (mResources == null && mBundleResources) {
169 mResources = computeResourceDir();
170 if (mResources == null) {
175 return mResources;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyboardSwitcher.java 75 private Resources mResources;
104 mResources = latinIme.getResources();
149 mState.onLoadKeyboard(mResources.getString(R.string.layout_switch_back_symbols));
177 SettingsValues.isKeyPreviewPopupEnabled(mPrefs, mResources),
178 SettingsValues.getKeyPreviewPopupDismissDelay(mPrefs, mResources));
KeyboardLayoutSet.java 209 private final Resources mResources;
219 mResources = context.getResources();
279 final String packageName = mResources.getResourcePackageName(
282 final int xmlId = mResources.getIdentifier(keyboardLayoutSetName, "xml", packageName);
284 parseKeyboardLayoutSet(mResources, xmlId);
335 final TypedArray a = mResources.obtainAttributes(Xml.asAttributeSet(parser),
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimationDrawableTest.java 50 private Resources mResources;
60 mResources = activity.getResources();
183 Drawable frame = mResources.getDrawable(R.drawable.failed);
201 Drawable drawable = mResources.getDrawable(R.drawable.testimage);
206 drawable = mResources.getDrawable(R.drawable.pass);
211 drawable = mResources.getDrawable(R.drawable.scenery);
286 mAnimationDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
299 mAnimationDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
317 mAnimationDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
334 mAnimationDrawable.inflate(mResources, null, Xml.asAttributeSet(parser))
    [all...]
NinePatchDrawableTest.java 52 private Resources mResources;
57 mResources = getInstrumentation().getTargetContext().getResources();
68 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0);
69 String name = mResources.getResourceName(R.drawable.ninepatch_0);
143 NinePatchDrawable npd = (NinePatchDrawable) mResources.getDrawable(R.drawable.ninepatch_0);
151 npd = (NinePatchDrawable) mResources.getDrawable(R.drawable.ninepatch_1);
291 new NinePatchDrawable(mResources, bitmap, new byte[1000], null, "TESTNAME");
295 XmlResourceParser parser = mResources.getXml(R.drawable.ninepatchdrawable);
301 ninePatchDrawable.inflate(mResources, parser, attrs);
310 (NinePatchDrawable) mResources.getDrawable(R.drawable.ninepatchdrawable)
    [all...]
StateListDrawableTest.java 43 private Resources mResources;
52 mResources = getInstrumentation().getTargetContext().getResources();
160 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
181 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
199 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
214 mStateListDrawable.inflate(mResources, null, Xml.asAttributeSet(parser));
220 mStateListDrawable.inflate(mResources, parser, null);
228 (StateListDrawable) mResources.getDrawable(R.drawable.statelistdrawable);
230 (StateListDrawable) mResources.getDrawable(R.drawable.statelistdrawable);
232 (StateListDrawable) mResources.getDrawable(R.drawable.statelistdrawable)
    [all...]
DrawableTest.java 49 Resources mResources;
55 mResources = mContext.getResources();
141 source = mResources.openRawResource(R.raw.testimage);
219 assertNull(Drawable.createFromResourceStream(mResources, null, inputEmptyStream,
228 assertNotNull(Drawable.createFromResourceStream(mResources, value, inputStream,
269 assertNull(Drawable.createFromResourceStream(mResources, null, inputEmptyStream,
278 assertNotNull(Drawable.createFromResourceStream(mResources, value, inputStream,
301 XmlPullParser parser = mResources.getXml(R.drawable.gradientdrawable);
302 Drawable drawable = Drawable.createFromXml(mResources, parser);
309 XmlPullParser parser = mResources.getXml(R.drawable.gradientdrawable)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecoderTest.java 39 private Resources mResources;
44 mResources = mContext.getResources();
79 AssetFileDescriptor masterFd = mResources.openRawResourceFd(master);
95 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput);
MediaPlayerTestBase.java 100 protected Resources mResources;
128 mResources = mContext.getResources();
146 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
165 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
MediaRandomTest.java 55 private Resources mResources;
68 mResources = getInstrumentation().getTargetContext().getResources();
165 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageWorker.java 52 protected Resources mResources;
60 mResources = context.getResources();
91 new AsyncDrawable(mResources, mLoadingBitmap, task);
116 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId);
362 new BitmapDrawable(mResources, bitmap)
366 new BitmapDrawable(mResources, mLoadingBitmap));
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactTileAdapter.java 53 private Resources mResources;
120 mResources = context.getResources();
260 contact.name = (name != null) ? name : mResources.getString(R.string.missing_name);
270 contact.phoneLabel = (String) Phone.getTypeLabel(mResources, phoneNumberType,
  /packages/apps/DeskClock/src/com/android/deskclock/
CircleTimerView.java 38 private Resources mResources;
118 mResources = c.getResources();
119 mCircleXCenterLeftPadding = (mResources.getDimension(R.dimen.timer_circle_width)
120 - mResources.getDimension(R.dimen.timer_circle_diameter)) / 2;
121 mStrokeSize = mResources.getDimension(R.dimen.circletimer_circle_size);
122 mDiamondStrokeSize = mResources.getDimension(R.dimen.circletimer_diamond_size);
123 mMarkerStrokeSize = mResources.getDimension(R.dimen.circletimer_marker_size);
128 mWhiteColor = mResources.getColor(R.color.clock_white);
129 mRedColor = mResources.getColor(R.color.clock_red);
130 mScreenDensity = mResources.getDisplayMetrics().density
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectPickerAdapter.java 52 private Resources mResources;
65 mResources = context.getResources();
68 mItemWidth = (int) mResources.getDimension(R.dimen.project_picker_item_width);
69 mItemHeight = (int) mResources.getDimension(R.dimen.project_picker_item_height);
70 mOverlayHeight = (int) mResources.getDimension(
72 mOverlayVerticalInset = (int) mResources.getDimension(
74 mOverlayHorizontalInset = (int) mResources.getDimension(
177 paint.setTextSize((int) mResources.getDimension(R.dimen.project_picker_item_font_size));
219 final Bitmap newProjectIcon = BitmapFactory.decodeResource(mResources,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SubtypeSwitcher.java 47 private /* final */ Resources mResources;
95 mResources = service.getResources();
99 mCurrentSystemLocale = mResources.getConfiguration().locale;
114 mCurrentSystemLocale = mResources.getConfiguration().locale;
  /cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java 44 private Resources mResources;
49 mResources = mContext.getResources();
169 Drawable drawable = mResources.getDrawable(R.drawable.scenery);
189 Drawable firstDrawable = mResources.getDrawable(R.drawable.scenery);
198 Drawable secondDrawable = mResources.getDrawable(R.drawable.pass);
262 drawable = mResources.getDrawable(R.drawable.scenery);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 137 private final Resources mResources;
148 mResources = resources;
270 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resource);
  /packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
HoloSpiralRS.java 66 private Resources mResources = null;
74 mResources = resources;
100 mScript = new ScriptC_holo_spiral(mRS, mResources, R.raw.holo_spiral);
121 backgroundBuilder.setShader(mResources, R.raw.vertex_background);
127 geometryBuilder.setShader(mResources, R.raw.vertex_geometry);
137 backgroundBuilder.setShader(mResources, R.raw.fragment_background);
142 geometryBuilder.setShader(mResources, R.raw.fragment_geometry);
183 mResources, R.drawable.points_red_green, null);
  /packages/apps/Music/src/com/android/music/
ArtistAlbumBrowserActivity.java 557 private final Resources mResources;
605 mResources = context.getResources();
621 mResources.getString(R.string.fast_scroll_alphabet));
724 builder.append(mResources.getQuantityString(R.plurals.Nsongs, numsongs, args));
730 builder.append(mResources.getQuantityString(R.plurals.Nsongscomp, numsongs, args));
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameControllerInput.java 343 private final Resources mResources;
358 mResources = resources;
361 mResources.getString(R.string.game_controller_input_heading_device));
363 mResources.getString(R.string.game_controller_input_label_device_name));
366 mResources.getString(R.string.game_controller_input_heading_axes));
368 mResources.getString(R.string.game_controller_input_heading_keys));
414 column.setContent(mResources.getString(state.isKeyPressed(i)

Completed in 1107 milliseconds

1 23 4