/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | IccLockSettings.java | 119 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/ |
D | IccLockSettings.java | 121 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/ |
D | SimStatusDialogController.java | 108 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/ |
D | SimStatusDialogController.java | 149 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/ |
D | QuickViewIntentBuilderTest.java | 34 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/ |
D | SubtypeLocaleUtilsTests.java | 52 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/ |
D | ResourceAsset.java | 35 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()
|
D | NexusStaticAsset.java | 40 mKey = new PackageResourceKey(mRes, mResId, mResName); in getKey()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputMethodSubtypeTests.java | 55 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/ |
D | UserGridRecyclerView.java | 201 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/ |
D | TableView.java | 46 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()
|
D | KeyValueRow.java | 41 private final Resources mRes; field in KeyValueRow 55 mRes = context.getResources(); in KeyValueRow() 71 setKey(mRes.getString(id)); in setKey()
|
D | DebugView.java | 49 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/ |
D | ThemeBundleThumbAsset.java | 34 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/ |
D | Features.java | 70 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/ |
D | Settings.java | 124 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/ |
D | ThemePreviewPage.java | 102 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/ |
D | EmojiCategory.java | 151 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/ |
D | ContactsActor.java | 505 private final Resources mRes; field in ContactsActor.RestrictionMockContext 531 mRes = resources; in RestrictionMockContext() 546 return mRes; in getResources()
|