/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardHostView.java | 174 public void showMessage(String message, int color) { argument 175 mSecurityContainer.showMessage(message, color);
|
H A D | KeyguardSecurityViewFlipper.java | 142 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 D | BatteryTile.java | 121 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 D | FakeShadowDrawable.java | 85 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 D | NotificationHeaderViewWrapper.java | 173 // 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); 244 // DrawableContainer ignores the color filter if it's already set, so clear it first to
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Lines2Activity.java | 69 public LinesView(Context c, float offset, int color) { argument 72 mColor = color;
|
/frameworks/native/opengl/libagl/ |
H A D | light.cpp | 244 // 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 D | fill_common.cpp | 164 static const float color[] = { local 186 glVertexAttribPointer(A_COLOR, 4, GL_FLOAT, false, 16, color);
|
/frameworks/support/compat/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 69 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/support/design/tests/src/android/support/design/testutils/ |
H A D | TestUtilsMatchers.java | 118 * Returns a matcher that matches TextViews with the specified text color. 144 "expected color to be [" 159 * fill color. 197 * with the specific color. 199 public static Matcher drawable(@ColorInt final int color, final int allowedComponentVariance) { argument 205 description.appendText("with drawable of color: "); 219 // all pixels in a Drawable are of the same specified color. 222 view.getHeight(), true, color, allowedComponentVariance, true); 223 // If we are here, the color comparison has passed. 227 // If we are here, the color compariso [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | MediaPlayerGlue.java | 137 R.color.player_progress_color)); 139 R.color.player_background_color)); 146 // Add secondary actions and change the control row color.
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | MediaPlayerGlue.java | 137 R.color.player_progress_color)); 139 R.color.player_background_color)); 146 // Add secondary actions and change the control row color.
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
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 | PlaybackControlsPresenter.java | 231 public void setProgressColor(ViewHolder vh, @ColorInt int color) { argument 232 Drawable drawable = new ClipDrawable(new ColorDrawable(color),
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatActivity.java | 217 protected void onTitleChanged(CharSequence title, int color) { argument 218 super.onTitleChanged(title, color);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 418 // Parse a color represented as an HTML-style 'RRGGBB' string: each pair of 421 // corresponding elements of color. 423 // If the input string isn't valid, parseColor returns false and color is 425 static bool parseColor(const char str[7], float color[3]) { argument 439 memcpy(color, tmpColor, sizeof(tmpColor)); 549 char color[7] = "000000"; // default to black if unspecified local 558 &pathType, &count, &pause, path, color, &clockPosY) >= 4) { 559 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s, clockPosY=%d", pathType, count, pause, path, color, clockPosY); 568 if (!parseColor(color, par [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 390 * The color of the led. The hardware will do its best approximation. 579 * Accent color (an ARGB integer like the constants in {@link android.graphics.Color}) 583 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are 587 public int color = COLOR_DEFAULT; field in class:Notification 590 * Special value of {@link #color} telling the system not to decorate this notification with 591 * any special color but instead use default colors when presenting this notification. 597 * Special value of {@link #color} used as a place holder for an invalid color. 1679 color = parcel.readInt(); 1783 that.color 4938 makeFontColorSpan(int color) argument 5400 generateMediaActionButton(Action action, int color) argument 6590 setColor(@olorInt int color) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowAnimator.java | 609 final int color = winAnimator.mAnimation.getBackgroundColor(); 610 if (color != 0) { 613 stack.setAnimationBackground(winAnimator, color); 631 final int color = appAnimator.animation.getBackgroundColor(); 632 if (color != 0) { 635 stack.setAnimationBackground(winAnimator, color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 187 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 D | StorageNotification.java | 203 .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 D | VectorDrawable_Delegate.java | 85 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 D | OpenGLRenderer.h | 181 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 D | VectorDrawable.cpp | 184 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 222 // Draw path's stroke, if stroke color or Gradient is valid 283 LOG_ALWAYS_FATAL("Error setting color property on FullPath: No valid property" 531 // Update the given paint with alpha and color filter. Return nullptr if no color filte [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 494 // 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 D | orientationplot.py | 229 def _add_timeseries_line(self, axes, label, color, linewidth=1): 230 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
|