From e2d7f182ff2db26723089206c7d01f6695bd3dfc Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 21 May 2012 13:55:15 -0700 Subject: Remove DEBUG_LATENCY flag This flag was replaced with the more versatile and powerful systrace. Change-Id: I2267698f86fe9ba9e1102856795ca641001fecd5 --- core/java/android/view/ViewDebug.java | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'core/java/android/view/ViewDebug.java') diff --git a/core/java/android/view/ViewDebug.java b/core/java/android/view/ViewDebug.java index 2233ca9a376d..dd671dc4cf4e 100644 --- a/core/java/android/view/ViewDebug.java +++ b/core/java/android/view/ViewDebug.java @@ -68,25 +68,6 @@ public class ViewDebug { */ public static final boolean DEBUG_DRAG = false; - /** - * Enables logging of factors that affect the latency and responsiveness of an application. - * - * Logs the relative difference between the time an event was created and the time it - * was delivered. - * - * Logs the time spent waiting for Surface.lockCanvas(), Surface.unlockCanvasAndPost() - * or eglSwapBuffers(). This is time that the event loop spends blocked and unresponsive. - * Ideally, drawing and animations should be perfectly synchronized with VSYNC so that - * dequeuing and queueing buffers is instantaneous. - * - * Logs the time spent in ViewRoot.performTraversals() and ViewRoot.performDraw(). - * @hide - */ - public static final boolean DEBUG_LATENCY = false; - - /** @hide */ - public static final String DEBUG_LATENCY_TAG = "ViewLatency"; - /** * This annotation can be used to mark fields and methods to be dumped by * the view server. Only non-void methods with no arguments can be annotated -- cgit v1.2.3