Home
last modified time | relevance | path

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

/cts/tests/tests/systemui/src/android/systemui/cts/
DLightStatusBarTests.java114 private void requestLightStatusBar(final int background) throws Throwable { in requestLightStatusBar() argument
119 activity.getWindow().setStatusBarColor(background); in requestLightStatusBar()
150 private Stats evaluateLightStatusBarBitmap(Bitmap bitmap, int background) { in evaluateLightStatusBarBitmap() argument
154 int mixedIconColor = mixSrcOver(background, iconColor); in evaluateLightStatusBarBitmap()
155 int mixedIconPartialColor = mixSrcOver(background, iconPartialColor); in evaluateLightStatusBarBitmap()
164 if (c == background) { in evaluateLightStatusBarBitmap()
177 float hueDiff = Math.abs(ColorUtils.hue(background) - ColorUtils.hue(c)); in evaluateLightStatusBarBitmap()
180 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightStatusBarBitmap()
213 private int mixSrcOver(int background, int foreground) { in mixSrcOver() argument
214 int bgAlpha = Color.alpha(background); in mixSrcOver()
[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;
114 background-color: #FA5858;
131 background-color: #A5C639;
/cts/tools/tradefed-host/res/report/
Dcts_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/tests/tests/webkit/src/android/webkit/cts/
DWebViewStartupTest.java56 Thread background = new Thread(new Runnable() { in testCookieManagerBlockingUiThread() local
71 background.setUncaughtExceptionHandler(h); in testCookieManagerBlockingUiThread()
72 background.start(); in testCookieManagerBlockingUiThread()
73 background.join(); in testCookieManagerBlockingUiThread()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java863 int background = (i * 255 / 99); in recordFromSurface() local
864 canvas.drawARGB(255, background, background, background); in recordFromSurface()
877 int background = (i * 255 / 99); in recordFromSurface() local
878 canvas.drawARGB(255, background, background, background); in recordFromSurface()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3245 Drawable background = view.getBackground(); in testPadding() local
3247 background.getPadding(backgroundPadding); in testPadding()
3250 assertNotNull(background); in testPadding()
3264 background = view.getBackground(); in testPadding()
3266 background.getPadding(backgroundPadding); in testPadding()
3269 assertNotNull(background); in testPadding()
3283 background = view.getBackground(); in testPadding()
3285 background.getPadding(backgroundPadding); in testPadding()
3288 assertNotNull(background); in testPadding()
3302 background = view.getBackground(); in testPadding()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java184 BackgroundColorSpan[] background = s.getSpans(0, s.length(), BackgroundColorSpan.class); in testStylesFromHtml() local
185 assertEquals(1, background.length); in testStylesFromHtml()
186 assertEquals(0xFF00FF00, background[0].getBackgroundColor()); in testStylesFromHtml()
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java856 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument
882 if (background != null) { in getContentWidth()
884 background.getPadding(rect); in getContentWidth()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java89 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