Searched refs:mContent (Results 1 – 5 of 5) sorted by relevance
26 private View mContent; field in LightBarBaseActivity31 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()
48 private View mContent; field in PixelCopyWideGamutViewProducerActivity65 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()
48 private View mContent; field in PixelCopyViewProducerActivity66 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 …]
27 private View mContent; field in TransitionActivity33 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()
26 private View mContent; field in AlertWindowsAppOpsTestsActivity33 mContent = new View(this); in showSystemAlertWindow()34 getWindowManager().addView(mContent, params); in showSystemAlertWindow()38 getWindowManager().removeView(mContent); in hideSystemAlertWindow()