/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 81 * the color transition should start 197 * Update the background color of the circle image view. 199 public void setBackgroundColor(int color) { argument 200 mRing.setBackgroundColor(color); 204 * Set the colors used in the progress animation from color resources. 205 * The first color will also be the color of the bar that grows in response 329 * Update the ring color if this is within the last 25% of the animation. 330 * The new ring color will be a translation from the starting ring color t 510 setBackgroundColor(int color) argument 601 setColor(int color) argument [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | record.cpp | 52 // Check the color format to make sure 154 // returns -1 if mapping of the given color is unsuccessful 155 // returns an omx color enum value otherwise 156 static int translateColorToOmxEnumValue(int color) { 157 switch (color) { 163 fprintf(stderr, "Unsupported color: %d\n", color); 182 fprintf(stderr, "input color format must be 0 (YUV420SP) or 1 (YUV420P)\n");
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSimPukView.java | 125 int color = Color.WHITE; 133 color = info.getIconTint(); 137 mSimImageView.setImageTintList(ColorStateList.valueOf(color));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationController.java | 245 int errorColor = mContext.getResources().getColor(R.color.system_warning_color, null); 264 int errorColor = mContext.getResources().getColor(R.color.system_warning_color, null); 280 int errorColor = mContext.getResources().getColor(R.color.system_warning_color,
|
H A D | NotificationTemplateViewWrapper.java | 63 ctx.getColor(R.color.doze_small_icon_background_color); 80 // If the icon already has a color filter, we assume that we already forced the icon to be 209 int color = interpolateColor(mIconBackgroundColor, mIconBackgroundDarkColor, intensity); 210 mIconColorFilter.setColor(color);
|
H A D | ExpandableNotificationRow.java | 876 int color = getRippleColor(); 877 if (color == mNormalRippleColor) { 878 color = 0; 881 applyTint(mExpandButtonDivider, color); 884 mChildrenContainer.setTintColor(color); 888 public static void applyTint(View v, int color) { argument 890 if (color != 0) { 893 color = 0xff000000; 899 background.setColor(color);
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 132 final int color = Color.HSVToColor(new float[]{hue, sat, val}); 133 if (DEBUG) Log.d(TAG, String.format("hsv=(%s,%s,%s) argb=#%08x", hue, sat, val, color)); 134 mContent.setBackgroundColor(color);
|
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 155 def _add_timeseries_line(self, axes, label, color, linewidth=1): 156 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowDrawableWrapper.java | 83 mShadowStartColor = resources.getColor(R.color.design_fab_shadow_start_color); 84 mShadowMiddleColor = resources.getColor(R.color.design_fab_shadow_mid_color); 85 mShadowEndColor = resources.getColor(R.color.design_fab_shadow_end_color);
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 148 * Pixel data will be converted to a Baseline TIFF RGB image, with 8 bits per color channel. 290 * The pixel layout in the input is determined from the reported color filter arrangement (CFA) 340 * The pixel layout in the input is determined from the reported color filter arrangement (CFA) 511 private static void colorToRgb(int color, int outOffset, /*out*/byte[] rgbOut) { argument 512 rgbOut[outOffset] = (byte) Color.red(color); 513 rgbOut[outOffset + 1] = (byte) Color.green(color); 514 rgbOut[outOffset + 2] = (byte) Color.blue(color);
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 321 out.append("<font color =\"#"); 322 String color = Integer.toHexString(((ForegroundColorSpan) 324 while (color.length() < 6) { 325 color = "0" + color; 327 out.append(color); 659 String color = attributes.getValue("", "color"); 663 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK); 680 int colorRes = res.getIdentifier(name, "color", "androi 836 Font(String color, String face) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 269 * also has a color in its paint, which has an alpha as well. These two 270 * values are automatically combined during drawing. Thus if the color's 422 // Apply theme to contained color state list. 441 int color = paint.getColor(); 442 color = a.getColor(R.styleable.ShapeDrawable_color, color); 443 paint.setColor(color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 51 R.color.keyguard_user_switcher_background_gradient_color);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 89 // Fills the specified rectangle with the specified color. 90 public abstract void fillRect(float x, float y, float width, float height, int color); argument 112 // Draw a region of a texture and a specified color to the specified 113 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_lights_LightsService.cpp | 117 state.color = colorARGB;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 49 * <p>The background color of this view defaults to the your theme's {@code colorAccent}. If you 161 * Set the ripple color for this {@link FloatingActionButton}. 165 * @param color ARGB color to use for the ripple. 167 public void setRippleColor(@ColorInt int color) { argument 168 if (mRippleColor != color) { 169 mRippleColor = color; 170 mImpl.setRippleColor(color);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
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.
|
/frameworks/base/core/java/android/widget/ |
H A D | TimePickerClockDelegate.java | 173 // color from the header time text appearance. If it's set, we'll let 174 // that override the "real" header text color. 234 * The legacy text color might have been poorly defined. Ensures that it 236 * exists or modifying the default text color otherwise. 238 * @param color a legacy text color, or {@code null} 239 * @return a color state list with an appropriate activated state, or 243 private ColorStateList applyLegacyColorFixes(@Nullable ColorStateList color) { argument 244 if (color == null || color 274 multiplyAlphaComponent(int color, float alphaMod) argument [all...] |
H A D | EdgeEffect.java | 292 * Set the color of this edge effect in argb. 294 * @param color Color in argb 296 public void setColor(@ColorInt int color) { argument 297 mPaint.setColor(color); 301 * Return the color of this edge effect in argb. 302 * @return The color of this edge effect in argb
|
/frameworks/base/core/java/android/text/style/ |
H A D | TextAppearanceSpan.java | 29 * Sets the text color, size, style, and typeface to match a TextAppearance 50 * text appearance, and the specified text color resource 51 * to determine the color. The <code>appearance</code> should be, 114 ColorStateList color, ColorStateList linkColor) { 118 mTextColor = color; 183 * Returns the text color specified by this span, or <code>null</code> 191 * Returns the link color specified by this span, or <code>null</code> 113 TextAppearanceSpan(String family, int style, int size, ColorStateList color, ColorStateList linkColor) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | AvoidXfermode.cpp | 25 const SkColor color = buffer.readColor(); local 28 return Create(color, tolerance, (Mode)mode);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 327 colors = refBuffer<int>(colors, vertexCount); // 1 color per vertex 342 void DisplayListCanvas::drawColor(int color, SkXfermode::Mode mode) { argument 343 addDrawOp(new (alloc()) DrawColorOp(color, mode)); 450 static void simplifyPaint(int color, SkPaint* paint) { argument 451 paint->setColor(color); 474 int color = paint.getColor(); local 475 int channelSum = SkColorGetR(color) + SkColorGetG(color) + SkColorGetB(color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DataUsageDetailView.java | 67 int usageColor = R.color.system_accent_color; 92 usageColor = R.color.system_warning_color;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBouncer.java | 115 public void showMessage(String message, int color) { argument 116 mKeyguardView.showMessage(message, color);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | Utils.java | 119 public static boolean isOpaque(int color) { argument 120 return color >>> 24 == 0xFF;
|