/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 1081 const mkvparser::Colour *color = vtrack->GetColour(); local 1082 if (color == NULL) { 1094 if (isValidInt32ColourValue(color->primaries)) { 1095 primaries = color->primaries; 1097 if (isValidInt32ColourValue(color->transfer_characteristics)) { 1098 transfer = color->transfer_characteristics; 1100 if (isValidInt32ColourValue(color->matrix_coefficients)) { 1101 coeffs = color->matrix_coefficients; 1103 if (color->range != mkvparser::Colour::kValueNotPresent 1104 && color [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 182 * @param color 185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument 194 paint.setColor(color); 217 * @param color 220 public Bitmap toBitmap(int width, int height, int inset, int color) { argument 228 paint.setColor(color);
|
/frameworks/base/libs/hwui/utils/ |
H A D | NinePatchImpl.cpp | 174 uint32_t color; local 254 color = colors[colorIndex++]; 289 if (color == android::Res_png_9patch::TRANSPARENT_COLOR && !hasXfer) { 313 color, hasXfer);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationOverflowIconsView.java | 48 mTintColor = getContext().getColor(R.color.keyguard_overflow_content_color);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | TextViewWithCircularIndicator.java | 48 mCircleColor = res.getColor(R.color.blue);
|
/frameworks/base/libs/hwui/ |
H A D | FrameInfoVisualizer.cpp | 51 SkColor color; member in struct:android::uirenderer::BarSegment 205 paint.setColor(Bar[i].color & BAR_FAST_MASK); 207 paint.setColor(Bar[i].color & BAR_JANKY_MASK);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSimPinView.java | 84 int color = Color.WHITE; 92 color = info.getIconTint(); 96 mSimImageView.setImageTintList(ColorStateList.valueOf(color));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDualTileLabel.java | 135 public void setTextColor(int color) { argument 136 mFirstLine.setTextColor(color); 137 mSecondLine.setTextColor(color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationTemplateViewWrapper.java | 199 int color = interpolateColor(mColor, mDarkProgressTint, intensity); 200 target.getIndeterminateDrawable().mutate().setTint(color); 201 target.getProgressDrawable().mutate().setTint(color);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | AlphaLayersActivity.java | 41 ColorView color = new ColorView(this); 42 container.addView(color, new DirtyBitmapView.LayoutParams( 49 color.startAnimation(a);
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
H A D | MainActivity.java | 54 defaultColor = getColor(R.color.none_received); 55 startJobColor = getColor(R.color.start_received); 56 stopJobColor = getColor(R.color.stop_received);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 71 /* Vertex array and color array are enabled for all objects, so their 78 * components per color with GL_UNSIGNED_BYTE datatype and stride 0. 298 int a, color[3]; local 301 color[a] = (int)(ca * baseColor[a] * 255); 302 if (color[a] > 255) color[a] = 255; 304 result->colorArray[i] = (GLubyte)color[0]; 305 result->colorArray[i + 1] = (GLubyte)color[1]; 306 result->colorArray[i + 2] = (GLubyte)color[2]; 367 GLubyte color; local [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
H A D | BottomNavigationItemView.java | 239 public void setTextColor(ColorStateList color) { argument 240 mSmallLabel.setTextColor(color); 241 mLargeLabel.setTextColor(color);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
H A D | DetailViewExampleFragment.java | 87 getColor(R.color.detail_view_actionbar_background, null)); 91 getResources().getColor(R.color.detail_view_background, null)); 172 int backgroundColor = getResources().getColor(R.color.detail_view_related_background,
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
H A D | DetailViewExampleFragment.java | 87 getColor(R.color.detail_view_actionbar_background, null)); 91 getResources().getColor(R.color.detail_view_background, null)); 172 int backgroundColor = getResources().getColor(R.color.detail_view_related_background,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
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;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 107 int color = mDimmer.getPaint().getColor(); 109 mWrapper.setOverlayColor(color); 111 ShadowOverlayHelper.setNoneWrapperOverlayColor(mView, color);
|
H A D | StreamingTextView.java | 138 R.color.lb_search_plate_hint_text_color); 199 private void addColorSpan(SpannableStringBuilder displayText, int color, String text, argument 201 ForegroundColorSpan span = new ForegroundColorSpan(color);
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
H A D | DrawerArrowDrawable.java | 110 // Use Path instead of canvas operations so that if color has transparency, overlapping sections 212 * Sets the color of the drawable. 214 public void setColor(@ColorInt int color) { argument 215 if (color != mPaint.getColor()) { 216 mPaint.setColor(color); 222 * Returns the color of the drawable.
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouterThemeHelper.java | 50 * by the primary color defined in the given {@code style}, or in the parent {@code context}. 116 // the white dialog and use the primary color for the group controls. 163 int color = ta.getColor(0, 0); 165 if (color != 0) { 166 return color;
|
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 249 sub = subtag(tag, ";color="); 309 * Returns a span for the specified color string representation. 310 * If the specified string does not represent a color (null, empty, etc.) 311 * the color black is returned instead. 313 * @param color The color as a string. Can be a resource reference, 315 * @param foreground True if the color will be used as the foreground color, 322 private static CharacterStyle getColor(String color, boolean foreground) { argument 325 if (!TextUtils.isEmpty(color)) { [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 211 public void setFrameColor(int color) { argument 213 mFramePaint.setColor(color); 241 int color = mTintColor.getColorForState(getState(), mTintColor.getDefaultColor()); 243 mPaint.setColorFilter(new PorterDuffColorFilter(color, mTintMode)); 246 ((PorterDuffColorFilter) mPaint.getColorFilter()).setColor(color);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 42 * color: [0.##, 0.##, 0.##] 52 * color: [1.0, 0.5, 0.5], \ 54 * color: [0.251, 0.878, 0.816] alpha: 0.7 \ 146 blend(defaultBlend), color(defaultColor), 154 ColorFract color; member in class:Rectangle 452 } else if (attrName == "color:") { // Color 453 rect.color = hwcTestParseColor(in, error); 455 testPrintE("Error parsing color in: %s", rectStr.c_str()); 516 // Fill with uniform color 517 hwcTestFillColor(rect.texture.get(), rect.color, rec [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TimePickerClockDelegate.java | 153 // color from the header time text appearance. If it's set, we'll let 154 // that override the "real" header text color. 259 * The legacy text color might have been poorly defined. Ensures that it 261 * exists or modifying the default text color otherwise. 263 * @param color a legacy text color, or {@code null} 264 * @return a color state list with an appropriate activated state, or 268 private ColorStateList applyLegacyColorFixes(@Nullable ColorStateList color) { argument 269 if (color == null || color 299 multiplyAlphaComponent(int color, float alphaMod) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewHeader.java | 74 * A color drawable that draws a slight highlight at the top to help it stand out. 90 public void setColorAndDim(int color, float dimAlpha) { argument 91 if (mColor != color || Float.compare(mDimAlpha, dimAlpha) != 0) { 92 mColor = color; 94 mBackgroundPaint.setColor(color); 96 ColorUtils.colorToHSL(color, mTmpHSL); 97 // TODO: Consider using the saturation of the color to adjust the lightness as well 206 mTaskBarViewLightTextColor = context.getColor(R.color.recents_task_bar_light_text_color); 207 mTaskBarViewDarkTextColor = context.getColor(R.color.recents_task_bar_dark_text_color); 215 context.getColor(R.color 429 updateBackgroundColor(int color, float dimAlpha) argument [all...] |