Home
last modified time | relevance | path

Searched refs:tint (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DAlphaControlledSignalTileView.java47 public void setFinalImageTintList(ColorStateList tint) { in setFinalImageTintList() argument
48 super.setImageTintList(tint); in setFinalImageTintList()
51 ((AlphaControlledSlashDrawable)slash).setFinalTintList(tint); in setFinalImageTintList()
76 protected void setDrawableTintList(ColorStateList tint) { in setDrawableTintList() argument
82 public void setFinalTintList(ColorStateList tint) { in setFinalTintList() argument
83 super.setDrawableTintList(tint); in setFinalTintList()
DSlashDrawable.java197 public void setTintList(@Nullable ColorStateList tint) { in setTintList() argument
198 mTintList = tint; in setTintList()
199 super.setTintList(tint); in setTintList()
200 setDrawableTintList(tint); in setTintList()
201 mPaint.setColor(tint.getDefaultColor()); in setTintList()
205 protected void setDrawableTintList(@Nullable ColorStateList tint) { in setDrawableTintList() argument
206 mDrawable.setTintList(tint); in setDrawableTintList()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java88 int tint = Color.BLUE; in setTint_set() local
89 mView.setTint(tint); in setTint_set()
90 assertEquals(mView.getTint(), tint); in setTint_set() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java258 public void updateScrimColor(ScrimView scrim, float alpha, int tint) { in updateScrimColor() argument
265 Color.alpha(tint)); in updateScrimColor()
267 scrim.setTint(tint); in updateScrimColor()
DDemoStatusIcons.java295 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
296 setColor(DarkIconDispatcher.getTint(area, mStatusIcons, tint)); in onDarkChanged()
299 mWifiView.onDarkChanged(area, darkIntensity, tint); in onDarkChanged()
302 view.onDarkChanged(area, darkIntensity, tint); in onDarkChanged()
DScrimController.java643 private void updateScrimColor(View scrim, float alpha, int tint) { in updateScrimColor() argument
654 Color.alpha(tint)); in updateScrimColor()
656 scrimView.setTint(tint); in updateScrimColor()
675 int tint = ColorUtils.blendARGB(initialScrimTint, finalScrimTint, animAmount); in startScrimAnimation()
676 updateScrimColor(scrim, alpha, tint); in startScrimAnimation()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java292 public void setTintList(ColorStateList tint) { in setTintList() argument
293 mShapeState.mTint = tint; in setTintList()
294 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, tint, in setTintList()
483 final ColorStateList tint = a.getColorStateList(R.styleable.ShapeDrawable_tint); in updateStateFromTypedArray() local
484 if (tint != null) { in updateStateFromTypedArray()
485 state.mTint = tint; in updateStateFromTypedArray()
DColorStateListDrawable.java111 public void setTintList(@Nullable ColorStateList tint) { in setTintList() argument
112 mState.mTint = tint; in setTintList()
113 mColorDrawable.setTintList(tint); in setTintList()
DDrawable.java678 public void setTintList(@Nullable ColorStateList tint) {} in setTintList() argument
1585 @Nullable ColorStateList tint, @Nullable PorterDuff.Mode tintMode) { in updateTintFilter() argument
1586 if (tint == null || tintMode == null) { in updateTintFilter()
1590 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); in updateTintFilter()
1600 @Nullable ColorStateList tint, @Nullable BlendMode blendMode) { in updateBlendModeFilter() argument
1601 if (tint == null || blendMode == null) { in updateBlendModeFilter()
1605 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); in updateBlendModeFilter()
DNinePatchDrawable.java344 public void setTintList(@Nullable ColorStateList tint) { in setTintList() argument
345 mNinePatchState.mTint = tint; in setTintList()
346 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, tint, in setTintList()
474 final ColorStateList tint = a.getColorStateList(R.styleable.NinePatchDrawable_tint); in updateStateFromTypedArray() local
475 if (tint != null) { in updateStateFromTypedArray()
476 state.mTint = tint; in updateStateFromTypedArray()
DBitmapDrawable.java677 public void setTintList(ColorStateList tint) { in setTintList() argument
679 if (state.mTint != tint) { in setTintList()
680 state.mTint = tint; in setTintList()
681 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, tint, in setTintList()
873 final ColorStateList tint = a.getColorStateList(R.styleable.BitmapDrawable_tint); in updateStateFromTypedArray() local
874 if (tint != null) { in updateStateFromTypedArray()
875 state.mTint = tint; in updateStateFromTypedArray()
DColorDrawable.java210 public void setTintList(ColorStateList tint) { in setTintList() argument
211 mColorState.mTint = tint; in setTintList()
212 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, tint, in setTintList()
DVectorDrawable.java479 public void setTintList(ColorStateList tint) { in setTintList() argument
481 if (state.mTint != tint) { in setTintList()
482 state.mTint = tint; in setTintList()
484 updateColorFilters(mVectorState.mBlendMode, tint); in setTintList()
527 ColorStateList tint = state.mTint; in onStateChange() local
528 updateColorFilters(blendMode, tint); in onStateChange()
535 private void updateColorFilters(@Nullable BlendMode blendMode, ColorStateList tint) { in updateColorFilters() argument
537 mTintFilter = updateTintFilter(mTintFilter, tint, mode); in updateColorFilters()
538 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, tint, blendMode); in updateColorFilters()
758 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint); in updateStateFromTypedArray() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarMobileView.java210 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
214 ColorStateList color = ColorStateList.valueOf(getTint(area, this, tint)); in onDarkChanged()
219 mDotView.setDecorColor(tint); in onDarkChanged()
220 mDotView.setIconColor(tint, false); in onDarkChanged()
DOperatorNameView.java90 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
91 setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
DHeadsUpStatusBarView.java270 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
271 mTextView.setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
DStatusBarWifiView.java238 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
239 int areaTint = getTint(area, this, tint); in onDarkChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java340 public void setTint(int tint) { in setTint() argument
341 super.setTint(tint); in setTint()
342 baseIcon.setTint(tint); in setTint()
346 public void setTintList(ColorStateList tint) { in setTintList() argument
347 super.setTintList(tint); in setTintList()
348 baseIcon.setTintList(tint); in setTintList()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java266 public void setTintList(ColorStateList tint) { in setTintList() argument
267 mTintColor = tint.getDefaultColor(); in setTintList()
301 public void setTintList(ColorStateList tint) { in setTintList() argument
302 mTintColor = tint.getDefaultColor(); in setTintList()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DIntentButtonProvider.java38 public boolean tint = true; field in IntentButtonProvider.IntentButton.IconState
DDarkIconDispatcher.java126 void onDarkChanged(Rect area, float darkIntensity, int tint); in onDarkChanged() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java161 public void setTintList(ColorStateList tint) { in setTintList() argument
162 super.setTintList(tint); in setTintList()
164 mForegroundPaint.setColor(tint.getDefaultColor()); in setTintList()
/frameworks/base/core/java/android/widget/
DProgressBar.java773 public void setIndeterminateTintList(@Nullable ColorStateList tint) { in setIndeterminateTintList() argument
777 mProgressTintInfo.mIndeterminateTintList = tint; in setIndeterminateTintList()
1080 public void setProgressTintList(@Nullable ColorStateList tint) { in setProgressTintList() argument
1084 mProgressTintInfo.mProgressTintList = tint; in setProgressTintList()
1195 public void setProgressBackgroundTintList(@Nullable ColorStateList tint) { in setProgressBackgroundTintList() argument
1199 mProgressTintInfo.mProgressBackgroundTintList = tint; in setProgressBackgroundTintList()
1304 public void setSecondaryProgressTintList(@Nullable ColorStateList tint) { in setSecondaryProgressTintList() argument
1308 mProgressTintInfo.mSecondaryProgressTintList = tint; in setSecondaryProgressTintList()
DAbsSeekBar.java258 public void setThumbTintList(@Nullable ColorStateList tint) { in setThumbTintList() argument
259 mThumbTintList = tint; in setThumbTintList()
444 public void setTickMarkTintList(@Nullable ColorStateList tint) { in setTickMarkTintList() argument
445 mTickMarkTintList = tint; in setTickMarkTintList()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl157 int setIconTint(int tint, int subId); in setIconTint() argument

123