Searched refs:frameLayout (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayoutTest.java | 169 final FrameLayout frameLayout in testAccessMeasureAllChildren() local 171 assertFalse(frameLayout.getConsiderGoneChildrenWhenMeasuring()); in testAccessMeasureAllChildren() 174 final TextView textView = (TextView) frameLayout.findViewById(R.id.framelayout_textview); in testAccessMeasureAllChildren() 177 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight()); in testAccessMeasureAllChildren() 178 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth()); in testAccessMeasureAllChildren() 181 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, frameLayout, () -> { in testAccessMeasureAllChildren() 183 frameLayout.requestLayout(); in testAccessMeasureAllChildren() 185 assertFalse(frameLayout.getConsiderGoneChildrenWhenMeasuring()); in testAccessMeasureAllChildren() 186 Button button = (Button) frameLayout.findViewById(R.id.framelayout_button); in testAccessMeasureAllChildren() 189 assertEquals(button.getMeasuredHeight(), frameLayout.getMeasuredHeight()); in testAccessMeasureAllChildren() [all …]
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperTestActivity.java | 31 FrameLayout frameLayout = new FrameLayout(this); in onCreate() local 32 frameLayout.setBackgroundColor(Color.TRANSPARENT); in onCreate() 37 setContentView(frameLayout, layoutParams); in onCreate()
|
D | WallpaperOverlayTestActivity.java | 42 FrameLayout frameLayout = new FrameLayout(this); in onCreate() local 43 frameLayout.setBackgroundColor(Color.TRANSPARENT); in onCreate() 48 setContentView(frameLayout, layoutParams); in onCreate()
|
/cts/tests/tests/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/ |
D | TestDreamService.java | 39 final FrameLayout frameLayout = new FrameLayout(getApplicationContext()); in onAttachedToWindow() local 40 frameLayout.setBackgroundColor(Color.BLUE); in onAttachedToWindow() 41 setContentView(frameLayout); in onAttachedToWindow()
|
D | TestSystemDreamService.java | 39 final FrameLayout frameLayout = new FrameLayout(getApplicationContext()); in onAttachedToWindow() local 40 frameLayout.setBackgroundColor(Color.RED); in onAttachedToWindow() 41 setContentView(frameLayout); in onAttachedToWindow()
|
D | ControlledTestDreamService.java | 126 final FrameLayout frameLayout = new FrameLayout(getApplicationContext()); in onAttachedToWindow() local 127 frameLayout.setBackgroundColor(Color.YELLOW); in onAttachedToWindow() 128 frameLayout.setOnKeyListener((v, keyCode, event) -> mConsumedKeys.contains(keyCode)); in onAttachedToWindow() 129 frameLayout.setFocusable(true); in onAttachedToWindow() 130 setContentView(frameLayout); in onAttachedToWindow()
|
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/ |
D | OverlayActivity.kt | 24 val frameLayout = FrameLayout(this) in onCreate() constant 27 frameLayout.addView(textView) in onCreate() 28 windowManager.addView(frameLayout, params) in onCreate()
|