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.java260 RelativeLayout rootLayout = new RelativeLayout(this); in onCreate() local
261 rootLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
349 rootLayout.addView(layout); in onCreate()
350 rootLayout.addView(controlLayout); in onCreate()
352 setContentView(rootLayout); in onCreate()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java710 ViewInfo rootLayout = result.getRootViews().get(0); in testScrollingAndMeasure() local
712 assertEquals(-90, rootLayout.getChildren().get(0).getTop()); in testScrollingAndMeasure()
713 assertEquals(-30, rootLayout.getChildren().get(0).getLeft()); in testScrollingAndMeasure()
714 assertEquals(90, rootLayout.getChildren().get(0).getBottom()); in testScrollingAndMeasure()
715 assertEquals(150, rootLayout.getChildren().get(0).getRight()); in testScrollingAndMeasure()
718 assertEquals(-450, rootLayout.getChildren().get(5).getChildren().get(0).getTop()); in testScrollingAndMeasure()
719 assertEquals(90, rootLayout.getChildren().get(5).getChildren().get(0).getLeft()); in testScrollingAndMeasure()
720 assertEquals(-270, rootLayout.getChildren().get(5).getChildren().get(0).getBottom()); in testScrollingAndMeasure()
721 assertEquals(690, rootLayout.getChildren().get(5).getChildren().get(0).getRight()); in testScrollingAndMeasure()