/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | StringResourceMap.java | 77 for (final StringResource res : mResources) { 78 map.put(res.mName, res);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | CdmaOptions.java | 21 import android.content.res.Resources; 67 Resources res = mPrefActivity.getResources(); 69 if (!res.getBoolean(R.bool.config_show_apn_setting_cdma) && mButtonAPNExpand != null) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | ExternalAccountType.java | 24 import android.content.res.Resources; 25 import android.content.res.TypedArray; 26 import android.content.res.XmlResourceParser; 416 final Resources res; 418 res = context.getPackageManager().getResourcesForApplication(packageName); 423 final int resId = res.getIdentifier(name, null, packageName);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BubbleTextView.java | 20 import android.content.res.ColorStateList; 21 import android.content.res.Resources; 22 import android.content.res.Resources.Theme; 23 import android.content.res.TypedArray; 355 Resources res = getResources(); 359 super.setTextColor(res.getColor(android.R.color.transparent));
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppOpsCategory.java | 28 import android.content.res.Configuration; 29 import android.content.res.Resources; 74 boolean applyNewConfig(Resources res) { argument 75 int configChanges = mLastConfiguration.updateFrom(res.getConfiguration()); 76 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi; 79 mLastDensity = res.getDisplayMetrics().densityDpi;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | MaterialColorMapUtils.java | 21 import android.content.res.Resources; 22 import android.content.res.TypedArray;
|
H A D | BitmapUtil.java | 96 android.content.res.Resources resources, int resourceId, float angle) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | SnoozeLengthDialog.java | 5 import android.content.res.Resources; 6 import android.content.res.TypedArray;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | Config.java | 101 private HashSet<String> loadResourceStringSet(int res) { argument 103 String[] items = mContext.getResources().getStringArray(res);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | SwipeHelper.java | 26 import android.content.res.Resources; 92 Resources res = context.getResources(); 93 SWIPE_ESCAPE_VELOCITY = res.getInteger(R.integer.swipe_escape_velocity); 94 DEFAULT_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.escape_animation_duration); 95 MAX_ESCAPE_ANIMATION_DURATION = res.getInteger(R.integer.max_escape_animation_duration); 96 MAX_DISMISS_VELOCITY = res.getInteger(R.integer.max_dismiss_velocity); 97 SNAP_ANIM_LEN = res.getInteger(R.integer.snap_animation_duration); 98 MIN_SWIPE = res.getDimension(R.dimen.min_swipe);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | DictionaryInfoUtils.java | 21 import android.content.res.AssetManager; 22 import android.content.res.Resources; 231 * Helper method to return a dictionary res id for a locale, or 0 if none. 235 public static int getMainDictionaryResourceIdIfAvailableForLocale(final Resources res, argument 242 if ((resId = res.getIdentifier( 250 if ((resId = res.getIdentifier(dictLanguage, "raw", RESOURCE_PACKAGE_NAME)) != 0) { 263 public static int getMainDictionaryResourceId(final Resources res, final Locale locale) { argument 264 int resourceId = getMainDictionaryResourceIdIfAvailableForLocale(res, locale); 266 return res.getIdentifier(DEFAULT_MAIN_DICT, "raw", RESOURCE_PACKAGE_NAME);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemView.java | 29 import android.content.res.Resources; 442 final Resources res = mContext.getResources(); 443 mTabletDevice = Utils.useTabletUI(res); 444 mListCollapsible = res.getBoolean(R.bool.list_collapsible); 470 mSendersImageView = new CheckableContactFlipDrawable(res, sCabAnimationDuration); 489 final Resources res = context.getResources(); 491 STAR_OFF = BitmapFactory.decodeResource(res, R.drawable.ic_star_outline_20dp); 492 STAR_ON = BitmapFactory.decodeResource(res, R.drawable.ic_star_20dp); 493 ATTACHMENT = BitmapFactory.decodeResource(res, R.drawable.ic_attach_file_20dp); 494 ONLY_TO_ME = BitmapFactory.decodeResource(res, [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | WallpaperCropActivity.java | 25 import android.content.res.Configuration; 26 import android.content.res.Resources; 235 static protected Point getDefaultWallpaperSize(Resources res, WindowManager windowManager) { argument 254 if (isScreenLarge(res)) { 274 public static int getRotationFromExif(Resources res, int resId) { argument 275 return getRotationFromExifHelper(null, res, resId, null, null); 279 String path, Resources res, int resId, Context context, Uri uri) { 291 is = res.openRawResource(resId); 331 Resources res, int resId, final boolean finishActivityWhenDone) { 334 int rotation = getRotationFromExif(res, resI 278 getRotationFromExifHelper( String path, Resources res, int resId, Context context, Uri uri) argument 330 cropImageAndSetWallpaper( Resources res, int resId, final boolean finishActivityWhenDone) argument 356 isScreenLarge(Resources res) argument 503 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument 838 suggestWallpaperDimension(Resources res, final SharedPreferences sharedPrefs, WindowManager windowManager, final WallpaperManager wallpaperManager, boolean fallBackToDefaults) argument [all...] |
H A D | WallpaperPickerActivity.java | 29 import android.content.res.Resources; 231 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { argument 232 mResources = res; 745 final Resources res = getResources(); 773 CharSequence label = res.getString( 783 private static Point getDefaultThumbnailSize(Resources res) { argument 784 return new Point(res.getDimensionPixelSize(R.dimen.wallpaperThumbnailWidth), 785 res.getDimensionPixelSize(R.dimen.wallpaperThumbnailHeight)); 790 Resources res, int resId, int rotation, boolean leftAligned) { 803 context, res, resI 789 createThumbnail(Point size, Context context, Uri uri, byte[] imageBytes, Resources res, int resId, int rotation, boolean leftAligned) argument 1087 addWallpapers(ArrayList<WallpaperTileInfo> known, Resources res, String packageName, int listResId) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | QuickContactActivity.java | 34 import android.content.res.Resources; 1269 final Resources res = context.getResources(); 1285 header = res.getString(R.string.header_im_entry); 1286 subHeader = Im.getProtocolLabel(res, protocol, 1290 header = Im.getProtocolLabel(res, protocol, 1298 header = res.getString(R.string.header_organization_entry); 1314 header = res.getString(R.string.header_nickname_entry); 1321 header = res.getString(R.string.header_note_entry); 1327 header = res.getString(R.string.header_website_entry); 1350 header = res [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | ActivityController.java | 4 import android.content.res.Configuration;
|
H A D | UrlInputView.java | 20 import android.content.res.Configuration; 21 import android.content.res.TypedArray; 132 boolean res = super.onTouchEvent(evt); 140 return res;
|
H A D | XLargeUi.java | 21 import android.content.res.Resources; 280 Resources res = mActivity.getResources(); 282 res.getColor(R.color.tabFaviconBackground)); 284 res.getDimension(R.dimen.tab_favicon_corner_radius));
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
H A D | GeneralPreferencesFragment.java | 22 import android.content.res.Resources; 65 Resources res = getActivity().getResources(); 66 mChoices = res.getStringArray(R.array.pref_homepage_choices); 67 mValues = res.getStringArray(R.array.pref_homepage_values);
|
/packages/apps/Browser/src/com/android/browser/search/ |
H A D | SearchEnginePreference.java | 25 import android.content.res.Resources;
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectCalendarsSyncFragment.java | 29 import android.content.res.Resources; 127 Resources res = getActivity().getResources(); 128 mSyncStatus.setText(res.getString(R.string.acct_not_synced)); 130 mAccountsButton.setText(res.getString(R.string.accounts));
|
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
H A D | dbreg.h | 574 //struct timespec res; 575 struct timeval res; local 576 //clock_gettime(CLOCK_REALTIME, &res); 577 gettimeofday(&res, NULL); 578 return 1000.0*res.tv_sec + (double)res.tv_usec/1e3;
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | LocationDialogLayout.java | 20 import android.content.res.Configuration;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertAudio.java | 23 import android.content.res.AssetFileDescriptor; 24 import android.content.res.Resources; 364 MediaPlayer player, int res) throws java.io.IOException { 365 AssetFileDescriptor afd = resources.openRawResourceFd(res); 363 setDataSourceFromResource(Resources resources, MediaPlayer player, int res) argument
|
/packages/apps/ContactsCommon/ |
H A D | Android.mk | 22 res_dirs := res $(phone_common_dir)/res
|