Searched refs:color (Results 151 - 175 of 283) sorted by relevance

1234567891011>>

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DUtils.java119 public static boolean isOpaque(int color) { argument
120 return color >>> 24 == 0xFF;
/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java101 int color = WindowManagerService.getPropertyInt(tokens, 5,
110 mTextPaint.setColor(color);
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp368 mcld::outs().setColor(m_pConfig->options().color());
369 mcld::errs().setColor(m_pConfig->options().color());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java249 mNotification.color = mContext.getResources().getColor(
250 com.android.internal.R.color.system_notification_accent_color);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java250 TextColor color = TextColor.fromInt(colorValue);
254 strikeThrough, color);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java236 R.color.lb_error_background_color_translucent :
237 R.color.lb_error_background_color_opaque));
H A DErrorSupportFragment.java238 R.color.lb_error_background_color_translucent :
239 R.color.lb_error_background_color_opaque));
H A DHeadersFragment.java203 void setBackgroundColor(int color) { argument
204 mBackgroundColor = color;
H A DHeadersSupportFragment.java205 void setBackgroundColor(int color) { argument
206 mBackgroundColor = color;
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeProgressBar.java78 * Set the four colors used in the progress animation. The first color will
79 * also be the color of the bar that grows in response to a user swipe
82 * @param color1 Integer representation of a color.
83 * @param color2 Integer representation of a color.
84 * @param color3 Integer representation of a color.
85 * @param color4 Integer representation of a color.
179 // First fill in with the last color that would have finished drawing.
253 * @param color the color to draw
256 private void drawCircle(Canvas canvas, float cx, float cy, int color, floa argument
[all...]
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java112 public void setBackgroundColor(CardViewDelegate cardView, int color) { argument
113 getShadowBackground(cardView).setColor(color);
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java228 * Updates the background color of the CardView
230 * @param color The new color to set for the card background
233 public void setCardBackgroundColor(int color) { argument
234 IMPL.setBackgroundColor(this, color);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java142 * as alpha (set via setAlpha) and color filter (set via setColorFilter).
271 * with fewer than 8-bits per color component. This can improve the look on
459 * Specify an optional color filter for the drawable. Pass {@code null} to
460 * remove any existing color filter.
462 * @param cf the color filter to apply, or {@code null} to remove the
463 * existing color filter
468 * Specify a color and Porter-Duff mode to be the color filter for this
471 public void setColorFilter(int color, PorterDuff.Mode mode) { argument
472 setColorFilter(new PorterDuffColorFilter(color, mod
[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(R.color.white);
208 mMonthTitleBGColor = res.getColor(R.color.circle_background);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java164 com.android.internal.R.color.system_notification_accent_color));
188 com.android.internal.R.color.battery_saver_mode_color));
219 com.android.internal.R.color.battery_saver_mode_color));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java91 mDivider.setBackgroundColor(res.getColor(R.color.qs_tile_divider));
142 mDualLabel.setTextColor(res.getColor(R.color.qs_tile_text));
160 mLabel.setTextColor(res.getColor(R.color.qs_tile_text));
/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.
547 * prandomly selected color. It is likely that each buffer, even
548 * in the same row, will be filled with a unique color.
592 ColorFract color(testRandFract(), testRandFract(), testRandFract());
603 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(R.color.white);
152 textColor = res.getColor(R.color.numbers_text_color);
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java200 * Set the color value used as the base color for all displayed page titles.
203 * @param color Color hex code in 0xAARRGGBB format
205 public void setTextColor(int color) { argument
206 mTextColor = color;
207 mCurrText.setTextColor(color);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java383 * how pixels are stored. This affects the quality (color depth) as
392 * No color information is stored.
409 * that do not require high color fidelity.
414 * Each pixel is stored on 2 bytes. The three RGB color channels
832 * @param offset Number of values to skip before the first color in the
842 * the color array's length is less than the number of pixels.
857 * @param offset Number of values to skip before the first color in the
867 * the color array's length is less than the number of pixels.
906 * the color array's length is less than the number of pixels.
927 * the color arra
1417 setPixel(int x, int y, int color) argument
1621 nativeErase(long nativeBitmap, int color) argument
1630 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument
[all...]
/frameworks/base/include/private/graphics/
H A DCanvas.h89 virtual void drawColor(int color, SkXfermode::Mode mode) = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java191 int color = (int) mColorInterpolator.evaluate(alpha, mNormalColor, mInverseColor);
192 drawable.setColorFilter(color, PorterDuff.Mode.SRC_ATOP);
210 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction),
213 mCirclePaint.setColor(color);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java321 if (paramType.equals("color")) {
442 Float3 color = getFloat3(light, "color");
443 sceneLight.setColor(color.x, color.y, color.z);
448 //Log.v(TAG, "Light " + name + " color " + toString(color));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java331 /*package*/ static void nativeErase(long nativeBitmap, int color) { argument
342 g.setColor(new java.awt.Color(color, true));
418 /*package*/ static void nativeSetPixel(long nativeBitmap, int x, int y, int color) { argument
424 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;

Completed in 690 milliseconds

1234567891011>>