tools/android/appstats.py
def __GetDiffColor(delta):
    """Returns a color based on |delta|.  Used to color the deltas between
    different snapshots."""
    if not delta or delta == 0.0:
      return 'GREY30'
    elif delta < 0:
      return 'GREEN'
    elif delta > 0:
      return 'RED'
Returns a color based on |delta|.  Used to color the deltas between
    different snapshots.
Returns a color based on |delta|.  Used to color the deltas between
different snapshots.
Returns a color based on |delta| . Used to color the deltas between different snapshots .
def __GetDiffColor(delta):
    if not delta or delta == 0.0:
      return 'GREY30'
    elif delta < 0:
      return 'GREEN'
    elif delta > 0:
      return 'RED'
def __GetDiffColor ( delta ) : if not delta or delta == 0.0 : return 'GREY30' elif delta < 0 : return 'GREEN' elif delta > 0 : return 'RED'
Returns a color based on |delta|.
Returns a color based on |delta| .
"""Returns a color based on |delta|.  Used to color the deltas between
    different snapshots."""
delta