/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ColorPreference.java | 89 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/ |
D | ColorPreference.java | 89 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/ |
D | ColorExtractor.java | 71 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/ |
D | GLES11Canvas.java | 687 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()
|
D | GLES20Canvas.java | 370 public void clearBuffer(float[] argb) { in clearBuffer() argument 371 GLES20.glClearColor(argb[1], argb[2], argb[3], argb[0]); in clearBuffer()
|
D | GLCanvas.java | 45 public abstract void clearBuffer(float[] argb); in clearBuffer() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragShadowBuilder.java | 79 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/ |
D | IconView.java | 225 int startColor = Color.argb(0, 0, 0, 0); in onDraw() 226 int endColor = Color.argb(200, 0, 0, 0); in onDraw()
|
D | CategorySelected.java | 26 mPaint.setColor(Color.argb(128, 128, 128, 128)); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 148 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/ |
D | ColorMatcher.java | 29 return Color.argb(MAX_VALUE, r, g, b); in findClosestColor()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoProcessorTest.java | 50 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
|
/packages/apps/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/ |
D | SwiperThemeGenerator.java | 43 int color = Color.argb(0xff, r, g, b); in main()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | FadeBackground.java | 60 Color.argb(0, Color.red(color), Color.green(color), Color.blue(color)); in createAnimator()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ProgressRenderer.java | 121 paint.setColor(Color.argb((int) (alpha * 255), 255, 255, 255)); in createProgressPaint()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupLayoutActivity.java | 110 return Color.argb(255, Color.red(color), Color.green(color), Color.blue(color)); in toSolidColor()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | VUMeter.java | 59 mShadow.setColor(Color.argb(60, 0, 0, 0)); in init()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Data.java | 155 return Color.argb( in getArgbValue()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 159 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/ |
D | PieRenderer.java | 161 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/ |
D | FastBitmapDrawable.java | 320 filter = new PorterDuffColorFilter(Color.argb(brightnessI, 255, 255, 255), in updateFilter()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropDrawingUtils.java | 33 p.setColor(Color.argb(128, 255, 255, 255)); in drawRuleOfThird()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | BaseFiltersManager.java | 216 int creamColor = Color.argb(255, 237, 237, 227); in addBorders()
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 344 canvas.drawColor(Color.argb(0xff, 0x4c, 0x9c, 0x23)); in getPhotoStreamWithColor()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskThumbnailView.java | 284 mPaint.setColor(Color.argb(255, mul, mul, mul)); in updateThumbnailPaintFilter()
|