Searched refs:scaleEndCol (Results 1 – 2 of 2) sorted by relevance
/packages/apps/TV/src/com/android/tv/tuner/layout/ |
D | ScaledLayout.java | 97 public final float scaleEndCol; field in ScaledLayout.ScaledLayoutParams 100 float scaleStartCol, float scaleEndCol) { in ScaledLayoutParams() argument 105 this.scaleEndCol = scaleEndCol; in ScaledLayoutParams() 118 scaleEndCol = in ScaledLayoutParams() 148 float scaleStartRow, scaleEndRow, scaleStartCol, scaleEndCol; in onMeasure() local 156 scaleEndCol = ((ScaledLayoutParams) params).scaleEndCol; in onMeasure() 165 if (scaleEndCol < 0 || scaleEndCol > 1) { in onMeasure() 169 if (scaleEndCol < scaleStartCol || scaleEndCol > 1) { in onMeasure() 176 scaleStartRow, scaleEndRow, scaleStartCol, scaleEndCol)); in onMeasure() 179 (int) (scaleEndCol * width), (int) (scaleEndRow * height)); in onMeasure() [all …]
|
/packages/apps/TV/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 334 float scaleEndCol = 1; in initWindow() local 368 scaleEndCol = 1.0f; in initWindow() 379 scaleEndCol = scaleCol + gap; in initWindow() 385 scaleEndCol = scaleCol; in initWindow() 407 .ScaledLayoutParams(scaleStartRow, scaleEndRow, scaleStartCol, scaleEndCol)); in initWindow()
|