/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 85 public Resources getResources() { in getResources() method in Partner 90 int defaultLayout = getResources().getIdentifier(Partner.RES_DEFAULT_LAYOUT, in hasDefaultLayout() 96 int folder = getResources().getIdentifier(Partner.RES_FOLDER, in hasFolder() 102 int resId = getResources().getIdentifier(RES_DEFAULT_WALLPAPER_HIDDEN, "bool", in hideDefaultWallpaper() 104 return resId != 0 && getResources().getBoolean(resId); in hideDefaultWallpaper() 108 int resId = getResources().getIdentifier(RES_SYSTEM_WALLPAPER_DIR, "string", in getWallpaperDirectory() 110 return (resId != 0) ? new File(getResources().getString(resId)) : null; in getWallpaperDirectory() 114 int resId = getResources().getIdentifier(RES_REQUIRE_FIRST_RUN_FLOW, "bool", in requiresFirstRunFlow() 116 return resId != 0 && getResources().getBoolean(resId); in requiresFirstRunFlow() 125 int resId = getResources().getIdentifier(RES_GRID_NUM_ROWS, in applyInvariantDeviceProfileOverrides() [all …]
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | SettingsDialog.java | 72 lp.y = getResources().getDimensionPixelSize(R.dimen.panel_y_offset); in onCreate() 89 if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in onCreate() 90 pivotX = getResources().getDimensionPixelSize(R.dimen.slider_horizontal_padding); in onCreate() 92 pivotX = getResources().getDimensionPixelSize( in onCreate() 95 … final int pivotY = getResources().getDimensionPixelSize(R.dimen.main_panel_text_height_half); in onCreate() 108 String[] presetSettingValues = getResources().getStringArray( in onCreate() 111 presetSettingValues[getResources().getInteger( in onCreate() 154 String[] settingNames = getResources().getStringArray(R.array.setting_names); in getSettings() 155 String[] settingKeys = getResources().getStringArray(R.array.setting_keys); in getSettings() 156 int[] maxSettingValues = getResources().getIntArray(R.array.setting_max_values); in getSettings() [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/unit/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/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryEntry.java | 143 name = context.getResources().getString(R.string.power_idle); in BatteryEntry() 147 name = context.getResources().getString(R.string.power_cell); in BatteryEntry() 151 name = context.getResources().getString(R.string.power_phone); in BatteryEntry() 155 name = context.getResources().getString(R.string.power_wifi); in BatteryEntry() 159 name = context.getResources().getString(R.string.power_bluetooth); in BatteryEntry() 163 name = context.getResources().getString(R.string.power_screen); in BatteryEntry() 167 name = context.getResources().getString(R.string.power_flashlight); in BatteryEntry() 196 name = context.getResources().getString( in BatteryEntry() 201 name = context.getResources().getString(R.string.power_unaccounted); in BatteryEntry() 205 name = context.getResources().getString(R.string.power_overcounted); in BatteryEntry() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryEntry.java | 143 name = context.getResources().getString(R.string.power_idle); in BatteryEntry() 147 name = context.getResources().getString(R.string.power_cell); in BatteryEntry() 151 name = context.getResources().getString(R.string.power_phone); in BatteryEntry() 155 name = context.getResources().getString(R.string.power_wifi); in BatteryEntry() 159 name = context.getResources().getString(R.string.power_bluetooth); in BatteryEntry() 163 name = context.getResources().getString(R.string.power_screen); in BatteryEntry() 167 name = context.getResources().getString(R.string.power_flashlight); in BatteryEntry() 196 name = context.getResources().getString( in BatteryEntry() 201 name = context.getResources().getString(R.string.power_unaccounted); in BatteryEntry() 205 name = context.getResources().getString(R.string.power_overcounted); in BatteryEntry() [all …]
|
/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/DocumentsUI/tests/unit/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/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/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/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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/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/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerFragment.java | 260 != (getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK))) { in onCreate() 342 getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK); in onSaveInstanceState() 354 int gridPaddingPx = getResources().getDimensionPixelSize(R.dimen.grid_padding_desktop); in onCreateView() 375 int gridPaddingPx = getResources().getDimensionPixelSize(R.dimen.grid_padding_desktop); in updateImageGridPadding() 376 int bottomSheetHeightPx = getResources().getDimensionPixelSize( in updateImageGridPadding() 580 getResources().getString(R.string.start_rotation_progress_message)); in startRotation() 728 getResources().getColor(R.color.rotation_tile_enabled_background_color)); in RotationHolder() 731 getResources().getColor(R.color.rotation_tile_enabled_title_text_color)); in RotationHolder() 733 getResources().getColor(R.color.rotation_tile_enabled_subtitle_text_color)); in RotationHolder() 735 getResources().getColor(R.color.rotation_tile_enabled_refresh_icon_color), in RotationHolder() [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/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/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/TV/src/com/android/tv/dvr/ui/ |
D | DvrConflictFragment.java | 129 return getResources() in getConflictDescription() 133 return getResources() in getConflictDescription() 139 return getResources() in getConflictDescription() 145 return getResources() in getConflictDescription() 206 String title = getResources().getString(R.string.dvr_program_conflict_dialog_title); in onCreateGuidance() 215 Drawable icon = getResources().getDrawable(R.drawable.quantum_ic_error_white_48, null); in onCreateGuidance() 266 String title = getResources().getString(R.string.dvr_channel_conflict_dialog_title); in onCreateGuidance() 275 Drawable icon = getResources().getDrawable(R.drawable.quantum_ic_error_white_48, null); in onCreateGuidance() 327 getResources().getString(R.string.dvr_epg_channel_watch_conflict_dialog_title); in onCreateGuidance() 329 getResources() in onCreateGuidance()
|
D | DvrSeriesScheduledFragment.java | 110 icon = getResources().getDrawable(R.drawable.quantum_ic_check_circle_white_48, null); in onCreateGuidance() 112 icon = getResources().getDrawable(R.drawable.quantum_ic_error_white_48, null); in onCreateGuidance() 166 return getResources() in getDescription() 176 return getResources() in getDescription() 184 return getResources() in getDescription() 193 return getResources() in getDescription() 200 return getResources() in getDescription()
|
/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()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 136 getResources().getDimensionPixelSize(R.dimen.notif_card_img_max_width); in onCreate() 138 getResources().getDimensionPixelSize(R.dimen.notif_card_img_height); in onCreate() 139 mCardImageHeight = getResources().getDimensionPixelSize(R.dimen.notif_card_img_height); in onCreate() 140 mCardImageMaxWidth = getResources().getDimensionPixelSize(R.dimen.notif_card_img_max_width); in onCreate() 141 mCardImageMinWidth = getResources().getDimensionPixelSize(R.dimen.notif_card_img_min_width); in onCreate() 143 getResources().getDimensionPixelSize(R.dimen.notif_ch_logo_max_width); in onCreate() 145 getResources().getDimensionPixelSize(R.dimen.notif_ch_logo_max_height); in onCreate() 147 getResources().getDimensionPixelOffset(R.dimen.notif_ch_logo_padding_start); in onCreate() 149 getResources().getDimensionPixelOffset(R.dimen.notif_ch_logo_padding_bottom); in onCreate() 464 notification.color = getResources().getColor(R.color.recommendation_card_background, null); in sendNotification() [all …]
|
/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()
|