HomeSort by relevance Sort by last modified time
    Searched refs:tint (Results 1 - 25 of 154) sorted by null

1 2 3 4 5 6 7

  /external/dng_sdk/source/
dng_temperature.h 15 * Representation of color temperature and offset (tint) using black body
49 real64 tint)
52 , fTint (tint )
77 void SetTint (real64 tint)
79 fTint = tint;
82 real64 Tint () const
  /frameworks/support/compat/java/android/support/v4/graphics/drawable/
TintAwareDrawable.java 34 void setTint(@ColorInt int tint);
35 void setTintList(ColorStateList tint);
DrawableCompat.java 128 * Specifies a tint for {@code drawable}.
131 * @param tint Color to use for tinting this drawable
133 public static void setTint(@NonNull Drawable drawable, @ColorInt int tint) {
135 drawable.setTint(tint);
137 ((TintAwareDrawable) drawable).setTint(tint);
142 * Specifies a tint for {@code drawable} as a color state list.
145 * @param tint Color state list to use for tinting this drawable, or null to clear the tint
147 public static void setTintList(@NonNull Drawable drawable, @Nullable ColorStateList tint) {
149 drawable.setTintList(tint);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
AlphaControlledSignalTileView.java 46 public void setFinalImageTintList(ColorStateList tint) {
47 super.setImageTintList(tint);
50 ((AlphaControlledSlashDrawable)slash).setFinalTintList(tint);
66 * SlashDrawable that disobeys orders to change its drawable's tint except when you tell
75 protected void setDrawableTintList(ColorStateList tint) {
79 * Set a target tint list instead of
81 public void setFinalTintList(ColorStateList tint) {
82 super.setDrawableTintList(tint);
SlashDrawable.java 197 public void setTintList(@Nullable ColorStateList tint) {
198 mTintList = tint;
199 super.setTintList(tint);
200 setDrawableTintList(tint);
201 mPaint.setColor(tint.getDefaultColor());
205 protected void setDrawableTintList(@Nullable ColorStateList tint) {
206 mDrawable.setTintList(tint);
  /frameworks/support/compat/java/android/support/v4/view/
TintableBackgroundView.java 30 * Applies a tint to the background drawable. Does not modify the current tint
34 * mutate the drawable and apply the specified tint and tint mode.
36 * @param tint the tint to apply, may be {@code null} to clear tint
40 void setSupportBackgroundTintList(@Nullable ColorStateList tint);
43 * Return the tint applied to the background drawable, if specified.
45 * @return the tint applied to the background drawabl
    [all...]
MenuItemCompat.java 103 void setIconTintList(MenuItem item, ColorStateList tint);
184 public void setIconTintList(MenuItem item, ColorStateList tint) {
251 public void setIconTintList(MenuItem item, ColorStateList tint) {
252 item.setIconTintList(tint);
641 * Applies a tint to the item's icon. Does not modify the
642 * current tint mode of that item, which is {@link PorterDuff.Mode#SRC_IN} by default.
645 * automatically mutate the icon and apply the specified tint and
646 * tint mode.
648 * @param tint the tint to apply, may be {@code null} to clear tin
    [all...]
  /external/mesa3d/src/compiler/nir/
nir_opcodes.py 92 tint = "int" variable
147 unop("imov", tint, "src0")
149 unop("ineg", tint, "-src0")
151 unop("inot", tint, "~src0") # invert every bit of the integer
157 unop("isign", tint, "(src0 == 0) ? 0 : ((src0 > 0) ? 1 : -1)")
158 unop("iabs", tint, "(src0 < 0) ? -src0 : src0")
380 binop("iadd", tint, commutative + associative, "src0 + src1")
382 binop("isub", tint, "", "src0 - src1")
386 binop("imul", tint, commutative + associative, "src0 * src1")
395 binop("idiv", tint, "", "src0 / src1"
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatBackgroundHelper.java 52 ColorStateList tint = mDrawableManager local
54 if (tint != null) {
55 setInternalBackgroundTint(tint);
75 // Update the default background tint
84 // We don't know that this drawable is, so we need to clear the default background tint
89 void setSupportBackgroundTintList(ColorStateList tint) {
93 mBackgroundTint.mTintList = tint;
122 // effect on any widgets using the compat tint on API 21 (EditText)
136 void setInternalBackgroundTint(ColorStateList tint) {
137 if (tint != null)
    [all...]
AppCompatImageHelper.java 108 void setSupportImageTintList(ColorStateList tint) {
112 mImageTint.mTintList = tint;
145 // effect on any widgets using the compat tint on API 21
159 void setInternalImageTint(ColorStateList tint) {
160 if (tint != null) {
164 mInternalImageTint.mTintList = tint;
175 // On API 22+, if we're using an internal compat image source tint, we're also
176 // responsible for applying any custom tint set via the framework impl
184 // API 19 and below doesn't have framework tint
190 * Applies the framework image source tint to a view, but using the compat method (ColorFilter
    [all...]
AppCompatDrawableManager.java 202 // Tint it if needed
262 // First mutate the Drawable, then wrap it and set the tint list
296 // If we didn't tint using a ColorFilter, and we're set to fail if we don't
523 ColorStateList tint = getTintListFromCache(context, resId); local
525 if (tint == null) {
528 tint = getColorStateList(context, R.color.abc_tint_edittext);
530 tint = getColorStateList(context, R.color.abc_tint_switch_track);
532 tint = createSwitchThumbColorStateList(context);
534 tint = createDefaultButtonColorStateList(context);
536 tint = createBorderlessButtonColorStateList(context)
    [all...]
AppCompatImageButton.java 42 * <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
46 * <li>Allows dynamic tint of its image via the image tint methods in
48 * <li>Allows setting of the image tint using {@link R.attr#tint} and
135 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) {
137 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
190 public void setSupportImageTintList(@Nullable ColorStateList tint) {
    [all...]
AppCompatImageView.java 41 * <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
45 * <li>Allows dynamic tint of its image via the image tint methods in
47 * <li>Allows setting of the image tint using {@link R.attr#tint} and
145 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) {
147 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
201 public void setSupportImageTintList(@Nullable ColorStateList tint) {
    [all...]
  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
IntentButtonProvider.java 38 public boolean tint = true; field in class:IntentButtonProvider.IntentButton.IconState
  /frameworks/support/compat/java/android/support/v4/widget/
TintableCompoundButton.java 31 * Applies a tint to the button drawable. Does not modify the current tint
36 * should automatically mutate the drawable and apply the specified tint and tint mode.
38 * @param tint the tint to apply, may be {@code null} to clear tint
40 void setSupportButtonTintList(@Nullable ColorStateList tint);
43 * Returns the tint applied to the button drawable
51 * Specifies the blending mode which should be used to apply the tint specified b
    [all...]
CompoundButtonCompat.java 55 public void setButtonTintList(CompoundButton button, ColorStateList tint) {
57 ((TintableCompoundButton) button).setSupportButtonTintList(tint);
107 public void setButtonTintList(CompoundButton button, ColorStateList tint) {
108 button.setButtonTintList(tint);
138 * Applies a tint to the button drawable. Does not modify the current tint
142 * automatically mutate the drawable and apply the specified tint and tint
145 * @param tint the tint to apply, may be {@code null} to clear tin
    [all...]
TintableImageSourceView.java 36 * Applies a tint to the image drawable. Does not modify the current tint
40 * mutate the drawable and apply the specified tint and tint mode.
42 * @param tint the tint to apply, may be {@code null} to clear tint
46 void setSupportImageTintList(@Nullable ColorStateList tint);
49 * Return the tint applied to the image drawable, if specified.
51 * @return the tint applied to the image drawabl
    [all...]
  /frameworks/support/compat/tests/java/android/support/v4/graphics/
TestTintAwareDrawable.java 36 public void setTintList(ColorStateList tint) {
  /frameworks/support/design/tests/src/android/support/design/testutils/
BottomNavigationViewActions.java 35 * Sets item icon tint list on the content of the bottom navigation view.
37 public static ViewAction setItemIconTintList(@Nullable final ColorStateList tint) {
46 return "Set item icon tint list";
54 navigationView.setItemIconTintList(tint);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
ScrimViewTest.java 105 int tint = Color.BLUE; local
106 mView.setTint(tint);
107 assertEquals(mView.getTint(), tint); local
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
Cat.java 128 public static void tint(int color, Drawable ... ds) { method in class:Cat
157 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail, method
159 tint(0x20000000, D.leg2Shadow, D.tailShadow);
161 tint(0xFFFFFFFF, D.leftEye, D.rightEye, D.mouth, D.nose);
163 tint(isDark(mBodyColor) ? 0xFFEF9A9A : 0x20D50000, D.leftEarInside, D.rightEarInside);
165 tint(chooseP(nsr, P_BELLY_COLORS), D.belly);
166 tint(chooseP(nsr, P_BELLY_COLORS), D.back);
168 tint(faceColor, D.faceSpot); method
170 tint(0xFF000000, D.mouth, D.nose);
176 tint(0xFFFFFFFF, D.foot1, D.foot2, D.foot3, D.foot4)
    [all...]
  /frameworks/support/design/base/android/support/design/widget/
CircularBorderDrawable.java 125 void setBorderTint(ColorStateList tint) {
126 if (tint != null) {
127 mCurrentBorderTintColor = tint.getColorForState(getState(), mCurrentBorderTintColor);
129 mBorderTint = tint;
  /frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DrawableWrapper.java 194 public void setTint(int tint) {
195 DrawableCompat.setTint(mDrawable, tint);
199 public void setTintList(ColorStateList tint) {
200 DrawableCompat.setTintList(mDrawable, tint);
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
AppCompatTintableViewActions.java 40 * Sets the passed color state list as the background tint on a {@link View}.
42 public static ViewAction setBackgroundTintList(final ColorStateList tint) {
51 return "set background tint list";
58 ViewCompat.setBackgroundTintList(view, tint);
66 * Sets the passed mode as the background tint mode on a <code>View</code>.
77 return "set background tint mode";
92 * Sets the passed color state list as the image source tint on a {@link View}.
94 public static ViewAction setImageSourceTintList(final ColorStateList tint) {
103 return "set image source tint list";
110 ImageViewCompat.setImageTintList((ImageView) view, tint);
    [all...]
  /frameworks/support/v7/cardview/src/android/support/v7/widget/
RoundRectDrawable.java 170 public void setTintList(ColorStateList tint) {
171 mTint = tint;
204 * Ensures the tint filter is consistent with the current tint color and
207 private PorterDuffColorFilter createTintFilter(ColorStateList tint, PorterDuff.Mode tintMode) {
208 if (tint == null || tintMode == null) {
211 final int color = tint.getColorForState(getState(), Color.TRANSPARENT);

Completed in 752 milliseconds

1 2 3 4 5 6 7