Home
last modified time | relevance | path

Searched refs:argb (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java240 int[] argb = new int[width * height]; in nativeCopy() local
241 srcImage.getRGB(0, 0, width, height, argb, 0, width); in nativeCopy()
242 image.setRGB(0, 0, width, height, argb, 0, width); in nativeCopy()
574 int[] argb = new int[w * h]; in createCopy() local
575 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth()); in createCopy()
578 final int length = argb.length; in createCopy()
580 int a = (argb[i] >>> 24 * alpha) / 255; in createCopy()
581 argb[i] = (a << 24) | (argb[i] & 0x00FFFFFF); in createCopy()
585 result.setRGB(0, 0, w, h, argb, 0, w); in createCopy()
DCanvas_Delegate.java1360 int[] argb = new int[w * h]; in fixAlpha8Bitmap() local
1361 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth()); in fixAlpha8Bitmap()
1363 final int length = argb.length; in fixAlpha8Bitmap()
1365 argb[i] &= 0xFF000000; in fixAlpha8Bitmap()
1367 image.setRGB(0, 0, w, h, argb, 0, w); in fixAlpha8Bitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java622 public void setColor(int argb) {
623 mGradientState.setSolidColor(argb);
624 mFillPaint.setColor(argb);
967 int argb = a.getColor(
970 setColor(argb);
1181 public void setSolidColor(int argb) {
1183 mSolidColor = argb;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardMultiUserAvatar.java200 mUserName.setTextColor(Color.argb(textAlpha, 255, 255, 255)); in updateVisualsForActive()
217 mUserName.setTextColor(Color.argb(finalTextAlpha, 255, 255, 255)); in updateVisualsForActive()
DKeyguardCircleFramedDrawable.java128 mPaint.setColor(Color.argb((int) (0.33f * 255), in draw()
DCameraWidgetFrame.java209 iv.setBackgroundColor(Color.argb(127, 0, 0, 0)); in inflateGenericWidgetView()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java455 public Builder setLights(int argb, int onMs, int offMs) { in setLights() argument
456 mNotification.ledARGB = argb; in setLights()
/frameworks/base/graphics/java/android/graphics/
DColor.java107 public static int argb(int alpha, int red, int green, int blue) { in argb() method in Color
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java227 int cc = Color.argb(a0, rr, gg, bb); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/base/docs/html/guide/topics/manifest/
Dmeta-data-element.jd81 <td>Color value, in the form "{@code #rgb}", "{@code #argb}",
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java600 tv.setBackgroundColor(Color.argb(127, 0, 0, 0)); in getErrorView()
/frameworks/base/core/java/android/app/
DNotification.java1359 public Builder setLights(int argb, int onMs, int offMs) { in setLights() argument
1360 mLedArgb = argb; in setLights()
/frameworks/base/core/java/android/widget/
DGridLayout.java860 paint.setColor(Color.argb(50, 255, 255, 255)); in onDebugDraw()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java795 paint.setColor(Color.argb(50, 255, 255, 255)); in onDraw()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2583 return Color.argb(a, r, g, b); in getMarqueeColor()
/frameworks/base/core/java/android/view/
DViewGroup.java2831 paint.setColor(Color.argb(63, 255, 0, 255)); in onDebugDraw()
/frameworks/base/api/
Dcurrent.txt8822 method public static int argb(int, int, int, int);