Searched refs:color (Results 226 - 250 of 332) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsRow.java573 private static Bitmap createBitmap(Bitmap bitmap, int color) { argument
577 paint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP));
588 return context.getResources().getColor(R.color.lb_playback_icon_highlight_no_theme);
/frameworks/base/core/java/android/widget/
H A DStackView.java1399 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 DTabHost.java581 // 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 DRemoteViews.java1618 * Helper action to set a color filter on a compound drawable on a TextView. Supports relative
1623 int color, PorterDuff.Mode mode) {
1627 this.color = color;
1635 color = parcel.readInt();
1653 dest.writeInt(color);
1670 d.setColorFilter(color, mode);
1680 final int color; field in class:RemoteViews.TextViewDrawableColorFilterAction
2119 * Equivalent to applying a color filter on one of the drawables in
2124 * {@link android.widget.TextView#getCompoundDrawablesRelative()} to set the color
1622 TextViewDrawableColorFilterAction(int viewId, boolean isRelative, int index, int color, PorterDuff.Mode mode) argument
2132 setTextViewCompoundDrawablesRelativeColorFilter(int viewId, int index, int color, PorterDuff.Mode mode) argument
2398 setTextColor(int viewId, @ColorInt int color) argument
[all...]
H A DImageView.java182 // Prior to L, this attribute would always set a color filter with
1313 * @param color Color tint to apply.
1314 * @param mode How to apply the color. The standard mode is
1319 public final void setColorFilter(int color, PorterDuff.Mode mode) { argument
1320 setColorFilter(new PorterDuffColorFilter(color, mode));
1327 * @param color Color tint to apply.
1331 public final void setColorFilter(int color) { argument
1332 setColorFilter(color, PorterDuff.Mode.SRC_ATOP);
1352 * Returns the active color filter for this ImageView.
1354 * @return the active color filte
[all...]
H A DTextView.java1577 // Will change text color
2742 * Sets the text color, size, style, hint color, and highlight color
3126 * Sets the text color for all the states (normal, selected,
3127 * focused) to be this color.
3135 public void setTextColor(@ColorInt int color) { argument
3136 mTextColor = ColorStateList.valueOf(color);
3141 * Sets the text color.
3172 * <p>Return the current color selecte
3187 setHighlightColor(@olorInt int color) argument
3241 setShadowLayer(float radius, float dx, float dy, int color) argument
3372 setHintTextColor(@olorInt int color) argument
3425 setLinkTextColor(@olorInt int color) argument
[all...]
H A DToolbar.java98 * <p>In modern Android UIs developers should lean more on a visually distinct color scheme for
668 * Sets the text color, size, style, hint color, and highlight color
679 * Sets the text color, size, style, hint color, and highlight color
690 * Sets the text color of the title, if present.
692 * @param color The new text color i
694 setTitleTextColor(@olorInt int color) argument
706 setSubtitleTextColor(@olorInt int color) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java102 * If no fade color is given by default it will fade to 80% gray.
107 * The fade color used for the sliding panel. 0 = no fading.
117 * The fade color used for the panel covered by the slider. 0 = no fading.
297 * Set the color used to fade the sliding pane out when it is slid most of the way offscreen.
299 * @param color An ARGB-packed color value
301 public void setSliderFadeColor(@ColorInt int color) { argument
302 mSliderFadeColor = color;
306 * @return The ARGB-packed color value used to fade the sliding pane
314 * Set the color use
319 setCoveredFadeColor(@olorInt int color) argument
[all...]
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp50 static inline void bindUniformColor(int slot, FloatColor color) { argument
51 glUniform4fv(slot, 1, reinterpret_cast<const float*>(&color));
151 // re-query shader to get full color / offset data
H A DProgram.h210 * Indicates, for a given color, whether color modulation is required in
212 * be provided with a modulation color.
220 * Indicates, for a given color, whether color modulation is required in
222 * be provided with a modulation color.
365 * Sets the color associated with this shader.
367 void setColor(FloatColor color);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java529 public void showMessage(String message, int color) { argument
531 getSecurityView(mCurrentSecuritySelection).showMessage(message, color);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationChildrenContainer.java403 public void setTintColor(int color) { argument
404 ExpandableNotificationRow.applyTint(mCollapseDivider, color);
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java436 item.setIcon(android.R.color.transparent);
450 mTransparentIcon = new ColorDrawable(android.R.color.transparent);
/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DContentRecommendation.java421 * Returns the accent color value to be used in the UI when displaying this content
424 * @return An integer value representing the accent color for this recommendation.
820 * Sets the accent color value to be used in the UI when displaying this content
823 * @param color An integer value representing the accent color for this recommendation.
826 public Builder setColor(int color) { argument
827 mBuilderColor = color;
/frameworks/base/core/java/android/app/
H A DNotification.java343 * The color of the led. The hardware will do its best approximation.
523 * Accent color (an ARGB integer like the constants in {@link android.graphics.Color})
527 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are
531 public int color = COLOR_DEFAULT; field in class:Notification
534 * Special value of {@link #color} telling the system not to decorate this notification with
535 * any special color but instead use default colors when presenting this notification.
1486 color = parcel.readInt();
1585 that.color = this.color;
1758 parcel.writeInt(color);
5365 setColor(@olorInt int color) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java374 public void setBackgroundColor(int color); argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java387 * how pixels are stored. This affects the quality (color depth) as
396 * No color information is stored.
413 * that do not require high color fidelity.
418 * Each pixel is stored on 2 bytes. The three RGB color channels
851 * @param offset Number of values to skip before the first color in the
861 * the color array's length is less than the number of pixels.
876 * @param offset Number of values to skip before the first color in the
886 * the color array's length is less than the number of pixels.
925 * the color array's length is less than the number of pixels.
946 * the color arra
1461 setPixel(int x, int y, @ColorInt int color) argument
1690 nativeErase(long nativeBitmap, int color) argument
1699 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument
[all...]
H A DCanvas.java357 * The layer requires full 8-bit precision for each color channel.
422 * to apply an xfermode, color filter, or alpha, as it will perform much
483 * to apply an xfermode, color filter, or alpha, as it will perform much
969 * specified RGB color, using srcover porterduff mode.
971 * @param r red component (0..255) of the color to draw onto the canvas
972 * @param g green component (0..255) of the color to draw onto the canvas
973 * @param b blue component (0..255) of the color to draw onto the canvas
981 * specified ARGB color, using srcover porterduff mode.
983 * @param a alpha component (0..255) of the color to draw onto the canvas
984 * @param r red component (0..255) of the color t
998 drawColor(@olorInt int color) argument
1009 drawColor(@olorInt int color, @NonNull PorterDuff.Mode mode) argument
2033 native_drawColor(long nativeCanvas, int color, int mode) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DRootInfo.java214 return IconUtils.applyTintColor(context, derivedIcon, R.color.item_root_icon);
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistOrbView.java125 mBackgroundPaint.setColor(getResources().getColor(R.color.assist_orb_color));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java243 com.android.internal.R.color.system_notification_accent_color));
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DPartnerTest.java105 Partner.getResourceEntry(mTestContext, R.color.suw_navbar_text_dark);
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp243 int color; local
244 color = getNativePaint(env, paint)->getColor();
245 return static_cast<jint>(color);
255 static void setColor(JNIEnv* env, jobject paint, jint color) { argument
257 getNativePaint(env, paint)->setColor(color);
864 jfloat dx, jfloat dy, jint color) {
871 paint->setLooper(SkBlurDrawLooper::Create((SkColor)color, sigma, dx, dy))->unref();
863 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 DMLand.java942 mTouchPaint.setColor(0x80FFFFFF & p.color);
943 mPlayerTracePaint.setColor(0x80FFFFFF & p.color);
1012 public int color; field in class:MLand.Player
1072 mScoreField.getBackground().setColorFilter(color, PorterDuff.Mode.SRC_ATOP);
1073 mScoreField.setTextColor(luma(color) > 0.7f ? 0xFF000000 : 0xFFFFFFFF);
1083 setScoreField(mScoreField); // refresh color
1093 color = sColors[(sNextColor++%sColors.length)];
1094 getBackground().setTint(color);
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java259 // If we have an explicit text color set, use it instead
264 // We have an explicit selected text color set, so we need to make merge it with the
284 * Sets the tab indicator's color for the currently selected tab.
286 * @param color color to use for the indicator
288 public void setSelectedTabIndicatorColor(@ColorInt int color) { argument
289 mTabStrip.setSelectedIndicatorColor(color);
1336 void setSelectedIndicatorColor(int color) { argument
1337 if (mSelectedIndicatorPaint.getColor() != color) {
1338 mSelectedIndicatorPaint.setColor(color);
[all...]

Completed in 1051 milliseconds

1234567891011>>