/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
H A D | FloatingActionButtonController.java | 50 Resources resources = activity.getResources(); 53 mFloatingActionButtonWidth = resources.getDimensionPixelSize( 55 mFloatingActionButtonMarginRight = resources.getDimensionPixelOffset( 57 mAnimationDuration = resources.getInteger( 61 ViewUtil.setupFloatingActionButton(mFloatingActionButtonContainer, resources);
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | DbTestUtils.java | 51 private Resources resources; field in class:DbTestUtils.FakeContext 54 FakeContext(ContentResolver contentResolver, Resources resources) { argument 56 this.resources = resources; 66 return resources; 173 public DbTestUtils(Resources resources) { argument 175 this.context = new FakeContext(contentResolver, resources);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterBorder.java | 76 public void setResources(Resources resources) { argument 77 if (mResources != resources) { 78 mResources = resources;
|
H A D | ImageFilterFx.java | 107 public void setResources(Resources resources) { argument 108 mResources = resources;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | MultiStateButton.java | 47 //on the last set if the resources get set to null. 49 //A list of all drawable resources used by this button in the order it uses them. 62 //Currently using the standard buttonStyle, will update when new resources are added. 86 * This sets the maximum states allowed to the length of the resources array. It will also 89 public void setButtonResources(int[] resources) throws IllegalArgumentException { argument 90 if(resources == null) { 91 throw new IllegalArgumentException("Button resources cannot be null"); 93 mMaxStates = resources.length; 97 mButtonResources = resources;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | RegulatoryInfoDisplayActivity.java | 52 Resources resources = getResources(); 54 if (!resources.getBoolean(R.bool.config_show_regulatory_info)) { 66 Drawable d = resources.getDrawable(resId); 76 CharSequence regulatoryText = resources.getText(R.string.regulatory_info_text);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | TurnAutoSyncOnDialog.java | 73 final Resources resources = getResources(); 74 final boolean isTablet = Utils.useTabletUI(resources); 75 final String bodyText = resources.getString( 77 resources.getString(isTablet ? R.string.tablet : R.string.phone));
|
H A D | ConversationLongPressTipView.java | 73 final Resources resources = context.getResources(); 76 sScrollSlop = resources.getInteger(R.integer.swipeScrollSlop); 77 sShrinkAnimationDuration = resources.getInteger( 83 mTabletDevice = Utils.useTabletUI(resources); 84 mListCollapsible = resources.getBoolean(R.bool.list_collapsible);
|
H A D | ConversationSyncDisabledTipView.java | 106 final Resources resources = context.getResources(); 109 sScrollSlop = resources.getInteger(R.integer.swipeScrollSlop); 110 sShrinkAnimationDuration = resources.getInteger( 134 final String subString = resources.getString(R.string.account_settings_param); 135 final String entireString = resources.getString( 145 mTabletDevice = Utils.useTabletUI(resources); 146 mListCollapsible = resources.getBoolean(R.bool.list_collapsible);
|
H A D | ConversationsInOutboxTipView.java | 90 final Resources resources = context.getResources(); 93 sScrollSlop = resources.getInteger(R.integer.swipeScrollSlop); 94 sShrinkAnimationDuration = resources.getInteger( 98 mTabletDevice = Utils.useTabletUI(resources); 99 mListCollapsible = resources.getBoolean(R.bool.list_collapsible); 203 final Resources resources = getContext().getResources(); 205 final String entireString = resources.getString(
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | TextDecoratorUi.java | 64 final Resources resources = context.getResources(); 65 final int hitAreaMarginInDP = resources.getInteger( 68 hitAreaMarginInDP, resources.getDisplayMetrics()); 69 final DisplayMetrics displayMetrics = resources.getDisplayMetrics(); 199 final Resources resources = context.getResources(); 200 mPath = createPath(resources, pathResourceId, sizeResourceId); 201 mBackgroundColor = resources.getColor(backgroundColorResourceId); 202 mForegroundColor = resources.getColor(foregroundColroResourceId); 222 private static Path createPath(final Resources resources, final int pathResourceId, argument 224 final int size = resources [all...] |
/packages/apps/OMA-DM/engine/javaplugin/api/ |
H A D | Android.mk | 11 #LOCAL_JAVA_RESOURCE_DIRS := resources
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | MakeKeyboardText.java | 62 final MoreKeysResources resources = new MoreKeysResources(jar); 63 resources.writeToJava(options.mJava);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | CircleTimerView.java | 115 Resources resources = c.getResources(); 116 mStrokeSize = resources.getDimension(R.dimen.circletimer_circle_size); 117 float dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size); 118 mMarkerStrokeSize = resources.getDimension(R.dimen.circletimer_marker_size); 123 mWhiteColor = resources.getColor(R.color.clock_white); 124 mAccentColor = resources.getColor(R.color.hot_pink); 125 mScreenDensity = resources.getDisplayMetrics().density;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Utilities.java | 86 final Resources resources = context.getResources(); 87 return createIconBitmap(new BitmapDrawable(resources, icon), context); 211 final Resources resources = context.getResources(); 212 return createIconBitmap(new BitmapDrawable(resources, bitmap), context); 236 final Resources resources = context.getResources(); 237 final DisplayMetrics metrics = resources.getDisplayMetrics(); 240 sIconWidth = sIconHeight = (int) resources.getDimension(R.dimen.app_icon_size);
|
H A D | WallpaperChooserDialogFragment.java | 196 final Resources resources = getResources(); 201 final String packageName = resources.getResourcePackageName(R.array.wallpapers); 203 addWallpapers(resources, packageName, R.array.wallpapers); 204 addWallpapers(resources, packageName, R.array.extra_wallpapers); 207 private void addWallpapers(Resources resources, String packageName, int list) { argument 208 final String[] extras = resources.getStringArray(list); 210 int res = resources.getIdentifier(extra, "drawable", packageName); 212 final int thumbRes = resources.getIdentifier(extra + "_small",
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | ShortcutCardsAdapter.java | 117 final Resources resources = context.getResources(); 121 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_horizontal_clip_limit); 123 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_margin_horizontal); 125 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_margin_top); 127 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_margin_bottom); 129 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_padding_start); 131 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_padding_top); 133 resources.getDimensionPixelSize(R.dimen.recent_call_log_item_padding_bottom); 134 mShortCardBackgroundColor = resources.getColor(R.color.call_log_expanded_background_color);
|
H A D | DialerPhoneNumberListAdapter.java | 138 final Resources resources = getContext().getResources(); 142 text = resources.getString(R.string.search_shortcut_call_number, number); 146 text = resources.getString(R.string.search_shortcut_add_to_contacts); 150 text = resources.getString(R.string.search_shortcut_make_video_call);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | Config.java | 80 Resources resources = ctx.getResources(); 81 if (resources == null) { 86 boolean supported = resources.getBoolean(PROFILE_SERVICES_FLAG[i]);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmNotifications.java | 67 Resources resources = context.getResources(); 69 .setContentTitle(resources.getString(R.string.alarm_alert_predismiss_title)) 87 resources.getString(R.string.alarm_alert_dismiss_now_text), 105 Resources resources = context.getResources(); 107 .setContentTitle(resources.getString(R.string.alarm_alert_predismiss_title)) 119 resources.getString(R.string.alarm_alert_dismiss_now_text), 137 Resources resources = context.getResources(); 140 .setContentText(resources.getString(R.string.alarm_alert_snooze_until, 152 resources.getString(R.string.alarm_alert_dismiss_text), 205 Resources resources [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | HomeXLarge.java | 82 Resources resources = getResources(); 84 .setIcon(resources.getDrawable(android.R.drawable.ic_menu_search)); 86 .setIcon(resources.getDrawable(android.R.drawable.ic_menu_add));
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | TouchCircleDrawable.java | 72 * @param resources Resources, needed to poke around for the background 78 public TouchCircleDrawable(Resources resources, int color, int baseColor) { argument 83 mBackgroundPaint.setColor(resources.getColor(R.color.mode_icon_hover_highlight)); 91 * @param resources Resources, needed to poke around for the background color value. 93 public TouchCircleDrawable(Resources resources) { argument 94 this(resources, 0xffffff, 0xffffff);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | CalendarInteractionUtils.java | 21 // Using int constants as a return value instead of an enum to minimize resources. 40 Resources resources = context.getResources(); 51 datetimeString = resources.getString(R.string.today); 53 datetimeString = resources.getString(R.string.tomorrow); 74 datetimeString = resources.getString(R.string.today_at_time_fmt, 78 datetimeString = resources.getString(R.string.tomorrow_at_time_fmt, 84 datetimeString = resources.getString(R.string.date_time_fmt, dateString,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | UriUtils.java | 63 public static String getAndroidResourceUri(Resources resources, int resourceId) { argument 65 + SCHEME_DELIMITER + resources.getResourceName(resourceId) 75 Resources resources = context.getPackageManager().getResourcesForApplication(r.packageName); 76 if (resources == null) { 79 final int id = resources.getIdentifier(r.resourceName, null, null); 80 return resources.getDrawable(id);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | BitmapWorkerTask.java | 302 Resources resources = context.getPackageManager() 304 if (resources == null) { 307 final int id = resources.getIdentifier(r.resourceName, null, null); 309 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of " 314 resources.getValue(id, value, true); 318 return resources.getDrawable(id); 320 return resources.openRawResource(id, value); 343 Resources resources = 345 int id = resources.getIdentifier(iconResource.resourceName, null, null); 349 return resources [all...] |