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

1 2 3

  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
IntentButtonProvider.java 38 public boolean tint = true; field in class:IntentButtonProvider.IntentButton.IconState
  /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
  /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/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/compat/src/androidTest/java/androidx/core/graphics/
DrawableCompatTest.java 131 // Assert that the tint aware drawable was not wrapped
139 final ColorStateList tint = ColorStateList.valueOf(Color.BLACK); local
142 // Now set the tint list and mode using DrawableCompat
143 DrawableCompat.setTintList(d, tint);
147 verify(d).setTintList(tint);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AppCompatBackgroundHelper.java 53 ColorStateList tint = mDrawableManager local
55 if (tint != null) {
56 setInternalBackgroundTint(tint);
76 // Update the default background tint
85 // We don't know that this drawable is, so we need to clear the default background tint
90 void setSupportBackgroundTintList(ColorStateList tint) {
94 mBackgroundTint.mTintList = tint;
123 // effect on any widgets using the compat tint on API 21 (EditText)
137 void setInternalBackgroundTint(ColorStateList tint) {
138 if (tint != null)
    [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...]
  /packages/apps/Car/Radio/src/com/android/car/radio/
RadioDisplayController.java 95 int tint = enabled local
100 // No need to tint the play button because its drawable already contains a disabled
106 // No need to tint the play button because its drawable already contains a disabled
113 mForwardSeekButton.setColorFilter(tint);
118 mBackwardSeekButton.setColorFilter(tint);
123 mPresetsListButton.setColorFilter(tint);
128 mAddPresetsButton.setColorFilter(tint);
  /external/boringssl/src/crypto/asn1/
tasn_dec.c 850 ASN1_INTEGER **tint; local
902 tint = (ASN1_INTEGER **)pval;
903 if (!c2i_ASN1_INTEGER(tint, &cont, len))
906 (*tint)->type = utype | ((*tint)->type & V_ASN1_NEG);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
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/base/graphics/java/android/graphics/drawable/
ShapeDrawable.java 293 public void setTintList(ColorStateList tint) {
294 mShapeState.mTint = tint;
295 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode);
481 final ColorStateList tint = a.getColorStateList(R.styleable.ShapeDrawable_tint); local
482 if (tint != null) {
483 state.mTint = tint;
BitmapDrawable.java 677 public void setTintList(ColorStateList tint) {
679 if (state.mTint != tint) {
680 state.mTint = tint;
681 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode);
868 final ColorStateList tint = a.getColorStateList(R.styleable.BitmapDrawable_tint); local
869 if (tint != null) {
870 state.mTint = tint;
    [all...]
NinePatchDrawable.java 346 public void setTintList(@Nullable ColorStateList tint) {
347 mNinePatchState.mTint = tint;
348 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode);
474 final ColorStateList tint = a.getColorStateList(R.styleable.NinePatchDrawable_tint); local
475 if (tint != null) {
476 state.mTint = tint;
VectorDrawable.java 93 * <dt><code>android:tint</code></dt>
94 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd>
96 * <dd>The Porter-Duff blending mode for the tint color. Default is src_in.</dd>
412 // Color filters always override tint filters.
471 public void setTintList(ColorStateList tint) {
473 if (state.mTint != tint) {
474 state.mTint = tint;
475 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode);
741 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint) local
    [all...]
  /frameworks/support/car/src/main/java/androidx/car/widget/
PagedScrollBarView.java 462 int tint = ContextCompat.getColor(getContext(), tintResId); local
463 mUpButton.setColorFilter(tint, PorterDuff.Mode.SRC_IN);
466 mDownButton.setColorFilter(tint, PorterDuff.Mode.SRC_IN);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
VolumeDialogImpl.java 906 final ColorStateList tint = useActiveColoring ? mActiveTint : mInactiveTint; local
    [all...]
  /prebuilts/tools/common/m2/repository/com/jakewharton/butterknife-annotations/8.4.0/
butterknife-annotations-8.4.0.jar 
  /packages/apps/Contacts/src/com/android/contacts/widget/
MultiShrinkScroller.java 567 // Use the same amount of alpha on the new tint color as the previous tint color.
1185 final float tint = (float) Math.min(Math.pow(ratio, 1.5f) * 3f, 1f); local
    [all...]
  /external/ImageMagick/Magick++/lib/
Image.cpp 4602 void Magick::Image::tint(const std::string opacity_) function in class:Magick::Image
    [all...]
  /frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
VectorDrawableCompat.java 100 * <dt><code>android:tint</code></dt>
101 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd>
103 * <dd>The Porter-Duff blending mode for the tint color. Default is src_in.</dd>
295 // Color filters always override tint filters.
387 * Ensures the tint filter is consistent with the current tint color and
390 PorterDuffColorFilter updateTintFilter(PorterDuffColorFilter tintFilter, ColorStateList tint,
392 if (tint == null || tintMode == null) {
397 final int color = tint.getColorForState(getState(), Color.TRANSPARENT)
673 final ColorStateList tint = local
    [all...]
  /prebuilts/tools/common/m2/repository/com/jakewharton/butterknife-compiler/8.4.0/
butterknife-compiler-8.4.0.jar 
  /prebuilts/sdk/27/
android.jar 
  /prebuilts/sdk/26/
android.jar 
  /libcore/benchmarks/src/benchmarks/regression/
R.java 2393 public static final int tint = 0; field in class:R
    [all...]
  /prebuilts/sdk/21/
android.jar 

Completed in 2013 milliseconds

1 2 3