Home | History | Annotate | Download | only in media

Lines Matching refs:mTotalWidth

49     private float mTotalWidth = 0f;
180 float markerX = (mTotalWidth == 0.0f) ? 0.0f : marker.x / mTotalWidth;
288 mTotalWidth = dx - MARKER_SPACING_PIXELS * App.PIXEL_DENSITY;
310 * (mTotalWidth - mKnob.getWidth()); }
313 * Math.min(1f, knobX / (mTotalWidth - mKnob.getWidth()))); }
316 * (mTotalWidth - mWidth);// - (1f - 2f * position) * MARKER_SPACING_PIXELS;
326 float centered = positionInv * -halfWidth + position * (mTotalWidth - halfWidth);
332 if (mTotalWidth == 0)
334 return ((scroll + halfWidth) / (mTotalWidth));
338 return position * mTotalWidth;
342 float normKnobX = (mTotalWidth == 0) ? 0 : knobX / mTotalWidth;