Apple is fighting patent lawsuits around the globe against rivals including HTC Corp. and Samsung as it competes for dominance of the smartphone and tablet computer markets. The firms have accused each other of copying designs and technology in mobile devices. Together, Samsung and Apple make more than half of the smartphones sold worldwide, according to IDC, a Framingham, Massachusetts-based market researcher.