Home
last modified time | relevance | path

Searched refs:Resources (Results 1 – 25 of 633) sorted by relevance

12345678910>>...26

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java23 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 …]
DAdvancedSettingsFragment.java21 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()
DPreferencesSettingsFragment.java21 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/
DUtil.java23 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/
DPartner.java20 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()
DDefaultLayoutParser.java10 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/
DPickerConstants.java19 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/
DPackageUtil.java27 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/
DLocaleTestUtils.java21 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/
DInCallUIMaterialColorMapUtils.java3 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/
DDbTestUtils.java23 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/
DImageFilterRS.java23 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/
DPrintUtils.java22 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/
DKeyboardTextsSet.java20 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/
DViewUtil.java19 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/
DLauncherActivityInfoCompatV16.java27 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/
DSubtypeLocaleUtilsTests.java20 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/
DCarUiResourceLoader.java20 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/
DBaseUiDeviceHelper.java18 import android.content.res.Resources;
26 protected final Resources mTargetResources;
28 public BaseUiDeviceHelper(UiDevice uiDevice, Resources targetResources) { in BaseUiDeviceHelper()
DByResource.java18 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/
DIconCache.java28 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/
DRefcountBitmapDrawable.java19 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/
DResourceUtils.java19 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()
DRunInLocale.java20 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/
DEventCompat.java19 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()

12345678910>>...26