Searched refs:tint (Results 26 - 50 of 93) sorted by relevance

1234

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DAppCompatCompoundButtonHelper.java82 void setSupportButtonTintList(ColorStateList tint) { argument
83 mButtonTintList = tint;
127 // stateful before applying the tint, so let's try again.
H A DAppCompatEditText.java42 * <li>Allows dynamic tint of its background via the background tint methods in
44 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
115 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
117 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatRadioButton.java39 * <li>Allows dynamic tint of its background via the background tint methods in
41 * <li>Allows setting of the background tint using {@link R.attr#buttonTint} and
98 public void setSupportButtonTintList(@Nullable ColorStateList tint) { argument
100 mCompoundButtonHelper.setSupportButtonTintList(tint);
H A DAppCompatAutoCompleteTextView.java41 * <li>Allows dynamic tint of its background via the background tint methods in
43 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
117 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
119 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatMultiAutoCompleteTextView.java43 * <li>Allows dynamic tint of its background via the background tint methods in
45 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
117 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
119 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatSeekBarHelper.java100 void setTickMarkTintList(@Nullable ColorStateList tint) { argument
101 mTickMarkTintList = tint;
137 // stateful before applying the tint, so let's try again.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDarkIconDispatcher.java45 * @return the tint to apply to {@param view} depending on the desired tint {@param color} and
46 * the screen {@param tintArea} in which to apply that tint
90 void onDarkChanged(Rect area, float darkIntensity, int tint); argument
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DWrappedDrawableApi14.java276 public void setTint(int tint) { argument
277 setTintList(ColorStateList.valueOf(tint));
281 public void setTintList(ColorStateList tint) { argument
282 mState.mTint = tint;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarWifiView.java251 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
260 mIn.setImageTintList(ColorStateList.valueOf(getTint(area, this, tint)));
261 mOut.setImageTintList(ColorStateList.valueOf(getTint(area, this, tint)));
262 mDotView.setDecorColor(tint);
263 mDotView.setIconColor(tint, false);
H A DOperatorNameView.java91 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
92 setTextColor(DarkIconDispatcher.getTint(area, this, tint));
H A DStatusBarMobileView.java199 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
204 ColorStateList color = ColorStateList.valueOf(getTint(area, this, tint));
209 mDotView.setDecorColor(tint);
210 mDotView.setIconColor(tint, false);
H A DSignalClusterView.java256 // Re-run all checks against the tint area for all icons
559 public void onDarkChanged(Rect tintArea, float darkIntensity, int tint) { argument
560 boolean changed = tint != mIconTint || darkIntensity != mDarkIntensity
562 mIconTint = tint;
593 private void setTint(ImageView v, int tint) { argument
594 v.setImageTintList(ColorStateList.valueOf(tint));
681 public void setIconTint(int tint, float darkIntensity, Rect tintArea) { argument
683 setTint(mMobileType, DarkIconDispatcher.getTint(tintArea, mMobileType, tint));
685 tint));
687 DarkIconDispatcher.getTint(tintArea, mMobileActivityIn, tint));
[all...]
H A DHeadsUpStatusBarView.java235 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
236 mTextView.setTextColor(DarkIconDispatcher.getTint(area, this, tint));
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java293 public void setTintList(ColorStateList tint) { argument
294 mShapeState.mTint = tint;
295 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode);
481 final ColorStateList tint = a.getColorStateList(R.styleable.ShapeDrawable_tint);
482 if (tint != null) {
483 state.mTint = tint;
H A DColorDrawable.java184 public void setTintList(ColorStateList tint) { argument
185 mColorState.mTint = tint;
186 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode);
H A DNinePatchDrawable.java346 public void setTintList(@Nullable ColorStateList tint) { argument
347 mNinePatchState.mTint = tint;
348 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode);
474 final ColorStateList tint = a.getColorStateList(R.styleable.NinePatchDrawable_tint);
475 if (tint != null) {
476 state.mTint = tint;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DGarbageMonitor.java289 public void setTint(int tint) { argument
290 super.setTint(tint);
291 baseIcon.setTint(tint);
295 public void setTintList(ColorStateList tint) { argument
296 super.setTintList(tint);
297 baseIcon.setTintList(tint);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISub.aidl119 * Set SIM icon tint color by simInfo index
120 * @param tint the icon tint color of the SIM
124 int setIconTint(int tint, int subId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java294 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
295 setColor(DarkIconDispatcher.getTint(area, mStatusIcons, tint));
298 mWifiView.onDarkChanged(area, darkIntensity, tint);
301 view.onDarkChanged(area, darkIntensity, tint);
H A DDarkIconDispatcherImpl.java58 DarkReceiver receiver = (area, darkIntensity, tint) -> imageView.setImageTintList(
79 * @param darkArea the area in which icons should change it's tint, in logical screen
H A DHeadsUpAppearanceController.java288 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
289 mHeadsUpStatusBarView.onDarkChanged(area, darkIntensity, tint);
/frameworks/support/compat/src/main/java/androidx/core/internal/view/
H A DSupportMenuItem.java338 * Applies a tint to this item's icon. Does not modify the
339 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
342 * automatically mutate the icon and apply the specified tint and
343 * tint mode.
345 * @param tint the tint to apply, may be {@code null} to clear tint
350 MenuItem setIconTintList(ColorStateList tint); argument
353 * @return the tint applied to this item's icon
360 * Specifies the blending mode used to apply the tint specifie
[all...]
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DMenuItemCompat.java491 * Applies a tint to the item's icon. Does not modify the
492 * current tint mode of that item, which is {@link PorterDuff.Mode#SRC_IN} by default.
495 * automatically mutate the icon and apply the specified tint and
496 * tint mode.
498 * @param tint the tint to apply, may be {@code null} to clear tint
502 public static void setIconTintList(MenuItem item, ColorStateList tint) { argument
504 ((SupportMenuItem) item).setIconTintList(tint);
506 item.setIconTintList(tint);
[all...]
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java346 public void setTint(int tint) { argument
348 DrawableCompat.setTint(mDelegateDrawable, tint);
352 mAnimatedVectorState.mVectorDrawable.setTint(tint);
356 public void setTintList(ColorStateList tint) { argument
358 DrawableCompat.setTintList(mDelegateDrawable, tint);
362 mAnimatedVectorState.mVectorDrawable.setTintList(tint);
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DLargeTemplateView.java137 public void setTint(int tint) { argument
138 super.setTint(tint);

Completed in 411 milliseconds

1234