Home | History | Annotate | Download | only in globaltime

Lines Matching defs:fps

301     // Counters for FPS calculation
573 String fps = "" + (1000.0f*mFramesFPS/(endTime - startTime));
575 // Normalize fps to XX.XX format
576 if (fps.indexOf(".") == 1) {
577 fps = " " + fps;
579 int len = fps.length();
581 fps += ".00";
583 fps += "0";
585 fps = fps.substring(0, 5);
588 canvas.drawText(fps + " fps", width - 60.0f, 10.0f, mPaint);