Searched refs:scaleFactor (Results 1 – 4 of 4) sorted by relevance
232 final float scaleFactor = 2.0f; in testScaleCurrentDuration() local233 animationSet.scaleCurrentDuration(scaleFactor); in testScaleCurrentDuration()236 assertEquals((long) (originDurations[i] * scaleFactor), children.get(i).getDuration()); in testScaleCurrentDuration()
183 float scaleFactor = sz.height * sz.width / (float)(1280 * 720); in getVideoBitRate() local184 rate = (int)(rate * scaleFactor); in getVideoBitRate()
2027 float scaleFactor = sz.getHeight() * sz.getWidth() / (float)(1920 * 1080);2028 rate = (int)(rate * scaleFactor);
1612 final float scaleFactor = Math.max(1.0f, 1.0f / mOnUiThread.getScale()); in testGetContentHeight() local1615 * scaleFactor)); in testGetContentHeight()