Searched refs:res (Results 176 - 200 of 877) sorted by relevance

1234567891011>>

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTableDream.java18 import android.content.res.Resources;
/packages/apps/Dialer/src/com/android/dialer/list/
H A DSwipeHelper.java26 import android.content.res.Resources;
103 Resources res = context.getResources();
104 SWIPE_ESCAPE_VELOCITY = res.getInteger(R.integer.swipe_escape_velocity);
105 DEFAULT_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.escape_animation_duration);
106 MAX_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.max_escape_animation_duration);
107 MAX_DISMISS_VELOCITY = res.getInteger(R.integer.max_dismiss_velocity);
108 SNAP_ANIM_LEN = res.getInteger(R.integer.snap_animation_duration);
109 SWIPE_SCROLL_SLOP = res.getInteger(R.integer.swipe_scroll_slop);
110 MIN_SWIPE = res.getDimension(R.dimen.min_swipe);
111 MIN_VERT = res
[all...]
/packages/apps/Camera2/
H A DAndroid.mk17 $(LOCAL_PATH)/res \
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DItemOperationsParser.java82 boolean res = false;
96 return res;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageDraw.java5 import android.content.res.Resources;
78 Resources res = context.getResources();
79 mDisplayRound = res.getDimensionPixelSize(R.dimen.draw_rect_round);
80 mDisplayBorder = res.getDimensionPixelSize(R.dimen.draw_rect_border);
81 mBorderShadowSize = res.getDimensionPixelSize(R.dimen.draw_rect_shadow);
82 float edge = res.getDimensionPixelSize(R.dimen.draw_rect_border_edge);
84 mBorderColor = res.getColor(R.color.draw_rect_border);
92 mShadow = (NinePatchDrawable) res.getDrawable(R.drawable.geometry_shadow);
/packages/apps/Launcher3/
H A DAndroid.mk32 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res $(LOCAL_PATH)/res
/packages/apps/Settings/
H A DAndroid.mk13 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DDataClearer.java67 boolean res = am.clearApplicationUserData(
79 if (!res) {
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DPhoneService.java55 int res = ACTION_ANSWER.equals(intent.getAction()) ? R.string.answered : R.string.ignored;
56 final String text = getString(res);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertAdapter.java23 import android.content.res.Resources;
84 Resources res = context.getResources();
90 mPastEventColor = res.getColor(R.color.alert_past_event);
91 mTitleColor = res.getColor(R.color.alert_event_title);
92 mOtherColor = res.getColor(R.color.alert_event_other);
108 eventName = res.getString(R.string.no_title_label);
/packages/apps/Camera/src/com/android/camera/ui/
H A DFaceView.java21 import android.content.res.Resources;
84 Resources res = getResources();
85 mFocusingColor = res.getColor(R.color.face_detect_start);
86 mFocusedColor = res.getColor(R.color.face_detect_success);
87 mFailColor = res.getColor(R.color.face_detect_fail);
92 mPaint.setStrokeWidth(res.getDimension(R.dimen.face_circle_stroke));
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DImportExportDialogFragment.java26 import android.content.res.Resources;
86 final Resources res = getActivity().getResources();
111 && res.getBoolean(R.bool.config_allow_sim_import)) {
114 if (res.getBoolean(R.bool.config_allow_import_from_sdcard)) {
117 if (res.getBoolean(R.bool.config_allow_export_to_sdcard)) {
122 if (res.getBoolean(R.bool.config_allow_share_visible_contacts)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilter.java111 int res = accountName.compareTo(another.accountName);
112 if (res != 0) {
113 return res;
116 res = accountType.compareTo(another.accountType);
117 if (res != 0) {
118 return res;
/packages/apps/Exchange/
H A DAndroid.mk23 # Include res dir from emailcommon
25 res_dir := res $(emailcommon_dir)/res
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterGrad.java77 protected void createFilter(android.content.res.Resources res, float scaleFactor, argument
79 createFilter(res, scaleFactor, quality, getInPixelsAllocation());
83 protected void createFilter(android.content.res.Resources res, float scaleFactor, argument
90 mScript = new ScriptC_grad(rsCtx, res, R.raw.grad);
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartGridView.java22 import android.content.res.ColorStateList;
23 import android.content.res.Resources;
24 import android.content.res.TypedArray;
170 final Resources res = getResources();
172 paint.density = res.getDisplayMetrics().density;
173 paint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale);
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksProvider.java26 import android.content.res.Configuration;
27 import android.content.res.Resources;
28 import android.content.res.TypedArray;
55 * res/
212 Resources res = getContext().getResources();
214 CharSequence bookmarksFolderName = res.getText(R.string.bookmarks_folder_name);
215 final CharSequence[] bookmarks = res.getTextArray(R.array.bookmarks);
232 setActiveConfiguration(res.getConfiguration());
233 } catch (android.content.res.Resources.NotFoundException e) {
254 Resources res
325 readRaw(Resources res, int id) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleWeekView.java24 import android.content.res.Resources;
172 Resources res = context.getResources();
174 mBGColor = res.getColor(R.color.month_bgcolor);
175 mSelectedWeekBGColor = res.getColor(R.color.month_selected_week_bgcolor);
176 mFocusMonthColor = res.getColor(R.color.month_mini_day_number);
177 mOtherMonthColor = res.getColor(R.color.month_other_month_day_number);
178 mDaySeparatorColor = res.getColor(R.color.month_grid_lines);
179 mTodayOutlineColor = res.getColor(R.color.mini_month_today_outline_color);
180 mWeekNumColor = res.getColor(R.color.month_week_num_color);
181 mSelectedDayLine = res
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java22 import android.content.res.Configuration;
23 import android.content.res.Resources;
166 Resources res) {
167 DisplayMetrics dm = res.getDisplayMetrics();
171 res.getBoolean(R.bool.hotseat_transpose_layout_with_orientation);
178 edgeMarginPx = res.getDimensionPixelSize(R.dimen.dynamic_grid_edge_margin);
181 res.getDimensionPixelSize(R.dimen.dynamic_grid_page_indicator_height);
183 res.getDimensionPixelSize(R.dimen.dynamic_grid_workspace_page_spacing);
185 res.getDimensionPixelSize(R.dimen.dynamic_grid_all_apps_cell_padding);
187 res
161 DeviceProfile(Context context, ArrayList<DeviceProfile> profiles, float minWidth, float minHeight, int wPx, int hPx, int awPx, int ahPx, Resources res) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DTabBar.java25 import android.content.res.Configuration;
26 import android.content.res.Resources;
95 Resources res = activity.getResources();
96 mTabWidth = (int) res.getDimension(R.dimen.tab_width);
97 mActiveDrawable = res.getDrawable(R.drawable.bg_urlbar);
98 mInactiveDrawable = res.getDrawable(R.drawable.browsertab_inactive);
103 setPadding(0, (int) res.getDimension(R.dimen.tab_padding_top), 0, 0);
111 mTabOverlap = (int) res.getDimension(R.dimen.tab_overlap);
112 mAddTabOverlap = (int) res.getDimension(R.dimen.tab_addoverlap);
113 mTabSliceWidth = (int) res
[all...]
H A DNavigationBarPhone.java20 import android.content.res.Resources;
86 Resources res = getContext().getResources();
87 mStopDrawable = res.getDrawable(R.drawable.ic_stop_holo_dark);
88 mRefreshDrawable = res.getDrawable(R.drawable.ic_refresh_holo_dark);
89 mStopDescription = res.getString(R.string.accessibility_button_stop);
90 mRefreshDescription = res.getString(R.string.accessibility_button_refresh);
91 mTextfieldBgDrawable = res.getDrawable(R.drawable.textfield_active_holo_dark);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSendersView.java24 import android.content.res.Resources;
112 Resources res = context.getResources();
113 sSendersSplitToken = res.getString(R.string.senders_split_token);
114 sElidedString = res.getString(R.string.senders_elided);
115 sDraftSingularString = res.getQuantityText(R.plurals.draft, 1);
116 sDraftPluralString = res.getQuantityText(R.plurals.draft, 2);
117 sDraftCountFormatString = res.getString(R.string.draft_count_format);
118 sMeSubjectString = res.getString(R.string.me_subject_pronoun);
119 sMeObjectString = res.getString(R.string.me_object_pronoun);
120 sToHeaderString = res
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalAlbum.java20 import android.content.res.Resources;
280 public static String getLocalizedName(Resources res, int bucketId, argument
283 return res.getString(R.string.folder_camera);
285 return res.getString(R.string.folder_download);
287 return res.getString(R.string.folder_imported);
289 return res.getString(R.string.folder_screenshot);
291 return res.getString(R.string.folder_edited_online_photos);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DCaptionPreviewFragment.java34 import android.content.res.Resources;
35 import android.content.res.Configuration;
158 final Resources res = context.getResources();
159 final Configuration config = res.getConfiguration();
163 res.updateConfiguration(config, null);
164 return res.getText(resId);
167 res.updateConfiguration(config, null);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DTwoPaneLayout.java25 import android.content.res.Resources;
115 final Resources res = getResources();
120 mListCollapsible = res.getBoolean(R.bool.list_collapsible);
122 mDrawerWidthMini = res.getDimensionPixelSize(R.dimen.two_pane_drawer_width_mini);
123 mDrawerWidthOpen = res.getDimensionPixelSize(R.dimen.two_pane_drawer_width_open);
128 final int convListWeight = res.getInteger(R.integer.conversation_list_weight);
129 final int convViewWeight = res.getInteger(R.integer.conversation_view_weight);

Completed in 725 milliseconds

1234567891011>>