/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/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 317 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/ |
D | TestThemeHelper.java | 153 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/ |
D | HandleSplashScreenExitActivity.java | 71 Drawable background = view.getIconView().getBackground(); 73 if (background != null) { 74 Bitmap bitmap = ((BitmapDrawable) background).getBitmap();
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 82 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/ |
D | SystemPaletteTest.java | 186 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/ |
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/framework/base/windowmanager/backgroundactivity/common/ |
D | Android.bp | 20 name: "cts-background-activity-common",
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppB/ |
D | Android.bp | 25 "cts-background-activity-common",
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/ |
D | Android.bp | 25 "cts-background-activity-common",
|
/cts/tests/framework/base/windowmanager/backgroundactivity/ |
D | Android.bp | 35 "cts-background-activity-common",
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 440 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/ |
D | MediaRecorderTest.java | 1480 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/ |
D | HtmlTest.java | 254 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/ |
D | AudioFrequencyVoiceRecognitionActivity.java | 561 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/ |
D | ViewTest.java | 3772 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/ |
D | ListPopupWindowTest.java | 1012 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument 1038 if (background != null) { in getContentWidth() 1040 background.getPadding(rect); in getContentWidth()
|
D | ListViewTest.java | 1039 Drawable background = mBackgrounds.valueAt(i); in resetMockBackgrounds() local 1040 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()
|