Home
last modified time | relevance | path

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

12345678910>>...24

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java23 import android.content.res.Resources;
128 private Resources mRes;
182 protected SettingsValues job(final Resources res) { in loadSettings()
211 final Resources res) { in readKeypressSoundEnabled()
217 final Resources res) { in readVibrationEnabled()
224 final Resources res) { in readAutoCorrectEnabled()
231 final Resources res) { in readBlockPotentiallyOffensive()
236 public static boolean readFromBuildConfigIfGestureInputEnabled(final Resources res) { in readFromBuildConfigIfGestureInputEnabled()
241 final Resources res) { in readGestureInputEnabled()
247 final Resources res) { in readPhraseGestureEnabled()
[all …]
DAdvancedSettingsFragment.java21 import android.content.res.Resources;
50 final Resources res = getResources(); in onCreate()
129 final Resources res = getResources(); in onSharedPreferenceChanged()
142 final Resources res = getResources(); in refreshEnablingsOfKeypressSoundAndVibrationSettings()
156 final Resources res = getResources(); in setupKeypressVibrationDurationSettings()
200 final Resources res = getResources(); in setupKeypressSoundVolumeSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java21 import android.content.res.Resources;
241 private final Resources mRes;
245 ResourceStringGetter(Resources res, int stringResourceId) { in ResourceStringGetter()
348 private Resources mRes;
351 public Builder(Resources res) { in Builder()
452 private Resources mRes;
455 public Builder(Resources res, int id) { in Builder()
460 public Builder(Resources res, Intent intent) { in Builder()
545 private Resources mRes;
548 public Builder(Resources res) { in Builder()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DActionType.java24 import android.content.res.Resources;
63 String getTitle(Resources resources) { in getTitle()
67 String getDesc(Resources resources) { in getDesc()
74 Action toAction(Resources resources) { in toAction()
78 Action toAction(Resources resources, String description) { in toAction()
86 Action toInfo(Resources resources, String description) { in toInfo()
95 Action toInfo(Resources resources, int descResource) { in toInfo()
99 Action toAction(Resources resources, int descResource) { in toAction()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DActionType.java24 import android.content.res.Resources;
88 String getDesc(Resources resources) { in getDesc()
92 String getDesc2(Resources resources) { in getDesc2()
96 Action toInitAction(Resources resources) { in toInitAction()
100 Action toInitAction(Resources resources, String description) { in toInitAction()
104 Action toAction(Resources resources, ActionBehavior actionBehavior, String description) { in toAction()
112 ArrayList<Action> toActions(Resources resources) { in toActions()
124 ArrayList<Action> toSelectableActions(Resources resources, ActionBehavior selectedBehavior) { in toSelectableActions()
/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/TvSettings/Settings/src/com/android/tv/settings/system/
DActionType.java24 import android.content.res.Resources;
199 String getTitle(Resources resources) { in getTitle()
203 String getDescription(Resources resources) { in getDescription()
210 Action toAction(Resources resources) { in toAction()
214 Action toAction(Resources resources, boolean enabled) { in toAction()
218 Action toAction(Resources resources, String description) { in toAction()
222 Action toAction(Resources resources, String description, boolean enabled) { in toAction()
226 Action toAction(Resources resources, String description, boolean enabled, boolean checked) { in toAction()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java29 import android.content.res.Resources;
226 private Resources mResources;
229 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { in ResourceWallpaperInfo()
743 final Resources res = getResources(); in updateTileIndices()
781 private static Point getDefaultThumbnailSize(Resources res) { in getDefaultThumbnailSize()
788 Resources res, int resId, int rotation, boolean leftAligned) { in createThumbnail()
925 final Resources partnerRes = partner.getResources(); in findBundledWallpapers()
964 Resources wallpaperRes = getPackageManager().getResourcesForApplication(r.first); in findBundledWallpapers()
1015 Resources sysRes = Resources.getSystem(); in getPreKKDefaultWallpaperInfo()
1025 Resources res = getResources(); in getPreKKDefaultWallpaperInfo()
[all …]
DWallpaperCropActivity.java26 import android.content.res.Resources;
235 static protected Point getDefaultWallpaperSize(Resources res, WindowManager windowManager) { in getDefaultWallpaperSize()
274 public static int getRotationFromExif(Resources res, int resId) { in getRotationFromExif()
279 String path, Resources res, int resId, Context context, Uri uri) { in getRotationFromExifHelper()
331 Resources res, int resId, final boolean finishActivityWhenDone) { in cropImageAndSetWallpaper()
356 private static boolean isScreenLarge(Resources res) { in isScreenLarge()
473 Resources mResources;
503 public BitmapCropTask(Context c, Resources res, int inResId,
838 static public void suggestWallpaperDimension(Resources res,
/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/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()
185 Resources res = getEnvironment().getPipeline().getResources(); in loadScaledResourceAlpha()
197 Resources res = getEnvironment().getPipeline().getResources(); in loadScaledResourceAlpha()
215 Resources res = getEnvironment().getPipeline().getResources(); in loadResource()
/packages/apps/Launcher3/src/com/android/launcher3/
DPartner.java20 import android.content.res.Resources;
64 … Pair<String, Resources> apkInfo = Utilities.findSystemApk(ACTION_PARTNER_CUSTOMIZATION, pm); in get()
74 private final Resources mResources;
76 private Partner(String packageName, Resources res) { in Partner()
85 public Resources getResources() { in getResources()
166 } catch (Resources.NotFoundException ex) { in getDeviceProfileOverride()
DAutoInstallsLayout.java27 import android.content.res.Resources;
63 Pair<String, Resources> customizationApkInfo = Utilities.findSystemApk( in get()
70 Resources res = customizationApkInfo.second; in get()
118 protected final Resources mSourceRes;
130 LayoutParserCallback callback, Resources res, in AutoInstallsLayout()
353 private final Resources mIconRes;
355 public ShortcutParser(Resources iconRes) { in ShortcutParser()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java27 import android.content.res.Resources;
171 Resources pRes = pContext.getResources(); in getAppSnippet()
174 Resources res = new Resources(assmgr, pRes.getDisplayMetrics(), pRes.getConfiguration()); in getAppSnippet()
181 } catch (Resources.NotFoundException e) { in getAppSnippet()
194 } catch (Resources.NotFoundException e) { in getAppSnippet()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DActionType.java24 import android.content.res.Resources;
54 String getTitle(Resources resources) { in getTitle()
58 String getDesc(Resources resources) { in getDesc()
65 Action toAction(Resources resources) { in toAction()
69 Action toAction(Resources resources, String description) { in toAction()
/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/Launcher3/src/com/android/launcher3/compat/
DLauncherActivityInfoCompatV16.java27 import android.content.res.Resources;
58 Resources resources; in getIcon()
67 } catch (Resources.NotFoundException e) { in getIcon()
73 Resources resources = Resources.getSystem(); in getIcon()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtilsTests.java20 import android.content.res.Resources;
37 private Resources mRes;
168 protected Void job(final Resources res) { in testPredefinedSubtypesInEnglishSystemLocale()
196 protected Void job(final Resources res) { in testAdditionalSubtypesInEnglishSystemLocale()
240 protected Void job(final Resources res) { in testPredefinedSubtypesInFrenchSystemLocale()
268 protected Void job(final Resources res) { in testAdditionalSubtypesInFrenchSystemLocale()
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonFragment.java21 import android.content.res.Resources;
213 Resources res = getActivity().getResources(); in updateColors()
253 Resources res = getResources(); in compoundBackgroundDrawable()
271 Resources res = getResources(); in backgroundDrawable()
283 private void addSelectedAndFocused(Resources res, StateListDrawable drawable) { in addSelectedAndFocused()
290 private void addFocused(Resources res, StateListDrawable drawable) { in addFocused()
297 private void addSelected(Resources res, StateListDrawable drawable, MaterialPalette palette) { in addSelected()
305 private void addUnselected(Resources res, StateListDrawable drawable, MaterialPalette palette) { in addUnselected()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java23 import android.content.res.Resources;
49 private static Resources sResources;
88 final Resources res = context.getResources(); in initLocked()
190 protected String job(final Resources res) { in getSubtypeLocaleDisplayNameInternal()
248 protected String job(final Resources res) { in getSubtypeDisplayNameInternal()
251 } catch (Resources.NotFoundException e) { in getSubtypeDisplayNameInternal()
/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/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java32 import android.content.res.Resources;
552 private int getPlaylistId(Resources res) { in getPlaylistId()
575 private Uri createPlaylist(Resources res, ContentResolver resolver) { in createPlaylist()
594 Resources res = getResources(); in addToMediaDB()
649 Resources res = getResources(); in updateTimerView()
698 Resources res = getResources(); in updateTimeRemaining()
713 Resources res = getResources(); in updateUi()
837 Resources res = getResources(); in onError()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallTypeIconsView.java45 private Resources mResources;
55 mResources = new Resources(context); in CallTypeIconsView()
151 private static class Resources { class in CallTypeIconsView
190 public Resources(Context context) { in Resources() method in CallTypeIconsView.Resources
191 final android.content.res.Resources r = context.getResources(); in Resources()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java25 import android.content.res.Resources;
467 Resources r = getResources(); in updateSignalStrength()
489 Resources r = getResources(); in updateLocation()
581 Resources r = getResources(); in updateServiceState()
611 Resources r = getResources(); in updatePhoneState()
632 Resources r = getResources(); in updateDataState()
654 Resources r = getResources(); in updateNetworkType()
664 Resources r = getResources(); in updateProperties()
696 Resources r = getResources(); in updateDataStats2()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java25 import android.content.res.Resources;
194 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { in Row()
323 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { in Key()
747 protected Row createRowFromXml(Resources res, XmlResourceParser parser) { in createRowFromXml()
751 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, in createKeyFromXml()
765 Resources res = context.getResources(); in loadKeyboard()
830 private void parseKeyboardAttributes(Resources res, XmlResourceParser parser) { in parseKeyboardAttributes()

12345678910>>...24