Searched refs:constantState (Results 1 – 5 of 5) sorted by relevance
68 protected ThemedIconDrawable(ThemedConstantState constantState) { in ThemedIconDrawable() argument69 super(constantState.mBitmap, constantState.colorFg, constantState.mIsDisabled); in ThemedIconDrawable()70 bitmapInfo = constantState.bitmapInfo; in ThemedIconDrawable()71 colorBg = constantState.colorBg; in ThemedIconDrawable()72 colorFg = constantState.colorFg; in ThemedIconDrawable()
84 this.icon.constantState == other.icon.constantState && in equals()
202 Drawable.ConstantState constantState = task.icon.getConstantState(); in applyIcon() local203 if (constantState == null) { in applyIcon()211 constantState.newDrawable(getResources(), getContext().getTheme())); in applyIcon()
71 whenever(icon1.constantState).thenReturn(null) in compareAppItems_notEqual_differentIcons()73 whenever(icon2.constantState).thenReturn(mock<Drawable.ConstantState>()) in compareAppItems_notEqual_differentIcons()
404 private LayerDrawable newDrawableFromConstantState(Drawable.ConstantState constantState) { in newDrawableFromConstantState() argument405 return (LayerDrawable) constantState.newDrawable(getContext().getResources()); in newDrawableFromConstantState()