Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
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/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/deviceinfo/simstatus/
DSimStatusDialogController.java118 private final Resources mRes; field in SimStatusDialogController
154 mRes = mContext.getResources(); in SimStatusDialogController()
239 networkStateValue = mRes.getString(R.string.radioInfo_data_connected); in updateDataState()
242 networkStateValue = mRes.getString(R.string.radioInfo_data_suspended); in updateDataState()
245 networkStateValue = mRes.getString(R.string.radioInfo_data_connecting); in updateDataState()
248 networkStateValue = mRes.getString(R.string.radioInfo_data_disconnected); in updateDataState()
251 networkStateValue = mRes.getString(R.string.radioInfo_unknown); in updateDataState()
280 serviceStateValue = mRes.getString(R.string.radioInfo_service_in); in updateServiceState()
286 serviceStateValue = mRes.getString(R.string.radioInfo_service_out); in updateServiceState()
289 serviceStateValue = mRes.getString(R.string.radioInfo_service_off); in updateServiceState()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java106 private final Resources mRes; field in SimStatusDialogController
143 mRes = mContext.getResources(); in SimStatusDialogController()
224 networkStateValue = mRes.getString(R.string.radioInfo_data_connected); in updateDataState()
227 networkStateValue = mRes.getString(R.string.radioInfo_data_suspended); in updateDataState()
230 networkStateValue = mRes.getString(R.string.radioInfo_data_connecting); in updateDataState()
233 networkStateValue = mRes.getString(R.string.radioInfo_data_disconnected); in updateDataState()
236 networkStateValue = mRes.getString(R.string.radioInfo_unknown); in updateDataState()
265 serviceStateValue = mRes.getString(R.string.radioInfo_service_in); in updateServiceState()
271 serviceStateValue = mRes.getString(R.string.radioInfo_service_out); in updateServiceState()
274 serviceStateValue = mRes.getString(R.string.radioInfo_service_off); in updateServiceState()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/text/
DFolderSpan.java38 private final FolderDisplayer.FolderDrawableResources mRes; field in FolderSpan
50 mRes = res; in FolderSpan()
56 p.setTextSize(mRes.folderFontSize); in getWidth()
57 return Math.min((int) p.measureText(mName) + 2 * mRes.folderHorizontalPadding, in getWidth()
62 p.setTextSize(mRes.folderFontSize); in getHeight()
77 mWorkPaint.setTextSize(mRes.folderFontSize); in draw()
82 name = TextUtils.ellipsize(mName, mWorkPaint, width - 2 * mRes.folderHorizontalPadding, in draw()
86 mBgColor, mRes, mFormatter, mWorkPaint); in draw()
/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/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/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/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/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.java97 private final Resources mRes; field in ThemePreviewPage.ThemeCoverPage
112 mRes = context.getResources(); in ThemeCoverPage()
126 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.java489 private final Resources mRes; field in ContactsActor.RestrictionMockContext
515 mRes = resources; in RestrictionMockContext()
530 return mRes; in getResources()