/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 76 public Resources getResources() { in getResources() method in Partner 81 int defaultLayout = getResources().getIdentifier(Partner.RES_DEFAULT_LAYOUT, in hasDefaultLayout() 87 int folder = getResources().getIdentifier(Partner.RES_FOLDER, in hasFolder() 93 int resId = getResources().getIdentifier(RES_DEFAULT_WALLPAPER_HIDDEN, "bool", in hideDefaultWallpaper() 95 return resId != 0 && getResources().getBoolean(resId); in hideDefaultWallpaper() 99 int resId = getResources().getIdentifier(RES_SYSTEM_WALLPAPER_DIR, "string", in getWallpaperDirectory() 101 return (resId != 0) ? new File(getResources().getString(resId)) : null; in getWallpaperDirectory() 105 int resId = getResources().getIdentifier(RES_REQUIRE_FIRST_RUN_FLOW, "bool", in requiresFirstRunFlow() 107 return resId != 0 && getResources().getBoolean(resId); in requiresFirstRunFlow() 116 int resId = getResources().getIdentifier(RES_GRID_NUM_ROWS, in applyInvariantDeviceProfileOverrides() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScoringParams.java | 243 mVal.rssi2[EXIT] = context.getResources().getInteger( in loadResources() 245 mVal.rssi2[ENTRY] = context.getResources().getInteger( in loadResources() 247 mVal.rssi2[SUFFICIENT] = context.getResources().getInteger( in loadResources() 249 mVal.rssi2[GOOD] = context.getResources().getInteger( in loadResources() 251 mVal.rssi5[EXIT] = context.getResources().getInteger( in loadResources() 253 mVal.rssi5[ENTRY] = context.getResources().getInteger( in loadResources() 255 mVal.rssi5[SUFFICIENT] = context.getResources().getInteger( in loadResources() 257 mVal.rssi5[GOOD] = context.getResources().getInteger( in loadResources() 259 mVal.rssi6[EXIT] = context.getResources().getInteger( in loadResources() 261 mVal.rssi6[ENTRY] = context.getResources().getInteger( in loadResources() [all …]
|
D | WifiGlobals.java | 71 mIsWpa3SaeUpgradeEnabled = mContext.getResources() in WifiGlobals() 73 mIsWpa3SaeUpgradeOffloadEnabled = mContext.getResources() in WifiGlobals() 75 mIsOweUpgradeEnabled = mContext.getResources() in WifiGlobals() 77 mFlushAnqpCacheOnWifiToggleOffEvent = mContext.getResources() in WifiGlobals() 79 mIsWpa3SaeH2eSupported = mContext.getResources() in WifiGlobals() 81 mP2pDeviceNamePrefix = mContext.getResources() in WifiGlobals() 83 mP2pDeviceNamePostfixNumDigits = mContext.getResources() in WifiGlobals() 85 mClientModeImplNumLogRecs = mContext.getResources() in WifiGlobals() 96 mContext.getResources() in getPollRssiIntervalMillis() 144 return mContext.getResources().getBoolean( in isConnectedMacRandomizationEnabled()
|
D | WifiBlocklistMonitor.java | 226 failureStreak = Math.min(failureStreak, mContext.getResources().getInteger( in getBlocklistDurationWithExponentialBackoff() 346 mContext.getResources().getInteger( in getFailureThresholdForReason() 349 mContext.getResources().getInteger(R.integer in getFailureThresholdForReason() 352 mContext.getResources().getInteger( in getFailureThresholdForReason() 355 mContext.getResources().getInteger( in getFailureThresholdForReason() 358 mContext.getResources().getInteger( in getFailureThresholdForReason() 361 mContext.getResources().getInteger( in getFailureThresholdForReason() 364 mContext.getResources().getInteger( in getFailureThresholdForReason() 367 mContext.getResources().getInteger( in getFailureThresholdForReason() 370 mContext.getResources().getInteger( in getFailureThresholdForReason() [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | Keys.java | 91 context.getResources().getIntArray(R.array.pref_countdown_duration)); in setDefaults() 95 context.getResources().getStringArray(R.array.camera_id_entryvalues)); in setDefaults() 99 context.getResources().getStringArray(R.array.pref_camera_scenemode_entryvalues)); in setDefaults() 103 context.getResources().getStringArray(R.array.pref_camera_flashmode_entryvalues)); in setDefaults() 107 context.getResources().getStringArray(R.array.pref_camera_hdr_supportmode_entryvalues)); in setDefaults() 116 context.getResources().getStringArray(R.array.pref_camera_focusmode_entryvalues)); in setDefaults() 130 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues)); in setDefaults() 138 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues)); in setDefaults() 146 context.getResources().getStringArray( in setDefaults() 151 context.getResources().getStringArray( in setDefaults() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/overlay/ |
D | OverlayableTest.java | 49 mTargetContext.getResources().getBoolean(R.bool.is_launcher_enabled)).isNotNull(); in testConfig_isLauncherEnable_isNotNull() 55 mTargetContext.getResources().getString(R.string.default_root_uri)).isNotEmpty(); in testConfig_defaultRootUri_isNotEmpty() 61 mTargetContext.getResources().getString( in testConfig_preferredRootPackage_isNotNull() 68 mTargetContext.getResources().getString( in testConfig_trustedQuickViewerPackage_isNotNull() 75 mTargetContext.getResources().getDrawable( in testDrawable_icEject_isVectorDrawable() 82 mTargetContext.getResources().getDrawable( in testDrawable_icRootDownload_isVectorDrawable() 89 mTargetContext.getResources().getDrawable( in testDrawable_icSdStorage_isVectorDrawable() 96 mTargetContext.getResources().getDrawable( in testDrawable_icRootListSelector_isDrawable() 104 mTargetContext.getResources().getDimensionPixelSize( in testDimen_gridItemRadius_isReasonable() 107 mTargetContext.getResources().getDimensionPixelSize( in testDimen_gridItemRadius_isReasonable()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Config.java | 103 String[] items = mContext.getResources().getStringArray(res); in loadResourceStringSet() 122 return mContext.getResources().getInteger(R.integer.num_suggestions_above_keyboard); in getNumSuggestionsAboveKeyboard() 129 return mContext.getResources().getInteger(R.integer.max_promoted_suggestions); in getMaxPromotedSuggestions() 133 return mContext.getResources().getInteger(R.integer.max_promoted_results); in getMaxPromotedResults() 147 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_web_source); in getMaxShortcutsPerWebSource() 154 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_non_web_source); in getMaxShortcutsPerNonWebSource() 268 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions); in showSuggestionsForZeroQuery() 273 return mContext.getResources().getBoolean(R.bool.show_zero_query_shortcuts); in showShortcutsForZeroQuery() 277 return mContext.getResources().getBoolean(R.bool.show_scrolling_suggestions); in showScrollingSuggestions() 281 return mContext.getResources().getBoolean(R.bool.show_scrolling_results); in showScrollingResults()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesHelperTest.java | 81 mInputStream = mContext.getResources().openRawResource(R.raw.car_audio_configuration); in setUp() 151 try (InputStream versionOneStream = mContext.getResources().openRawResource( in loadAudioZones_versionOneParsesAllZones() 264 InputStream versionOneStream = mContext.getResources().openRawResource( in loadAudioZones_forVersionOne_bindsNonLegacyContextsToDefault() 284 InputStream v1NonLegacyContextStream = mContext.getResources().openRawResource( in loadAudioZones_forVersionOneWithNonLegacyContexts_throws() 299 try (InputStream missingAudioZoneIdStream = mContext.getResources().openRawResource( in loadAudioZones_passesOnMissingAudioZoneIdForPrimary() 315 try (InputStream versionOneAudioZoneIdStream = mContext.getResources().openRawResource( in loadAudioZones_versionOneFailsOnAudioZoneId() 329 try (InputStream versionOneOccupantIdStream = mContext.getResources().openRawResource( in loadAudioZones_versionOneFailsOnOccupantZoneId() 343 try (InputStream inputDevicesStream = mContext.getResources().openRawResource( in loadAudioZones_parsesInputDevices() 376 try (InputStream duplicateOccupantZoneIdStream = mContext.getResources().openRawResource( in loadAudioZones_failsOnDuplicateOccupantZoneId() 390 try (InputStream duplicateAudioZoneIdStream = mContext.getResources().openRawResource( in loadAudioZones_failsOnDuplicateAudioZoneId() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 53 mConfiguration = mTargetContext.getResources().getConfiguration(); in setUp() 54 mDisplayMetrics = mTargetContext.getResources().getDisplayMetrics(); in setUp() 55 mCompatibilityInfo = mTargetContext.getResources().getCompatibilityInfo(); in setUp() 60 mTargetContext.getResources().updateConfiguration(mConfiguration, mDisplayMetrics, in tearDown() 72 final CompatibilityInfo ci = context.getResources().getCompatibilityInfo(); in getThemeByUiMode() 73 final DisplayMetrics dm = context.getResources().getDisplayMetrics(); in getThemeByUiMode() 75 context.getResources().getConfiguration()); in getThemeByUiMode() 78 context.getResources().updateConfiguration(nightConfig, dm, ci); in getThemeByUiMode() 81 final Resources.Theme theme = context.getResources().newTheme(); in getThemeByUiMode()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 72 mFocusAnimDuration = getResources().getInteger(R.integer.menu_focus_anim_duration); in BaseCardView() 74 getResources().getDimension(R.dimen.channel_card_elevation_focused) in BaseCardView() 75 - getResources().getDimension(R.dimen.card_elevation_normal); in BaseCardView() 78 * (getResources().getDimensionPixelOffset(R.dimen.menu_list_padding_top) in BaseCardView() 79 + getResources() in BaseCardView() 82 setElevation(getResources().getDimension(R.dimen.card_elevation_normal)); in BaseCardView() 83 mCardCornerRadius = getResources().getDimensionPixelSize(R.dimen.channel_card_round_radius); in BaseCardView() 92 mCardImageWidth = getResources().getDimensionPixelSize(R.dimen.card_image_layout_width); in BaseCardView() 93 mCardHeight = getResources().getDimensionPixelSize(R.dimen.card_layout_height); in BaseCardView() 95 getResources().getDimensionPixelSize(R.dimen.card_layout_height_extended); in BaseCardView() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorUiUtils.java | 159 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 162 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 165 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 168 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 171 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 174 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 177 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 180 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 183 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() 186 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 683 int hardwareSupportedMaxClient = context.getResources().getInteger( in updateCapabilityFromResource() 700 return context.getResources().getBoolean( in isApMacRandomizationSupported() 711 return SdkLevel.isAtLeastS() && context.getResources().getBoolean( in isBridgedModeSupported() 722 return context.getResources().getBoolean( in isClientForceDisconnectSupported() 733 return context.getResources().getBoolean( in isWpa3SaeSupported() 744 return context.getResources().getBoolean( in isAcsSupported() 755 return context.getResources().getBoolean( in isMacCustomizationSupported() 766 return context.getResources().getBoolean(R.bool.config_wifi24ghzSupport) in isSoftAp24GhzSupported() 767 && context.getResources().getBoolean( in isSoftAp24GhzSupported() 778 return context.getResources().getBoolean(R.bool.config_wifi5ghzSupport) in isSoftAp5GhzSupported() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrDecorateView.java | 76 getResources().getDisplayMetrics()); in QrDecorateView() 79 CORNER_RADIUS - CORNER_STROKE_WIDTH, getResources().getDisplayMetrics()); in QrDecorateView() 81 mCornerColor = context.getResources().getColor(R.color.qr_corner_line_color); in QrDecorateView() 82 mFocusedCornerColor = context.getResources().getColor(R.color.qr_focused_corner_line_color); in QrDecorateView() 83 mBackgroundColor = context.getResources().getColor(R.color.qr_background_color); in QrDecorateView() 90 mTransparentPaint.setColor(getResources().getColor(android.R.color.transparent)); in QrDecorateView() 128 CORNER_LINE_LENGTH, getResources().getDisplayMetrics()) / 2; in calculateFramePos() 130 CORNER_STROKE_WIDTH, getResources().getDisplayMetrics()); in calculateFramePos()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | SuppServicesUiUtil.java | 79 .setNeutralButton(context.getResources().getString( in showBlockingSuppServicesDialog() 82 .setPositiveButton(context.getResources().getString( in showBlockingSuppServicesDialog() 99 message = context.getResources().getString( in makeMessage() 102 message = context.getResources().getString( in makeMessage() 107 message = context.getResources().getString( in makeMessage() 111 message = context.getResources().getString( in makeMessage() 122 suppServiceName = context.getResources().getString(R.string.labelCF); in getSuppServiceName() 124 suppServiceName = context.getResources().getString(R.string.labelCallBarring); in getSuppServiceName() 126 suppServiceName = context.getResources().getString(R.string.labelCallerId); in getSuppServiceName() 128 suppServiceName = context.getResources().getString(R.string.labelCW); in getSuppServiceName()
|
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
D | MetadataProcessing.java | 52 context.getResources().openRawResource(R.raw.system_dtcs)); in MetadataProcessing() 61 context.getResources().openRawResource(R.raw.vendor_dtcs))); in MetadataProcessing() 72 context.getResources().openRawResource(R.raw.system_float_sensors)); in MetadataProcessing() 82 context.getResources().openRawResource(R.raw.vendor_float_sensors))); in MetadataProcessing() 94 context.getResources().openRawResource(R.raw.system_integer_sensors)); in MetadataProcessing() 104 context.getResources().openRawResource(R.raw.vendor_integer_sensors))); in MetadataProcessing() 116 context.getResources().openRawResource(R.raw.vendor_ecus)); in MetadataProcessing()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | MultiSelectContactsListFragment.java | 312 getResources().getDimension(R.dimen.contact_list_header_elevation)); in onScroll() 349 ? String.format(context.getResources().getQuantityString( in bindListHeader() 352 : context.getResources().getQuantityString( in bindListHeader() 366 accountFilterHeaderIcon.getLayoutParams().height = getResources() in bindListHeader() 368 accountFilterHeaderIcon.getLayoutParams().width = getResources() in bindListHeader() 372 getResources().getDimensionPixelOffset( in bindListHeader() 374 getResources().getDimensionPixelOffset( in bindListHeader() 377 accountFilterHeaderIcon.getLayoutParams().height = getResources() in bindListHeader() 379 accountFilterHeaderIcon.getLayoutParams().width = getResources() in bindListHeader() 383 getResources().getDimensionPixelOffset( in bindListHeader() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 164 final int iconSize = getResources() in onMeasure() 173 getResources().getDimensionPixelSize(R.dimen.message_bubble_arrow_width); in onMeasure() 301 final String subjectText = MmsUtils.cleanseMmsSubject(getResources(), in shouldShowMessageTextBubble() 391 final String titleText = getResources().getString(titleResId); in updateViewContent() 394 final String mmsInfoText = getResources().getString( in updateViewContent() 410 final String subjectText = MmsUtils.cleanseMmsSubject(getResources(), in updateViewContent() 424 statusText = getResources().getString(statusResId); in updateViewContent() 450 final String simNameText = mData.getIsIncoming() ? getResources().getString( in updateViewContent() 454 mSimNameView.setTextColor(showSimIconAsIncoming ? getResources().getColor( in updateViewContent() 552 final int iconSize = getResources() in updateMessageAttachments() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 71 getResources().getDrawable(R.drawable.incall_button_background_more, context.getTheme()); in init() 73 getResources().getDrawable(R.drawable.incall_button_background, context.getTheme()); in init() 82 int paddingSize = getResources().getDimensionPixelOffset(R.dimen.incall_button_padding); in init() 85 int iconSize = getResources().getDimensionPixelSize(R.dimen.incall_labeled_button_size); in init() 86 int imageSize = getResources().getDimensionPixelSize(R.dimen.incall_labeled_button_icon_size); in init() 98 getResources().getColorStateList(R.color.incall_button_icon, context.getTheme())); in init() 101 getResources().getDrawable(R.drawable.incall_button_background, context.getTheme())); in init() 103 iconView.setElevation(getResources().getDimension(R.dimen.incall_button_elevation)); in init() 113 context.getResources().getDimensionPixelOffset(R.dimen.incall_button_label_margin); in init()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 133 view.getContext().getResources().getConfiguration().getLayoutDirection() in ScheduleRowViewHolder() 148 Resources res = view.getResources(); in ScheduleRowViewHolder() 188 mSelectorView.getResources().getInteger(android.R.integer.config_shortAnimTime); in updateSelector() 298 .getResources() in greyOutInfo() 302 .getResources() in greyOutInfo() 306 .getResources() in greyOutInfo() 310 .getResources() in greyOutInfo() 314 .getResources() in greyOutInfo() 321 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_info, null)); in whiteBackInfo() 323 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_main, null)); in whiteBackInfo() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | DtmfLocalTonePlayerTest.java | 64 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testSupportedStart() 74 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testUnsupportedStart() 84 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testPlayToneWhenUninitialized() 95 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testPlayToneWhenInitialized() 106 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testStopToneWhenUninitialized() 117 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testStopToneWhenInitialized() 128 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testProperTeardown()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/appstyledview/ |
D | AppStyledViewControllerImpl.java | 73 int maxWidth = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam() 75 int maxHeight = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam() 81 if (mContext.getResources().getConfiguration() in getDialogWindowLayoutParam() 86 int width = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam() 88 int height = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam() 94 int posX = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam() 96 int posY = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | PreventRingingParentPreferenceControllerTest.java | 68 when(mContext.getResources()).thenReturn(mResources); in setUp() 87 when(mContext.getResources()).thenReturn(mResources); in getAvailabilityStatus_configIsTrueAndKeyNotMute_shouldReturnDisabledDependent() 101 when(mContext.getResources()).thenReturn(mResources); in getAvailabilityStatus_configIsTrueLppDisabled_shouldReturnUnsupportedOnDevice() 115 when(mContext.getResources()).thenReturn(mResources); in isAvailable_configIsFalse_shouldReturnFalse() 127 assertThat(mPreference.getSummary()).isEqualTo(mContext.getResources().getText( in updateState_summaryUpdated() 133 assertThat(mPreference.getSummary()).isEqualTo(mContext.getResources().getText( in updateState_summaryUpdated() 139 assertThat(mPreference.getSummary()).isEqualTo(mContext.getResources().getText( in updateState_summaryUpdated() 153 assertThat(mPreference.getSummary()).isEqualTo(mContext.getResources().getText( in updateState_keyChordDisabled_summaryUpdated()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrDetailsFragment.java | 85 getResources().getDimensionPixelSize(R.dimen.lb_details_rows_align_top)); in onStart() 92 getResources().getColor(R.color.common_tv_background, null)); in setupAdapter() 157 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null); in onLoadLogoAndBackgroundImages() 162 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null); in onLoadLogoAndBackgroundImages() 181 int imageWidth = getResources().getDimensionPixelSize(R.dimen.dvr_details_poster_width); in onLoadLogoAndBackgroundImages() 183 getResources().getDimensionPixelSize(R.dimen.dvr_details_poster_height); in onLoadLogoAndBackgroundImages() 206 getContext().getResources().getString(R.string.dvr_toast_recording_deleted), in startPlayback() 291 Resources res = mContext.getResources(); in onBitmapLoaded() 301 drawable = new BitmapDrawable(mContext.getResources(), bitmap); in onBitmapLoaded()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryEntry.java | 559 name = context.getResources().getString( in getNameAndIconFromUserId() 572 name = context.getResources().getString(R.string.process_kernel_label); in getNameAndIconFromUid() 574 name = context.getResources().getString(R.string.process_mediaserver_label); in getNameAndIconFromUid() 577 name = context.getResources().getString(R.string.process_dex2oat_label); in getNameAndIconFromUid() 591 name = context.getResources().getString(R.string.ambient_display_screen_title); in getNameAndIconFromPowerComponent() 595 name = context.getResources().getString(R.string.power_bluetooth); in getNameAndIconFromPowerComponent() 599 name = context.getResources().getString(R.string.power_camera); in getNameAndIconFromPowerComponent() 603 name = context.getResources().getString(R.string.power_cell); in getNameAndIconFromPowerComponent() 607 name = context.getResources().getString(R.string.power_flashlight); in getNameAndIconFromPowerComponent() 611 name = context.getResources().getString(R.string.power_phone); in getNameAndIconFromPowerComponent() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AddAccessoryContentFragment.java | 52 if (getResources() != null) { in onViewCreated() 54 getResources().getValue( in onViewCreated() 105 context.getResources().getString(R.string.accessories_add_bluetooth_inst_extra); in getExtraInstructionContentDescription() 106 String button1 = context.getResources().getString(R.string.accessories_pairing_button1); in getExtraInstructionContentDescription() 107 String button2 = context.getResources().getString(R.string.accessories_pairing_button2); in getExtraInstructionContentDescription() 112 return context.getResources() in getExtraInstructionContentDescription()
|