Searched refs:ScaledLayoutParams (Results 1 – 4 of 4) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/ |
D | ScaledLayout.java | 84 public static class ScaledLayoutParams extends ViewGroup.LayoutParams { class in ScaledLayout 91 public ScaledLayoutParams( in ScaledLayoutParams() method in ScaledLayout.ScaledLayoutParams 100 public ScaledLayoutParams(Context context, AttributeSet attrs) { in ScaledLayoutParams() method in ScaledLayout.ScaledLayoutParams 121 return new ScaledLayoutParams(getContext(), attrs); in generateLayoutParams() 126 return (p instanceof ScaledLayoutParams); in checkLayoutParams() 144 if (!(params instanceof ScaledLayoutParams)) { in onMeasure() 148 scaleStartRow = ((ScaledLayoutParams) params).scaleStartRow; in onMeasure() 149 scaleEndRow = ((ScaledLayoutParams) params).scaleEndRow; in onMeasure() 150 scaleStartCol = ((ScaledLayoutParams) params).scaleStartCol; in onMeasure() 151 scaleEndCol = ((ScaledLayoutParams) params).scaleEndCol; in onMeasure()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/ |
D | ScaledLayoutActivity.java | 44 view1.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0f, 0.5f, 0f, 0.5f)); in createScaledLayoutTestcaseLayout() 48 view2.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0f, 0.5f, 0.5f, 1f)); in createScaledLayoutTestcaseLayout() 52 view3.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0.5f, 1f, 0f, 0.5f)); in createScaledLayoutTestcaseLayout() 56 view4.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0.5f, 1f, 0.5f, 1f)); in createScaledLayoutTestcaseLayout() 72 view1.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0.7f, 0.9f, 0f, 1f)); in createScaledLayoutTestcaseBounceY() 76 view2.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0.8f, 1f, 0f, 1f)); in createScaledLayoutTestcaseBounceY()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/ |
D | CaptionLayout.java | 51 new ScaledLayoutParams( in CaptionLayout() 57 CaptionWindowLayout captionWindowLayout, ScaledLayoutParams scaledLayoutParams) { in addOrUpdateViewToSafeTitleArea()
|
D | CaptionWindowLayout.java | 466 new ScaledLayout.ScaledLayoutParams( in initWindow()
|