/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | TrivialAnimationActivity.java | 29 int colorValue = 0; in onCreate() 34 colorValue += colorDelta; in onCreate() 35 if (colorValue == 255 || colorValue == 0) { in onCreate() 39 setColor(Color.rgb(255, colorValue, 255 - colorValue)); in onCreate()
|
D | InvalidateActivity.java | 56 public void setColorValue(int colorValue) { in setColorValue() argument 57 @ColorInt int a = Color.rgb(colorValue, 255 - colorValue, 255); in setColorValue() 58 @ColorInt int b = Color.rgb(255, colorValue, 255 - colorValue); in setColorValue()
|
D | BitmapUploadActivity.java | 43 public void setColorValue(int colorValue) { in setColorValue() argument 44 if (colorValue == mColorValue) return; in setColorValue() 46 mColorValue = colorValue; in setColorValue()
|
D | FullscreenOverdrawActivity.java | 42 public void setColorValue(int colorValue) { in setColorValue() argument 43 mColorValue = colorValue; in setColorValue()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 131 final int colorValue = color.toArgb(); in runTonalExtraction() local 132 ColorUtils.RGBToHSL(Color.red(colorValue), Color.green(colorValue), in runTonalExtraction() 133 Color.blue(colorValue), hsl); in runTonalExtraction() 151 int colorValue = bestColor.toArgb(); in runTonalExtraction() local 152 ColorUtils.RGBToHSL(Color.red(colorValue), Color.green(colorValue), Color.blue(colorValue), in runTonalExtraction()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | BitmapUploadActivity.java | 55 public void setColorValue(int colorValue) { in setColorValue() argument 56 if (colorValue == mColorValue) return; in setColorValue() 58 mColorValue = colorValue; in setColorValue()
|
D | FullScreenOverdrawActivity.java | 49 public void setColorValue(int colorValue) { in setColorValue() argument 50 mColorValue = colorValue; in setColorValue()
|
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/ |
D | TextClassificationTest.java | 43 public BitmapDrawable generateTestDrawable(int width, int height, int colorValue) { in generateTestDrawable() argument 47 colors[i] = colorValue; in generateTestDrawable()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationTest.java | 51 public Icon generateTestIcon(int width, int height, int colorValue) { in generateTestIcon() argument 55 colors[i] = colorValue; in generateTestIcon()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 233 int colorValue = rawValue[valueIndex + 3] & 0xff; in retrieveTextAttribute() local 250 TextColor color = TextColor.fromInt(colorValue); in retrieveTextAttribute()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 379 TypedValue colorValue = new TypedValue(); in formatUrl() local 380 context.getTheme().resolveAttribute(R.attr.textColorSearchUrl, colorValue, true); in formatUrl() 381 mUrlColor = context.getColorStateList(colorValue.resourceId); in formatUrl()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | SuggestionsAdapter.java | 338 TypedValue colorValue = new TypedValue(); in formatUrl() local 339 mContext.getTheme().resolveAttribute(R.attr.textColorSearchUrl, colorValue, true); in formatUrl() 340 mUrlColor = mContext.getResources().getColorStateList(colorValue.resourceId); in formatUrl()
|