P25 Work-in-progress check-in.

This commit is contained in:
dennis.sheirer
2014-11-10 09:53:03 +00:00
parent 7b89c614e7
commit 46e3594c07
31 changed files with 2271 additions and 227 deletions

View File

@@ -111,10 +111,7 @@ public class FloatTapViewPanel extends TapViewPanel
{
int middle = (int)( getHeight() / 2 );
float scaledValue = value / (float)Short.MAX_VALUE;
// mLog.info( "Float value is:" + scaledValue );
float y = middle - ( middle * scaledValue * mVerticalZoom );
float y = middle - ( middle * value * mVerticalZoom );
/* Clip y to zero as necessary */
y = ( y < 0 ) ? 0 : y;