HomeSort by relevance Sort by last modified time
    Searched refs:tint (Results 26 - 50 of 93) sorted by null

12 3 4

  /frameworks/base/graphics/java/android/graphics/drawable/
ColorDrawable.java 181 public void setTintList(ColorStateList tint) {
182 mColorState.mTint = tint;
183 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode);
NinePatchDrawable.java 351 public void setTintList(ColorStateList tint) {
352 mNinePatchState.mTint = tint;
353 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode);
476 final ColorStateList tint = a.getColorStateList(R.styleable.NinePatchDrawable_tint); local
477 if (tint != null) {
478 state.mTint = tint;
Drawable.java 504 * filter disables {@link #setTintList(ColorStateList) tint}.
520 * {@link #setTintList(ColorStateList) tint}.
528 * Specifies tint color for this drawable.
530 * A Drawable's drawing content will be blended together with its tint
535 * To clear the tint, pass {@code null} to
540 * {@link #setColorFilter(int, PorterDuff.Mode)} overrides tint.
552 * Specifies tint color for this drawable as a color state list.
554 * A Drawable's drawing content will be blended together with its tint
560 * {@link #setColorFilter(int, PorterDuff.Mode)} overrides tint.
563 * @param tint Color state list to use for tinting this drawable, o
    [all...]
DrawableWrapper.java 248 public void setTintList(@Nullable ColorStateList tint) {
250 mDrawable.setTintList(tint);
BitmapDrawable.java 643 public void setTintList(ColorStateList tint) {
644 mBitmapState.mTint = tint;
645 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode);
785 final ColorStateList tint = a.getColorStateList(R.styleable.BitmapDrawable_tint); local
786 if (tint != null) {
787 state.mTint = tint;
    [all...]
DrawableContainer.java 183 public void setTintList(ColorStateList tint) {
186 if (mDrawableContainerState.mTintList != tint) {
187 mDrawableContainerState.mTintList = tint;
190 mCurrDrawable.mutate().setTintList(tint);
499 // Color filter always overrides tint.
    [all...]
VectorDrawable.java 78 * <dt><code>android:tint</code></dt>
79 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd>
81 * <dd>The Porter-Duff blending mode for the tint color. The default value is src_in.</dd>
283 // Color filters always override tint filters.
356 public void setTintList(ColorStateList tint) {
358 if (state.mTint != tint) {
359 state.mTint = tint;
360 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode);
592 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint) local
    [all...]
  /frameworks/support/design/eclair-mr1/android/support/design/widget/
FloatingActionButtonEclairMr1.java 69 // Now we need to tint the original background with the tint, using
114 void setBackgroundTintList(ColorStateList tint) {
115 DrawableCompat.setTintList(mShapeDrawable, tint);
117 DrawableCompat.setTintList(mBorderDrawable, tint);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
SignalClusterView.java 455 public void setIconTint(int tint, float darkIntensity) {
456 boolean changed = tint != mIconTint || darkIntensity != mDarkIntensity;
457 mIconTint = tint;
480 private void setTint(ImageView v, int tint) {
481 v.setImageTintList(ColorStateList.valueOf(tint));
559 public void setIconTint(int tint, float darkIntensity) {
561 setTint(mMobileType, tint);
  /frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
VectorDrawableCompat.java 75 * <dt><code>android:tint</code></dt>
76 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd>
78 * <dd>The Porter-Duff blending mode for the tint color. The default value is src_in.</dd>
257 // Color filters always override tint filters.
302 * Ensures the tint filter is consistent with the current tint color and
305 PorterDuffColorFilter updateTintFilter(PorterDuffColorFilter tintFilter, ColorStateList tint,
307 if (tint == null || tintMode == null) {
312 final int color = tint.getColorForState(getState(), Color.TRANSPARENT)
487 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/sim/
SimPreferenceDialog.java 168 int tint = mTintArr[tintSelected];
169 mSubInfoRecord.setIconTint(tint);
170 mSubscriptionManager.setIconTint(tint, subscriptionId);
  /frameworks/support/design/src/android/support/design/widget/
FloatingActionButton.java 175 * Return the tint applied to the background drawable, if specified.
177 * @return the tint applied to the background drawable
187 * Applies a tint to the background drawable. Does not modify the current tint
190 * @param tint the tint to apply, may be {@code null} to clear tint
192 public void setBackgroundTintList(@Nullable ColorStateList tint) {
193 if (mBackgroundTint != tint) {
194 mBackgroundTint = tint;
    [all...]
NavigationView.java 268 * Returns the tint which is applied to our item's icons.
280 * Set the tint which is applied to our item's icons.
282 * @param tint the tint to apply.
286 public void setItemIconTintList(@Nullable ColorStateList tint) {
287 mPresenter.setItemIconTintList(tint);
291 * Returns the tint which is applied to our item's icons.
  /cts/tests/tests/widget/src/android/widget/cts/
AbsSeekBarTest.java 220 assertEquals("Thumb tint inflated correctly",
222 assertEquals("Thumb tint mode inflated correctly",
229 assertFalse("No thumb tint applied by default", thumb.hasCalledSetTint());
232 assertTrue("Thumb tint applied when setThumbTintList() called after setThumb()",
238 assertTrue("Thumb tint applied when setThumbTintList() called before setThumb()",
309 public void setTintList(ColorStateList tint) {
310 super.setTintList(tint);
CompoundButtonTest.java 338 assertEquals("Button tint inflated correctly",
340 assertEquals("Button tint mode inflated correctly",
347 assertFalse("No button tint applied by default", button.hasCalledSetTint());
350 assertTrue("Button tint applied when setButtonTintList() called after setButton()",
356 assertTrue("Button tint applied when setButtonTintList() called before setButton()",
373 public void setTintList(ColorStateList tint) {
374 super.setTintList(tint);
FrameLayoutTest.java 281 assertEquals("Foreground tint inflated correctly",
283 assertEquals("Foreground tint mode inflated correctly",
290 assertFalse("No foreground tint applied by default", foreground.hasCalledSetTint());
293 assertTrue("Foreground tint applied when setForegroundTintList() called after setForeground()",
299 assertTrue("Foreground tint applied when setForegroundTintList() called before setForeground()",
333 public void setTintList(ColorStateList tint) {
334 super.setTintList(tint);
  /frameworks/base/core/java/android/widget/
CheckedTextView.java 201 * Applies a tint to the check mark drawable. Does not modify the
202 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
205 * automatically mutate the drawable and apply the specified tint and
206 * tint mode using
209 * @param tint the tint to apply, may be {@code null} to clear tint
215 public void setCheckMarkTintList(@Nullable ColorStateList tint) {
216 mCheckMarkTintList = tint;
223 * Returns the tint applied to the check mark drawable, if specified
    [all...]
CompoundButton.java 269 * Applies a tint to the button drawable. Does not modify the current tint
273 * automatically mutate the drawable and apply the specified tint and tint
277 * @param tint the tint to apply, may be {@code null} to clear tint
283 public void setButtonTintList(@Nullable ColorStateList tint) {
284 mButtonTintList = tint;
291 * @return the tint applied to the button drawabl
    [all...]
ProgressBar.java 650 * Applies a tint to the indeterminate drawable. Does not modify the
651 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
654 * automatically mutate the drawable and apply the specified tint and
655 * tint mode using
658 * @param tint the tint to apply, may be {@code null} to clear tint
665 public void setIndeterminateTintList(@Nullable ColorStateList tint) {
669 mProgressTintInfo.mIndeterminateTintList = tint;
676 * @return the tint applied to the indeterminate drawabl
    [all...]
Switch.java 523 * Applies a tint to the track drawable. Does not modify the current
524 * tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
527 * automatically mutate the drawable and apply the specified tint and tint
530 * @param tint the tint to apply, may be {@code null} to clear tint
536 public void setTrackTintList(@Nullable ColorStateList tint) {
537 mTrackTintList = tint;
544 * @return the tint applied to the track drawabl
    [all...]
  /external/boringssl/src/crypto/asn1/
tasn_dec.c 930 ASN1_INTEGER **tint; local
992 tint = (ASN1_INTEGER **)pval;
993 if (!c2i_ASN1_INTEGER(tint, &cont, len))
996 (*tint)->type = utype | ((*tint)->type & V_ASN1_NEG);
    [all...]
  /frameworks/base/telephony/java/android/telephony/
SubscriptionManager.java 693 * Set SIM icon tint color by simInfo index
694 * @param tint the RGB value of icon tint color of the SIM
699 public int setIconTint(int tint, int subId) {
700 if (VDBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId);
711 result = iSub.setIconTint(tint, subId);
    [all...]
  /frameworks/support/design/src/android/support/design/internal/
NavigationMenuPresenter.java 230 public void setItemIconTintList(@Nullable ColorStateList tint) {
231 mIconTintList = tint;
  /frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
AnimatedVectorDrawableCompat.java 253 public void setTintList(ColorStateList tint) {
254 mAnimatedVectorState.mVectorDrawable.setTintList(tint);
  /development/samples/HelloEffects/src/com/example/android/mediafx/
HelloEffects.java 222 case R.id.tint:
225 mEffect.setParameter("tint", Color.MAGENTA);

Completed in 1624 milliseconds

12 3 4