Searched refs:color (Results 251 - 275 of 453) sorted by relevance

<<111213141516171819

/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/
H A DCardViewGingerbread.java118 public void setBackgroundColor(CardViewDelegate cardView, @Nullable ColorStateList color) { argument
119 getShadowBackground(cardView).setColor(color);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java113 * lines, and curves along with its associated color information. This type
152 * android:color="#ffff0000" /&gt;
163 * android:color="#ffff0000" /&gt;
193 * as alpha (set via setAlpha) and color filter (set via setColorFilter).
325 * device with fewer than 8-bits per color component.
549 * Specify an optional color filter for the drawable.
552 * drawing contents will be modified by the color filter before it is
556 * Pass {@code null} to remove any existing color filter.
558 * <p class="note"><strong>Note:</strong> Setting a non-{@code null} color
562 * @param colorFilter The color filte
578 setColorFilter(@olorInt int color, @NonNull PorterDuff.Mode mode) argument
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthView.java204 mDayTextColor = res.getColor(R.color.date_picker_text_normal);
205 mTodayNumberColor = res.getColor(R.color.blue);
206 mDisabledDayTextColor = res.getColor(R.color.date_picker_text_disabled);
207 mMonthTitleColor = res.getColor(android.R.color.white);
208 mMonthTitleBGColor = res.getColor(R.color.circle_background);
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java65 * <p>The background color of this view defaults to the your theme's {@code colorAccent}. If you
208 * Returns the ripple color for this button.
210 * @return the ARGB color used for the ripple
219 * Sets the ripple color for this button.
221 * <p>When running on devices with KitKat or below, we draw this color as a filled circle
224 * @param color ARGB color to use for the ripple
228 public void setRippleColor(@ColorInt int color) { argument
229 if (mRippleColor != color) {
230 mRippleColor = color;
300 setBackgroundColor(int color) argument
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java147 * Flag indicating that CSS color values should be used instead of those defined in
582 int color = ((ForegroundColorSpan) style[j]).getForegroundColor();
583 out.append(String.format("<span style=\"color:#%06X;\">", 0xFFFFFF & color));
586 int color = ((BackgroundColorSpan) style[j]).getBackgroundColor();
587 out.append(String.format("<span style=\"background-color:#%06X;\">",
588 0xFFFFFF & color));
723 "(?:\\s+|\\A)color\\s*:\\s*(\\S*)\\b");
731 "(?:\\s+|\\A)background(?:-color)?\\s*:\\s*(\\S*)\\b");
1151 String color
1193 getHtmlColor(String color) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java248 R.color.system_bar_background_semi_transparent, null /* theme */);
1140 return state.color;
1147 * Update a color view
1149 * @param state the color view to update.
1151 * @param color the current color to apply.
1155 * @param sideMargin sideMargin for the color view.
1158 private void updateColorViewInt(final ColorViewState state, int sysUiVis, int color, argument
1166 && (color & Color.BLACK) != 0
1182 view.setBackgroundColor(color);
2250 int color; field in class:DecorView.ColorViewState
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationHeaderUtil.java78 com.android.internal.R.color.notification_icon_default_color);
95 // To hide the icons if they are the same and the color is the same
351 int parentColor = ((Notification) parentData).color;
352 int childColor = ((Notification) childData).color;
H A DKeyguardAffordanceView.java171 int color = (int) mColorInterpolator.evaluate(alpha, mNormalColor, mInverseColor);
172 drawable.setColorFilter(color, PorterDuff.Mode.SRC_ATOP);
199 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction),
202 mCirclePaint.setColor(color);
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp44 * filled with a different color. This is done so that after doing
73 * a continuous solid color. Although this test is unable to validate the
75 * color are incorrect. Note that the rectangles may use a transparent
76 * color and have a blending operation that causes the color in overlapping
78 * a different color from the rest of the rectangle.
548 * prandomly selected color. It is likely that each buffer, even
549 * in the same row, will be filled with a unique color.
593 ColorFract color(testRandFract(), testRandFract(), testRandFract());
604 hwcTestFillColor(frames[row][col].get(), color, alph
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java90 int numbersTextColor = res.getColor(R.color.numbers_text_color);
150 textColor = res.getColor(android.R.color.white);
152 textColor = res.getColor(R.color.numbers_text_color);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DSetupWizardLayout.java429 public void setProgressBarColor(ColorStateList color) { argument
430 mProgressBarColor = color;
437 bar.setIndeterminateTintList(color);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerTitleStrip.java206 * Set the color value used as the base color for all displayed page titles.
209 * @param color Color hex code in 0xAARRGGBB format
211 public void setTextColor(@ColorInt int color) { argument
212 mTextColor = color;
213 mCurrText.setTextColor(color);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DIconTest.java274 static char colorToChar(int color) { argument
275 int sum = ((color >> 16) & 0xff)
276 + ((color >> 8) & 0xff)
277 + ((color) & 0xff);
/frameworks/base/libs/hwui/
H A DGlopBuilder.h113 void setFill(int color, float alphaScale,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSIconView.java99 iv.setColorFilter(getContext().getColor(R.color.qs_tile_disabled_color));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DFlashlightTile.java107 final int disabledColor = mHost.getContext().getColor(R.color.qs_tile_tint_unavailable);
H A DHotspotTile.java129 final int disabledColor = mHost.getContext().getColor(R.color.qs_tile_tint_unavailable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerHandleView.java80 mPaint.setColor(getResources().getColor(R.color.docked_divider_handle, null));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconController.java139 mDarkModeIconColorSingleTone = context.getColor(R.color.dark_mode_icon_color_single_tone);
140 mLightModeIconColorSingleTone = context.getColor(R.color.light_mode_icon_color_single_tone);
477 * @return the tint to apply to {@param view} depending on the desired tint {@param color} and
480 public static int getTint(Rect tintArea, View view, int color) { argument
482 return color;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java344 /*package*/ static void nativeErase(long nativeBitmap, int color) { argument
355 g.setColor(new java.awt.Color(color, true));
425 /*package*/ static void nativeSetPixel(long nativeBitmap, int x, int y, int color) { argument
431 delegate.getImage().setRGB(x, y, color);
/frameworks/native/opengl/libagl/
H A Dstate.cpp370 int index = c->rasterizer.state.buffers.color.format;
376 int index = c->rasterizer.state.buffers.color.format;
382 int index = c->rasterizer.state.buffers.color.format;
388 int index = c->rasterizer.state.buffers.color.format;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DFullWidthDetailsOverviewRowPresenter.java341 * Returns the rectangle area with a color background.
440 * Sets the background color. If not set, a default from the theme will be used.
442 public final void setBackgroundColor(int color) { argument
443 mBackgroundColor = color;
448 * Returns the background color. If {@link #setBackgroundColor(int)}, transparent
456 * Sets the background color for Action Bar. If not set, a default from the theme will be
459 public final void setActionsBackgroundColor(int color) { argument
460 mActionsBackgroundColor = color;
465 * Returns the background color of actions. If {@link #setActionsBackgroundColor(int)}
H A DSearchBar.java187 mTextColorSpeechMode = r.getColor(R.color.lb_search_bar_text_speech_mode);
188 mTextColor = r.getColor(R.color.lb_search_bar_text);
193 mTextHintColorSpeechMode = r.getColor(R.color.lb_search_bar_hint_speech_mode);
194 mTextHintColor = r.getColor(R.color.lb_search_bar_hint);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DDrawerLayoutActivity.java112 // Configure the background color fill of the system status bar (on supported platform
113 // versions) and the toolbar itself. We're using the same color, and android:statusBar
115 final int metalBlueColor = getResources().getColor(R.color.drawer_sample_metal_blue);
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp71 uint32_t color = static_cast<uint32_t>(parcel.readInt32()); local
73 caps->mColorFormats.push_back(color);

Completed in 2410 milliseconds

<<111213141516171819