/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawableWrapper.java | 26 import android.support.v4.graphics.drawable.DrawableCompat; 101 DrawableCompat.jumpToCurrentState(mDrawable); 177 DrawableCompat.setAutoMirrored(mDrawable, mirrored); 182 return DrawableCompat.isAutoMirrored(mDrawable); 187 DrawableCompat.setTint(mDrawable, tint); 192 DrawableCompat.setTintList(mDrawable, tint); 197 DrawableCompat.setTintMode(mDrawable, tintMode); 202 DrawableCompat.setHotspot(mDrawable, x, y); 207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/ |
DrawableCompatActivity.java | 26 import android.support.v4.graphics.drawable.DrawableCompat; 31 * Demonstrates use of a {@link DrawableCompat}'s ability to become circular. 48 mDrawable = DrawableCompat.wrap(d.mutate()); 72 DrawableCompat.setTintList(mDrawable, null); 76 DrawableCompat.setTint(mDrawable, Color.MAGENTA); 80 DrawableCompat.setTintList(mDrawable,
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
VectorDrawableCommon.java | 27 import android.support.v4.graphics.drawable.DrawableCompat; 64 return DrawableCompat.getColorFilter(mDelegateDrawable); 90 DrawableCompat.setHotspot(mDelegateDrawable, x, y); 98 DrawableCompat.setHotspotBounds(mDelegateDrawable, left, top, right, bottom); 114 DrawableCompat.jumpToCurrentState(mDelegateDrawable); 123 DrawableCompat.setAutoMirrored(mDelegateDrawable, mirrored); 133 DrawableCompat.isAutoMirrored(mDelegateDrawable); 142 DrawableCompat.applyTheme(mDelegateDrawable, t); 150 DrawableCompat.getLayoutDirection(mDelegateDrawable);
|
VectorDrawableCompat.java | 18 import android.support.v4.graphics.drawable.DrawableCompat; 223 return DrawableCompat.getAlpha(mDelegateDrawable); 271 DrawableCompat.setTint(mDelegateDrawable, tint); 281 DrawableCompat.setTintList(mDelegateDrawable, tint); 296 DrawableCompat.setTintMode(mDelegateDrawable, tintMode); 364 DrawableCompat.canApplyTheme(mDelegateDrawable); 467 DrawableCompat.inflate(mDelegateDrawable, res, parser, attrs, theme); 736 VectorDrawableCompat drawableCompat = new VectorDrawableCompat(); 737 drawableCompat.mDelegateDrawable = (VectorDrawable) mDelegateState.newDrawable(); 738 return drawableCompat; [all...] |
/frameworks/support/compat/tests/java/android/support/v4/graphics/ |
DrawableCompatTest.java | 27 import android.support.v4.graphics.drawable.DrawableCompat; 41 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 53 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 54 assertSame(original, DrawableCompat.unwrap(wrappedDrawable)); 63 final Drawable wrapper = DrawableCompat.wrap(drawable); 79 final Drawable wrapper = DrawableCompat.wrap(drawable); 87 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable()); 88 assertSame(wrappedDrawable, DrawableCompat.wrap(wrappedDrawable)); 99 final Drawable wrapper = DrawableCompat.wrap(drawable); 109 final Drawable wrapper = DrawableCompat.wrap(drawable) [all...] |
/frameworks/support/design/lollipop/android/support/design/widget/ |
FloatingActionButtonLollipop.java | 32 import android.support.v4.graphics.drawable.DrawableCompat; 51 mShapeDrawable = DrawableCompat.wrap(createShapeDrawable()); 52 DrawableCompat.setTintList(mShapeDrawable, backgroundTint); 54 DrawableCompat.setTintMode(mShapeDrawable, backgroundTintMode);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatCompoundButtonHelper.java | 25 import android.support.v4.graphics.drawable.DrawableCompat; 117 buttonDrawable = DrawableCompat.wrap(buttonDrawable); 120 DrawableCompat.setTintList(buttonDrawable, mButtonTintList); 123 DrawableCompat.setTintMode(buttonDrawable, mButtonTintMode);
|
AppCompatSeekBarHelper.java | 24 import android.support.v4.graphics.drawable.DrawableCompat; 84 DrawableCompat.setLayoutDirection(tickMark, ViewCompat.getLayoutDirection(mView)); 125 mTickMark = DrawableCompat.wrap(mTickMark.mutate()); 128 DrawableCompat.setTintList(mTickMark, mTickMarkTintList); 132 DrawableCompat.setTintMode(mTickMark, mTickMarkTintMode);
|
AppCompatDrawableManager.java | 42 import android.support.v4.graphics.drawable.DrawableCompat; 114 * {@link DrawableCompat}'s tinting functionality. 262 drawable = DrawableCompat.wrap(drawable); 263 DrawableCompat.setTintList(drawable, tintList); 268 DrawableCompat.setTintMode(drawable, tintMode);
|
SwitchCompat.java | 32 import android.support.v4.graphics.drawable.DrawableCompat; 501 * mode using {@link DrawableCompat#setTintList(Drawable, ColorStateList)}. 558 DrawableCompat.setTintList(mTrackDrawable, mTrackTintList); 562 DrawableCompat.setTintMode(mTrackDrawable, mTrackTintMode); 622 * mode using {@link DrawableCompat#setTintList(Drawable, ColorStateList)}. 681 DrawableCompat.setTintList(mThumbDrawable, mThumbTintList); 685 DrawableCompat.setTintMode(mThumbDrawable, mThumbTintMode); [all...] |
ListViewCompat.java | 23 import android.support.v4.graphics.drawable.DrawableCompat; 193 DrawableCompat.setHotspot(selector, x, y); 213 DrawableCompat.setHotspot(selector, x, y);
|
ActionMenuPresenter.java | 27 import android.support.v4.graphics.drawable.DrawableCompat; 717 DrawableCompat.setHotspotBounds(bg, centerX - halfEdge, centerY - halfEdge,
|
/frameworks/support/design/gingerbread/android/support/design/widget/ |
FloatingActionButtonGingerbread.java | 30 import android.support.v4.graphics.drawable.DrawableCompat; 64 mShapeDrawable = DrawableCompat.wrap(createShapeDrawable()); 65 DrawableCompat.setTintList(mShapeDrawable, backgroundTint); 67 DrawableCompat.setTintMode(mShapeDrawable, backgroundTintMode); 75 mRippleDrawable = DrawableCompat.wrap(touchFeedbackShape); 76 DrawableCompat.setTintList(mRippleDrawable, createColorStateList(rippleColor)); 102 DrawableCompat.setTintList(mShapeDrawable, tint); 112 DrawableCompat.setTintMode(mShapeDrawable, tintMode); 119 DrawableCompat.setTintList(mRippleDrawable, createColorStateList(rippleColor));
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
AnimatedVectorDrawableCompat.java | 40 import android.support.v4.graphics.drawable.DrawableCompat; 230 return DrawableCompat.getAlpha(mDelegateDrawable); 256 DrawableCompat.setTint(mDelegateDrawable, tint); 266 DrawableCompat.setTintList(mDelegateDrawable, tint); 276 DrawableCompat.setTintMode(mDelegateDrawable, tintMode); 340 DrawableCompat.inflate(mDelegateDrawable, res, parser, attrs, theme); 406 DrawableCompat.applyTheme(mDelegateDrawable, t); 416 return DrawableCompat.canApplyTheme(mDelegateDrawable); 436 AnimatedVectorDrawableCompat drawableCompat = 438 drawableCompat.mDelegateDrawable = mDelegateState.newDrawable() [all...] |
/frameworks/support/compat/java/android/support/v4/graphics/drawable/ |
DrawableCompat.java | 38 public final class DrawableCompat { 478 * Drawable bg = DrawableCompat.wrap(view.getBackground()); 483 * DrawableCompat.setTint(bg, ...); 546 private DrawableCompat() {}
|
/frameworks/support/design/src/android/support/design/internal/ |
BottomNavigationItemView.java | 27 import android.support.v4.graphics.drawable.DrawableCompat; 165 icon = DrawableCompat.wrap(state == null ? icon : state.newDrawable()).mutate(); 166 DrawableCompat.setTintList(icon, mIconTint);
|
NavigationMenuItemView.java | 27 import android.support.v4.graphics.drawable.DrawableCompat; 208 icon = DrawableCompat.wrap(state == null ? icon : state.newDrawable()).mutate(); 209 DrawableCompat.setTintList(icon, mIconTintList);
|
/frameworks/support/design/src/android/support/design/widget/ |
TextInputLayout.java | 40 import android.support.v4.graphics.drawable.DrawableCompat; 819 DrawableCompat.clearColorFilter(editTextBackground); [all...] |
CollapsingToolbarLayout.java | 36 import android.support.v4.graphics.drawable.DrawableCompat; 704 DrawableCompat.setLayoutDirection(mStatusBarScrim, [all...] |
CoordinatorLayout.java | 43 import android.support.v4.graphics.drawable.DrawableCompat; 267 DrawableCompat.setLayoutDirection(mStatusBarBackground, [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListItemView.java | 34 import android.support.v4.graphics.drawable.DrawableCompat; [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
DrawerLayout.java | 38 import android.support.v4.graphics.drawable.DrawableCompat; [all...] |
/prebuilts/maven_repo/android/com/android/support/support-v4/18.0.0/ |
support-v4-18.0.0.jar | |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |