Home
last modified time | relevance | path

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

/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarBaseActivity.java26 private View mContent; field in LightBarBaseActivity
31 mContent = new View(this); in onCreate()
32 mContent.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
34 setContentView(mContent); in onCreate()
38 return mContent.getWindowSystemUiVisibility(); in getSystemUiVisibility()
42 return mContent.getLocationOnScreen()[1]; in getTop()
46 return mContent.getLocationOnScreen()[1] + mContent.getHeight(); in getBottom()
50 return mContent.getWidth(); in getWidth()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java48 private View mContent; field in PixelCopyWideGamutViewProducerActivity
65 mContent = new WideGamutBitmapView(this); in onCreate()
66 setContentView(mContent); in onCreate()
67 mContent.getViewTreeObserver().addOnDrawListener(this); in onCreate()
76 boolean contentPortrait = mContent.getHeight() > mContent.getWidth(); in onDraw()
80 mContent.post(() -> { in onDraw()
84 mContent.getGlobalVisibleRect(mContentBounds, offset); in onDraw()
86 offset.x + mContent.getWidth(), offset.y + mContent.getHeight()); in onDraw()
89 mContent.invalidate(); in onDraw()
DPixelCopyViewProducerActivity.java48 private View mContent; field in PixelCopyViewProducerActivity
66 mContent = new ColoredGrid(this); in onCreate()
67 setContentView(mContent); in onCreate()
68 mContent.getViewTreeObserver().addOnDrawListener(this); in onCreate()
69 mContent.setOnApplyWindowInsetsListener(this); in onCreate()
78 boolean contentPortrait = mContent.getHeight() > mContent.getWidth(); in onDraw()
82 mContent.post(() -> { in onDraw()
86 mContent.getGlobalVisibleRect(mContentBounds, offset); in onDraw()
88 offset.x - mOutsets.left + mContent.getWidth(), in onDraw()
89 offset.y - mOutsets.top + mContent.getHeight()); in onDraw()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionActivity.java27 private View mContent; field in TransitionActivity
33 mContent = findViewById(R.id.container); in onCreate()
34 mContent.setOnApplyWindowInsetsListener(this); in onCreate()
40 FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) mContent.getLayoutParams(); in onApplyWindowInsets()
43 mContent.setLayoutParams(params); in onApplyWindowInsets()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsAppOpsTestsActivity.java26 private View mContent; field in AlertWindowsAppOpsTestsActivity
33 mContent = new View(this); in showSystemAlertWindow()
34 getWindowManager().addView(mContent, params); in showSystemAlertWindow()
38 getWindowManager().removeView(mContent); in hideSystemAlertWindow()