Samsung said its "solid performance" would continue in Q2, striking a more optimistic tone about prospects for handsets and chips.