/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 23 import android.content.res.Resources; 124 private Resources mRes; 180 protected SettingsValues job(final Resources res) { in loadSettings() 199 public static int readScreenMetrics(final Resources res) { in readScreenMetrics() 205 final Resources res) { in readKeypressSoundEnabled() 211 final Resources res) { in readVibrationEnabled() 218 final Resources res) { in readAutoCorrectEnabled() 222 public static float readPlausibilityThreshold(final Resources res) { in readPlausibilityThreshold() 227 final Resources res) { in readBlockPotentiallyOffensive() 232 public static boolean readFromBuildConfigIfGestureInputEnabled(final Resources res) { in readFromBuildConfigIfGestureInputEnabled() [all …]
|
D | AdvancedSettingsFragment.java | 21 import android.content.res.Resources; 49 final Resources res = getResources(); in onCreate() 106 final Resources res = getResources(); in onSharedPreferenceChanged() 119 final Resources res = getResources(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() 133 final Resources res = getResources(); in setupKeypressVibrationDurationSettings() 177 final Resources res = getResources(); in setupKeypressSoundVolumeSettings() 228 final Resources res = getResources(); in setupKeyLongpressTimeoutSettings()
|
D | PreferencesSettingsFragment.java | 21 import android.content.res.Resources; 51 final Resources res = getResources(); in onCreate() 88 final Resources res = getResources(); in onSharedPreferenceChanged() 98 final Resources res = getResources(); in refreshEnablingsOfKeypressSoundAndVibrationSettings()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Util.java | 23 import android.content.res.Resources; 49 Resources resources = packageContext.getResources(); in getResourceUri() 51 } catch (Resources.NotFoundException e) { in getResourceUri() 59 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); in getResourceUri() 64 } catch (Resources.NotFoundException e) { in getResourceUri() 70 private static Uri getResourceUri(Resources resources, String appPkg, int res) in getResourceUri() 71 throws Resources.NotFoundException { in getResourceUri()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 20 import android.content.res.Resources; 62 … Pair<String, Resources> apkInfo = Utilities.findSystemApk(ACTION_PARTNER_CUSTOMIZATION, pm); in get() 72 private final Resources mResources; 74 private Partner(String packageName, Resources res) { in Partner() 83 public Resources getResources() { in getResources() 141 } catch (Resources.NotFoundException ex) { in applyInvariantDeviceProfileOverrides()
|
D | DefaultLayoutParser.java | 10 import android.content.res.Resources; 46 LayoutParserCallback callback, Resources sourceRes, int layoutId) { in DefaultLayoutParser() 51 LayoutParserCallback callback, Resources sourceRes, int layoutId, String rootTag) { in DefaultLayoutParser() 60 @Thunk HashMap<String, TagParser> getFolderElementsMap(Resources res) { in getFolderElementsMap() 184 public UriShortcutParser(Resources iconRes) { in UriShortcutParser() 242 final Resources partnerRes = partner.getResources(); in parseAndAdd()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | PickerConstants.java | 19 import android.content.res.Resources; 35 private Date(Resources resources) { in Date() 49 private Time(Resources resources) { in Time() 74 public static PickerConstants.Date getDateInstance(Resources resources) { in getDateInstance() 78 public static PickerConstants.Time getTimeInstance(Resources resources) { in getTimeInstance()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 27 import android.content.res.Resources; 156 Resources pRes = pContext.getResources(); in getAppSnippet() 159 Resources res = new Resources(assmgr, pRes.getDisplayMetrics(), pRes.getConfiguration()); in getAppSnippet() 166 } catch (Resources.NotFoundException e) { in getAppSnippet() 179 } catch (Resources.NotFoundException e) { in getAppSnippet()
|
/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
D | LocaleTestUtils.java | 21 import android.content.res.Resources; 87 mSavedSystemLocale = setResourcesLocale(Resources.getSystem(), locale); in setLocale() 101 setResourcesLocale(Resources.getSystem(), mSavedSystemLocale); in restoreLocale() 112 private Locale setResourcesLocale(Resources resources, Locale locale) { in setResourcesLocale()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | InCallUIMaterialColorMapUtils.java | 3 import android.content.res.Resources; 14 private final Resources mResources; 16 public InCallUIMaterialColorMapUtils(Resources resources) { in InCallUIMaterialColorMapUtils() 50 public static MaterialPalette getDefaultPrimaryAndSecondaryColors(Resources resources) { in getDefaultPrimaryAndSecondaryColors()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 23 import android.content.res.Resources; 51 private Resources resources; 54 FakeContext(ContentResolver contentResolver, Resources resources) { in FakeContext() 65 public Resources getResources() { in getResources() 173 public DbTestUtils(Resources resources) { in DbTestUtils()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterRS.java | 23 import android.content.res.Resources; 41 protected abstract void createFilter(android.content.res.Resources res, in createFilter() 44 protected void createFilter(android.content.res.Resources res, in createFilter() 120 Resources rsc = pipeline.getResources(); in apply() 184 Resources res = getEnvironment().getPipeline().getResources(); in loadScaledResourceAlpha() 196 Resources res = getEnvironment().getPipeline().getResources(); in loadScaledResourceAlpha() 214 Resources res = getEnvironment().getPipeline().getResources(); in loadResource()
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
D | PrintUtils.java | 22 import android.content.res.Resources; 123 final Resources res = context.getResources(); in buildConversationHtml() 145 final Resources res = context.getResources(); in buildMessageHtml() 157 private static void appendSingleMessageHtml(Context context, Resources res, in appendSingleMessageHtml() 174 private static String renderRecipients(Resources res, in renderRecipients() 214 private static void buildEmailDiv(Resources res, StringBuilder recipients, String emailList, in buildEmailDiv() 226 private static String renderEmailList(Resources resources, String[] emails, in renderEmailList() 252 Context context, Resources resources, Message message) { in renderAttachments()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSet.java | 20 import android.content.res.Resources; 39 private Resources mResources; 45 final Resources res = context.getResources(); in setLocale() 53 public void setLocale(final Locale locale, final Resources res, in setLocale() 142 protected String job(final Resources res) { in expandReference()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | ViewUtil.java | 19 import android.content.res.Resources; 94 public static void addRectangularOutlineProvider(View view, Resources res) { in addRectangularOutlineProvider() 105 public static void setupFloatingActionButton(View view, Resources res) { in setupFloatingActionButton() 120 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) { in addBottomPaddingToListViewForFab()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherActivityInfoCompatV16.java | 27 import android.content.res.Resources; 65 Resources resources = null; in getIcon() 72 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon() 80 resources = Resources.getSystem(); in getIcon()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtilsTests.java | 20 import android.content.res.Resources; 39 private Resources mRes; 229 protected Void job(final Resources res) { in testPredefinedSubtypesInEnglishSystemLocale() 270 protected Void job(final Resources res) { in testAdditionalSubtypesInEnglishSystemLocale() 329 protected Void job(final Resources res) { in testPredefinedSubtypesInFrenchSystemLocale() 370 protected Void job(final Resources res) { in testAdditionalSubtypesInFrenchSystemLocale() 411 protected Void job (final Resources res) { in testHinglishSubtypesInHindiSystemLocale() 438 protected Void job (final Resources res) { in testSerbianLatinSubtypesInSerbianSystemLocale()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CarUiResourceLoader.java | 20 import android.content.res.Resources; 42 Resources res; in getDrawable() 64 Resources res; in getBoolean() 82 Resources res; in getDimen()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | BaseUiDeviceHelper.java | 18 import android.content.res.Resources; 26 protected final Resources mTargetResources; 28 public BaseUiDeviceHelper(UiDevice uiDevice, Resources targetResources) { in BaseUiDeviceHelper()
|
D | ByResource.java | 18 import android.content.res.Resources; 32 public static BySelector id(Resources resources, int resId) { in id() 42 public static BySelector text(Resources resources, int stringRes) { in text()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | IconCache.java | 28 import android.content.res.Resources; 91 return getFullResIcon(Resources.getSystem(), in getFullResDefaultActivityIcon() 95 public Drawable getFullResIcon(Resources resources, int iconId, UserHandle user) { in getFullResIcon() 99 } catch (Resources.NotFoundException e) { in getFullResIcon() 110 Resources resources; in getFullResIcon() 132 Resources resources; in getFullResIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | RefcountBitmapDrawable.java | 19 import android.content.res.Resources; 30 public RefcountBitmapDrawable(Resources res, RefcountObject<Bitmap> bitmap) { in RefcountBitmapDrawable() 38 public RefcountBitmapDrawable(Resources res, RefcountBitmapDrawable drawable) { in RefcountBitmapDrawable()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 19 import android.content.res.Resources; 70 public static String getDeviceOverrideValue(final Resources res, final int overrideResId, in getDeviceOverrideValue() 185 public static int getDefaultKeyboardWidth(final Resources res) { in getDefaultKeyboardWidth() 190 public static int getKeyboardHeight(final Resources res, final SettingsValues settingsValues) { in getKeyboardHeight() 199 public static int getDefaultKeyboardHeight(final Resources res) { in getDefaultKeyboardHeight() 238 public static float getFloatFromFraction(final Resources res, final int fractionResId) { in getFloatFromFraction()
|
D | RunInLocale.java | 20 import android.content.res.Resources; 27 protected abstract T job(final Resources res); in job() 36 public T runInLocale(final Resources res, final Locale newLocale) { in runInLocale()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
D | EventCompat.java | 19 import android.content.res.Resources; 38 public static CharSequence getTypeLabel(Resources res, int type, CharSequence label) { in getTypeLabel() 50 private static CharSequence getTypeLabelInternal(Resources res, int type, CharSequence label) { in getTypeLabelInternal()
|