Lines Matching refs:icon
126 public boolean set(StatusBarIcon icon) {
127 final boolean iconEquals = mIcon != null && equalIcons(mIcon.icon, icon.icon);
129 && mIcon.iconLevel == icon.iconLevel;
131 && mIcon.visible == icon.visible;
133 && mIcon.number == icon.number;
134 mIcon = icon.clone();
135 setContentDescription(icon.contentDescription);
140 setImageLevel(icon.iconLevel);
144 if (icon.number > 0 && getContext().getResources().getBoolean(
158 setVisibility(icon.visible && !mBlocked ? VISIBLE : GONE);
173 Log.w(TAG, "No icon for slot " + mSlot);
183 private Drawable getIcon(StatusBarIcon icon) {
184 return getIcon(getContext(), icon);
188 * Returns the right icon to use for this item
194 public static Drawable getIcon(Context context, StatusBarIcon icon) {
195 int userId = icon.user.getIdentifier();
199 return icon.icon.loadDrawableAsUser(context, userId);
242 Log.d("View", debugIndent(depth) + "icon=" + mIcon);
288 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon