Home
last modified time | relevance | path

Searched refs:background (Results 1 – 25 of 39) sorted by relevance

12

/appcompat/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatProgressBarHelper.java84 LayerDrawable background = (LayerDrawable) drawable; in tileify() local
85 final int N = background.getNumberOfLayers(); in tileify()
89 int id = background.getId(i); in tileify()
90 outDrawables[i] = tileify(background.getDrawable(i), in tileify()
96 clone.setId(i, background.getId(i)); in tileify()
98 Api23Impl.transferLayerProperties(background, clone, i); in tileify()
130 AnimationDrawable background = (AnimationDrawable) drawable; in tileifyIndeterminate() local
131 final int N = background.getNumberOfFrames(); in tileifyIndeterminate()
133 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
136 Drawable frame = tileify(background.getFrame(i), true); in tileifyIndeterminate()
[all …]
DAppCompatBackgroundHelper.java88 void onSetBackgroundDrawable(Drawable background) { in onSetBackgroundDrawable() argument
123 final Drawable background = mView.getBackground(); in applySupportBackgroundTint() local
124 if (background != null) { in applySupportBackgroundTint()
126 && applyFrameworkTintUsingColorFilter(background)) { in applySupportBackgroundTint()
133 AppCompatDrawableManager.tintDrawable(background, mBackgroundTint, in applySupportBackgroundTint()
136 AppCompatDrawableManager.tintDrawable(background, mInternalBackgroundTint, in applySupportBackgroundTint()
177 private boolean applyFrameworkTintUsingColorFilter(@NonNull Drawable background) { in applyFrameworkTintUsingColorFilter() argument
196 AppCompatDrawableManager.tintDrawable(background, info, mView.getDrawableState()); in applyFrameworkTintUsingColorFilter()
DAppCompatSpinner.java318 public void setPopupBackgroundDrawable(Drawable background) { in setPopupBackgroundDrawable() argument
320 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable()
322 super.setPopupBackgroundDrawable(background); in setPopupBackgroundDrawable()
485 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
486 super.setBackgroundDrawable(background); in setBackgroundDrawable()
488 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
552 int compatMeasureContentWidth(SpinnerAdapter adapter, Drawable background) { in compatMeasureContentWidth() argument
588 if (background != null) { in compatMeasureContentWidth()
589 background.getPadding(mTempRect); in compatMeasureContentWidth()
989 final Drawable background = getBackground(); in computeContentWidth() local
[all …]
DAppCompatImageView.java148 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
149 super.setBackgroundDrawable(background); in setBackgroundDrawable()
151 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatImageButton.java137 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
138 super.setBackgroundDrawable(background); in setBackgroundDrawable()
140 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatToggleButton.java96 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
97 super.setBackgroundDrawable(background); in setBackgroundDrawable()
99 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatMultiAutoCompleteTextView.java159 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
160 super.setBackgroundDrawable(background); in setBackgroundDrawable()
162 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatCheckBox.java212 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
213 super.setBackgroundDrawable(background); in setBackgroundDrawable()
215 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatRadioButton.java211 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
212 super.setBackgroundDrawable(background); in setBackgroundDrawable()
214 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatAutoCompleteTextView.java159 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
160 super.setBackgroundDrawable(background); in setBackgroundDrawable()
162 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatCheckedTextView.java215 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
216 super.setBackgroundDrawable(background); in setBackgroundDrawable()
218 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatButton.java105 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
106 super.setBackgroundDrawable(background); in setBackgroundDrawable()
108 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatEditText.java182 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
183 super.setBackgroundDrawable(background); in setBackgroundDrawable()
185 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DAppCompatImageHelper.java103 final Drawable background = mView.getBackground(); in hasOverlappingRendering() local
105 && background instanceof android.graphics.drawable.RippleDrawable) { in hasOverlappingRendering()
DAppCompatDrawableManager.java306 result.setId(0, android.R.id.background); in preload()
324 ld.findDrawableByLayerId(android.R.id.background), in preload()
341 ld.findDrawableByLayerId(android.R.id.background), in preload()
DAppCompatTextView.java177 public void setBackgroundDrawable(@Nullable Drawable background) { in setBackgroundDrawable() argument
178 super.setBackgroundDrawable(background); in setBackgroundDrawable()
180 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
DListPopupWindow.java1274 final Drawable background = mPopup.getBackground(); field in ListPopupWindow
1275 if (background != null) {
1276 background.getPadding(mTempRect);
DSwitchCompat.java1303 final Drawable background = getBackground(); in draw() local
1304 if (background != null) { in draw()
1305 DrawableCompat.setHotspotBounds(background, thumbLeft, switchTop, in draw()
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/testutils/
DAppCompatTintableViewActions.java149 public static ViewAction setBackgroundDrawable(final Drawable background) {
165 view.setBackgroundDrawable(background);
/appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/
DExpandedMenuView.java42 android.R.attr.background,
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/
DAlertDialogTest.java1371 final ColorDrawable background = new ColorDrawable(Color.MAGENTA); in testBackgroundDrawable() local
1374 window.setBackgroundDrawable(background); in testBackgroundDrawable()
1380 assertSame(background, decorView.getBackground()); in testBackgroundDrawable()
1409 Drawable background = scrollIndicatorUp.getBackground(); in testCslColorForegroundPre23() local
1410 assertTrue(background instanceof ColorDrawable); in testCslColorForegroundPre23()
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatBaseViewTest.java112 Drawable background = view.getBackground(); in verifyBackgroundIsColoredAs() local
114 background, view.getWidth(), view.getHeight(), true, in verifyBackgroundIsColoredAs()
/appcompat/appcompat/api/
Dres-1.5.0-beta01.txt45 attr background
Dres-1.2.0-beta01.txt43 attr background
Dres-1.7.0-beta01.txt45 attr background

12