Home
last modified time | relevance | path

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

/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java259 RelativeLayout rootLayout = new RelativeLayout(this); in onCreate() local
260 rootLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
348 rootLayout.addView(layout); in onCreate()
349 rootLayout.addView(controlLayout); in onCreate()
351 setContentView(rootLayout); in onCreate()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java755 ViewInfo rootLayout = result.getRootViews().get(0); in testScrollingAndMeasure() local
757 assertEquals(-90, rootLayout.getChildren().get(0).getTop()); in testScrollingAndMeasure()
758 assertEquals(-30, rootLayout.getChildren().get(0).getLeft()); in testScrollingAndMeasure()
759 assertEquals(90, rootLayout.getChildren().get(0).getBottom()); in testScrollingAndMeasure()
760 assertEquals(150, rootLayout.getChildren().get(0).getRight()); in testScrollingAndMeasure()
763 assertEquals(-450, rootLayout.getChildren().get(5).getChildren().get(0).getTop()); in testScrollingAndMeasure()
764 assertEquals(90, rootLayout.getChildren().get(5).getChildren().get(0).getLeft()); in testScrollingAndMeasure()
765 assertEquals(-270, rootLayout.getChildren().get(5).getChildren().get(0).getBottom()); in testScrollingAndMeasure()
766 assertEquals(690, rootLayout.getChildren().get(5).getChildren().get(0).getRight()); in testScrollingAndMeasure()