Home
last modified time | relevance | path

Searched refs:background (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java155 private void requestLightBars(final int background) throws Throwable { in requestLightBars() argument
158 activity.getWindow().setStatusBarColor(background); in requestLightBars()
159 activity.getWindow().setNavigationBarColor(background); in requestLightBars()
190 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background) { in evaluateLightBarBitmap() argument
194 int mixedIconColor = mixSrcOver(background, iconColor); in evaluateLightBarBitmap()
195 int mixedIconPartialColor = mixSrcOver(background, iconPartialColor); in evaluateLightBarBitmap()
204 if (c == background) { in evaluateLightBarBitmap()
217 float hueDiff = Math.abs(ColorUtils.hue(background) - ColorUtils.hue(c)); in evaluateLightBarBitmap()
220 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightBarBitmap()
253 private int mixSrcOver(int background, int foreground) { in mixSrcOver() argument
[all …]
/cts/common/host-side/tradefed/res/report/
Dcompatibility_result.css35 background-color: rgb(212, 233, 169);
43 background-color: #A5C639;
58 background-color: rgb(212, 233, 169);
65 background-color: #A5C639;
77 background-color: rgb(212, 233, 169);
89 background-color: #A5C639;
107 background-color: white;
113 background-color: rgb(212, 233, 169);
120 background-color: #A5C639;
133 background-color: #FA5858;
[all …]
/cts/apps/CtsVerifier/assets/report/
Dcompatibility_result.css35 background-color: rgb(212, 233, 169);
43 background-color: #A5C639;
58 background-color: rgb(212, 233, 169);
65 background-color: #A5C639;
77 background-color: rgb(212, 233, 169);
89 background-color: #A5C639;
107 background-color: white;
114 background-color: #FA5858;
131 background-color: #A5C639;
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java69 Thread background = new Thread(new Runnable() { in testCookieManagerBlockingUiThread() local
84 background.setUncaughtExceptionHandler(h); in testCookieManagerBlockingUiThread()
85 background.start(); in testCookieManagerBlockingUiThread()
86 background.join(); in testCookieManagerBlockingUiThread()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java316 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/
DMediaRecorderTest.java1350 int background = (i * 255 / 99); in recordFromSurface() local
1351 canvas.drawARGB(255, background, background, background); in recordFromSurface()
1364 int background = (i * 255 / 99); in recordFromSurface() local
1365 canvas.drawARGB(255, background, background, background); in recordFromSurface()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3277 Drawable background = view.getBackground(); in testPadding() local
3279 background.getPadding(backgroundPadding); in testPadding()
3282 assertNotNull(background); in testPadding()
3296 background = view.getBackground(); in testPadding()
3298 background.getPadding(backgroundPadding); in testPadding()
3301 assertNotNull(background); in testPadding()
3315 background = view.getBackground(); in testPadding()
3317 background.getPadding(backgroundPadding); in testPadding()
3320 assertNotNull(background); in testPadding()
3334 background = view.getBackground(); in testPadding()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java195 BackgroundColorSpan[] background = s.getSpans(0, s.length(), BackgroundColorSpan.class); in testStylesFromHtml() local
196 assertEquals(1, background.length); in testStylesFromHtml()
197 assertEquals(0xFF00FF00, background[0].getBackgroundColor()); in testStylesFromHtml()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyUnprocessedActivity.java552 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/
DListPopupWindowTest.java899 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument
925 if (background != null) { in getContentWidth()
927 background.getPadding(rect); in getContentWidth()
DListViewTest.java1022 Drawable background = mBackgrounds.valueAt(i); in resetMockBackgrounds() local
1023 reset(background); in resetMockBackgrounds()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java133 assertEquals(R.id.background, layerDrawable.getId(3)); in testInflate()
/cts/tools/dex-tools/dex/
Dclasses.out.dex324 public static final int background
1758 public static final int background
109566 public static final int background
112192 public static final int background