Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/assets/report/
Dcompatibility_result.css34 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/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java317 private void requestLightBars(final int background) { in requestLightBars() argument
320 activity.getWindow().setStatusBarColor(background); in requestLightBars()
321 activity.getWindow().setNavigationBarColor(background); in requestLightBars()
352 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap() argument
353 return evaluateBarBitmap(bitmap, background, shiftY, 0x99000000, 0x3d000000); in evaluateLightBarBitmap()
356 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap() argument
357 return evaluateBarBitmap(bitmap, background, shiftY, 0xffffffff, 0x4dffffff); in evaluateDarkBarBitmap()
360 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap() argument
363 int mixedIconColor = mixSrcOver(background, iconColor); in evaluateBarBitmap()
364 int mixedIconPartialColor = mixSrcOver(background, iconPartialColor); in evaluateBarBitmap()
[all …]
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DTestThemeHelper.java153 final Drawable background = layout.getBackground(); in assertLayoutBGColor() local
154 assertDrawableColor(background, expected); in assertLayoutBGColor()
169 final Drawable background = view.getBackground(); in assertTextViewBGColor() local
170 assertDrawableColor(background, mColorBackground); in assertTextViewBGColor()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHandleSplashScreenExitActivity.java71 Drawable background = view.getIconView().getBackground();
73 if (background != null) {
74 Bitmap bitmap = ((BitmapDrawable) background).getBitmap();
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java82 Thread background = new Thread(new Runnable() { in testCookieManagerBlockingUiThread() local
95 background.start(); in testCookieManagerBlockingUiThread()
96 background.join(); in testCookieManagerBlockingUiThread()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.java186 final int background = palette[shadeToArrayIndex(shades.first)]; in testContrastRatio() local
188 final double contrast = ColorUtils.calculateContrast(foreground, background); in testContrastRatio()
189 assertWithMessage("Shade " + shades.first + " (#" + Integer.toHexString(background) in testContrastRatio()
196 final int background = palette[shadeToArrayIndex(shades.first)]; in testContrastRatio() local
198 final double contrast = ColorUtils.calculateContrast(foreground, background); in testContrastRatio()
199 assertWithMessage("Shade " + shades.first + " (#" + Integer.toHexString(background) in testContrastRatio()
/cts/tests/app/src/android/app/cts/
DWearableExtenderTest.java46 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/
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/framework/base/windowmanager/backgroundactivity/common/
DAndroid.bp20 name: "cts-background-activity-common",
/cts/tests/framework/base/windowmanager/backgroundactivity/AppB/
DAndroid.bp25 "cts-background-activity-common",
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/
DAndroid.bp25 "cts-background-activity-common",
/cts/tests/framework/base/windowmanager/backgroundactivity/
DAndroid.bp35 "cts-background-activity-common",
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java440 final Drawable background = layout.getBackground(); in assertBaseLayoutBGColor() local
441 assertDrawableColor(background, expected); in assertBaseLayoutBGColor()
450 final Drawable background = view.getBackground(); in assertTextViewBGColor() local
451 assertDrawableColor(background, expected); in assertTextViewBGColor()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java1480 int background = (i * 255 / 99); in recordFromSurface() local
1481 canvas.drawARGB(255, background, background, background); in recordFromSurface()
1494 int background = (i * 255 / 99); in recordFromSurface() local
1495 canvas.drawARGB(255, background, background, background); in recordFromSurface()
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java254 BackgroundColorSpan[] background = s.getSpans(0, s.length(), BackgroundColorSpan.class); in testStylesFromHtml() local
255 assertEquals(1, background.length); in testStylesFromHtml()
256 assertEquals(0xFF00FF00, background[0].getBackgroundColor()); in testStylesFromHtml()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyVoiceRecognitionActivity.java561 double[] background = new double[points];
566 mFreqAverageUsbBackground.getData(background, false);
580 backgroundDb[i] = 20 * Math.log10(background[i]);
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3772 Drawable background = view.getBackground(); in testPadding() local
3774 background.getPadding(backgroundPadding); in testPadding()
3777 assertNotNull(background); in testPadding()
3791 background = view.getBackground(); in testPadding()
3793 background.getPadding(backgroundPadding); in testPadding()
3796 assertNotNull(background); in testPadding()
3810 background = view.getBackground(); in testPadding()
3812 background.getPadding(backgroundPadding); in testPadding()
3815 assertNotNull(background); in testPadding()
3829 background = view.getBackground(); in testPadding()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java1012 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument
1038 if (background != null) { in getContentWidth()
1040 background.getPadding(rect); in getContentWidth()
DListViewTest.java1039 Drawable background = mBackgrounds.valueAt(i); in resetMockBackgrounds() local
1040 reset(background); in resetMockBackgrounds()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java134 assertEquals(R.id.background, layerDrawable.getId(3)); in testInflate()