Home
last modified time | relevance | path

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

/aosp12/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/
H A DScaledLayoutTest.java55 FrameLayout rootLayout = mActivityRule.getActivity().findViewById(R.id.root_layout); in testScaledLayout_layoutInXml() local
56 assertNotNull(rootLayout); in testScaledLayout_layoutInXml()
57 ScaledLayout scaledLayout = (ScaledLayout) rootLayout.getChildAt(0); in testScaledLayout_layoutInXml()
89 FrameLayout rootLayout = mActivityRule.getActivity().findViewById(R.id.root_layout); in testScaledLayout_layoutThroughCode() local
90 assertNotNull(rootLayout); in testScaledLayout_layoutThroughCode()
91 ScaledLayout scaledLayout = (ScaledLayout) rootLayout.getChildAt(1); in testScaledLayout_layoutThroughCode()
123 FrameLayout rootLayout = mActivityRule.getActivity().findViewById(R.id.root_layout); in testScaledLayout_bounceY() local
124 assertNotNull(rootLayout); in testScaledLayout_bounceY()
125 ScaledLayout scaledLayout = (ScaledLayout) rootLayout.getChildAt(2); in testScaledLayout_bounceY()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/util/
H A DContactListViewUtils.java56 Resources resources, final ListView listView, final View rootLayout) { in applyCardPaddingToView() argument
62 rootLayout.setBackgroundResource(0); in applyCardPaddingToView()
64 View mCardView = rootLayout.findViewById(R.id.list_card); in applyCardPaddingToView()
84 listView, rootLayout.getWidth(), listSpaceWeight, listViewWeight); in applyCardPaddingToView()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/stagesplit/
H A DOutlineManager.java82 final FrameLayout rootLayout = (FrameLayout) LayoutInflater.from(mContext) in inflate() local
84 mOutlineView = rootLayout.findViewById(R.id.split_outline); in inflate()
96 mViewHost.setView(rootLayout, lp); in inflate()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DSplitDecorManager.java97 final FrameLayout rootLayout = (FrameLayout) LayoutInflater.from(context) in inflate() local
99 mResizingIconView = rootLayout.findViewById(R.id.split_resizing_icon); in inflate()
111 mViewHost.setView(rootLayout, lp); in inflate()
/aosp12/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A 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()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DStartingSurfaceDrawer.java307 final FrameLayout rootLayout = new FrameLayout( in addSplashScreenStartingWindow() local
309 rootLayout.setPadding(0, 0, 0, 0); in addSplashScreenStartingWindow()
310 rootLayout.setFitsSystemWindows(false); in addSplashScreenStartingWindow()
322 rootLayout.addView(contentView); in addSplashScreenStartingWindow()
339 if (addWindow(taskId, appToken, rootLayout, display, params, suggestType)) { in addSplashScreenStartingWindow()
/aosp12/packages/apps/Dialer/java/com/android/dialer/main/impl/
H A DOldMainActivityPeer.java1177 private final View rootLayout; field in OldMainActivityPeer.MainOldSpeedDialFragmentHost
1187 View rootLayout, in MainOldSpeedDialFragmentHost() argument
1194 this.rootLayout = rootLayout; in MainOldSpeedDialFragmentHost()
1206 rootLayout.setOnDragListener( in setDragDropController()
1264 private final ViewGroup rootLayout; field in OldMainActivityPeer.MainSpeedDialFragmentHost
1270 ViewGroup rootLayout, in MainSpeedDialFragmentHost() argument
1274 this.rootLayout = rootLayout; in MainSpeedDialFragmentHost()
1286 rootLayout.setClipChildren(!start); in dragFavorite()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/speeddial/
H A DSpeedDialFragment.java140 View rootLayout = inflater.inflate(R.layout.fragment_speed_dial, container, false); in onCreateView() local
141 emptyContentView = rootLayout.findViewById(R.id.speed_dial_empty_content_view); in onCreateView()
166 RecyclerView recyclerView = rootLayout.findViewById(R.id.speed_dial_recycler_view); in onCreateView()
175 return rootLayout; in onCreateView()
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java650 setupOnScreenControls(findViewById(R.id.rootLayout), mImageView); in onCreate()