Net Income per Share - Schedule of Calculation of Basic and Diluted Net Income (Loss) per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2016
Jan. 25, 2015
Jan. 31, 2016
Jan. 25, 2015
Numerator:        
Net income $ 12,084 $ 1,679 $ 22,121 $ 4,560
Numerator for diluted net income per share $ 12,084 $ 1,679 $ 22,121 $ 4,560
Denominator:        
Denominator for basic net income per share - weighted average shares 107,180 103,563 106,367 100,475
Effect of dilutive securities:        
Stock options and restricted stock units 948 2,427 2,121 3,350
Dilutive potential common shares 948 2,427 2,121 3,350
Denominator for diluted net income per share 108,128 105,990 108,488 103,825
Net income per share:        
Basic (in dollars per share) $ 0.11 $ 0.02 $ 0.21 $ 0.05
Diluted (in dollars per share) $ 0.11 $ 0.02 $ 0.20 $ 0.04