Home
last modified time | relevance | path

Searched defs:bg (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryDrawableState.kt87 val bg: Int constant
109 override val bg: Int = Color.valueOf(1f, 1f, 1f, 0.22f).toArgb() constant
128 override val bg: Int = Color.valueOf(0f, 0f, 0f, 0.18f).toArgb() constant
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardDesignLayoutTest.java53 ColorDrawable bg = (ColorDrawable) mCarSetupWizardLayout.getBackground(); in testShouldApplyLayoutBackground() local
DCarSetupWizardCompatLayoutTest.java591 ColorDrawable bg = (ColorDrawable) layout.getBackground(); in testShouldNotApplyLayoutBackground() local
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java87 public void setPrimaryBackground(Drawable bg) { in setPrimaryBackground()
104 public void setStackedBackground(Drawable bg) { in setStackedBackground()
122 public void setSplitBackground(Drawable bg) { in setSplitBackground()
DConversationLayout.java333 GradientDrawable bg = (GradientDrawable) mConversationIconBadgeBg.getDrawable(); in setIsImportantConversation() local
/frameworks/base/tests/graphics/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java50 View bg = findViewById(R.id.bg_container); in onResume() local
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java390 int bg = findFg ? other : color; in findContrastColor() local
426 int bg = backgroundColor; in findAlphaToMeetContrast() local
461 int bg = findFg ? other : color; in findContrastColorAgainstDark() local
498 public static int ensureLargeTextContrast(int color, int bg, boolean isBgDarker) { in ensureLargeTextContrast()
510 public static int ensureTextContrast(int color, int bg, boolean isBgDarker) { in ensureTextContrast()
523 public static int ensureContrast(int color, int bg, boolean isBgDarker, double minRatio) { in ensureContrast()
537 private static String contrastChange(int colorOld, int colorNew, int bg) { in contrastChange()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBubbleIconFactory.java132 CircularAdaptiveIcon(Drawable bg, Drawable fg) { in CircularAdaptiveIcon()
DClockDrawableWrapper.java328 Bitmap bg; in newIcon() local
503 float boundsOffset, AnimationInfo animInfo, Bitmap bg, ColorFilter bgFilter) { in ClockConstantState()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java77 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt53 val (fg, bg) = deviceColorMap.getValue(key) in lookup() constant
DControlViewHolder.kt322 val bg = context.resources.getColor(R.color.control_default_background, context.theme) in animateBackgroundChange() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java173 Drawable bg = context.getDrawable(bgRes); in getDrawable() local
/frameworks/base/core/java/android/app/
DSharedElementCallback.java180 Drawable bg = imageView.getBackground(); in onCaptureSharedElementSnapshot() local
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java95 GradientDrawable bg = new GradientDrawable(); in onCreateViewHolder() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchController.java323 Drawable bg = mContext.getDrawable(com.android.settingslib.R.drawable.user_avatar_bg); in getCurrentUserIcon() local
DKeyguardUserSwitcherController.java538 Drawable bg = mContext.getDrawable(com.android.settingslib.R.drawable.user_avatar_bg); in getDrawable() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt517 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant
566 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant
598 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant
990 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant
1051 val bg = context.getDrawable(R.drawable.ic_media_play_container) in <lambda>() constant
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py27 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument
/frameworks/base/core/java/android/widget/
DSpinner.java1121 public void setBackgroundDrawable(Drawable bg); in setBackgroundDrawable()
1183 public void setBackgroundDrawable(Drawable bg) { in setBackgroundDrawable()
DActionMenuPresenter.java920 final Drawable bg = getBackground(); in setFrame() local
DPopupWindow.java322 final Drawable bg = a.getDrawable(R.styleable.PopupWindow_popupBackground); in PopupWindow() local
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeHeader.kt412 val bg = in BatteryIcon() constant
/frameworks/base/core/java/android/view/animation/
DAnimation.java653 public void setBackgroundColor(@ColorInt int bg) { in setBackgroundColor()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1715 Drawable bg = getBackground(); in drawableChanged() local

12