/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | BitmapDrawableDupe.java | 18 import android.graphics.drawable.BitmapDrawable; 31 R.drawable.bitmap_drawable01, 32 R.drawable.bitmap_drawable01, 33 R.drawable.bitmap_drawable01, 34 R.drawable.bitmap_drawable01, 35 R.drawable.bitmap_drawable01, 36 R.drawable.bitmap_drawable01, 37 R.drawable.bitmap_drawable01, 38 R.drawable.bitmap_drawable01, 39 R.drawable [all...] |
H A D | AnimatedVectorDrawableTest.java | 18 import android.graphics.drawable.Animatable2; 19 import android.graphics.drawable.AnimatedVectorDrawable; 20 import android.graphics.drawable.Drawable; 32 R.drawable.ic_rotate_2_portrait_v2_animation, 33 R.drawable.ic_signal_airplane_v2_animation, 34 R.drawable.ic_hourglass_animation, 35 R.drawable.animation_vector_linear_progress_bar, 36 R.drawable.animation_vector_drawable_grouping_1, 37 R.drawable.animation_vector_progress_bar, 38 R.drawable [all...] |
H A D | AnimatedVectorDrawableDupPerf.java | 18 import android.graphics.drawable.AnimatedVectorDrawable; 19 import android.graphics.drawable.VectorDrawable; 41 R.drawable.animation_vector_linear_progress_bar, 42 R.drawable.animation_vector_linear_progress_bar, 43 R.drawable.animation_vector_linear_progress_bar, 44 R.drawable.animation_vector_linear_progress_bar, 45 R.drawable.animation_vector_linear_progress_bar, 46 R.drawable.animation_vector_linear_progress_bar, 47 R.drawable.animation_vector_linear_progress_bar, 48 R.drawable [all...] |
H A D | AnimatedStateVectorDrawableTest.java | 18 import android.graphics.drawable.AnimatedVectorDrawable; 32 R.drawable.state_animation_vector_drawable01, 33 R.drawable.state_animation_vector_drawable01_false, 34 R.drawable.state_animation_vector_drawable02, 35 R.drawable.state_animation_vector_drawable02_false, 36 R.drawable.state_animation_vector_drawable03, 37 R.drawable.state_animation_vector_drawable03_false, 38 R.drawable.state_animation_drawable04, 39 R.drawable.state_animation_drawable04_false,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Animatable2.java | 17 package android.graphics.drawable; 51 * @param drawable The drawable started the animation. 53 public void onAnimationStart(Drawable drawable) {}; argument 57 * @param drawable The drawable finished the animation. 59 public void onAnimationEnd(Drawable drawable) {}; argument
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapper.java | 17 package android.support.v4.graphics.drawable; 21 import android.graphics.drawable.Drawable; 24 * Interface which allows a {@link android.graphics.drawable.Drawable} to receive tinting calls from 39 void setWrappedDrawable(Drawable drawable); argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
H A D | PhotoBitmapLoaderInterface.java | 5 import android.graphics.drawable.BitmapDrawable; 6 import android.graphics.drawable.Drawable; 18 public Drawable drawable; field in class:PhotoBitmapLoaderInterface.BitmapResult 23 * Returns a drawable to be used in the {@link com.android.ex.photo.views.PhotoView}. 24 * Should return null if the drawable is not ready to be shown (for instance, if 32 if (drawable != null) { 33 return drawable; 36 // Don't create a new drawable if there's no bitmap. PhotoViewFragment regards 37 // a null drawable as a signal to keep showing the loading stuff.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 20 import android.graphics.drawable.AnimationDrawable; 21 import android.graphics.drawable.Drawable; 33 // the same as the previous one. If this is a resid, we track that. If it's a drawable, we 34 // track the hashcode of the drawable. 46 Drawable drawable = getDrawable(); 50 if (drawable instanceof AnimationDrawable) { 51 mAnim = (AnimationDrawable) drawable; 61 public void setImageDrawable(Drawable drawable) { argument 62 if (drawable != null) { 63 if (mDrawableId == drawable [all...] |
H A D | NotificationGuts.java | 21 import android.graphics.drawable.Drawable; 45 private void draw(Canvas canvas, Drawable drawable) { argument 46 if (drawable != null) { 47 drawable.setBounds(0, mClipTopAmount, getWidth(), mActualHeight); 48 drawable.draw(canvas); 55 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestGalleryImages.java | 30 R.drawable.alphabet_a, 31 R.drawable.alphabet_b, 32 R.drawable.alphabet_c, 33 R.drawable.alphabet_d, 34 R.drawable.alphabet_e, 35 R.drawable.alphabet_f, 36 R.drawable.alphabet_g, 37 R.drawable.alphabet_h, 38 R.drawable.alphabet_i, 39 R.drawable [all...] |
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 38 android.R.drawable.stat_notify_call_mute, 39 android.R.drawable.stat_notify_chat, 40 android.R.drawable.stat_notify_error, 41 android.R.drawable.stat_notify_missed_call, 42 android.R.drawable.stat_notify_more, 43 android.R.drawable.stat_notify_sdcard, 44 android.R.drawable.stat_notify_sdcard_prepare, 45 android.R.drawable.stat_notify_sdcard_usb, 46 android.R.drawable.stat_notify_sync, 47 android.R.drawable [all...] |
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
H A D | InputMethodSettingsInterface.java | 19 import android.graphics.drawable.Drawable; 60 * @param drawable The drawable of an optional icon for the preference. 62 public void setSubtypeEnablerIcon(Drawable drawable); argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatRatingBar.java | 23 import android.graphics.drawable.AnimationDrawable; 24 import android.graphics.drawable.BitmapDrawable; 25 import android.graphics.drawable.ClipDrawable; 26 import android.graphics.drawable.Drawable; 27 import android.graphics.drawable.LayerDrawable; 28 import android.graphics.drawable.ShapeDrawable; 29 import android.graphics.drawable.shapes.RoundRectShape; 30 import android.graphics.drawable.shapes.Shape; 31 import android.support.v4.graphics.drawable.DrawableWrapper; 70 Drawable drawable 88 tileify(Drawable drawable, boolean clip) argument 135 tileifyIndeterminate(Drawable drawable) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FixedSizeImageView.java | 20 import android.graphics.drawable.BitmapDrawable; 21 import android.graphics.drawable.Drawable; 65 public void setImageDrawable(Drawable drawable) { argument 66 boolean isNullBitmapDrawable = (drawable instanceof BitmapDrawable) && 67 (((BitmapDrawable) drawable).getBitmap() == null); 68 if (drawable == null || isNullBitmapDrawable) { 72 super.setImageDrawable(drawable);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DrawableUtils.java | 20 import android.graphics.drawable.Drawable; 22 import android.support.v4.graphics.drawable.DrawableCompat; 55 public static Rect getOpticalBounds(Drawable drawable) { argument 59 // the wrapped drawable. 60 drawable = DrawableCompat.unwrap(drawable); 62 final Method getOpticalInsetsMethod = drawable.getClass() 64 final Object insets = getOpticalInsetsMethod.invoke(drawable); 67 // If the drawable has some optical insets, let's copy them into a Rect
|
H A D | TintManager.java | 24 import android.graphics.drawable.Drawable; 25 import android.graphics.drawable.LayerDrawable; 29 import android.support.v4.graphics.drawable.DrawableCompat; 62 R.drawable.abc_textfield_search_default_mtrl_alpha, 63 R.drawable.abc_textfield_default_mtrl_alpha, 64 R.drawable.abc_ab_share_pack_mtrl_alpha 72 R.drawable.abc_ic_ab_back_mtrl_am_alpha, 73 R.drawable.abc_ic_go_search_api_mtrl_alpha, 74 R.drawable.abc_ic_search_api_mtrl_alpha, 75 R.drawable [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 22 import android.graphics.drawable.Drawable; 44 icon = R.drawable.ic_doc_apk; 48 icon = R.drawable.ic_doc_audio; 53 icon = R.drawable.ic_doc_certificate; 66 icon = R.drawable.ic_doc_codes; 97 icon = R.drawable.ic_doc_compressed; 118 icon = R.drawable.ic_doc_contact; 123 icon = R.drawable.ic_doc_event; 128 icon = R.drawable.ic_doc_font; 135 icon = R.drawable [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | DrawableLruCache.java | 19 import android.graphics.drawable.Drawable;
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowViewDelegate.java | 19 import android.graphics.drawable.Drawable;
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperLollipop.java | 17 package android.support.v4.graphics.drawable; 22 import android.graphics.drawable.Drawable; 26 DrawableWrapperLollipop(Drawable drawable) { argument 27 super(drawable);
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
H A D | R$drawable.class | ... android.layoutlib.test.myapplication.R$drawable extends java.lang.Object {
public static final int ... |
/frameworks/support/v4/jellybean-mr1/android/support/v4/graphics/drawable/ |
H A D | DrawableCompatJellybeanMr1.java | 17 package android.support.v4.graphics.drawable; 19 import android.graphics.drawable.Drawable; 28 * Implementation of drawable compatibility that can call Jellybean MR1 APIs. 40 public static void setLayoutDirection(Drawable drawable, int layoutDirection) { argument 54 sSetLayoutDirectionMethod.invoke(drawable, layoutDirection); 62 public static int getLayoutDirection(Drawable drawable) { argument 75 return (int) sGetLayoutDirectionMethod.invoke(drawable);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 25 import android.graphics.drawable.BitmapDrawable; 26 import android.graphics.drawable.Drawable; 125 * Convert a drawable to a bitmap, scaled to fit within maxWidth and maxHeight. 127 public static Bitmap buildScaledBitmap(Drawable drawable, int maxWidth, argument 129 if (drawable == null) { 132 int originalWidth = drawable.getIntrinsicWidth(); 133 int originalHeight = drawable.getIntrinsicHeight(); 136 (drawable instanceof BitmapDrawable)) { 137 return ((BitmapDrawable) drawable).getBitmap(); 154 drawable [all...] |
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawableFactory.java | 17 package android.support.v4.graphics.drawable; 63 * Returns a new drawable by creating it from a bitmap, setting initial target density based on 74 * Returns a new drawable, creating it by opening a given file path and decoding the bitmap. 78 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath)); 79 if (drawable.getBitmap() == null) { 82 return drawable; 87 * Returns a new drawable, creating it by decoding a bitmap from the given input stream. 91 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeStream(is)); 92 if (drawable.getBitmap() == null) { 95 return drawable; [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 23 import android.graphics.drawable.BitmapDrawable; 24 import android.graphics.drawable.Drawable; 130 Drawable drawable = null; 133 drawable = mDrawable; 140 drawable = new BitmapDrawable(mContext.getResources(), bitmap); 141 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), 142 drawable.getIntrinsicHeight()); 149 drawable = mContext.getDrawable(mResourceId); 150 drawable [all...] |