Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java71 int argb = bitmap.getPixel(x, y); in findDominantColorByHue() local
72 int alpha = 0xFF & (argb >> 24); in findDominantColorByHue()
78 int rgb = argb | 0xFF000000; in findDominantColorByHue()
/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/Launcher3/src/com/android/launcher3/folder/
DPreviewBackground.java148 int shadowColor = Color.argb(SHADOW_OPACITY, 0, 0, 0); in setup()
306 mPaint.setColor(Color.argb(160, 245, 245, 245)); in drawLeaveBehind()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DColorMatcher.java29 return Color.argb(MAX_VALUE, r, g, b); in findClosestColor()
/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/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/
DSwiperThemeGenerator.java43 int color = Color.argb(0xff, r, g, b); in main()
/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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java110 return Color.argb(255, Color.red(color), Color.green(color), Color.blue(color)); in toSolidColor()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java59 mShadow.setColor(Color.argb(60, 0, 0, 0)); in init()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DCea708Data.java155 return Color.argb( in getArgbValue()
/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/src/com/android/launcher3/
DFastBitmapDrawable.java320 filter = new PorterDuffColorFilter(Color.argb(brightnessI, 255, 255, 255), in updateFilter()
/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.java216 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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskThumbnailView.java284 mPaint.setColor(Color.argb(255, mul, mul, mul)); in updateThumbnailPaintFilter()

12