Home
last modified time | relevance | path

Searched refs:mRes (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java119 private Resources mRes; field in IccLockSettings
213 mRes = getResources(); in onCreate()
370 message = mRes.getString(R.string.sim_enter_pin); in setDialogValues()
372 ? mRes.getString(R.string.sim_enable_sim_lock) in setDialogValues()
373 : mRes.getString(R.string.sim_disable_sim_lock)); in setDialogValues()
376 message = mRes.getString(R.string.sim_enter_old); in setDialogValues()
377 mPinDialog.setDialogTitle(mRes.getString(R.string.sim_change_pin)); in setDialogValues()
380 message = mRes.getString(R.string.sim_enter_new); in setDialogValues()
381 mPinDialog.setDialogTitle(mRes.getString(R.string.sim_change_pin)); in setDialogValues()
384 message = mRes.getString(R.string.sim_reenter_new); in setDialogValues()
[all …]
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java121 private Resources mRes; field in IccLockSettings
218 mRes = getResources(); in onCreate()
403 message = mRes.getString(R.string.sim_enter_pin); in setDialogValues()
405 ? mRes.getString(R.string.sim_enable_sim_lock) in setDialogValues()
406 : mRes.getString(R.string.sim_disable_sim_lock)); in setDialogValues()
409 message = mRes.getString(R.string.sim_enter_old); in setDialogValues()
410 mPinDialog.setDialogTitle(mRes.getString(R.string.sim_change_pin)); in setDialogValues()
413 message = mRes.getString(R.string.sim_enter_new); in setDialogValues()
414 mPinDialog.setDialogTitle(mRes.getString(R.string.sim_change_pin)); in setDialogValues()
417 message = mRes.getString(R.string.sim_reenter_new); in setDialogValues()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java108 private final Resources mRes; field in SimStatusDialogController
152 mRes = mContext.getResources(); in SimStatusDialogController()
233 networkStateValue = mRes.getString(R.string.radioInfo_data_connected); in updateDataState()
236 networkStateValue = mRes.getString(R.string.radioInfo_data_suspended); in updateDataState()
239 networkStateValue = mRes.getString(R.string.radioInfo_data_connecting); in updateDataState()
242 networkStateValue = mRes.getString(R.string.radioInfo_data_disconnected); in updateDataState()
245 networkStateValue = mRes.getString(R.string.radioInfo_unknown); in updateDataState()
274 serviceStateValue = mRes.getString(R.string.radioInfo_service_in); in updateServiceState()
280 serviceStateValue = mRes.getString(R.string.radioInfo_service_out); in updateServiceState()
283 serviceStateValue = mRes.getString(R.string.radioInfo_service_off); in updateServiceState()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java149 private final Resources mRes; field in SimStatusDialogController
215 mRes = mContext.getResources(); in SimStatusDialogController()
317 networkStateValue = mRes.getString(R.string.radioInfo_data_connected); in updateDataState()
320 networkStateValue = mRes.getString(R.string.radioInfo_data_suspended); in updateDataState()
323 networkStateValue = mRes.getString(R.string.radioInfo_data_connecting); in updateDataState()
326 networkStateValue = mRes.getString(R.string.radioInfo_data_disconnected); in updateDataState()
329 networkStateValue = mRes.getString(R.string.radioInfo_unknown); in updateDataState()
398 serviceStateValue = mRes.getString(R.string.radioInfo_service_in); in updateServiceState()
404 serviceStateValue = mRes.getString(R.string.radioInfo_service_out); in updateServiceState()
407 serviceStateValue = mRes.getString(R.string.radioInfo_service_off); in updateServiceState()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DQuickViewIntentBuilderTest.java34 private TestResources mRes; field in QuickViewIntentBuilderTest
42 mRes = TestResources.create(); in setUp()
44 mRes.setQuickViewerPackage(mTargetPackageName); in setUp()
51 mPm, mRes, TestEnv.FILE_IN_ARCHIVE, mEnv.archiveModel, false); in testSetsNoFeatures_InArchiveDocument()
62 new QuickViewIntentBuilder(mPm, mRes, TestEnv.FILE_JPG, mEnv.model, false); in testSetsFullFeatures_RegularDocument()
82 new QuickViewIntentBuilder(mPm, mRes, TestEnv.FILE_JPG, mEnv.model, true); in testPickerFeatures_RegularDocument()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtilsTests.java52 private Resources mRes; field in SubtypeLocaleUtilsTests
83 mRes = context.getResources(); in setUp()
92 mRes.getStringArray(R.array.predefined_subtypes))); in setUp()
278 tests.runInLocale(mRes, Locale.ENGLISH); in testPredefinedSubtypesInEnglishSystemLocale()
312 tests.runInLocale(mRes, Locale.ENGLISH); in testAdditionalSubtypesInEnglishSystemLocale()
380 tests.runInLocale(mRes, Locale.FRENCH); in testPredefinedSubtypesInFrenchSystemLocale()
414 tests.runInLocale(mRes, Locale.FRENCH); in testAdditionalSubtypesInFrenchSystemLocale()
442 tests.runInLocale(mRes, new Locale("hi")); in testHinglishSubtypesInHindiSystemLocale()
470 tests.runInLocale(mRes, new Locale("sr")); in testSerbianLatinSubtypesInSerbianSystemLocale()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DResourceAsset.java35 protected final Resources mRes; field in ResourceAsset
47 mRes = res; in ResourceAsset()
91 mKey = new PackageResourceKey(mRes, mResId); in getKey()
100 return mRes; in getResources()
112 return mRes.openRawResource(mResId); in openInputStream()
DNexusStaticAsset.java40 mKey = new PackageResourceKey(mRes, mResId, mResName); in getKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputMethodSubtypeTests.java55 private Resources mRes; field in RichInputMethodSubtypeTests
86 mRes = context.getResources(); in setUp()
95 mRes.getStringArray(R.array.predefined_subtypes))); in setUp()
311 testsPredefinedSubtypesForSpacebar.runInLocale(mRes, Locale.ENGLISH); in testPredefinedSubtypesForSpacebarInEnglish()
316 testsAdditionalSubtypesForSpacebar.runInLocale(mRes, Locale.ENGLISH); in testAdditionalSubtypeForSpacebarInEnglish()
321 testsPredefinedSubtypesForSpacebar.runInLocale(mRes, Locale.FRENCH); in testPredefinedSubtypesForSpacebarInFrench()
326 testsAdditionalSubtypesForSpacebar.runInLocale(mRes, Locale.FRENCH); in testAdditionalSubtypeForSpacebarInFrench()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserGridRecyclerView.java201 private final Resources mRes; field in UserGridRecyclerView.UserAdapter
226 mRes = context.getResources(); in UserAdapter()
229 mGuestName = mRes.getString(R.string.user_guest); in UserAdapter()
230 mNewUserName = mRes.getString(R.string.user_new_user_name); in UserAdapter()
231 mOpacityDisabled = mRes.getFloat(R.dimen.opacity_disabled); in UserAdapter()
232 mOpacityEnabled = mRes.getFloat(R.dimen.opacity_enabled); in UserAdapter()
261 RoundedBitmapDrawable circleIcon = RoundedBitmapDrawableFactory.create(mRes, in onBindViewHolder()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DTableView.java46 private final Resources mRes; field in TableView
61 mRes = context.getResources(); in TableView()
66 putTitle(mRes.getString(title), showDivider); in setTitle()
104 put(mRes.getString(keyId), value); in put()
129 mRows.get(mRes.getString(keyId)).setOnClickListener(callback); in put()
DKeyValueRow.java41 private final Resources mRes; field in KeyValueRow
55 mRes = context.getResources(); in KeyValueRow()
71 setKey(mRes.getString(id)); in setKey()
DDebugView.java49 private final Resources mRes; field in DebugView
63 mRes = context.getResources(); in DebugView()
142 KeyValueRow row = put(mRes.getString(key), String.valueOf(value)); in put()
/packages/apps/ThemePicker/src/com/google/android/apps/wallpaper/asset/
DThemeBundleThumbAsset.java34 private final Resources mRes; field in ThemeBundleThumbAsset
39 mRes = res; in ThemeBundleThumbAsset()
47 LoadThumbnailTask task = new LoadThumbnailTask(mRes, mResId, mLayerResolver, receiver); in decodeBitmap()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFeatures.java70 private final Resources mRes; field in Features.RuntimeFeatures
74 mRes = resources; in RuntimeFeatures()
84 return mDebugEnabled.get(feature, mRes.getBoolean(feature)); in isEnabled()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java124 private Resources mRes; field in Settings
145 mRes = context.getResources(); in onCreate()
148 upgradeAutocorrectionSettings(mPrefs, mRes); in onCreate()
184 mSettingsValues = job.runInLocale(mRes, locale); in loadSettings()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java102 private final Resources mRes; field in ThemePreviewPage.ThemeCoverPage
117 mRes = context.getResources(); in ThemeCoverPage()
131 int controlGreyColor = mRes.getColor(R.color.control_grey, null); in ThemeCoverPage()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategory.java151 private final Resources mRes; field in EmojiCategory
166 mRes = res; in EmojiCategory()
252 return mRes.getString(sAccessibilityDescriptionResourceIdsForCategories[categoryId]); in getAccessibilityDescription()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java505 private final Resources mRes; field in ContactsActor.RestrictionMockContext
531 mRes = resources; in RestrictionMockContext()
546 return mRes; in getResources()