/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTableDream.java | 18 import android.content.res.Resources;
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | SwipeHelper.java | 26 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 D | Android.mk | 17 $(LOCAL_PATH)/res \
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | ItemOperationsParser.java | 82 boolean res = false; 96 return res;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageDraw.java | 5 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 D | Android.mk | 32 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res $(LOCAL_PATH)/res
|
/packages/apps/Settings/ |
H A D | Android.mk | 13 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
H A D | DataClearer.java | 67 boolean res = am.clearApplicationUserData( 79 if (!res) {
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
H A D | PhoneService.java | 55 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 D | AlertAdapter.java | 23 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 D | FaceView.java | 21 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 D | ImportExportDialogFragment.java | 26 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 D | ContactListFilter.java | 111 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 D | Android.mk | 23 # Include res dir from emailcommon 25 res_dir := res $(emailcommon_dir)/res
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterGrad.java | 77 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 D | ChartGridView.java | 22 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 D | PartnerBookmarksProvider.java | 26 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 D | SimpleWeekView.java | 24 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 D | DeviceProfile.java | 22 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 D | TabBar.java | 25 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 D | NavigationBarPhone.java | 20 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 D | SendersView.java | 24 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 D | LocalAlbum.java | 20 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 D | CaptionPreviewFragment.java | 34 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 D | TwoPaneLayout.java | 25 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);
|