public class NotificationIconAreaController extends Object
Modifier and Type | Field and Description |
---|---|
protected View |
mNotificationIconArea |
Constructor and Description |
---|
NotificationIconAreaController(Context context,
PhoneStatusBar phoneStatusBar) |
Modifier and Type | Method and Description |
---|---|
protected int |
getHeight() |
View |
getNotificationInnerAreaView()
Returns the view that represents the notification area.
|
protected View |
inflateIconArea(LayoutInflater inflater) |
protected void |
initializeNotificationAreaViews(Context context)
Initializes the views that will represent the notification area.
|
void |
onDensityOrFontScaleChanged(Context context) |
void |
setIconTint(int iconTint)
Sets the color that should be used to tint any icons in the notification area.
|
void |
setTintArea(Rect tintArea)
|
protected boolean |
shouldShowNotification(com.android.systemui.statusbar.NotificationData.Entry entry,
com.android.systemui.statusbar.NotificationData notificationData) |
void |
updateNotificationIcons(com.android.systemui.statusbar.NotificationData notificationData)
Updates the notifications with the given list of notifications to display.
|
protected View mNotificationIconArea
public NotificationIconAreaController(Context context, PhoneStatusBar phoneStatusBar)
protected View inflateIconArea(LayoutInflater inflater)
protected void initializeNotificationAreaViews(Context context)
public void onDensityOrFontScaleChanged(Context context)
public View getNotificationInnerAreaView()
public void setTintArea(Rect tintArea)
tintArea
- the area in which to tint the icons, specified in screen coordinatespublic void setIconTint(int iconTint)
Color.WHITE
.protected int getHeight()
protected boolean shouldShowNotification(com.android.systemui.statusbar.NotificationData.Entry entry, com.android.systemui.statusbar.NotificationData notificationData)
public void updateNotificationIcons(com.android.systemui.statusbar.NotificationData notificationData)