Home
last modified time | relevance | path

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

/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardDesignLayoutTest.java53 ColorDrawable bg = (ColorDrawable) mCarSetupWizardLayout.getBackground(); in testShouldApplyLayoutBackground() local
DCarSetupWizardCompatLayoutTest.java470 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()
105 public void setStackedBackground(Drawable bg) { in setStackedBackground()
123 public void setSplitBackground(Drawable bg) { in setSplitBackground()
/frameworks/base/tests/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.java302 int bg = findFg ? other : color; in findContrastColor() local
338 int bg = backgroundColor; in findAlphaToMeetContrast() local
373 int bg = findFg ? other : color; in findContrastColorAgainstDark() local
409 public static int ensureLargeTextContrast(int color, int bg, boolean isBgDarker) { in ensureLargeTextContrast()
421 public static int ensureTextContrast(int color, int bg, boolean isBgDarker) { in ensureTextContrast()
434 public static int ensureContrast(int color, int bg, boolean isBgDarker, double minRatio) { in ensureContrast()
448 private static String contrastChange(int colorOld, int colorNew, int bg) { in contrastChange()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java35 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors()
/frameworks/base/tools/stringslint/
Dstringslint.py41 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument
/frameworks/base/core/java/android/app/
DSharedElementCallback.java181 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/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java312 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors()
/frameworks/base/core/java/android/widget/
DSpinner.java1096 public void setBackgroundDrawable(Drawable bg); in setBackgroundDrawable()
1158 public void setBackgroundDrawable(Drawable bg) { in setBackgroundDrawable()
DActionMenuPresenter.java919 final Drawable bg = getBackground(); in setFrame() local
DPopupWindow.java319 final Drawable bg = a.getDrawable(R.styleable.PopupWindow_popupBackground); in PopupWindow() local
/frameworks/base/core/java/android/view/animation/
DAnimation.java640 public void setBackgroundColor(@ColorInt int bg) { in setBackgroundColor()
/frameworks/base/tools/apilint/
Dapilint.py37 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1635 Drawable bg = getBackground(); in drawableChanged() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java473 sTable.add(new MccEntry(284,"bg",2)); //Bulgaria (Republic of) in sTable.add()
/frameworks/base/core/java/android/view/
DView.java22347 final Drawable bg = mBackground; in drawableStateChanged() local