Material design, Performance focus

Material design

Android 5.0 brings Material design to Android and gives you an expanded UI toolkit for integrating the new design patterns easily in your apps.

New 3D views let you set a z-level to raise elements off of the view hierarchy and cast realtime shadows, even as they move.

Built-in activity transitions take the user seamlessly from one state to another with beautiful, animated motion. The material theme adds transitions for your activities, including the ability to use shared visual elements across activities.

Ripple animations are available for buttons, checkboxes, and other touch controls in your app.

You can also define vector drawables in XML and animate them in a variety of ways. Vector drawables scale without losing definition, so they are perfect for single-color in-app icons.

A new system-managed processing thread calledRenderThread keeps animations smooth even when there are delays in the main UI thread.

Performance focus

Android 5.0 provides a faster, smoother and more powerful computing experience.

Android now runs exclusively on the new ART runtime, built from the ground up to support a mix of ahead-of-time (AOT), just-in-time (JIT), and interpreted code. It’s supported on ARM, x86, and MIPS architectures and is fully 64-bit compatible.

ART improves app performance and responsiveness. Efficient garbage collection reduces the number and duration of pauses for GC events, which fit comfortably within the v-sync window so your app doesn’t skip frames. ART also dynamically moves memory to optimize performance for foreground uses.

Android 5.0 introduces platform support for 64-bit architectures—used by the Nexus 9’s NVIDIA Tegra K1. Optimizations provide larger address space and improved performance for certain compute workloads. Apps written in the Java language run as 64-bit apps automatically—no modifications are needed. If your app uses native code, we’ve extended the NDK to support new ABIs for ARM v8, and x86-64, and MIPS-64.

Continuing the focus on smoother performance, Android 5.0 offers improved A/V sync. The audio and graphics pipelines have been instrumented for more accurate timestamps, enabling video apps and games to display smooth synchronized content.

About the author: phantomadmin