Searched refs:color (Results 251 - 275 of 413) sorted by relevance

<<11121314151617

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardHostView.java174 public void showMessage(String message, int color) { argument
175 mSecurityContainer.showMessage(message, color);
H A DKeyguardSecurityViewFlipper.java142 public void showMessage(String message, int color) { argument
145 ksv.showMessage(message, color);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBatteryTile.java121 context.getColor(R.color.batterymeter_frame_color));
167 new Handler(), mHost.getContext().getColor(R.color.batterymeter_frame_color));
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java85 mShadowStartColor = resources.getColor(R.color.fake_shadow_start_color);
86 mShadowEndColor = resources.getColor(R.color.fake_shadow_end_color);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationHeaderViewWrapper.java173 // We don't update the color for children views / their icon is invisible anyway.
236 int color = interpolateColor(mColor, mIconDarkColor, intensity);
237 mIconColorFilter.setColor(color);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DLines2Activity.java69 public LinesView(Context c, float offset, int color) { argument
72 mColor = color;
/frameworks/native/opengl/libagl/
H A Dlight.cpp244 // if colorMaterial is enabled, we get the color from the vertex
309 // fetch the material color
310 const GLvoid* cp = c->arrays.color.element(
312 c->arrays.color.fetch(c, v->color.v, cp);
314 // acquire the color-material from the vertex
317 material.diffuse = v->color;
445 v->color.r = gglClampx(r.r);
446 v->color.g = gglClampx(r.g);
447 v->color
[all...]
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp164 static const float color[] = { local
186 glVertexAttribPointer(A_COLOR, 4, GL_FLOAT, false, 16, color);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DAbstractMediaItemPresenter.java379 * 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 DImageCardView.java252 // 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 DPlaybackControlsPresenter.java231 public void setProgressColor(ViewHolder vh, @ColorInt int color) { argument
232 Drawable drawable = new ClipDrawable(new ColorDrawable(color),
H A DDetailsOverviewRowPresenter.java328 * 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 DPagingIndicator.java149 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);
/frameworks/support/v4/api21/android/support/v4/app/
H A DNotificationCompatApi21.java69 String category, ArrayList<String> people, Bundle extras, int color,
104 .setColor(color)
63 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView, RemoteViews headsUpContentView) argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp400 // Parse a color represented as an HTML-style 'RRGGBB' string: each pair of
403 // corresponding elements of color.
405 // If the input string isn't valid, parseColor returns false and color is
407 static bool parseColor(const char str[7], float color[3]) { argument
421 memcpy(color, tmpColor, sizeof(tmpColor));
541 char color[7] = "000000"; // default to black if unspecified local
550 &pathType, &count, &pause, path, color, &clockPosY) >= 4) {
551 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s, clockPosY=%d", pathType, count, pause, path, color, clockPosY);
560 if (!parseColor(color, par
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java566 final int color = winAnimator.mAnimation.getBackgroundColor();
567 if (color != 0) {
570 stack.setAnimationBackground(winAnimator, color);
588 final int color = appAnimator.animation.getBackgroundColor();
589 if (color != 0) {
592 stack.setAnimationBackground(winAnimator, color);
/frameworks/base/core/java/android/app/
H A DNotification.java389 * The color of the led. The hardware will do its best approximation.
578 * Accent color (an ARGB integer like the constants in {@link android.graphics.Color})
582 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are
586 public int color = COLOR_DEFAULT; field in class:Notification
589 * Special value of {@link #color} telling the system not to decorate this notification with
590 * any special color but instead use default colors when presenting this notification.
596 * Special value of {@link #color} used as a place holder for an invalid color.
1651 color = parcel.readInt();
1755 that.color
4762 makeFontColorSpan(int color) argument
5224 generateMediaActionButton(Action action, int color) argument
6414 setColor(@olorInt int color) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java187 com.android.internal.R.color.system_notification_accent_color));
198 .setColor(r.getColor(com.android.internal.R.color.system_notification_accent_color))
338 com.android.internal.R.color.system_notification_accent_color));
346 com.android.internal.R.color.system_notification_accent_color))
862 com.android.internal.R.color.system_notification_accent_color));
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java203 .setColor(mContext.getColor(R.color.system_notification_accent_color))
230 .setColor(mContext.getColor(R.color.system_notification_accent_color))
478 .setColor(mContext.getColor(R.color.system_notification_accent_color))
528 .setColor(mContext.getColor(R.color.system_notification_accent_color))
564 .setColor(mContext.getColor(R.color.system_notification_accent_color))
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java85 private static int applyAlpha(int color, float alpha) { argument
86 int alphaBytes = Color.alpha(color);
87 color &= 0x00FFFFFF;
88 color |= ((int) (alphaBytes * alpha)) << 24;
89 return color;
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.h181 void drawColor(int color, SkXfermode::Mode mode);
269 void drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) { argument
276 drawColorRect(left, top, right, bottom, color, SkXfermode::kSrcOver_Mode, true);
570 * Draws a colored rectangle with the specified color. The specified coordinates
578 * @param paint The paint containing the color, blending mode, etc.
585 * Draws a series of colored rectangles with the specified color. The specified
591 * @param paint The paint containing the color, blending mode, etc.
H A DVectorDrawable.cpp184 ALOGD("stroke width, color, alpha: %f, %d, %f, fill color, alpha: %d, %f",
190 inline SkColor applyAlpha(SkColor color, float alpha) { argument
191 int alphaBytes = SkColorGetA(color);
192 return SkColorSetA(color, alphaBytes * alpha);
199 // Draw path's fill, if fill color or gradient is valid
220 // Draw path's stroke, if stroke color or Gradient is valid
279 LOG_ALWAYS_FATAL("Error setting color property on FullPath: No valid property"
527 // Update the given paint with alpha and color filter. Return nullptr if no color filte
[all...]
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp494 // Try parsing this as a color.
495 std::unique_ptr<BinaryPrimitive> color = tryParseColor(value); local
496 if (color) {
497 return std::move(color);
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py229 def _add_timeseries_line(self, axes, label, color, linewidth=1):
230 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp373 static bool inRange4bitSigned(int color) { argument
374 return color >= -4 && color <= 3;
481 // pixel is valid or not. Invalid pixel color values are ignored when compressing.

Completed in 863 milliseconds

<<11121314151617