Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java89 final int argb = getValue(); in onBindViewHolder() local
90 if (Color.alpha(argb) < 255) { in onBindViewHolder()
97 mPreviewColor = new ColorDrawable(argb); in onBindViewHolder()
100 mPreviewColor.setColor(argb); in onBindViewHolder()
116 final int argb = getValueAt(index); in onBindListItem() local
117 final int alpha = Color.alpha(argb); in onBindListItem()
128 ((ColorDrawable) foreground).setColor(argb); in onBindListItem()
130 swatch.setImageDrawable(new ColorDrawable(argb)); in onBindListItem()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java687 public void clearBuffer(float[] argb) { in clearBuffer() argument
688 if(argb != null && argb.length == 4) { in clearBuffer()
689 mGL.glClearColor(argb[1], argb[2], argb[3], argb[0]); in clearBuffer()
DGLES20Canvas.java370 public void clearBuffer(float[] argb) { in clearBuffer() argument
371 GLES20.glClearColor(argb[1], argb[2], argb[3], argb[0]); in clearBuffer()
DGLCanvas.java45 public abstract void clearBuffer(float[] argb); in clearBuffer() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragShadowBuilder.java79 paint.setShadowLayer(mShadowRadius, 0, 0, Color.argb(opacity, 0, 0, 0)); in onDrawShadow()
84 paint.setShadowLayer(mShadowRadius, 0, mShadowRadius, Color.argb(opacity, 0, 0, 0)); in onDrawShadow()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java225 int startColor = Color.argb(0, 0, 0, 0); in onDraw()
226 int endColor = Color.argb(200, 0, 0, 0); in onDraw()
DCategorySelected.java26 mPaint.setColor(Color.argb(128, 128, 128, 128)); in onDraw()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DColorPreferenceTest.java181 final int argb = mColorPreference.getValueAt(testIndex); in onBindListItem_colorDrawable_matchColor() local
182 final int alpha = Color.alpha(argb); in onBindListItem_colorDrawable_matchColor()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoProcessorTest.java50 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewBackground.java172 int shadowColor = Color.argb(SHADOW_OPACITY, 0, 0, 0); in setup()
344 mPaint.setColor(Color.argb(160, 245, 245, 245)); in drawLeaveBehind()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DFadeBackground.java60 Color.argb(0, Color.red(color), Color.green(color), Color.blue(color)); in createAnimator()
/packages/apps/Camera2/src/com/android/camera/ui/
DProgressRenderer.java121 paint.setColor(Color.argb((int) (alpha * 255), 255, 255, 255)); in createProgressPaint()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DCea708Data.java155 return Color.argb( in getArgbValue()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/
DCurrentActivityService.java117 mTextView.setBackgroundColor(Color.argb(50, 0, 255, 0)); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java159 mSelectedPaint.setColor(Color.argb(255, 51, 181, 229)); in init()
163 mSubPaint.setColor(Color.argb(200, 250, 230, 128)); in init()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java161 selectedPaint.setColor(Color.argb(255, 51, 181, 229)); in init()
165 subPaint.setColor(Color.argb(200, 250, 230, 128)); in init()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java265 mOutlinePaint.setColor(Color.argb(24, 245, 245, 245)); in PredictedIconOutlineDrawing()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java33 p.setColor(Color.argb(128, 255, 255, 255)); in drawRuleOfThird()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DBaseFiltersManager.java203 int creamColor = Color.argb(255, 237, 237, 227); in addBorders()
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java344 canvas.drawColor(Color.argb(0xff, 0x4c, 0x9c, 0x23)); in getPhotoStreamWithColor()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java60 static final int INVALID_MEDIA_ART_TINT_COLOR = Color.argb(200, 255, 0, 0);
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java185 Color.argb( in updateCircleColor()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java298 final int secondaryColor = Color.argb(127, Color.red(seriesColor), Color.green(seriesColor), in updateBody()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java328 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java569 mEdgeGlowBottom.setColor((color & 0xffffff) | Color.argb(edgeEffectAlpha, 0, 0, 0)); in setHeaderTintColor()

12