/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | UiUtils.java | 253 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 D | CircledImageView.java | 111 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 D | ProgramItemView.java | 207 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 D | AppLinkCardView.java | 87 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 D | ContactDrawable.java | 49 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 D | PickImageInfo.java | 38 int colorOverlay = context.getResources().getColor(R.color.wallpaper_picker_translucent_gray);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | StickyHeaderListView.java | 241 * @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 D | VideoUI.java | 207 public void setRecordingTimeTextColor(int color) { argument 208 mRecordingTimeView.setTextColor(color);
|
/packages/apps/Car/Overview/src/com/android/car/overview/ |
H A D | MediaStreamViewHolder.java | 165 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 D | RadioDisplayController.java | 131 ? 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 D | CarDrawerActivity.java | 238 // 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 D | ContactsPreferenceActivity.java | 144 protected void onTitleChanged(CharSequence title, int color) { argument 145 super.onTitleChanged(title, color);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | PreviewOverlay.java | 54 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 D | CallDetailsEntryViewHolder.java | 180 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 D | PostCall.java | 102 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 D | InCallPaginator.java | 65 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 D | DrawerController.java | 137 @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 D | GridDocumentHolder.java | 59 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 D | HistoryFragment.java | 144 isEmpty ? R.color.empty_history_color : R.color.display_background_color));
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 119 public static boolean isOpaque(int color) { argument 120 return color >>> 24 == 0xFF;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | CategoryView.java | 62 mSelectionColor = res.getColor(R.color.filtershow_category_selection); 63 mSpacerColor = res.getColor(R.color.filtershow_categoryview_text);
|
H A D | IconView.java | 71 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 D | ColorBrightnessView.java | 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
|
H A D | ColorCompareView.java | 120 int color = Color.HSVToColor((int) (mHSVO[3] * 255), mHSVO); 121 mBarPaint1.setColor(color);
|
H A D | ColorOpacityView.java | 74 mDotPaint.setColor(res.getColor(R.color.slider_dot_color)); 75 mSliderColor = res.getColor(R.color.slider_line_color);
|