Tagged articles
11 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 11, 2024 · Mobile Development

Understanding Android's Display System: Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync and Multi‑Buffer Mechanisms

This article provides a comprehensive overview of Android's display system, detailing the roles and interactions of Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync, and various buffering strategies to explain how smooth, tear‑free rendering is achieved.

AndroidBufferQueueDisplay System
0 likes · 18 min read
Understanding Android's Display System: Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync and Multi‑Buffer Mechanisms
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 4, 2023 · Mobile Development

Understanding VSync and Its Implementation in Android

The article explains VSync’s origin, how it prevents screen tearing by synchronizing frame rendering with display refresh, and details Android’s implementation—including hardware and virtual VSync, Choreographer, Triple Buffer, key classes like VsyncTracker and VSyncDispatcher, and the offset/duration concepts introduced in Android S.

AndroidDisplayGraphics
0 likes · 14 min read
Understanding VSync and Its Implementation in Android
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 1, 2022 · Mobile Development

Android Black Screen/Freeze Issue Analysis: System Mechanisms and Debugging Techniques

The article dissects Android black-screen and freeze problems by explaining the VSync/Choreographer rendering pipeline, ANR timeout rules, System Server Watchdog monitoring, Handler‑Looper messaging, input event flow, and Window Management Service focus handling, offering developers systematic debugging techniques for these UI stalls.

ANRAndroidBlack Screen
0 likes · 13 min read
Android Black Screen/Freeze Issue Analysis: System Mechanisms and Debugging Techniques
Baidu App Technology
Baidu App Technology
Dec 31, 2019 · Mobile Development

Smoothness Monitoring Practices in Baidu App: Concepts, Industry Solutions, and Implementation

To ensure user delight beyond basic stability, Baidu App adopts end‑to‑end smoothness monitoring that measures frame‑rate, frame length, and dropped frames using VSync‑based Choreographer callbacks, Looper timestamps, and selective stack sampling, while balancing visual richness on diverse devices and interpreting metrics across varied usage scenarios.

AndroidFrame RateSmoothness
0 likes · 6 min read
Smoothness Monitoring Practices in Baidu App: Concepts, Industry Solutions, and Implementation
360 Quality & Efficiency
360 Quality & Efficiency
Nov 12, 2018 · Mobile Development

Understanding VSync and Measuring Smoothness on Android

This article explains Android's VSync mechanism, defines smoothness metrics such as FPS, skipped frames and smoothness, describes how VSync timing affects rendering, and provides practical testing commands like `adb shell dumpsys gfxinfo` and `adb shell dumpsys SurfaceFlinger` for measuring frame performance.

AndroidMobile DevelopmentPerformance Testing
0 likes · 8 min read
Understanding VSync and Measuring Smoothness on Android