O'Reilly logo

The Android™ Tablet Developer’s Cookbook by B.M. Harwani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9. Hardware-Accelerated 2D

Graphics, drawings, and animations play an important role in making an application attractive, dynamic, and interesting. But using more graphics and drawings means consuming a lot of resources, which may drastically slow down an application. You can use hardware acceleration to improve the performance of a graphics-based application. In this chapter, you will learn to enable hardware acceleration in applications. You will also learn to apply hardware acceleration to specific views during their animation. That is, you will discover how to apply hardware and software layers to the individual views. In animations and other resource-consuming applications, the graphical user interface (GUI) thread is usually overburdened ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required