/packages/apps/Settings/src/com/android/settings/ |
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/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/deviceinfo/simstatus/ |
D | SimStatusDialogController.java | 118 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/ |
D | SimStatusDialogController.java | 106 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/ |
D | FolderSpan.java | 38 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/ |
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/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/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/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/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 | 97 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/ |
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 | 489 private final Resources mRes; field in ContactsActor.RestrictionMockContext 515 mRes = resources; in RestrictionMockContext() 530 return mRes; in getResources()
|