/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | SettingsDialog.java | 71 lp.y = getResources().getDimensionPixelSize(R.dimen.panel_y_offset); in onCreate() 88 if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in onCreate() 89 pivotX = getResources().getDimensionPixelSize(R.dimen.slider_horizontal_padding); in onCreate() 91 pivotX = getResources().getDimensionPixelSize( in onCreate() 94 … final int pivotY = getResources().getDimensionPixelSize(R.dimen.main_panel_text_height_half); in onCreate() 107 String[] presetSettingValues = getResources().getStringArray( in onCreate() 110 presetSettingValues[getResources().getInteger( in onCreate() 153 String[] settingNames = getResources().getStringArray(R.array.setting_names); in getSettings() 154 String[] settingKeys = getResources().getStringArray(R.array.setting_keys); in getSettings() 155 int[] maxSettingValues = getResources().getIntArray(R.array.setting_max_values); in getSettings() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 83 public Resources getResources() { in getResources() method in Partner 88 int defaultLayout = getResources().getIdentifier(Partner.RES_DEFAULT_LAYOUT, in hasDefaultLayout() 94 int folder = getResources().getIdentifier(Partner.RES_FOLDER, in hasFolder() 100 int resId = getResources().getIdentifier(RES_DEFAULT_WALLPAPER_HIDDEN, "bool", in hideDefaultWallpaper() 102 return resId != 0 && getResources().getBoolean(resId); in hideDefaultWallpaper() 106 int resId = getResources().getIdentifier(RES_SYSTEM_WALLPAPER_DIR, "string", in getWallpaperDirectory() 108 return (resId != 0) ? new File(getResources().getString(resId)) : null; in getWallpaperDirectory() 112 int resId = getResources().getIdentifier(RES_REQUIRE_FIRST_RUN_FLOW, "bool", in requiresFirstRunFlow() 114 return resId != 0 && getResources().getBoolean(resId); in requiresFirstRunFlow() 123 int resId = getResources().getIdentifier(RES_GRID_NUM_ROWS, in applyInvariantDeviceProfileOverrides() [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/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
D | ClusterView.java | 108 contactImage = BitmapFactory.decodeResource(getResources(), in handleIncomingCall() 117 contactImage = BitmapFactory.decodeResource(getResources(), in handleDialingCall() 144 contactImage = BitmapFactory.decodeResource(getResources(), in handleHangoutMessage() 150 int c = getResources().getColor(R.color.hangout_background, null); in handleHangoutMessage() 204 getResources().getColor(R.color.media_background_dark, null), in createMediaCard() 205 getResources().getColor(R.color.media_background, null)); in createMediaCard() 208 (int) (getResources().getDimension(R.dimen.card_width)), in createMediaCard() 209 (int) getResources().getDimension(R.dimen.card_height)); in createMediaCard() 211 int c = getResources().getColor(R.color.phone_background, null); in createMediaCard() 217 getResources().getColor(R.color.media_icon_foreground, null)); in createMediaCard() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | TelephonyMonitorPreferenceControllerTest.java | 66 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in isAvailable_trueShowFlagWithUserdebugBuild_shouldReturnTrue() 77 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in isAvailable_trueShowFlagWithEngBuild_shouldReturnTrue() 88 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in isAvailable_trueShowFlagWithUserBuild_shouldReturnFalse() 99 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in isAvailable_falseShowFlagWithUserdebugBuild_shouldReturnFalse() 110 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in isAvailable_falseShowFlagWithEngBuild_shouldReturnFalse() 121 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in isAvailable_falseShowFlagWithUserBuild_shouldReturnFalse() 132 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in displayPreference_telephonyMonitorEnabled_shouldCheckedPreference() 148 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in displayPreference_telephonyMonitorUserEnabled_shouldCheckedPreference() 164 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in displayPreference_telephonyMonitorDisabled_shouldUncheckedPreference() 180 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor)) in displayPreference_telephonyMonitorUserDisabled_shouldUncheckedPreference() [all …]
|
D | CameraLaserSensorPreferenceControllerTest.java | 76 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in isAvailable_withConfigNoShow_shouldReturnFalse() 83 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in isAvailable_withUserdebugBuild_shouldReturnTrue() 94 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in isAvailable_withEngBuild_shouldReturnTrue() 105 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in isAvailable_withUserBuild_shouldReturnFalse() 116 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in displayPreference_cameraLaserSensorEnabled_shouldCheckedPreference() 132 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in displayPreference_cameraLaserSensorEnabled_shouldUncheckedPreference() 148 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in handlePreferenceTreeClick_preferenceChecked_shouldEnableCameraLaserSensor() 163 when(mContext.getResources().getBoolean(R.bool.config_show_camera_laser_sensor)) in handlePreferenceTreeClick_preferenceUnchecked_shouldDisableCameraLaserSensor()
|
D | CameraHalHdrplusPreferenceControllerTest.java | 74 when(mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus)) in isAvailable_withConfigNoShow_shouldReturnFalse() 81 when(mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus)) in displayPreference_cameraHalHdrplusEnabled_shouldCheckedPreference() 97 when(mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus)) in displayPreference_cameraHalHdrplusEnabled_shouldUncheckedPreference() 113 when(mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus)) in handlePreferenceTreeClick_preferenceChecked_shouldEnableCameraHalHdrplus() 118 when(mContext.getResources().getString(R.string.camera_hal_hdrplus_toast)).thenReturn( in handlePreferenceTreeClick_preferenceChecked_shouldEnableCameraHalHdrplus() 131 when(mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus)) in handlePreferenceTreeClick_preferenceUnchecked_shouldDisableCameraHalHdrplus() 136 when(mContext.getResources().getString(R.string.camera_hal_hdrplus_toast)).thenReturn( in handlePreferenceTreeClick_preferenceUnchecked_shouldDisableCameraHalHdrplus()
|
/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/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryEntry.java | 140 name = context.getResources().getString(R.string.power_idle); in BatteryEntry() 144 name = context.getResources().getString(R.string.power_cell); in BatteryEntry() 148 name = context.getResources().getString(R.string.power_phone); in BatteryEntry() 152 name = context.getResources().getString(R.string.power_wifi); in BatteryEntry() 156 name = context.getResources().getString(R.string.power_bluetooth); in BatteryEntry() 160 name = context.getResources().getString(R.string.power_screen); in BatteryEntry() 164 name = context.getResources().getString(R.string.power_flashlight); in BatteryEntry() 193 name = context.getResources().getString( in BatteryEntry() 198 name = context.getResources().getString(R.string.power_unaccounted); in BatteryEntry() 202 name = context.getResources().getString(R.string.power_overcounted); in BatteryEntry() [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 76 mFocusAnimDuration = getResources().getInteger(R.integer.menu_focus_anim_duration); in BaseCardView() 77 mFocusTranslationZ = getResources().getDimension(R.dimen.channel_card_elevation_focused) in BaseCardView() 78 - getResources().getDimension(R.dimen.card_elevation_normal); in BaseCardView() 80 getResources().getDimensionPixelOffset(R.dimen.menu_list_padding_top) in BaseCardView() 81 + getResources().getDimensionPixelOffset(R.dimen.menu_list_margin_top)); in BaseCardView() 83 setElevation(getResources().getDimension(R.dimen.card_elevation_normal)); in BaseCardView() 84 mCardCornerRadius = getResources().getDimensionPixelSize(R.dimen.channel_card_round_radius); in BaseCardView() 91 mCardImageWidth = getResources().getDimensionPixelSize(R.dimen.card_image_layout_width); in BaseCardView() 92 mCardHeight = getResources().getDimensionPixelSize(R.dimen.card_layout_height); in BaseCardView() 93 mExtendedCardHeight = getResources().getDimensionPixelSize( 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/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() 390 final String titleText = getResources().getString(titleResId); in updateViewContent() 393 final String mmsInfoText = getResources().getString( in updateViewContent() 409 final String subjectText = MmsUtils.cleanseMmsSubject(getResources(), in updateViewContent() 423 statusText = getResources().getString(statusResId); in updateViewContent() 449 final String simNameText = mData.getIsIncoming() ? getResources().getString( in updateViewContent() 453 mSimNameView.setTextColor(showSimIconAsIncoming ? getResources().getColor( in updateViewContent() 551 final int iconSize = getResources() in updateMessageAttachments() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 136 mLtr = view.getContext().getResources().getConfiguration().getLayoutDirection() in ScheduleRowViewHolder() 151 Resources res = view.getResources(); in ScheduleRowViewHolder() 190 int animationDuration = mSelectorView.getResources().getInteger( in updateSelector() 274 mTimeView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 276 mProgramTitleView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 278 mInfoSeparatorView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 280 mChannelNameView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 282 mConflictInfoView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 290 mTimeView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo() 292 mProgramTitleView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo() [all …]
|
/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/Settings/src/com/android/settings/development/ |
D | DevelopmentSettings.java | 568 convertFbePreference.setSummary(getResources() in onCreate() 580 getContext().getResources().getConfiguration().isScreenWideColorGamut()) { in onCreate() 586 if (getResources().getBoolean(R.bool.config_enableColorTemperature)) { in onCreate() 898 String[] values = getResources().getStringArray(R.array.hdcp_checking_values); in updateHdcpValues() 899 String[] summaries = getResources().getStringArray(R.array.hdcp_checking_summaries); in updateHdcpValues() 1000 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_set, label)); in updateDebuggerOptions() 1004 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_not_set)); in updateDebuggerOptions() 1458 LocalePicker.updateLocales(getActivity().getResources().getConfiguration().getLocales()); in writeForceRtlOptions() 1593 String[] values = getResources().getStringArray(R.array.select_logd_size_values); in updateLogdSizeValues() 1594 String[] titles = getResources().getStringArray(R.array.select_logd_size_titles); in updateLogdSizeValues() [all …]
|
/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() 91 rowPresenter.setBackgroundColor(getResources().getColor(R.color.common_tv_background, in setupAdapter() 168 logoDrawable = getContext().getResources() in onLoadLogoAndBackgroundImages() 173 backgroundDrawable = getContext().getResources() in onLoadLogoAndBackgroundImages() 189 int imageWidth = getResources().getDimensionPixelSize(R.dimen.dvr_details_poster_width); in onLoadLogoAndBackgroundImages() 190 int imageHeight = getResources() in onLoadLogoAndBackgroundImages() 208 getContext().getResources().getString(R.string.dvr_toast_recording_deleted), in startPlayback() 285 Resources res = mContext.getResources(); in onBitmapLoaded() 295 drawable = new BitmapDrawable(mContext.getResources(), bitmap); in onBitmapLoaded()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsMemDetail.java | 123 CharSequence[] labels = getResources().getTextArray(R.array.proc_stats_memory_states); in fillMemStateSection() 143 CharSequence[] labels = getResources().getTextArray(R.array.proc_stats_process_states); in fillMemUseSection() 145 getResources().getText(R.string.mem_use_kernel_type), mMemKernelWeight); in fillMemUseSection() 147 getResources().getText(R.string.mem_use_zram_type), mMemZRamWeight); in fillMemUseSection() 149 getResources().getText(R.string.mem_use_native_type), mMemNativeWeight); in fillMemUseSection() 154 getResources().getText(R.string.mem_use_kernel_cache_type), mMemCachedWeight); in fillMemUseSection() 156 getResources().getText(R.string.mem_use_free_type), mMemFreeWeight); in fillMemUseSection() 158 getResources().getText(R.string.mem_use_total), mMemTotalWeight); in fillMemUseSection()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 136 mNotificationCardMaxWidth = getResources().getDimensionPixelSize( in onCreate() 138 mNotificationCardHeight = getResources().getDimensionPixelSize( in onCreate() 140 mCardImageHeight = getResources().getDimensionPixelSize(R.dimen.notif_card_img_height); in onCreate() 141 mCardImageMaxWidth = getResources().getDimensionPixelSize(R.dimen.notif_card_img_max_width); in onCreate() 142 mCardImageMinWidth = getResources().getDimensionPixelSize(R.dimen.notif_card_img_min_width); in onCreate() 144 getResources().getDimensionPixelSize(R.dimen.notif_ch_logo_max_width); in onCreate() 146 getResources().getDimensionPixelSize(R.dimen.notif_ch_logo_max_height); in onCreate() 148 getResources().getDimensionPixelOffset(R.dimen.notif_ch_logo_padding_start); in onCreate() 150 getResources().getDimensionPixelOffset(R.dimen.notif_ch_logo_padding_bottom); in onCreate() 448 notification.color = getResources().getColor(R.color.recommendation_card_background, null); [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 138 label = mContext.getResources().getString(R.string.sim_label_emergency_calls); in registerPstnPhoneAccount() 140 mContext.getResources().getString(R.string.sim_description_emergency_calls); in registerPstnPhoneAccount() 159 slotIdString = mContext.getResources().getString(R.string.unknown); in registerPstnPhoneAccount() 165 subDisplayName = mContext.getResources().getString( in registerPstnPhoneAccount() 172 description = dummyPrefix + mContext.getResources().getString( in registerPstnPhoneAccount() 181 if (mContext.getResources().getBoolean(R.bool.config_pstnCanPlaceEmergencyCalls)) { in registerPstnPhoneAccount() 219 final boolean isHandoverFromSupported = mContext.getResources().getBoolean( in registerPstnPhoneAccount() 229 mContext.getResources() in registerPstnPhoneAccount() 243 if (isEmergency && mContext.getResources().getBoolean( in registerPstnPhoneAccount() 250 Resources res = mContext.getResources(); in registerPstnPhoneAccount() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrConflictFragment.java | 121 return getResources().getString( in getConflictDescription() 124 return getResources().getString( in getConflictDescription() 128 return getResources().getString( in getConflictDescription() 132 return getResources().getQuantityString( in getConflictDescription() 187 String title = getResources().getString(R.string.dvr_program_conflict_dialog_title); in onCreateGuidance() 194 Drawable icon = getResources().getDrawable(R.drawable.ic_error_white_48dp, null); in onCreateGuidance() 242 String title = getResources().getString(R.string.dvr_channel_conflict_dialog_title); in onCreateGuidance() 250 Drawable icon = getResources().getDrawable(R.drawable.ic_error_white_48dp, null); in onCreateGuidance() 301 String title = getResources().getString( in onCreateGuidance() 303 String description = getResources().getString( in onCreateGuidance()
|
D | DvrSeriesScheduledFragment.java | 97 icon = getResources().getDrawable(R.drawable.ic_check_circle_white_48dp, null); in onCreateGuidance() 99 icon = getResources().getDrawable(R.drawable.ic_error_white_48dp, null); in onCreateGuidance() 151 return getResources().getQuantityString( in getDescription() 158 return getResources().getQuantityString( in getDescription() 163 return getResources().getQuantityString( in getDescription() 169 return getResources().getQuantityString( in getDescription() 174 return getResources().getQuantityString( in getDescription()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 67 backgroundMore = getResources().getDrawable(R.drawable.incall_button_background_more, null); in init() 68 background = getResources().getDrawable(R.drawable.incall_button_background, null); in init() 77 int paddingSize = getResources().getDimensionPixelOffset(R.dimen.incall_button_padding); in init() 80 int iconSize = getResources().getDimensionPixelSize(R.dimen.incall_labeled_button_size); in init() 90 iconView.setImageTintList(getResources().getColorStateList(R.color.incall_button_icon, null)); in init() 91 iconView.setBackground(getResources().getDrawable(R.drawable.incall_button_background, null)); in init() 93 iconView.setElevation(getResources().getDimension(R.dimen.incall_button_elevation)); in init() 103 context.getResources().getDimensionPixelOffset(R.dimen.incall_button_label_margin); in init()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 92 mCircleRadius = getResources() in BottomBar() 94 mBackgroundAlphaOverlay = getResources() in BottomBar() 96 mBackgroundAlphaDefault = getResources() in BottomBar() 100 TypedArray ar = context.getResources() in BottomBar() 107 context.getResources().getDrawable(drawableId).getConstantState(); in BottomBar() 405 return (LayerDrawable) constantState.newDrawable(getContext().getResources()); in newDrawableFromConstantState() 425 int pressedColor = getContext().getResources().getColor(colorId); in setupShutterBackgroundForModeIndex() 493 Drawable iconDrawable = getResources().getDrawable(resId); in setShutterButtonIcon() 511 getResources().getDrawable(resId)); in animateToVideoStop() 527 getResources().getDrawable(resId)); in animateToFullSize()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | DtmfLocalTonePlayerTest.java | 50 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testSupportedStart() 59 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testUnsupportedStart() 68 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testPlayToneWhenUninitialized() 78 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testPlayToneWhenInitialized() 88 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testStopToneWhenUninitialized() 98 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testStopToneWhenInitialized() 108 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testProperTeardown()
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 94 context.getResources().getBoolean(R.bool.config_default_account_user_changeable)); in ContactsPreferences() 107 mDefaultAccountKey = mContext.getResources().getString( in ContactsPreferences() 113 return mContext.getResources().getBoolean(R.bool.config_sort_order_user_changeable); in isSortOrderUserChangeable() 117 if (mContext.getResources().getBoolean(R.bool.config_default_sort_order_primary)) { in getDefaultSortOrder() 143 return mContext.getResources().getBoolean(R.bool.config_display_order_user_changeable); in isDisplayOrderUserChangeable() 147 if (mContext.getResources().getBoolean(R.bool.config_default_display_order_primary)) { in getDefaultDisplayOrder() 173 if (mContext.getResources().getBoolean(R.bool.config_default_hide_phonetic_name_if_empty)) { in getDefaultPhoneticNameDisplayPreference() 181 return mContext.getResources().getBoolean( in isPhoneticNameDisplayPreferenceChangeable()
|