public Rect getPasterRect(UserSticker userSticker, WeekViewParams weekViewParams) { return weekViewParams.getWeekViewRect( userSticker.getWeekIndexX(), userSticker.getTimeSlotY(), userSticker.getWeekIndexX() + userSticker.sticker.width, userSticker.getTimeSlotY() + userSticker.sticker.height); }
public Rect getCourseRect(CourseBlock courseBlock, WeekViewParams weekViewParams) { return weekViewParams.getWeekViewRect( courseBlock.getWeekIndex(), courseBlock.start_slot - 1, courseBlock.getWeekIndex() + 1, courseBlock.end_slot); }
public Rect getShadowRect( Point point, int width_number, int height_number, WeekViewParams weekViewParams) { return weekViewParams.getWeekViewRect( point.x, point.y, point.x + width_number, point.y + height_number); }
public Rect getPasterRect(Point point, WeekViewParams weekViewParams) { return weekViewParams.getWeekViewRect(point.x, point.y, point.x + 1, point.y + 1); }