Despite the slump, Apple and Samsung have both seen their market share go up.