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

123

/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DPhoneNumberDisplayHelper.java31 private final Resources mResources; field in class:PhoneNumberDisplayHelper
34 mResources = resources;
40 mResources = resources;
45 return mResources.getString(R.string.unknown);
48 return mResources.getString(R.string.private_num);
51 return mResources.getString(R.string.payphone);
54 return mResources.getString(R.string.voicemail);
57 return mResources.getString(R.string.unknown);
H A DCallLogListItemHelper.java38 private final Resources mResources; field in class:CallLogListItemHelper
50 mResources = resources;
82 mResources.getString(R.string.description_call_back_action, views.nameOrNumber));
85 mResources.getString(R.string.description_video_call_action, views.nameOrNumber));
88 mResources.getString(R.string.description_voicemail_action, views.nameOrNumber));
91 mResources.getString(R.string.description_details_action, views.nameOrNumber));
101 return mResources.getString(R.string.description_contact_details, getNameOrNumber(details));
152 callDescription.append(mResources.getString(R.string.description_new_voicemail));
157 callDescription.append(mResources.getString(R.string.description_num_calls,
164 callDescription.append(mResources
[all...]
H A DCallTypeIconsView.java45 private Resources mResources; field in class:CallTypeIconsView
55 mResources = new Resources(context);
69 mWidth += drawable.getIntrinsicWidth() + mResources.iconMargin;
82 mWidth += mResources.videoCall.getIntrinsicWidth();
83 mHeight = Math.max(mHeight, mResources.videoCall.getIntrinsicHeight());
110 return mResources.incoming;
112 return mResources.outgoing;
114 return mResources.missed;
116 return mResources.voicemail;
122 return mResources
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/util/
H A DDialerUtilsTest.java35 private Resources mResources; field in class:DialerUtilsTest
46 mResources = context.getResources();
54 CharSequence joined = DialerUtils.join(mResources, mItems);
64 CharSequence joined = DialerUtils.join(mResources, mItems);
75 CharSequence joined = DialerUtils.join(mResources, mItems);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterBorder.java33 private Resources mResources = null; field in class:ImageFilterBorder
77 if (mResources != resources) {
78 mResources = resources;
85 if (drawable == null && mResources != null && rsc != 0) {
86 drawable = new BitmapDrawable(mResources, BitmapFactory.decodeResource(mResources, rsc));
H A DImageFilterFx.java28 private Resources mResources = null; field in class:ImageFilterFx
60 if (getParameters() == null || mResources == null) {
77 mFxBitmap = BitmapFactory.decodeResource(mResources, mFxBitmapId, o);
108 mResources = resources;
/packages/apps/Email/src/com/android/email/
H A DResourceHelper.java32 private final Resources mResources; field in class:ResourceHelper
40 mResources = mContext.getResources();
42 mAccountColorArray = mResources.obtainTypedArray(R.array.combined_view_account_colors);
43 mAccountColors = mResources.getIntArray(R.array.combined_view_account_colors);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DDeveloperOptionsActivity.java102 mActions.add(ActionType.DEVELOPER_GENERAL.toAction(mResources));
103 mActions.add(ActionType.DEVELOPER_DEBUGGING.toAction(mResources));
104 mActions.add(ActionType.DEVELOPER_INPUT.toAction(mResources));
105 mActions.add(ActionType.DEVELOPER_DRAWING.toAction(mResources));
106 mActions.add(ActionType.DEVELOPER_MONITORING.toAction(mResources));
107 mActions.add(ActionType.DEVELOPER_APPS.toAction(mResources));
110 mActions.add(ActionType.DEVELOPER_GENERAL_STAY_AWAKE.toAction(mResources,
113 mActions.add(ActionType.DEVELOPER_GENERAL_HDCP_CHECKING.toAction(mResources,
116 mActions.add(ActionType.DEVELOPER_GENERAL_HDMI_OPTIMIZATION.toAction(mResources,
119 mActions.add(ActionType.DEVELOPER_GENERAL_BT_HCI_LOG.toAction(mResources,
[all...]
H A DLocationActivity.java109 mResources, mHelper.getStatusStringFromBoolean(isLocationEnabled())));
111 mActions.add(ActionType.LOCATION_MODE.toAction(mResources,
113 mActions.add(ActionType.LOCATION_RECENT_REQUESTS.toAction(mResources));
117 Action locationStatusOn = ActionType.ON.toAction(mResources);
119 Action locationStatusOff = ActionType.OFF.toAction(mResources);
128 mResources, false));
132 mActions.add(ActionType.LOCATION_SERVICES_GOOGLE.toAction(mResources));
139 mActions.add(ActionType.LOCATION_SERVICES_GOOGLE_REPORTING.toAction(mResources));
140 mActions.add(ActionType.LOCATION_SERVICES_GOOGLE_HISTORY.toAction(mResources));
145 mActions.add(ActionType.ON.toAction(mResources));
[all...]
H A DSecurityActivity.java94 mActions.add(ActionType.SECURITY_UNKNOWN_SOURCES.toAction(mResources,
97 Action verifierAction = ActionType.SECURITY_VERIFY_APPS.toAction(mResources,
110 ActionType.SECURITY_UNKNOWN_SOURCES.name()), mResources,
113 ActionType.SECURITY_UNKNOWN_SOURCES.name()), mResources,
118 ActionType.SECURITY_UNKNOWN_SOURCES_CONFIRM.name()), mResources));
120 ActionType.SECURITY_UNKNOWN_SOURCES_CONFIRM.name()), mResources));
125 ActionType.SECURITY_VERIFY_APPS.name()), mResources,
128 ActionType.SECURITY_VERIFY_APPS.name()), mResources,
H A DCaptionSetupActivity.java52 private Resources mResources; field in class:CaptionSetupActivity
114 mResources = getResources();
121 mStyleNames = mResources.getStringArray(R.array.captioning_preset_selector_titles);
123 mTextSizes = mResources.getStringArray(R.array.captioning_font_size_selector_values);
124 mTextSizeNames = mResources.getStringArray(R.array.captioning_font_size_selector_titles);
128 mFontFamilies = mResources.getStringArray(R.array.captioning_typeface_selector_values);
129 mFontFamilyNames = mResources.getStringArray(R.array.captioning_typeface_selector_titles);
134 mEdgeTypeNames = mResources.getStringArray(R.array.captioning_edge_type_selector_titles);
137 mOpacityNames = mResources.getStringArray(R.array.captioning_opacity_selector_titles);
139 mNone = mResources
[all...]
H A DAccessibilityActivity.java113 mResources = getResources();
129 mActions.add(ActionType.ACCESSIBILITY_CAPTIONS.toAction(mResources));
130 mActions.add(ActionType.ACCESSIBILITY_SERVICES.toAction(mResources));
131 mActions.add(ActionType.ACCESSIBILITY_SPEAK_PASSWORDS.toAction(mResources,
134 mActions.add(ActionType.ACCESSIBILITY_TTS_OUTPUT.toAction(mResources,
141 mActions.add(ActionType.ACCESSIBILITY_SERVICES_STATUS.toAction(mResources,
144 mActions.add(ActionType.ACCESSIBILITY_SERVICE_CONFIG.toAction(mResources));
151 mActions.add(ActionType.AGREE.toAction(mResources));
152 mActions.add(ActionType.DISAGREE.toAction(mResources));
155 mActions.add(ActionType.OK.toAction(mResources));
[all...]
H A DDateTimeActivity.java334 mActions.add(ActionType.AUTO_DATE_TIME.toAction(mResources,
337 mActions.add(ActionType.DATE.toAction(mResources, mNowDate));
338 mActions.add(ActionType.TIME.toAction(mResources, mNowTime));
341 mActions.add(ActionType.DATE_SET_DATE.toAction(mResources, mNowDate));
342 mActions.add(ActionType.DATE_CHOOSE_FORMAT.toAction(mResources,
346 mActions.add(ActionType.TIME_SET_TIME.toAction(mResources, mNowTime));
347 mActions.add(ActionType.TIME_SET_TIME_ZONE.toAction(mResources,
350 mResources, getTimeFormatDescription()));
368 mActions.add(ActionType.AUTO_DATE_TIME.toAction(mResources,
370 mActions.add(ActionType.DATE.toAction(mResources, mNowDat
[all...]
/packages/wallpapers/Basic/src/com/android/wallpaper/
H A DRenderScriptScene.java29 protected Resources mResources; field in class:RenderScriptScene
40 mResources = res;
58 return mResources;
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DRenderScriptScene.java31 protected Resources mResources; field in class:RenderScriptScene
42 mResources = res;
60 return mResources;
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
H A DRenderScriptScene.java30 protected Resources mResources; field in class:RenderScriptScene
41 mResources = res;
59 return mResources;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DBaseSettingsActivity.java38 protected Resources mResources; field in class:BaseSettingsActivity
50 mResources = getResources();
69 String title = titleResId != 0 ? mResources.getString(titleResId) : null;
70 String breadcrumb = breadcrumbResId != 0 ? mResources.getString(breadcrumbResId) : null;
71 String description = descResId != 0 ? mResources.getString(descResId) : null;
95 String title = titleResId != 0 ? mResources.getString(titleResId) : null;
96 String description = descResId != 0 ? mResources.getString(descResId) : null;
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DStringResourceMap.java41 private final List<StringResource> mResources; field in class:StringResourceMap
75 mResources = Collections.unmodifiableList(handler.mResources);
77 for (final StringResource res : mResources) {
84 return mResources;
108 final ArrayList<StringResource> mResources = new ArrayList<>(); field in class:StringResourceMap.StringResourceHandler
153 mResources.add(new StringResource(mName, value, comment));
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogListItemHelperTest.java56 private Resources mResources; field in class:CallLogListItemHelperTest
62 mResources = context.getResources();
63 CallTypeHelper callTypeHelper = new CallTypeHelper(mResources);
67 mResources, callTypeHelper, phoneUtils);
68 mPhoneNumberDisplayHelper = new PhoneNumberDisplayHelper(mResources);
70 mResources);
238 .contains(this.mResources.getString(R.string.description_new_voicemail)));
252 .contains(this.mResources.getString(R.string.description_new_voicemail)));
266 .contains(this.mResources.getString(R.string.description_new_voicemail)));
280 .contains(this.mResources
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaAdapter.java43 private final Resources mResources; field in class:AgendaAdapter
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
[all...]
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
H A DVisualization4RS.java95 mScript = new ScriptC_vu(mRS, mResources, R.raw.vu);
111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
115 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame,
119 mTextures[2] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.peak_on,
123 mTextures[3] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.peak_off,
127 mTextures[4] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.needle,
131 mTextures[5] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.black,
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
H A DDreamBackend.java52 private final Resources mResources; field in class:DreamBackend
61 mResources = context.getResources();
64 mDreamsEnabledByDefault = mResources.getBoolean(
88 mResources.getString(R.string.device_daydreams_none), isEnabled());
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiConfigurationActivity.java150 mActions.add(ActionType.CONECTIVITY_SETTINGS_STATUS_INFO.toAction(mResources));
151 mActions.add(ActionType.CONECTIVITY_SETTINGS_ADVANCED_OPTIONS.toAction(mResources));
152 mActions.add(ActionType.CONECTIVITY_SETTINGS_FORGET_NETWORK.toAction(mResources));
168 toInfo(mResources, R.string.not_connected));
173 toInfo(mResources, R.string.connected));
177 toInfo(mResources,
182 toInfo(mResources, wifiInfo.getMacAddress()));
190 toInfo(mResources, signalLevels[strength]));
206 toAction(mResources, proxySettingsResourceId));
213 toAction(mResources, ipSettingsResourceI
[all...]
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
H A DHoloSpiralRS.java66 private Resources mResources = null; field in class:HoloSpiralRS
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/Dialer/src/com/android/dialer/
H A DPhoneCallDetailsHelper.java47 private final Resources mResources; field in class:PhoneCallDetailsHelper
68 mResources = resources;
157 return DialerUtils.join(mResources, mDescriptionItems);
177 numberFormattedLabel = Phone.getTypeLabel(mResources, details.numberType,
208 mResources.getString(R.string.recentCalls_addToContact));
242 text = mResources.getString(

Completed in 1743 milliseconds

123