/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 736 notification.color = mContext.getResources().getColor( 737 com.android.internal.R.color.system_notification_accent_color); 774 notification.color = mContext.getResources().getColor( 775 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/widget/ |
H A D | TextView.java | 1446 // Will change text color 2480 * Sets the text color, size, style, hint color, and highlight color 2488 int color; 2492 color = appearance.getColor( 2494 if (color != 0) { 2495 setHighlightColor(color); 2816 * Sets the text color for all the states (normal, selected, 2817 * focused) to be this color 2825 setTextColor(int color) argument 2876 setHighlightColor(int color) argument 2929 setShadowLayer(float radius, float dx, float dy, int color) argument 3059 setHintTextColor(int color) argument 3111 setLinkTextColor(int color) argument [all...] |
H A D | Toolbar.java | 90 * <p>In modern Android UIs developers should lean more on a visually distinct color scheme for 637 * Sets the text color, size, style, hint color, and highlight color 648 * Sets the text color, size, style, hint color, and highlight color 659 * Sets the text color of the title, if present. 661 * @param color The new text color i 663 setTitleTextColor(int color) argument 675 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 | 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
|
H A D | SkiaCanvas.cpp | 91 virtual void drawColor(int color, SkXfermode::Mode mode); 471 void SkiaCanvas::drawColor(int color, SkXfermode::Mode mode) { argument 472 mCanvas->drawColor(color, mode);
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 741 public void drawColor(int color) { argument 742 drawColor(color, PorterDuff.Mode.SRC_OVER); 746 public void drawColor(int color, PorterDuff.Mode mode) { argument 747 nDrawColor(mRenderer, color, mode.nativeInt); 750 private static native void nDrawColor(long renderer, int color, int mode); argument
|
H A D | Window.java | 1075 * with the color 0 or the system drawable android:drawable/empty.) 1089 * with the color 0 or the system drawable android:drawable/empty.) 1762 * @return the color of the status bar. 1767 * Sets the color of the status bar to {@param color}. 1774 * If {@param color} is not opaque, consider setting 1781 public abstract void setStatusBarColor(int color); argument 1784 * @return the color of the navigation bar. 1789 * Sets the color of the navigation bar to {@param color} 1803 setNavigationBarColor(int color) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 362 /** the layer needs to 8-bits per color component */ 925 * specified RGB color, using srcover porterduff mode. 927 * @param r red component (0..255) of the color to draw onto the canvas 928 * @param g green component (0..255) of the color to draw onto the canvas 929 * @param b blue component (0..255) of the color to draw onto the canvas 937 * specified ARGB color, using srcover porterduff mode. 939 * @param a alpha component (0..255) of the color to draw onto the canvas 940 * @param r red component (0..255) of the color to draw onto the canvas 941 * @param g green component (0..255) of the color to draw onto the canvas 942 * @param b blue component (0..255) of the color t 954 drawColor(int color) argument 965 drawColor(int color, @NonNull PorterDuff.Mode mode) argument 1956 native_drawColor(long nativeCanvas, int color, int mode) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 75 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd> 77 * <dd>The Porter-Duff blending mode for the tint color. The default value is src_in.</dd> 125 * <dd>Defines the color to fill the path (none if not present).</dd> 127 * <dd>Defines the color to draw the path outline (none if not present).</dd> 439 private static int applyAlpha(int color, float alpha) { argument 440 int alphaBytes = Color.alpha(color); 441 color &= 0x00FFFFFF; 442 color |= ((int) (alphaBytes * alpha)) << 24; 443 return color;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 590 final int colorRes = com.android.internal.R.color.system_notification_accent_color; 708 final int color = sbn.getNotification().color; 710 entry.row.setTintColor(color == Notification.COLOR_DEFAULT 712 R.color.notification_material_background_media_default_color) 713 : color); 719 entry.icon.setColorFilter(mContext.getResources().getColor(android.R.color.white)); 1398 if (sbn.getNotification().color != Notification.COLOR_DEFAULT) { 1400 sbn.getNotification().color, PorterDuff.Mode.SRC_ATOP);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 401 * Set a color to use for the scrim that obscures primary content while a drawer is open. 403 * @param color Color to use in 0xAARRGGBB format. 405 public void setScrimColor(int color) { argument 406 mScrimColor = color; 1011 * @param color Color to use as a background drawable to draw behind the status bar 1014 public void setStatusBarBackgroundColor(int color) { argument 1015 mStatusBarBackground = new ColorDrawable(color); 1063 final int color = imag << 24 | (mScrimColor & 0xffffff); 1064 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 653 * Sets the text color, size, style, hint color, and highlight color 664 * Sets the text color, size, style, hint color, and highlight color 675 * Sets the text color of the title, if present. 677 * @param color The new text color i 679 setTitleTextColor(int color) argument 691 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 | 453 localForegroundNoti.color = ams.mContext.getResources().getColor( 455 .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);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 148 vec4_t color; member in struct:android::gl::vertex_t 203 array_t color; member in struct:android::gl::array_machine_t
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.h | 107 virtual status_t drawColor(int color, SkXfermode::Mode mode);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | LockdownVpnTracker.java | 343 com.android.internal.R.color.system_notification_accent_color));
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 118 pw.println(prefix + String.format(" color=0x%08x", notification.color));
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | GeneralOptions.h | 131 bool color() const function in class:mcld::GeneralOptions 433 bool m_bColor : 1; // --color[=true,false,auto]
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 202 * The pattern drawn is correct (i.e draw it in a friendly color) 212 * The pattern is wrong (i.e draw a foreboding color) 272 mRegularColor = getResources().getColor(R.color.lock_pattern_view_regular_color); 273 mErrorColor = getResources().getColor(R.color.lock_pattern_view_error_color); 274 mSuccessColor = getResources().getColor(R.color.lock_pattern_view_success_color);
|