Home
last modified time | relevance | path

Searched refs:scaleCol (Results 1 – 1 of 1) sorted by relevance

/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
DCaptionWindowLayout.java295 float scaleCol = (float) captionWindow.anchorHorizontal / in initWindow() local
307 if (scaleCol < 0 || scaleCol > 1) { in initWindow()
309 + " 1 but " + scaleCol); in initWindow()
310 scaleCol = Math.max(0, Math.min(scaleCol, 1)); in initWindow()
323 scaleStartCol = scaleCol; in initWindow()
326 float gap = Math.min(1 - scaleCol, scaleCol); in initWindow()
345 if (halfMaxWidthScale > 0f && halfMaxWidthScale < scaleCol) { in initWindow()
351 scaleStartCol = scaleCol - halfMaxWidthScale; in initWindow()
362 scaleStartCol = scaleCol - gap; in initWindow()
363 scaleEndCol = scaleCol + gap; in initWindow()
[all …]