Searched refs:color (Results 201 - 225 of 477) sorted by relevance

1234567891011>>

/packages/apps/Messaging/src/com/android/messaging/util/
H A DUiUtils.java253 public static void setStatusBarColor(final Activity activity, final int color) { argument
256 // each color channel is reduced in value by 20%.
257 final int blendedRed = (int) Math.floor(0.8 * Color.red(color));
258 final int blendedGreen = (int) Math.floor(0.8 * Color.green(color));
259 final int blendedBlue = (int) Math.floor(0.8 * Color.blue(color));
/packages/apps/PackageInstaller/src/android/support/wearable/view/
H A DCircledImageView.java111 int color = (int) animation.getAnimatedValue();
112 if (color != CircledImageView.this.mCurrentColor) {
113 CircledImageView.this.mCurrentColor = color;
137 mCircleColor = ColorStateList.valueOf(android.R.color.darker_gray);
239 // color. {@link #Paint.setPaint} will clear any previously set alpha value.
258 // color. {@link #Paint.setPaint} will clear any previously set alpha value.
515 * The views circle border width and color must be set for this to have an effect.
589 * @return the milliseconds duration of the transition animation when the color changes.
596 * @param mColorChangeAnimationDurationMs the milliseconds duration of the color change
597 * animation. The color chang
[all...]
/packages/apps/TV/src/com/android/tv/guide/
H A DProgramItemView.java207 R.color.program_guide_table_item_program_title_text_color, null));
209 R.color.program_guide_table_item_grayed_out_program_text_color, null);
211 R.color.program_guide_table_item_program_episode_title_text_color, null));
213 R.color.program_guide_table_item_grayed_out_program_episode_title_text_color,
/packages/apps/TV/src/com/android/tv/menu/
H A DAppLinkCardView.java87 mIconColorFilter = getResources().getColor(R.color.app_link_card_icon_color_filter, null);
229 mMetaViewHolder.setBackgroundResource(R.color.channel_card_meta_background);
374 mImageView.setBackgroundResource(R.color.channel_card);
394 getResources().getColor(R.color.channel_card_meta_background, null)));
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DContactDrawable.java49 sTileFontColor = res.getColor(R.color.letter_tile_font_color);
67 * Returns the color picker for the background tile used in the letter avatars.
69 * @return non-null color picker.
91 // Draw background color.
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
H A DPickImageInfo.java38 int colorOverlay = context.getResources().getColor(R.color.wallpaper_picker_translucent_gray);
/packages/apps/Calendar/src/com/android/calendar/
H A DStickyHeaderListView.java241 * @param color - color of separator
244 public void setHeaderSeparator(int color, int width) { argument
249 mSeparatorView.setBackgroundColor(color);
/packages/apps/Camera2/src/com/android/camera/
H A DVideoUI.java207 public void setRecordingTimeTextColor(int color) { argument
208 mRecordingTimeView.setTextColor(color);
/packages/apps/Car/Overview/src/com/android/car/overview/
H A DMediaStreamViewHolder.java165 mSkipToNextButton.setColorFilter(mContext.getColor(R.color.car_grey_700));
170 mSkipToPreviousButton.setColorFilter(mContext.getColor(R.color.car_grey_700));
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DRadioDisplayController.java131 ? mContext.getColor(R.color.car_radio_control_button)
132 : mContext.getColor(R.color.car_radio_control_button_disabled);
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/
H A DCarDrawerActivity.java238 // When drawer open, use car_title, which resolves to appropriate color depending on
239 // day-night mode. When drawer is closed, we always use light color.
241 R.color.car_title : R.color.car_title_light;
/packages/apps/Contacts/src/com/android/contacts/preference/
H A DContactsPreferenceActivity.java144 protected void onTitleChanged(CharSequence title, int color) { argument
145 super.onTitleChanged(title, color);
/packages/apps/DevCamera/src/com/android/devcamera/
H A DPreviewOverlay.java54 mColor = res.getColor(R.color.face_color);
61 mColor2 = res.getColor(R.color.hud_color);
/packages/apps/Dialer/java/com/android/dialer/calldetails/
H A DCallDetailsEntryViewHolder.java180 return ContextCompat.getColor(context, R.color.dialer_secondary_text_color);
187 return ContextCompat.getColor(context, R.color.missed_call);
/packages/apps/Dialer/java/com/android/dialer/postcall/
H A DPostCall.java102 activity.getResources().getColor(R.color.dialer_snackbar_action_text_color));
131 activity.getResources().getColor(R.color.dialer_snackbar_action_text_color))
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DInCallPaginator.java65 int activeDotColor = context.getColor(R.color.paginator_dot);
66 int inactiveDotColor = context.getColor(R.color.paginator_path);
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DDrawerController.java137 @ColorRes int id = highlight ? R.color.item_doc_background_selected :
138 android.R.color.transparent;
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DGridDocumentHolder.java59 mDisabledBgColor = context.getColor(R.color.item_doc_background_disabled);
60 mDefaultBgColor = context.getColor(R.color.item_doc_background);
105 // Text colors enabled/disabled is handle via a color set.
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DHistoryFragment.java144 isEmpty ? R.color.empty_history_color : R.color.display_background_color));
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DUtils.java119 public static boolean isOpaque(int color) { argument
120 return color >>> 24 == 0xFF;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryView.java62 mSelectionColor = res.getColor(R.color.filtershow_category_selection);
63 mSpacerColor = res.getColor(R.color.filtershow_categoryview_text);
H A DIconView.java71 mTextColor = res.getColor(R.color.filtershow_categoryview_text);
72 mBackgroundColor = res.getColor(R.color.filtershow_categoryview_background);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorBrightnessView.java74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorCompareView.java120 int color = Color.HSVToColor((int) (mHSVO[3] * 255), mHSVO);
121 mBarPaint1.setColor(color);
H A DColorOpacityView.java74 mDotPaint.setColor(res.getColor(R.color.slider_dot_color));
75 mSliderColor = res.getColor(R.color.slider_line_color);

Completed in 1066 milliseconds

1234567891011>>