/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | Utils.java | 119 public static boolean isOpaque(int color) { argument 120 return color >>> 24 == 0xFF;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Watermark.java | 101 int color = WindowManagerService.getPropertyInt(tokens, 5, 110 mTextPaint.setColor(color);
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 368 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 D | WifiNotificationController.java | 249 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 D | ValueParser.java | 250 TextColor color = TextColor.fromInt(colorValue); 254 strikeThrough, color);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | ErrorFragment.java | 236 R.color.lb_error_background_color_translucent : 237 R.color.lb_error_background_color_opaque));
|
H A D | ErrorSupportFragment.java | 238 R.color.lb_error_background_color_translucent : 239 R.color.lb_error_background_color_opaque));
|
H A D | HeadersFragment.java | 203 void setBackgroundColor(int color) { argument 204 mBackgroundColor = color;
|
H A D | HeadersSupportFragment.java | 205 void setBackgroundColor(int color) { argument 206 mBackgroundColor = color;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 78 * 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 D | CardViewEclairMr1.java | 112 public void setBackgroundColor(CardViewDelegate cardView, int color) { argument 113 getShadowBackground(cardView).setColor(color);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 228 * 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 D | Drawable.java | 142 * 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 D | MonthView.java | 204 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 D | PowerNotificationWarnings.java | 164 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 D | QSTileView.java | 91 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 D | hwcStress.cpp | 44 * 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 D | RadialTextsView.java | 90 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 D | PagerTitleStrip.java | 200 * 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 D | Bitmap.java | 383 * 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 D | Canvas.h | 89 virtual void drawColor(int color, SkXfermode::Mode mode) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardAffordanceView.java | 191 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 D | ColladaParser.java | 321 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 D | Bitmap_Delegate.java | 331 /*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 D | state.cpp | 370 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;
|