/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/modules/Permission/PermissionController/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/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | CameraController.java | 421 private void convertARGBToRGBA(ByteBuffer argb) { in convertARGBToRGBA() argument 424 for (int i = 0; i < argb.capacity(); i+= 4) { in convertARGBToRGBA() 425 byte r = argb.get(i); in convertARGBToRGBA() 426 byte g = argb.get(i + 1); in convertARGBToRGBA() 427 byte b = argb.get(i + 2); in convertARGBToRGBA() 428 byte a = argb.get(i + 3); in convertARGBToRGBA() 431 argb.put(i, b); in convertARGBToRGBA() 432 argb.put(i + 1, g); in convertARGBToRGBA() 433 argb.put(i + 2, r); in convertARGBToRGBA() 434 argb.put(i + 3, a); in convertARGBToRGBA()
|
/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/Car/Launcher/docklib/tests/src/com/android/car/docklib/data/ |
D | DockAppItemTest.kt | 114 iconColorScrim = Color.argb( in compareAppItems_notEqual_differentIconColorScrim() 124 iconColorScrim = Color.argb( in compareAppItems_notEqual_differentIconColorScrim()
|
/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/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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ColorPreferenceTest.java | 181 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/ |
D | PhotoProcessorTest.java | 50 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
|
/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/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | KidsNavLayoutter.kt | 85 val whiteWith10PctAlpha = Color.argb(0.1f, 1f, 1f, 1f) in layoutButtons()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Data.java | 155 return Color.argb( in getArgbValue()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/animation/ |
D | ExcitementAnimationHelper.kt | 194 Color.argb(value, 0f, 0f, 0f), in getExcitementAnimator()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/task/thumbnail/ |
D | TaskThumbnailViewModelTest.kt | 163 colorBackground = Color.argb(taskId, taskId, taskId, taskId) in createTaskWithId()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/ |
D | DockItemViewHolder.kt | 110 Color.argb(excitedIconColorFilterAlpha, 0f, 0f, 0f),
|
/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/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/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | Utils.java | 113 return Color.argb((int) (alpha), Color.red(inputColor), Color.green(inputColor), in applyAlpha()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | LibUtils.java | 143 return Color.argb((int) (alpha), Color.red(inputColor), Color.green(inputColor), in applyAlpha()
|
/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 | 203 int creamColor = Color.argb(255, 237, 237, 227); in addBorders()
|