/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 360 public void setBackgroundColor(int color); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 176 // Prior to L, this attribute would always set a color filter with 1243 * @param color Color tint to apply. 1244 * @param mode How to apply the color. The standard mode is 1249 public final void setColorFilter(int color, PorterDuff.Mode mode) { argument 1250 setColorFilter(new PorterDuffColorFilter(color, mode)); 1257 * @param color Color tint to apply. 1261 public final void setColorFilter(int color) { argument 1262 setColorFilter(color, PorterDuff.Mode.SRC_ATOP); 1282 * Returns the active color filter for this ImageView. 1284 * @return the active color filte [all...] |
H A D | TextView.java | 1454 // Will change text color 2488 * Sets the text color, size, style, hint color, and highlight color 2496 int color; 2500 color = appearance.getColor( 2502 if (color != 0) { 2503 setHighlightColor(color); 2824 * Sets the text color for all the states (normal, selected, 2825 * focused) to be this color 2833 setTextColor(int color) argument 2884 setHighlightColor(int color) argument 2937 setShadowLayer(float radius, float dx, float dy, int color) argument 3067 setHintTextColor(int color) argument 3119 setLinkTextColor(int color) argument [all...] |
H A D | Toolbar.java | 94 * <p>In modern Android UIs developers should lean more on a visually distinct color scheme for 643 * Sets the text color, size, style, hint color, and highlight color 654 * Sets the text color, size, style, hint color, and highlight color 665 * Sets the text color of the title, if present. 667 * @param color The new text color i 669 setTitleTextColor(int color) argument 681 setSubtitleTextColor(int color) argument [all...] |
H A D | TabHost.java | 613 // Donut apps get old color scheme 615 tv.setTextColor(context.getResources().getColorStateList(R.color.tab_indicator_text_v4)); 658 // Donut apps get old color scheme 660 tv.setTextColor(context.getResources().getColorStateList(R.color.tab_indicator_text_v4));
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 485 static void Bitmap_erase(JNIEnv* env, jobject, jlong bitmapHandle, jint color) { argument 487 bitmap->eraseColor(color); 756 SkColor color = static_cast<SkColor>(colorHandle); local 767 proc(bitmap->getAddr(x, y), &color, 1, x, y);
|
H A D | Paint.cpp | 199 int color; local 200 color = GraphicsJNI::getNativePaint(env, paint)->getColor(); 201 return static_cast<jint>(color); 211 static void setColor(JNIEnv* env, jobject paint, jint color) { argument 213 GraphicsJNI::getNativePaint(env, paint)->setColor(color); 803 jfloat dx, jfloat dy, jint color) { 810 paint->setLooper(SkBlurDrawLooper::Create((SkColor)color, sigma, dx, dy))->unref(); 802 setShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat radius, jfloat dx, jfloat dy, jint color) argument
|
/frameworks/base/libs/hwui/ |
H A D | Renderer.h | 183 virtual status_t drawColor(int color, SkXfermode::Mode mode) = 0;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | RootInfo.java | 216 return IconUtils.applyTintColor(context, derivedIcon, R.color.item_root_icon);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportReceiver.java | 97 com.android.internal.R.color.system_notification_accent_color));
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 745 notification.color = mContext.getResources().getColor( 746 com.android.internal.R.color.system_notification_accent_color); 783 notification.color = mContext.getResources().getColor( 784 com.android.internal.R.color.system_notification_accent_color);
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFSymbol.hxx | 107 using namespace term::color;
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 740 public void drawColor(int color) { argument 741 drawColor(color, PorterDuff.Mode.SRC_OVER); 745 public void drawColor(int color, PorterDuff.Mode mode) { argument 746 nDrawColor(mRenderer, color, mode.nativeInt); 749 private static native void nDrawColor(long renderer, int color, int mode); argument
|
H A D | Window.java | 1127 * with the color 0 or the system drawable android:drawable/empty.) 1140 * with the color 0 or the system drawable android:drawable/empty.) 1834 * @return the color of the status bar. 1839 * Sets the color of the status bar to {@param color}. 1846 * If {@param color} is not opaque, consider setting 1853 public abstract void setStatusBarColor(int color); argument 1856 * @return the color of the navigation bar. 1861 * Sets the color of the navigation bar to {@param color} 1875 setNavigationBarColor(int color) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 372 * The layer requires full 8-bit precision for each color channel. 437 * to apply an xfermode, color filter, or alpha, as it will perform much 498 * to apply an xfermode, color filter, or alpha, as it will perform much 982 * specified RGB color, using srcover porterduff mode. 984 * @param r red component (0..255) of the color to draw onto the canvas 985 * @param g green component (0..255) of the color to draw onto the canvas 986 * @param b blue component (0..255) of the color to draw onto the canvas 994 * specified ARGB color, using srcover porterduff mode. 996 * @param a alpha component (0..255) of the color to draw onto the canvas 997 * @param r red component (0..255) of the color t 1011 drawColor(int color) argument 1022 drawColor(int color, @NonNull PorterDuff.Mode mode) argument 2016 native_drawColor(long nativeCanvas, int color, int mode) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 76 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd> 78 * <dd>The Porter-Duff blending mode for the tint color. The default value is src_in.</dd> 126 * <dd>Defines the color to fill the path (none if not present).</dd> 128 * <dd>Defines the color to draw the path outline (none if not present).</dd> 441 private static int applyAlpha(int color, float alpha) { argument 442 int alphaBytes = Color.alpha(color); 443 color &= 0x00FFFFFF; 444 color |= ((int) (alphaBytes * alpha)) << 24; 445 return color;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 643 final int colorRes = com.android.internal.R.color.system_notification_accent_color; 770 final int color = sbn.getNotification().color; 772 entry.row.setTintColor(color == Notification.COLOR_DEFAULT 774 R.color.notification_material_background_media_default_color) 775 : color); 781 entry.icon.setColorFilter(mContext.getResources().getColor(android.R.color.white)); 1460 if (sbn.getNotification().color != Notification.COLOR_DEFAULT) { 1462 sbn.getNotification().color, PorterDuff.Mode.SRC_ATOP);
|
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 334 * The color of the led. The hardware will do its best approximation. 514 * Accent color (an ARGB integer like the constants in {@link android.graphics.Color}) 518 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are 521 public int color = COLOR_DEFAULT; field in class:Notification 524 * Special value of {@link #color} telling the system not to decorate this notification with 525 * any special color but instead use default colors when presenting this notification. 1421 color = parcel.readInt(); 1520 that.color = this.color; 1684 parcel.writeInt(color); [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 416 * Set a color to use for the scrim that obscures primary content while a drawer is open. 418 * @param color Color to use in 0xAARRGGBB format. 420 public void setScrimColor(int color) { argument 421 mScrimColor = color; 1040 * @param color Color to use as a background drawable to draw behind the status bar 1043 public void setStatusBarBackgroundColor(int color) { argument 1044 mStatusBarBackground = new ColorDrawable(color); 1092 final int color = imag << 24 | (mScrimColor & 0xffffff); 1093 mScrimPaint.setColor(color);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | Toolbar.java | 103 * <p>In modern Android UIs developers should lean more on a visually distinct color scheme for 656 * Sets the text color, size, style, hint color, and highlight color 667 * Sets the text color, size, style, hint color, and highlight color 678 * Sets the text color of the title, if present. 680 * @param color The new text color i 682 setTitleTextColor(int color) argument 694 setSubtitleTextColor(int color) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelCircleView.java | 135 mBackgroundPaint.setColor(getResources().getColor(R.color.search_panel_circle_color)); 136 mRipplePaint.setColor(getResources().getColor(R.color.search_panel_ripple_color));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentTasksLoader.java | 114 int color = res.getColor(R.drawable.status_bar_recents_app_thumbnail_background); 117 new ColorDrawableWithDimensions(color, thumbnailWidth, thumbnailHeight);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | UiModeManagerService.java | 602 n.color = context.getResources().getColor( 603 com.android.internal.R.color.system_notification_accent_color);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ServiceRecord.java | 461 localForegroundNoti.color = ams.mContext.getResources().getColor( 463 .R.color.system_notification_accent_color);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationBuilderTest.java | 364 final int color = getRadioHex(R.id.group_lights_color, 0xff0000); 387 b.setLights(color, onMs, offMs);
|