Home
last modified time | relevance | path

Searched refs:mIconDrawable (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DModeTransitionView.java72 private Drawable mIconDrawable; field in ModeTransitionView
134 if (mIconDrawable != null) { in updateShade()
136 mIconDrawable.setAlpha(ALPHA_FULLY_TRANSPARENT); in updateShade()
140 mIconDrawable.setAlpha(alpha); in updateShade()
190 mIconDrawable.draw(canvas); in onDraw()
200 mIconDrawable.setBounds(mIconRect); in onLayout()
249 mIconDrawable.setAlpha((Integer) iconAlphaAnimator.getAnimatedValue()); in startPeepHoleAnimation()
253 mIconDrawable.setBounds(mPeepHoleCenterX - size / 2, in startPeepHoleAnimation()
275 mIconDrawable.setAlpha(ALPHA_FULLY_OPAQUE); in startPeepHoleAnimation()
276 mIconDrawable.setBounds(mIconRect); in startPeepHoleAnimation()
[all …]
DModeIconView.java43 private Drawable mIconDrawable = null; field in ModeIconView
63 mIconDrawable = drawable; in setIconDrawable()
66 if (mIconDrawable != null) { in setIconDrawable()
67 mIconDrawable.setBounds(mIconBackgroundSize / 2 - mIconDrawableSize / 2, in setIconDrawable()
79 if (mIconDrawable != null) { in draw()
80 mIconDrawable.draw(canvas); in draw()
88 return mIconDrawable.getConstantState().newDrawable(); in getIconDrawableClone()
DTouchCircleDrawable.java57 private Drawable mIconDrawable; field in TouchCircleDrawable
138 if (mIconDrawable != null) { in draw()
139 mIconDrawable.draw(canvas); in draw()
170 mIconDrawable = d; in setIconDrawable()
177 mIconDrawable.setBounds( in updateIconBounds()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationInfo.java54 private Drawable mIconDrawable; field in NotificationInfo
75 mIconDrawable = icon == null ? null : icon.loadDrawable(context); in NotificationInfo()
80 mIconDrawable = icon.loadDrawable(context); in NotificationInfo()
83 if (mIconDrawable == null) { in NotificationInfo()
84 mIconDrawable = new BitmapDrawable(context.getResources(), LauncherAppState in NotificationInfo()
117 return mIconDrawable; in getIconForBackground()
120 Drawable icon = mIconDrawable.mutate(); in getIconForBackground()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DTaskItemView.java45 private final TaskLayerDrawable mIconDrawable; field in TaskItemView
76 mIconDrawable = new TaskLayerDrawable(context); in TaskItemView()
89 mIconView.setImageDrawable(mIconDrawable); in onFinishInflate()
99 mIconDrawable.resetDrawable(); in resetToEmptyUi()
124 mIconDrawable.setCurrentDrawable(getSafeIcon(icon)); in setIcon()
159 mIconDrawable.startNewTransition(getSafeIcon(endIcon)); in startContentAnimation()
168 mIconDrawable.setTransitionProgress(progress); in setContentTransitionProgress()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCard.java71 private final Drawable mIconDrawable; field in ContextualCard
146 return mIconDrawable; in getIconDrawable()
191 mIconDrawable = builder.mIconDrawable; in ContextualCard()
237 mIconDrawable = null; in ContextualCard()
238 mBuilder.setIconDrawable(mIconDrawable); in ContextualCard()
292 private Drawable mIconDrawable; field in ContextualCard.Builder
380 mIconDrawable = iconDrawable; in setIconDrawable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCard.java71 private final Drawable mIconDrawable; field in ContextualCard
145 return mIconDrawable; in getIconDrawable()
186 mIconDrawable = builder.mIconDrawable; in ContextualCard()
231 mIconDrawable = null; in ContextualCard()
232 mBuilder.setIconDrawable(mIconDrawable); in ContextualCard()
284 private Drawable mIconDrawable; field in ContextualCard.Builder
371 mIconDrawable = iconDrawable; in setIconDrawable()
/packages/apps/TV/common/src/com/android/tv/common/customization/
DCustomAction.java29 private final Drawable mIconDrawable; field in CustomAction
35 mIconDrawable = iconDrawable; in CustomAction()
61 return mIconDrawable; in getIconDrawable()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrHistoryCardPresenter.java27 private final Drawable mIconDrawable; field in DvrHistoryCardPresenter
32 mIconDrawable = mContext.getDrawable(R.drawable.dvr_full_schedule); in DvrHistoryCardPresenter()
46 cardView.setImage(mIconDrawable); in onBindDvrItemViewHolder()
DFullSchedulesCardPresenter.java32 private final Drawable mIconDrawable; field in FullSchedulesCardPresenter
37 mIconDrawable = mContext.getDrawable(R.drawable.dvr_full_schedule); in FullSchedulesCardPresenter()
51 cardView.setImage(mIconDrawable); in onBindDvrItemViewHolder()