/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 180 private void requestLightBars(final int background) throws Throwable { in requestLightBars() argument 183 activity.getWindow().setStatusBarColor(background); in requestLightBars() 184 activity.getWindow().setNavigationBarColor(background); in requestLightBars() 215 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap() argument 219 int mixedIconColor = mixSrcOver(background, iconColor); in evaluateLightBarBitmap() 220 int mixedIconPartialColor = mixSrcOver(background, iconPartialColor); in evaluateLightBarBitmap() 248 if (isColorSame(c, background)) { in evaluateLightBarBitmap() 263 float hueDiff = Math.abs(ColorUtils.hue(background) - ColorUtils.hue(c)); in evaluateLightBarBitmap() 266 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightBarBitmap() 280 private int mixSrcOver(int background, int foreground) { in mixSrcOver() argument [all …]
|
/cts/apps/CtsVerifier/assets/report/ |
D | compatibility_result.css | 34 background-color: #d4e9a9; 42 background-color: #a5c639; 55 background-color: #d4e9a9; 62 background-color: #a5c639; 74 background-color: #d4e9a9; 86 background-color: #a5c639; 100 background-color: #fff; 107 background-color: #fa5858; 124 background-color: #a5c639;
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 78 Thread background = new Thread(new Runnable() { in testCookieManagerBlockingUiThread() local 93 background.setUncaughtExceptionHandler(h); in testCookieManagerBlockingUiThread() 94 background.start(); in testCookieManagerBlockingUiThread() 95 background.join(); in testCookieManagerBlockingUiThread()
|
/cts/tests/app/src/android/app/cts/ |
D | WearableExtenderTest.java | 46 final Bitmap background = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testWearableExtender() local 72 .setBackground(background) in testWearableExtender() 95 assertEquals(background, extender.getBackground()); in testWearableExtender() 198 final Bitmap background = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testWriteToParcel() local 228 .setBackground(background) in testWriteToParcel()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 316 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 317 int bgAlpha = Color.alpha(background); in compositeColors() 322 Color.red(background), bgAlpha, a); in compositeColors() 324 Color.green(background), bgAlpha, a); in compositeColors() 326 Color.blue(background), bgAlpha, a); in compositeColors()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRecorderTest.java | 1434 int background = (i * 255 / 99); in recordFromSurface() local 1435 canvas.drawARGB(255, background, background, background); in recordFromSurface() 1448 int background = (i * 255 / 99); in recordFromSurface() local 1449 canvas.drawARGB(255, background, background, background); in recordFromSurface()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | HtmlTest.java | 196 BackgroundColorSpan[] background = s.getSpans(0, s.length(), BackgroundColorSpan.class); in testStylesFromHtml() local 197 assertEquals(1, background.length); in testStylesFromHtml() 198 assertEquals(0xFF00FF00, background[0].getBackgroundColor()); in testStylesFromHtml()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3705 Drawable background = view.getBackground(); in testPadding() local 3707 background.getPadding(backgroundPadding); in testPadding() 3710 assertNotNull(background); in testPadding() 3724 background = view.getBackground(); in testPadding() 3726 background.getPadding(backgroundPadding); in testPadding() 3729 assertNotNull(background); in testPadding() 3743 background = view.getBackground(); in testPadding() 3745 background.getPadding(backgroundPadding); in testPadding() 3748 assertNotNull(background); in testPadding() 3762 background = view.getBackground(); in testPadding() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyVoiceRecognitionActivity.java | 567 double[] background = new double[points]; 572 mFreqAverageUsbBackground.getData(background, false); 586 backgroundDb[i] = 20 * Math.log10(background[i]);
|
D | AudioFrequencyUnprocessedActivity.java | 552 double[] background = new double[points]; in computeResults() local 557 mFreqAverageUsbBackground.getData(background, false); in computeResults() 571 backgroundDb[i] = 20 * Math.log10(background[i]); in computeResults()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListPopupWindowTest.java | 940 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument 966 if (background != null) { in getContentWidth() 968 background.getPadding(rect); in getContentWidth()
|
D | ListViewTest.java | 1011 Drawable background = mBackgrounds.valueAt(i); in resetMockBackgrounds() local 1012 reset(background); in resetMockBackgrounds()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 134 assertEquals(R.id.background, layerDrawable.getId(3)); in testInflate()
|