Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/
DScaledLayoutActivity.java23 import com.android.tv.tuner.layout.ScaledLayout;
38 private ScaledLayout createScaledLayoutTestcaseLayout() { in createScaledLayoutTestcaseLayout()
39 ScaledLayout scaledLayout = new ScaledLayout(this); in createScaledLayoutTestcaseLayout()
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()
66 private ScaledLayout createScaledLayoutTestcaseBounceY() { in createScaledLayoutTestcaseBounceY()
67 ScaledLayout scaledLayout = new ScaledLayout(this); in createScaledLayoutTestcaseBounceY()
72 view1.setLayoutParams(new ScaledLayout.ScaledLayoutParams(0.7f, 0.9f, 0f, 1f)); in createScaledLayoutTestcaseBounceY()
[all …]
DScaledLayoutTest.java28 import com.android.tv.tuner.layout.ScaledLayout;
57 ScaledLayout scaledLayout = (ScaledLayout) rootLayout.getChildAt(0); in testScaledLayout_layoutInXml()
91 ScaledLayout scaledLayout = (ScaledLayout) rootLayout.getChildAt(1); in testScaledLayout_layoutThroughCode()
125 ScaledLayout scaledLayout = (ScaledLayout) rootLayout.getChildAt(2); in testScaledLayout_bounceY()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionLayout.java22 import com.android.tv.tuner.layout.ScaledLayout;
28 public class CaptionLayout extends ScaledLayout {
35 private final ScaledLayout mSafeTitleAreaLayout;
48 mSafeTitleAreaLayout = new ScaledLayout(context); in CaptionLayout()
DCaptionWindowLayout.java49 import com.android.tv.tuner.layout.ScaledLayout;
466 new ScaledLayout.ScaledLayoutParams( in initWindow()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java34 public class ScaledLayout extends ViewGroup { class
50 public ScaledLayout(Context context) { in ScaledLayout() method in ScaledLayout
54 public ScaledLayout(Context context, AttributeSet attrs) { in ScaledLayout() method in ScaledLayout
58 public ScaledLayout(Context context, AttributeSet attrs, int defStyle) { in ScaledLayout() method in ScaledLayout