Searched refs:argb (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java294 int[] argb = new int[width * height];
295 srcImage.getRGB(0, 0, width, height, argb, 0, width);
296 image.setRGB(0, 0, width, height, argb, 0, width);
643 int[] argb = new int[w * h];
644 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
647 final int length = argb.length;
649 int a = (argb[i] >>> 24 * alpha) / 255;
650 argb[i] = (a << 24) | (argb[i] & 0x00FFFFFF);
654 result.setRGB(0, 0, w, h, argb,
[all...]
H A DCanvas_Delegate.java1279 int[] argb = new int[w * h];
1280 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
1282 final int length = argb.length;
1284 argb[i] &= 0xFF000000;
1286 image.setRGB(0, 0, w, h, argb, 0, w);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java45 public abstract void clearBuffer(float[] argb); argument
H A DGLES20Canvas.java370 public void clearBuffer(float[] argb) { argument
371 GLES20.glClearColor(argb[1], argb[2], argb[3], argb[0]);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java198 mUserName.setTextColor(Color.argb(textAlpha, 255, 255, 255));
215 mUserName.setTextColor(Color.argb(finalTextAlpha, 255, 255, 255));
H A DKeyguardCircleFramedDrawable.java128 mPaint.setColor(Color.argb((int) (0.33f * 255),
H A DCameraWidgetFrame.java212 iv.setBackgroundColor(Color.argb(127, 0, 0, 0));
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java618 * @param argb The color used to fill the shape
623 public void setColor(int argb) { argument
624 mGradientState.setSolidColor(argb);
625 mFillPaint.setColor(argb);
970 int argb = a.getColor(
973 setColor(argb);
1184 public void setSolidColor(int argb) { argument
1186 mSolidColor = argb;
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java451 * Set the argb value that you would like the LED on the device to blnk, as well as the
455 public Builder setLights(int argb, int onMs, int offMs) { argument
456 mNotification.ledARGB = argb;
/frameworks/base/graphics/java/android/graphics/
H A DColor.java107 public static int argb(int alpha, int red, int green, int blue) { method in class:Color
235 * @return the resulting argb color
252 * @return the resulting argb color
327 * Convert the argb color to its HSV components.
331 * @param color the argb color to convert. The alpha component is ignored.
345 * @return the resulting argb color
358 * @param alpha the alpha component of the returned argb color.
360 * @return the resulting argb color
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java227 int cc = Color.argb(a0, rr, gg, bb);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java600 tv.setBackgroundColor(Color.argb(127, 0, 0, 0));
/frameworks/base/core/java/android/app/
H A DNotification.java1484 public Builder setLights(int argb, int onMs, int offMs) { argument
1485 mLedArgb = argb;
/frameworks/base/core/java/android/widget/
H A DGridLayout.java906 paint.setColor(Color.argb(50, 255, 255, 255));
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2583 return Color.argb(a, r, g, b);
/frameworks/base/core/java/android/view/
H A DViewGroup.java2851 paint.setColor(Color.argb(63, 255, 0, 255));

Completed in 664 milliseconds