title: Wrong draw time in the Hierarchy Viewer?
body: <p>I am doing some tests with the Hierarchy Viewer tool that comes with the Android SDK.</p>
  
  <p>The <code>Activity</code> that I am testing has the following xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
  
      &lt;TextView
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content" 
          android:text="@string/hello"
          android:layout_alignParentTop="true"/&gt;
  
      &lt;TextView android:id="@+id/slow_measure"
          android:layout_width="fill_parent"
          android:layout_height="30dp"
          android:text="Slow Measure"
          android:layout_alignParentBottom="true"/&gt;
  
      &lt;TextView android:id="@+id/slow_layout"
          android:layout_width="fill_parent"
          android:layout_height="30dp"
          android:text="Slow Layout"
          android:layout_above="@id/slow_measure"/&gt;
  
      &lt;com.test.SlowDrawView android:id="@+id/slow_draw"
          android:layout_width="fill_parent"
          android:layout_height="30dp"
          android:background="#FF0000"
          android:text="Slow Draw"
          android:layout_above="@id/slow_layout"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The <code>SlowDrawView</code> extends <code>TextView</code> but I modified the <code>onDraw()</code> like this:</p>
  
  <pre><code>@Override
  protected void onDraw(Canvas canvas) {
      try {
          Thread.sleep(3000L);
      } catch (InterruptedException e) {
          e.printStackTrace();
      }
      super.onDraw(canvas);
  }
  </code></pre>
  
  <p>When I check the draw time of this <code>View</code> in the hv I notice is less than 3segs, which doesn't make any sense.</p>
  
  <p>Any ideas of why this is happening?
  I also noticed that in the android <a href="http://android.git.kernel.org/?p=platform/sdk.git;a=tree;h=refs/heads/master;hb=refs/heads/master" rel="noreferrer">git repo</a> there are two versions of hv. Anyone knows the difference?</p>