public float TimeToPixel(float time)
{
float width = this.contentRect.width;
float num2 = this.m_TimeArea.shownArea.xMax - this.m_TimeArea.shownArea.xMin;
float xMin = this.m_TimeArea.shownArea.xMin;
return (((time - xMin) * width) / num2);
}