/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsRow.java | 590 private static Bitmap createBitmap(Bitmap bitmap, int color) { argument 594 paint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP)); 605 return context.getResources().getColor(R.color.lb_playback_icon_highlight_no_theme);
|
/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 1399 Bitmap createClickOutline(View v, int color) { argument 1400 return createOutline(v, CLICK_FEEDBACK, color); 1403 Bitmap createResOutline(View v, int color) { argument 1404 return createOutline(v, RES_OUT, color); 1407 Bitmap createOutline(View v, int type, int color) { argument 1408 mHolographicPaint.setColor(color);
|
H A D | TabHost.java | 581 // Donut apps get old color scheme 583 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); 626 // Donut apps get old color scheme 628 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4));
|
H A D | RemoteViews.java | 1938 * Helper action to set a color filter on a compound drawable on a TextView. Supports relative 1943 int color, PorterDuff.Mode mode) { 1947 this.color = color; 1955 color = parcel.readInt(); 1973 dest.writeInt(color); 1990 d.setColorFilter(color, mode); 2000 final int color; field in class:RemoteViews.TextViewDrawableColorFilterAction 2493 * Equivalent to applying a color filter on one of the drawables in 2498 * {@link android.widget.TextView#getCompoundDrawablesRelative()} to set the color 1942 TextViewDrawableColorFilterAction(int viewId, boolean isRelative, int index, int color, PorterDuff.Mode mode) argument 2506 setTextViewCompoundDrawablesRelativeColorFilter(int viewId, int index, int color, PorterDuff.Mode mode) argument 2786 setTextColor(int viewId, @ColorInt int color) argument [all...] |
H A D | ImageView.java | 178 // Prior to L, this attribute would always set a color filter with 1353 * @param color Color tint to apply. 1354 * @param mode How to apply the color. The standard mode is 1359 public final void setColorFilter(int color, PorterDuff.Mode mode) { argument 1360 setColorFilter(new PorterDuffColorFilter(color, mode)); 1367 * @param color Color tint to apply. 1371 public final void setColorFilter(int color) { argument 1372 setColorFilter(color, PorterDuff.Mode.SRC_ATOP); 1392 * Returns the active color filter for this ImageView. 1394 * @return the active color filte [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 105 * If no fade color is given by default it will fade to 80% gray. 110 * The fade color used for the sliding panel. 0 = no fading. 120 * The fade color used for the panel covered by the slider. 0 = no fading. 300 * Set the color used to fade the sliding pane out when it is slid most of the way offscreen. 302 * @param color An ARGB-packed color value 304 public void setSliderFadeColor(@ColorInt int color) { argument 305 mSliderFadeColor = color; 309 * @return The ARGB-packed color value used to fade the sliding pane 317 * Set the color use 322 setCoveredFadeColor(@olorInt int color) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 5240 // It's a color! Convert to an integer of the form 0xaarrggbb. 5241 uint32_t color = 0; local 5245 color |= 0xFF000000; 5246 color |= get_hex(s[1], &error) << 20; 5247 color |= get_hex(s[1], &error) << 16; 5248 color |= get_hex(s[2], &error) << 12; 5249 color |= get_hex(s[2], &error) << 8; 5250 color |= get_hex(s[3], &error) << 4; 5251 color |= get_hex(s[3], &error); 5254 color | [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 55 static inline void bindUniformColor(int slot, FloatColor color) { argument 56 glUniform4fv(slot, 1, reinterpret_cast<const float*>(&color)); 156 // re-query shader to get full color / offset data
|
H A D | Program.h | 202 * Indicates, for a given color, whether color modulation is required in 204 * be provided with a modulation color. 212 * Indicates, for a given color, whether color modulation is required in 214 * be provided with a modulation color. 356 * Sets the color associated with this shader. 358 void setColor(FloatColor color);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPatternView.java | 360 public void showMessage(String message, int color) { argument 361 mSecurityMessageDisplay.setNextMessageColor(color);
|
H A D | KeyguardSecurityContainer.java | 530 public void showMessage(String message, int color) { argument 532 getSecurityView(mCurrentSecuritySelection).showMessage(message, color);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | NotificationController.java | 189 com.android.internal.R.color.system_notification_accent_color)) 273 com.android.internal.R.color.system_notification_accent_color));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerNotificationWarnings.java | 146 com.android.internal.R.color.system_notification_accent_color)); 167 com.android.internal.R.color.battery_saver_mode_color));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationGuts.java | 269 mActiveSliderTint = loadColorStateList(R.color.notification_guts_slider_color); 270 mInactiveSliderTint = loadColorStateList(R.color.notification_guts_disabled_slider_color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarKeyguardViewManager.java | 576 public void showBouncerMessage(String message, int color) { argument 577 mBouncer.showMessage(message, color);
|
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
H A D | ContentRecommendation.java | 423 * Returns the accent color value to be used in the UI when displaying this content 426 * @return An integer value representing the accent color for this recommendation. 822 * Sets the accent color value to be used in the UI when displaying this content 825 * @param color An integer value representing the accent color for this recommendation. 828 public Builder setColor(@ColorInt int color) { argument 829 mBuilderColor = color;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 419 * how pixels are stored. This affects the quality (color depth) as 428 * No color information is stored. 445 * that do not require high color fidelity. 450 * Each pixel is stored on 2 bytes. The three RGB color channels 899 * @param offset Number of values to skip before the first color in the 909 * the color array's length is less than the number of pixels. 924 * @param offset Number of values to skip before the first color in the 934 * the color array's length is less than the number of pixels. 973 * the color array's length is less than the number of pixels. 994 * the color arra 1509 setPixel(int x, int y, @ColorInt int color) argument 1704 nativeErase(long nativeBitmap, int color) argument 1713 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument [all...] |
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 173 virtual void drawColor(int color, SkXfermode::Mode mode) = 0;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | GridDocumentHolder.java | 58 mDisabledBgColor = context.getColor(R.color.item_doc_background_disabled); 101 // Text colors enabled/disabled is handle via a color set.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistOrbView.java | 119 mBackgroundPaint.setColor(getResources().getColor(R.color.assist_orb_color));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileQueryHelper.java | 169 icon.setTint(mContext.getColor(android.R.color.white));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNotificationController.java | 257 com.android.internal.R.color.system_notification_accent_color));
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | PartnerTest.java | 105 Partner.getResourceEntry(mTestContext, R.color.suw_color_accent_dark);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 203 int color; local 204 color = reinterpret_cast<Paint*>(paintHandle)->getColor(); 205 return static_cast<jint>(color); 214 static void setColor(JNIEnv* env, jobject, jlong paintHandle, jint color) { argument 215 reinterpret_cast<Paint*>(paintHandle)->setColor(color); 635 jfloat dx, jfloat dy, jint color) { 642 paint->setLooper(SkBlurDrawLooper::Create((SkColor)color, sigma, dx, dy))->unref(); 634 setShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat radius, jfloat dx, jfloat dy, jint color) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 941 mTouchPaint.setColor(0x80FFFFFF & p.color); 942 mPlayerTracePaint.setColor(0x80FFFFFF & p.color); 1011 public int color; field in class:MLand.Player 1071 mScoreField.getBackground().setColorFilter(color, PorterDuff.Mode.SRC_ATOP); 1072 mScoreField.setTextColor(luma(color) > 0.7f ? 0xFF000000 : 0xFFFFFFFF); 1082 setScoreField(mScoreField); // refresh color 1092 color = sColors[(sNextColor++%sColors.length)]; 1093 getBackground().setTint(color);
|