calculate the current offset based on the displayed notifications . concode_field_sep int expireTime concode_elem_sep int activityTime concode_elem_sep Component parent concode_elem_sep int displayTime concode_elem_sep LinkedList<Notification> queue concode_elem_sep int MINUTE concode_elem_sep int HORIZONTAL_MARGIN concode_elem_sep int maxItems concode_elem_sep NotificationListener listener concode_elem_sep int screen concode_elem_sep Map<Notification,T> notificationData concode_elem_sep int maxQueueSize concode_elem_sep int horizontalMoveDirection concode_elem_sep int SECOND concode_elem_sep LinkedList<Notification> displayed concode_elem_sep NotificationActionListener<T> actionListener concode_elem_sep int shortMaxDisplayTime concode_elem_sep int VERTICAL_MARGIN concode_elem_sep int position concode_elem_sep int verticalMoveDirection concode_elem_sep int maxDisplayTime concode_elem_sep HideMethod hideMethod concode_field_sep Point calculateLocation concode_elem_sep void setShortMaxDisplayTime concode_elem_sep void showMessage concode_elem_sep void showMessage concode_elem_sep void setDisplayTime concode_elem_sep void setMaxQueueSize concode_elem_sep void setHideMethod concode_elem_sep void notificationRemoved concode_elem_sep void setExpireTime concode_elem_sep void showNotification concode_elem_sep void main concode_elem_sep void setMaxDisplayTime concode_elem_sep boolean isClear concode_elem_sep void clearAll concode_elem_sep void setPosition concode_elem_sep void setActivityTime concode_elem_sep GraphicsConfiguration getGraphicsConfig concode_elem_sep Rectangle getSafeBounds concode_elem_sep void setMaxDisplayItems concode_elem_sep void setNotificationActionListener concode_elem_sep void checkQueueSize concode_elem_sep void setScreen concode_elem_sep void updateVariables
int function ( ) { int loc0 = VERTICAL_MARGIN ; for ( Notification loc1 : displayed ) { loc0 += loc1 . getHeight ( ) + VERTICAL_MARGIN ; } return loc0 ; }