/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 646 const SLHSL *color 651 SLHSL *color
|
/frameworks/wilhelm/src/itf/ |
H A D | ILEDArray.c | 63 SLHSL color = *pColor; local 64 if (!(0 <= color.hue && color.hue <= 360000)) 66 if (!(0 <= color.saturation && color.saturation <= 1000)) 68 if (!(0 <= color.lightness && color.lightness <= 1000)) 73 thiz->mColors[index] = color; 92 SLHSL color = thiz->mColors[index]; local 94 *pColor = color; 114 SLHSL *color = thiz->mColors; local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 73 * <li>a solid color (set via {@link #setColor})</li> 171 throw new IllegalStateException("Can't draw with translucent alpha and color filter"); 251 public void setColor(int color) { argument 252 ((ColorDrawable) mDrawable).setColor(color); 356 * Optimizes drawing when the dim drawable is an alpha-only color and imagein is opaque. 402 int color = Color.argb(getAlpha(), dimAlpha, dimAlpha, dimAlpha); 403 mColorFilter = new PorterDuffColorFilter(color, PorterDuff.Mode.MULTIPLY); 546 public void setColor(int color) { argument 547 mColor = color; 726 if (DEBUG) Log.v(TAG, "onActivityStart " + this + " updating service color " 968 setColor(@olorInt int color) argument [all...] |
H A D | BrandedFragment.java | 282 * Sets the color used to draw the search affordance. 283 * A default brighter color will be set by the framework. 285 * @param color The color to use for the search affordance. 287 public void setSearchAffordanceColor(int color) { argument 288 setSearchAffordanceColors(new SearchOrbView.Colors(color)); 292 * Returns the color used to draw the search affordance. 295 return getSearchAffordanceColors().color;
|
H A D | BrandedSupportFragment.java | 284 * Sets the color used to draw the search affordance. 285 * A default brighter color will be set by the framework. 287 * @param color The color to use for the search affordance. 289 public void setSearchAffordanceColor(int color) { argument 290 setSearchAffordanceColors(new SearchOrbView.Colors(color)); 294 * Returns the color used to draw the search affordance. 297 return getSearchAffordanceColors().color;
|
H A D | BrowseFragment.java | 676 * Sets the brand color for the browse fragment. The brand color is used as 677 * the primary color for UI elements in the browse fragment. For example, 678 * the background color of the headers fragment uses the brand color. 680 * @param color The color to use as the brand color of the fragment. 682 public void setBrandColor(@ColorInt int color) { argument 683 mBrandColor = color; [all...] |
H A D | BrowseSupportFragment.java | 678 * Sets the brand color for the browse fragment. The brand color is used as 679 * the primary color for UI elements in the browse fragment. For example, 680 * the background color of the headers fragment uses the brand color. 682 * @param color The color to use as the brand color of the fragment. 684 public void setBrandColor(@ColorInt int color) { argument 685 mBrandColor = color; [all...] |
H A D | ErrorFragment.java | 198 R.color.lb_error_background_color_translucent : 199 R.color.lb_error_background_color_opaque));
|
H A D | ErrorSupportFragment.java | 200 R.color.lb_error_background_color_translucent : 201 R.color.lb_error_background_color_opaque));
|
H A D | HeadersFragment.java | 241 void setBackgroundColor(int color) { argument 242 mBackgroundColor = color;
|
H A D | HeadersSupportFragment.java | 243 void setBackgroundColor(int color) { argument 244 mBackgroundColor = color;
|
H A D | PlaybackOverlayFragment.java | 625 getResources().getColor(R.color.lb_playback_controls_background_dark); 627 getResources().getColor(R.color.lb_playback_controls_background_light); 670 int color = mBgDarkColor; 673 case BG_LIGHT: color = mBgLightColor; break; 674 case BG_NONE: color = Color.TRANSPARENT; break; 676 mRootView.setBackground(new ColorDrawable(color));
|
H A D | PlaybackOverlaySupportFragment.java | 627 getResources().getColor(R.color.lb_playback_controls_background_dark); 629 getResources().getColor(R.color.lb_playback_controls_background_light); 672 int color = mBgDarkColor; 675 case BG_LIGHT: color = mBgLightColor; break; 676 case BG_NONE: color = Color.TRANSPARENT; break; 678 mRootView.setBackground(new ColorDrawable(color));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | ColorFilterCache.java | 23 * Cache of {@link ColorFilter}s for a given color at different alpha levels. 33 * Get a ColorDimmer for a given color. Only the RGB values are used; the 34 * alpha channel is ignored in color. Subsequent calls to this method 35 * with the same color value will return the same cache. 37 * @param color The color to use for the color filters. 38 * @return A cache of ColorFilters at different alpha levels for the color. 40 public static ColorFilterCache getColorFilterCache(int color) { argument 41 final int r = Color.red(color); [all...] |
H A D | ColorFilterDimmer.java | 39 * Creates a default ColorFilterDimmer. Uses the default color and level for 43 * @return A ColorFilterDimmer with the default dim color and levels. 49 context.getResources().getColor(R.color.lb_view_dim_mask_color)); 60 * Creates a ColorFilterDimmer for the given color and levels.. 62 * @param dimmer The ColorFilterCache for dim color.
|
H A D | ColorOverlayDimmer.java | 25 * Helper class for assigning a dim color to Paint. It holds the alpha value for 45 context.getResources().getColor(R.color.lb_view_dim_mask_color)); 55 * Creates a ColorOverlayDimmer for the given color and levels. 57 * @param dimColor The color for fully dimmed. Only the RGB values are 124 * Change the RGB of the color according to current dim level. Maintains the 125 * alpha value of the color. 127 * @param color The color to apply the dim level to. 128 * @return A color with the RGB values adjusted by the alpha of the current 131 public int applyToColor(int color) { argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | AbstractMediaItemPresenter.java | 379 * Sets the background color for the row views within the playlist. 380 * If this is not set, a default color, defaultBrandColor, from theme is used. 382 * @param color The ARGB color used to set as the media list background color. 384 public void setBackgroundColor(int color) { argument 386 mBackgroundColor = color;
|
H A D | AbstractMediaListHeaderPresenter.java | 113 * Sets the background color for the row views within the playlist. 114 * If this is not set, a default color, defaultBrandColor, from theme is used. 116 * @param color The ARGB color used to set as the header text background color. 118 public void setBackgroundColor(int color) { argument 120 mBackgroundColor = color;
|
H A D | ControlBarPresenter.java | 234 public void setBackgroundColor(ViewHolder vh, int color) { argument 235 vh.mControlsContainer.setBackgroundColor(color);
|
H A D | DetailsOverviewRowPresenter.java | 328 * Sets the background color. If not set, a default from the theme will be used. 330 public void setBackgroundColor(@ColorInt int color) { argument 331 mBackgroundColor = color; 336 * Returns the background color. If no background color was set, transparent 402 return context.getResources().getColor(R.color.lb_default_brand_color);
|
H A D | FocusHighlightHelper.java | 107 int color = mDimmer.getPaint().getColor(); 109 mWrapper.setOverlayColor(color); 111 ShadowOverlayHelper.setNoneWrapperOverlayColor(mView, color);
|
H A D | FullWidthDetailsOverviewRowPresenter.java | 341 * Returns the rectangle area with a color background. 440 * Sets the background color. If not set, a default from the theme will be used. 442 public final void setBackgroundColor(int color) { argument 443 mBackgroundColor = color; 448 * Returns the background color. If {@link #setBackgroundColor(int)}, transparent 456 * Sets the background color for Action Bar. If not set, a default from the theme will be 459 public final void setActionsBackgroundColor(int color) { argument 460 mActionsBackgroundColor = color; 465 * Returns the background color of actions. If {@link #setActionsBackgroundColor(int)}
|
H A D | ImageCardView.java | 252 // the InfoArea's background color in XML using the corresponding style. 382 * Sets the info area background color. 384 public void setInfoAreaBackgroundColor(@ColorInt int color) { argument 386 mInfoArea.setBackgroundColor(color);
|
H A D | MediaRowFocusView.java | 61 R.color.lb_playback_media_row_highlight_color));
|
H A D | PagingIndicator.java | 149 R.color.lb_page_indicator_dot); 154 R.color.lb_page_indicator_arrow_background); 157 int shadowColor = res.getColor(R.color.lb_page_indicator_arrow_shadow);
|