/packages/apps/Settings/src/com/android/settings/drawable/ |
D | DrawableWrapper.java | 35 private final Drawable mDrawable; field in DrawableWrapper 38 mDrawable = Preconditions.checkNotNull(drawable); in DrawableWrapper() 39 mDrawable.setCallback(this); in DrawableWrapper() 44 mDrawable.draw(canvas); in draw() 50 mDrawable.setBounds(left, top, right, bottom); in setBounds() 55 mDrawable.setChangingConfigurations(configs); in setChangingConfigurations() 60 return mDrawable.getChangingConfigurations(); in getChangingConfigurations() 65 mDrawable.setDither(dither); in setDither() 70 mDrawable.setFilterBitmap(filter); in setFilterBitmap() 75 mDrawable.setAlpha(alpha); in setAlpha() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
D | TargetDrawable.java | 45 private Drawable mDrawable; field in TargetDrawable 70 mDrawable = drawable != null ? drawable.mutate() : null; in setDrawable() 78 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null; in TargetDrawable() 84 if (mDrawable instanceof StateListDrawable) { in setState() 85 StateListDrawable d = (StateListDrawable) mDrawable; in setState() 96 if (mDrawable instanceof StateListDrawable) { in isActive() 97 StateListDrawable d = (StateListDrawable) mDrawable; in isActive() 115 return mDrawable != null && mEnabled; in isEnabled() 124 if (mDrawable instanceof StateListDrawable) { in resizeDrawables() 125 StateListDrawable d = (StateListDrawable) mDrawable; in resizeDrawables() [all …]
|
D | PointCloud.java | 34 private Drawable mDrawable; field in PointCloud 125 mDrawable = drawable; in PointCloud() 126 if (mDrawable != null) { in PointCloud() 218 if (mDrawable != null) { in draw() 220 final float cx = mDrawable.getIntrinsicWidth() * 0.5f; in draw() 221 final float cy = mDrawable.getIntrinsicHeight() * 0.5f; in draw() 225 mDrawable.setAlpha(alpha); in draw() 226 mDrawable.draw(canvas); in draw()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | TargetDrawable.java | 45 private Drawable mDrawable; field in TargetDrawable 70 mDrawable = drawable != null ? drawable.mutate() : null; in setDrawable() 78 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null; in TargetDrawable() 84 if (mDrawable instanceof StateListDrawable) { in setState() 85 StateListDrawable d = (StateListDrawable) mDrawable; in setState() 96 if (mDrawable instanceof StateListDrawable) { in isActive() 97 StateListDrawable d = (StateListDrawable) mDrawable; in isActive() 115 return mDrawable != null && mEnabled; in isEnabled() 124 if (mDrawable instanceof StateListDrawable) { in resizeDrawables() 125 StateListDrawable d = (StateListDrawable) mDrawable; in resizeDrawables() [all …]
|
D | PointCloud.java | 34 private Drawable mDrawable; field in PointCloud 125 mDrawable = drawable; in PointCloud() 126 if (mDrawable != null) { in PointCloud() 218 if (mDrawable != null) { in draw() 220 final float cx = mDrawable.getIntrinsicWidth() * 0.5f; in draw() 221 final float cy = mDrawable.getIntrinsicHeight() * 0.5f; in draw() 225 mDrawable.setAlpha(alpha); in draw() 226 mDrawable.draw(canvas); in draw()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | AnimatedImageView.java | 27 private AnimatedRotateDrawable mDrawable; field in AnimatedImageView 39 if (isShown() && mDrawable != null) { in updateDrawable() 40 mDrawable.stop(); in updateDrawable() 44 mDrawable = (AnimatedRotateDrawable) drawable; in updateDrawable() 46 mDrawable.setFramesCount(56); in updateDrawable() 47 mDrawable.setFramesDuration(32); in updateDrawable() 49 mDrawable.start(); in updateDrawable() 52 mDrawable = null; in updateDrawable() 57 if (mDrawable != null) { in updateAnimating() 59 mDrawable.start(); in updateAnimating() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PieItem.java | 36 private Drawable mDrawable; field in PieItem 53 mDrawable = drawable; in PieItem() 106 mDrawable.setAlpha((int) (255 * alpha)); in setAlpha() 148 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth() 152 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight() 156 mDrawable.setBounds(left, top, right, bottom); in setBounds() 160 mDrawable.draw(canvas); in draw() 165 d.setBounds(mDrawable.getBounds()); in setImageResource() 166 mDrawable = d; in setImageResource()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | QuickContactDivot.java | 30 private Drawable mDrawable; field in QuickContactDivot 71 mDrawable = r.getDrawable(R.drawable.msg_bubble_right); in setDrawable() 77 mDrawable = r.getDrawable(R.drawable.msg_bubble_left); in setDrawable() 92 mDrawableIntrinsicWidth = mDrawable.getIntrinsicWidth(); in setDrawable() 93 mDrawableIntrinsicHeight = mDrawable.getIntrinsicHeight(); in setDrawable() 101 mDrawable.draw(c); in onDraw() 142 mDrawable.setBounds( in computeBounds() 150 mDrawable.setBounds( in computeBounds() 159 mDrawable.setBounds( in computeBounds()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieItem.java | 37 private Drawable mDrawable; field in PieItem 58 mDrawable = drawable; in PieItem() 96 mDrawable.setAlpha((int) (255 * alpha)); in setAlpha() 181 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth() 185 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight() 189 mDrawable.setBounds(left, top, right, bottom); in setBounds() 193 mDrawable.draw(canvas); in draw() 198 d.setBounds(mDrawable.getBounds()); in setImageResource() 199 mDrawable = d; in setImageResource()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | DrawableTileSource.java | 37 private Drawable mDrawable; field in DrawableTileSource 42 mDrawable = d; in DrawableTileSource() 53 return mDrawable.getIntrinsicWidth(); in getImageWidth() 58 return mDrawable.getIntrinsicHeight(); in getImageHeight() 80 mDrawable.setBounds(new Rect(0, 0, (int) width, (int) height)); in getPreview() 81 mDrawable.draw(c); in getPreview() 97 mDrawable.setBounds(bounds); in getTile() 98 mDrawable.draw(c); in getTile()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InfoDropTarget.java | 32 private TransitionDrawable mDrawable; field in InfoDropTarget 51 mDrawable = (TransitionDrawable) getCurrentDrawable(); in onFinishInflate() 52 if (null != mDrawable) { in onFinishInflate() 53 mDrawable.setCrossFadeEnabled(true); in onFinishInflate() 97 mDrawable.resetTransition(); in onDragStart() 111 mDrawable.startTransition(mTransitionDuration); in onDragEnter() 119 mDrawable.resetTransition(); in onDragExit()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InfoDropTarget.java | 34 private TransitionDrawable mDrawable; field in InfoDropTarget 53 mDrawable = (TransitionDrawable) getCurrentDrawable(); in onFinishInflate() 54 if (null != mDrawable) { in onFinishInflate() 55 mDrawable.setCrossFadeEnabled(true); in onFinishInflate() 103 mDrawable.resetTransition(); in onDragStart() 117 mDrawable.startTransition(mTransitionDuration); in onDragEnter() 125 mDrawable.resetTransition(); in onDragExit()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CachingIconLoader.java | 102 private NowOrLater<Drawable> mDrawable; 112 mDrawable = drawable; 129 NowOrLater<Drawable> drawable = mDrawable; 130 mDrawable = null;
|