Home
last modified time | relevance | path

Searched refs:tintMode (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DDrawableCompat.java40 void setTintMode(Drawable drawable, PorterDuff.Mode tintMode); in setTintMode() argument
77 public void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
131 public void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
132 DrawableCompatL.setTintMode(drawable, tintMode); in setTintMode()
247 public static void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
248 IMPL.setTintMode(drawable, tintMode); in setTintMode()
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
DDrawableCompatL.java45 public static void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
46 drawable.setTintMode(tintMode); in setTintMode()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintManager.java161 PorterDuff.Mode tintMode = null; in tintDrawable() local
175 tintMode = PorterDuff.Mode.MULTIPLY; in tintDrawable()
183 if (tintMode == null) { in tintDrawable()
184 tintMode = DEFAULT_MODE; in tintDrawable()
189 PorterDuffColorFilter filter = COLOR_FILTER_CACHE.get(color, tintMode); in tintDrawable()
193 filter = new PorterDuffColorFilter(color, tintMode); in tintDrawable()
194 COLOR_FILTER_CACHE.put(color, tintMode, filter); in tintDrawable()
DTintDrawableWrapper.java40 PorterDuff.Mode tintMode) { in TintDrawableWrapper() argument
43 mTintMode = tintMode; in TintDrawableWrapper()
DDrawableWrapper.java196 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
197 DrawableCompat.setTintMode(mDrawable, tintMode); in setTintMode()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java295 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
296 mShapeState.mTintMode = tintMode; in setTintMode()
297 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode()
448 final int tintMode = a.getInt(R.styleable.ShapeDrawable_tintMode, -1); in updateStateFromTypedArray() local
449 if (tintMode != -1) { in updateStateFromTypedArray()
450 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
DColorDrawable.java186 public void setTintMode(Mode tintMode) { in setTintMode() argument
187 mColorState.mTintMode = tintMode; in setTintMode()
188 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode()
DNinePatchDrawable.java358 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
359 mNinePatchState.mTintMode = tintMode; in setTintMode()
360 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode()
461 final int tintMode = a.getInt(R.styleable.NinePatchDrawable_tintMode, -1); in updateStateFromTypedArray() local
462 if (tintMode != -1) { in updateStateFromTypedArray()
463 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
DDrawable.java510 public void setTintMode(PorterDuff.Mode tintMode) {} in setTintMode() argument
1294 PorterDuff.Mode tintMode) { in updateTintFilter() argument
1295 if (tint == null || tintMode == null) { in updateTintFilter()
1301 return new PorterDuffColorFilter(color, tintMode); in updateTintFilter()
1305 tintFilter.setMode(tintMode); in updateTintFilter()
DBitmapDrawable.java644 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
645 mBitmapState.mTintMode = tintMode; in setTintMode()
646 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode()
769 final int tintMode = a.getInt(R.styleable.BitmapDrawable_tintMode, -1); in updateStateFromTypedArray() local
770 if (tintMode != -1) { in updateStateFromTypedArray()
771 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
DVectorDrawable.java321 public void setTintMode(Mode tintMode) { in setTintMode() argument
323 if (state.mTintMode != tintMode) { in setTintMode()
324 state.mTintMode = tintMode; in setTintMode()
325 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode()
475 final int tintMode = a.getInt(R.styleable.VectorDrawable_tintMode, -1); in updateStateFromTypedArray() local
476 if (tintMode != -1) { in updateStateFromTypedArray()
477 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
DClipDrawable.java243 public void setTintMode(Mode tintMode) { in setTintMode() argument
244 mState.mDrawable.setTintMode(tintMode); in setTintMode()
DDrawableContainer.java196 public void setTintMode(Mode tintMode) { in setTintMode() argument
199 if (mDrawableContainerState.mTintMode != tintMode) { in setTintMode()
200 mDrawableContainerState.mTintMode = tintMode; in setTintMode()
203 mCurrDrawable.mutate().setTintMode(tintMode); in setTintMode()
DScaleDrawable.java261 public void setTintMode(Mode tintMode) { in setTintMode() argument
262 mState.mDrawable.setTintMode(tintMode); in setTintMode()
DAnimatedVectorDrawable.java230 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
231 mAnimatedVectorState.mVectorDrawable.setTintMode(tintMode); in setTintMode()
DAnimatedRotateDrawable.java182 public void setTintMode(Mode tintMode) { in setTintMode() argument
183 mState.mDrawable.setTintMode(tintMode); in setTintMode()
DGradientDrawable.java845 public void setTintMode(PorterDuff.Mode tintMode) {
846 mGradientState.mTintMode = tintMode;
847 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode);
1081 final int tintMode = a.getInt(R.styleable.GradientDrawable_tintMode, -1);
1082 if (tintMode != -1) {
1083 state.mTintMode = Drawable.parseTintMode(tintMode, PorterDuff.Mode.SRC_IN);
DInsetDrawable.java313 public void setTintMode(Mode tintMode) { in setTintMode() argument
314 mState.mDrawable.setTintMode(tintMode); in setTintMode()
DRotateDrawable.java148 public void setTintMode(Mode tintMode) { in setTintMode() argument
149 mState.mDrawable.setTintMode(tintMode); in setTintMode()
/frameworks/base/core/java/android/widget/
DProgressBar.java637 public void setIndeterminateTintMode(@Nullable PorterDuff.Mode tintMode) { in setIndeterminateTintMode() argument
641 mProgressTintInfo.mIndeterminateTintMode = tintMode; in setIndeterminateTintMode()
904 public void setProgressTintMode(@Nullable PorterDuff.Mode tintMode) { in setProgressTintMode() argument
908 mProgressTintInfo.mProgressTintMode = tintMode; in setProgressTintMode()
986 public void setProgressBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setProgressBackgroundTintMode() argument
990 mProgressTintInfo.mProgressBackgroundTintMode = tintMode; in setProgressBackgroundTintMode()
1066 public void setSecondaryProgressTintMode(@Nullable PorterDuff.Mode tintMode) { in setSecondaryProgressTintMode() argument
1070 mProgressTintInfo.mSecondaryProgressTintMode = tintMode; in setSecondaryProgressTintMode()
1223 private void setDrawableTint(int id, ColorStateList tint, Mode tintMode, boolean fallback) { in setDrawableTint() argument
1238 layer.setTintMode(tintMode); in setDrawableTint()
DCheckedTextView.java238 public void setCheckMarkTintMode(@Nullable PorterDuff.Mode tintMode) { in setCheckMarkTintMode() argument
239 mCheckMarkTintMode = tintMode; in setCheckMarkTintMode()
DCompoundButton.java290 public void setButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setButtonTintMode() argument
291 mButtonTintMode = tintMode; in setButtonTintMode()
DAbsSeekBar.java235 public void setThumbTintMode(@Nullable PorterDuff.Mode tintMode) { in setThumbTintMode() argument
236 mThumbTintMode = tintMode; in setThumbTintMode()
DFrameLayout.java358 public void setForegroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setForegroundTintMode() argument
359 mForegroundTintMode = tintMode; in setForegroundTintMode()
/frameworks/base/docs/html/training/material/
Ddrawables.jd42 <code>android:tintMode</code> attributes.</p>

12