Home
last modified time | relevance | path

Searched defs:backgroundColor (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/core/java/android/view/
DTaskTransitionSpec.java34 public final int backgroundColor; field in TaskTransitionSpec
36 public TaskTransitionSpec(int backgroundColor) { in TaskTransitionSpec()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/activity/
DEdgeToEdgeActivitContent.kt54 val backgroundColor = MaterialTheme.colorScheme.background in EdgeToEdgeActivityContent() constant
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DEntryHighlight.kt45 val backgroundColor by animateColorAsState( constant
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java424 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast()
564 int backgroundColor) { in resolveContrastColor()
580 int backgroundColor, boolean isDark) { in resolveContrastColor()
614 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor()
626 public static int resolveSecondaryColor(Context context, int backgroundColor, in resolveSecondaryColor()
638 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor()
683 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark()
692 public static double calculateLuminance(int backgroundColor) { in calculateLuminance()
697 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast()
701 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsButtonViewModel.kt32 @AttrRes val backgroundColor: Int, constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsButtonViewModel
/frameworks/base/core/java/android/util/
DLauncherIcons.java103 public Drawable getBadgeDrawable(Drawable badgeForeground, int backgroundColor) { in getBadgeDrawable()
108 Drawable base, Drawable badgeForeground, int backgroundColor) { in getBadgedDrawable()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DVectorDrawablePerfTest.java78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local
/frameworks/base/core/java/android/text/style/
DSuggestionRangeSpan.java81 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusOverlayHoverListener.kt114 val backgroundColor constant
DLetterboxAppearanceCalculator.kt173 val backgroundColor = outerLetterboxBackgroundColor() in getOuterAppearance() constant
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java127 ColorStateList backgroundColor = in init() local
289 int backgroundColor = 0; in updateBackground() local
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java422 public final int backgroundColor; field in CaptioningManager.CaptionStyle
460 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle()
584 final int backgroundColor = Secure.getInt( in getCustomStyle() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsFlatLayout.java53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
DGlobalActionsLayoutLite.java48 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
DGlobalActionsLayout.java65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerScene.kt108 val backgroundColor = MaterialTheme.colorScheme.surface in destinationScenes() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DIlluminationDrawable.kt65 private var backgroundColor = Color.TRANSPARENT variable in com.android.systemui.media.controls.ui.IlluminationDrawable
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenIconDrawableFactory.java63 static Drawable[] makeIconDrawable(@ColorInt int backgroundColor, @ColorInt int themeColor, in makeIconDrawable()
176 public MaskBackgroundDrawable(@ColorInt int backgroundColor) { in MaskBackgroundDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java112 int backgroundColor = getBackgroundColor(mView); in onReinflated() local
172 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java342 final int backgroundColor = getTransitionBackgroundColorIfSet(info, adapter.mChange, in addBackgroundColorIfNeeded() local
346 addBackgroundToTransition(info.getRootLeash(), backgroundColor, startTransaction, in addBackgroundColorIfNeeded() local
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp422 const ubyte4& backgroundColor) { in expectShadowColor()
463 const ubyte4& backgroundColor) { in expectShadowColorWithoutCaster()
1374 const ubyte4& casterColor, const ubyte4& backgroundColor) { in drawShadow()
1411 const ubyte4& backgroundColor) { in drawShadowWithoutCaster()
1613 const ubyte4 backgroundColor(static_cast<uint8_t>(255), static_cast<uint8_t>(255), in TEST_P() local
2137 const ubyte4 backgroundColor(static_cast<uint8_t>(255), static_cast<uint8_t>(255), in TEST_P() local
2158 const ubyte4 backgroundColor(static_cast<uint8_t>(255), static_cast<uint8_t>(255), in TEST_P() local
2182 const ubyte4 backgroundColor(static_cast<uint8_t>(255), static_cast<uint8_t>(255), in TEST_P() local
2207 const ubyte4 backgroundColor(static_cast<uint8_t>(255), static_cast<uint8_t>(255), in TEST_P() local
2233 const ubyte4 backgroundColor(static_cast<uint8_t>(255), static_cast<uint8_t>(255), in TEST_P() local
[all …]
/frameworks/base/core/java/android/window/
DTransitionInfo.java749 public void setBackgroundColor(@ColorInt int backgroundColor) { in setBackgroundColor()
1034 int enterResId, int exitResId, int backgroundColor) { in addCustomActivityTransition()
1049 int exitResId, @ColorInt int backgroundColor, boolean overrideTaskTransition) { in makeCustomAnimOptions()
1217 int enterResId, int exitResId, int backgroundColor) { in addCustomActivityTransition()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseAnimationConfig.kt50 val backgroundColor: Int = DEFAULT_BACKGROUND_COLOR, constant in com.android.systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseAnimationConfig
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp950 const ubyte4& casterColor, const ubyte4& backgroundColor) { in drawShadow()
1310 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local
1327 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local
1344 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local
1362 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local
1382 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLockIconView.java90 int backgroundColor = Utils.getColorAttrDefaultColor(getContext(), in updateColorAndBackgroundVisibility() local

123