Searched refs:widthSoFar (Results 1 – 3 of 3) sorted by relevance
33 public float width(float widthSoFar) { in width() argument36 if (f > widthSoFar) { in width()42 return ((widthSoFar + mTabWidth) / mTabWidth) * mTabWidth; in width()
274 float widthSoFar = newInner.width(); in fixedAspectResizeInner() local306 if (newWidth < widthSoFar) in fixedAspectResizeInner()307 widthSoFar = newWidth; in fixedAspectResizeInner()311 float heightSoFar = widthSoFar / aspRatio; in fixedAspectResizeInner()314 ret.right = ret.left + widthSoFar; in fixedAspectResizeInner()317 ret.left = ret.right - widthSoFar; in fixedAspectResizeInner()320 ret.left = ret.right - widthSoFar; in fixedAspectResizeInner()323 ret.right = ret.left + widthSoFar; in fixedAspectResizeInner()
59 float nextTab(float widthSoFar) const { in nextTab() argument61 if (mStops[i] > widthSoFar) { in nextTab()68 return floor(widthSoFar / mTabWidth + 1) * mTabWidth; in nextTab()