Home
last modified time | relevance | path

Searched refs:background (Results 1 – 24 of 24) 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/framework/base/windowmanager/backgroundactivity/TestApp/
DAndroid.bp25 "cts-background-activity-common",
26 "cts-background-activity-common-lib",
40 "cts-background-activity-common",
62 "cts-background-activity-common",
88 "cts-background-activity-common",
114 "cts-background-activity-common",
140 "cts-background-activity-common",
166 "cts-background-activity-common",
192 "cts-background-activity-common",
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java350 private void requestLightBars(final int background) { in requestLightBars() argument
353 activity.getWindow().setStatusBarColor(background); in requestLightBars()
354 activity.getWindow().setNavigationBarColor(background); in requestLightBars()
385 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap() argument
389 background, in evaluateLightBarBitmap()
397 background, in evaluateLightBarBitmap()
405 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap() argument
406 return evaluateBarBitmap(bitmap, background, shiftY, 0xffffffff, 0x4dffffff); in evaluateDarkBarBitmap()
409 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap() argument
412 int mixedIconColor = mixSrcOver(background, iconColor); in evaluateBarBitmap()
[all …]
/cts/tests/tests/notification/NotificationExtenders/src/android/app/notification/extenders/cts/api34/
DWearableExtenderApi34Test.kt59 val background = result.getBackground() in wearableBackgroundBlockDisabled_wearableBackgroundSet_valueKeepsBitmap() constant
60 assertThat(background).isNotNull() in wearableBackgroundBlockDisabled_wearableBackgroundSet_valueKeepsBitmap()
61 assertThat(background).isEqualTo(bitmap) in wearableBackgroundBlockDisabled_wearableBackgroundSet_valueKeepsBitmap()
/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/tests/notification/NotificationExtenders/src/android/app/notification/extenders/cts/current/
DWearableExtenderApiCurrentTest.kt58 val background = result.getBackground() in wearableBackgroundBlockDisabled_wearableBackgroundSet_valueIsNull() constant
59 assertThat(background).isNull() in wearableBackgroundBlockDisabled_wearableBackgroundSet_valueIsNull()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java72 Thread background = new Thread(new Runnable() { in testCookieManagerBlockingUiThread() local
85 background.start(); in testCookieManagerBlockingUiThread()
86 background.join(); in testCookieManagerBlockingUiThread()
/cts/tests/framework/base/windowmanager/backgroundactivity/common/
DAndroid.bp21 name: "cts-background-activity-common",
34 name: "cts-background-activity-common-lib",
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHandleSplashScreenExitActivity.java86 final Drawable background = containsCenter
89 if (background != null) {
90 Bitmap bitmap = ((BitmapDrawable) background).getBitmap();
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.kt161 val background = palette[shadeToArrayIndex(shades.first)] in <lambda>() constant
166 Hct.fromInt(background).tone in <lambda>()
697 mBgGroups.forEach { background -> in <lambda>() method
698 newFailMessages.addAll(background.checkContrast(mForegrounds)) in <lambda>()
720 val background = mContext.getColor(bgRes) in <lambda>() constant
722 val contrast = ColorUtils.calculateContrast(foreground, background) in <lambda>()
746 val background = context.getColor(bgRes) in <lambda>() constant
750 Hct.fromInt(background).tone in <lambda>()
/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/
DAndroid.bp38 "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/notification/src/android/app/notification/current/cts/
DWearableExtenderTest.java58 final Bitmap background = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testWearableExtender() local
214 final Bitmap background = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testWriteToParcel() local
DNotificationTemplateTest.kt900 val background = background ?: return false in <lambda>() constant
903 background.draw(canvas) in <lambda>()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java1619 int background = (i * 255 / 99); in recordFromSurface() local
1620 canvas.drawARGB(255, background, background, background); in recordFromSurface()
1633 int background = (i * 255 / 99); in recordFromSurface() local
1634 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.java562 double[] background = new double[points];
567 mFreqAverageUsbBackground.getData(background, false);
581 backgroundDb[i] = 20 * Math.log10(background[i]);
DAudioFrequencyUnprocessedActivity.java541 double[] background = new double[points]; in computeResults() local
546 mFreqAverageUsbBackground.getData(background, false); in computeResults()
560 backgroundDb[i] = 20 * Math.log10(background[i]); in computeResults()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3902 Drawable background = view.getBackground(); in testPadding() local
3904 background.getPadding(backgroundPadding); in testPadding()
3907 assertNotNull(background); in testPadding()
3921 background = view.getBackground(); in testPadding()
3923 background.getPadding(backgroundPadding); in testPadding()
3926 assertNotNull(background); in testPadding()
3940 background = view.getBackground(); in testPadding()
3942 background.getPadding(backgroundPadding); in testPadding()
3945 assertNotNull(background); in testPadding()
3959 background = view.getBackground(); in testPadding()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java1056 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument
1082 if (background != null) { in getContentWidth()
1084 background.getPadding(rect); in getContentWidth()
DListViewTest.java1058 Drawable background = mBackgrounds.valueAt(i); in resetMockBackgrounds() local
1059 reset(background); in resetMockBackgrounds()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java134 assertEquals(R.id.background, layerDrawable.getId(3)); in testInflate()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt520 field public static final int background = 16842964; // 0x10100d4
2390 field public static final int background = 16908288; // 0x1020000
54227 …ic static final String NAVIGATION_BAR_BACKGROUND_TRANSITION_NAME = "android:navigation:background";
54236 …eld public static final String STATUS_BAR_BACKGROUND_TRANSITION_NAME = "android:status:background";