Searched refs:mContent (Results 1 – 6 of 6) sorted by relevance
28 private View mContent; field in LightBarBaseActivity33 mContent = new View(this); in onCreate()34 mContent.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()36 setContentView(mContent); in onCreate()45 return mContent.getWindowSystemUiVisibility(); in getSystemUiVisibility()49 return mContent.getLocationOnScreen()[1]; in getTop()53 return mContent.getLocationOnScreen()[1] + mContent.getHeight(); in getBottom()57 return mContent.getWidth(); in getWidth()
45 private TextView mContent; field in WindowInsetsActivity69 mContent = new TextView(this); in onCreate()70 mContent.setTextSize(10); in onCreate()71 mContent.setGravity(Gravity.CENTER); in onCreate()72 mContent.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()76 mContent.setOnTouchListener(presenterDrawable); in onCreate()77 mContent.setBackground(presenterDrawable); in onCreate()78 mContent.setOnApplyWindowInsetsListener(this::onApplyWindowInsets); in onCreate()79 mContent.getRootView().setOnApplyWindowInsetsListener(this::onApplyWindowInsets); in onCreate()88 mContent.setOnClickListener(this); in onCreate()[all …]
48 private View mContent; field in PixelCopyWideGamutViewProducerActivity65 mContent = new WideGamutBitmapView(this); in onCreate()66 setContentView(mContent); in onCreate()69 mContent.getViewTreeObserver().addOnDrawListener(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 + mContent.getWidth(), offset.y + mContent.getHeight()); in onDraw()91 mContent.invalidate(); in onDraw()
48 private View mContent; field in PixelCopyViewProducerActivity66 mContent = new ColoredGrid(this); in onCreate()67 setContentView(mContent); in onCreate()70 mContent.getViewTreeObserver().addOnDrawListener(this); in onCreate()71 mContent.setOnApplyWindowInsetsListener(this); in onCreate()80 boolean contentPortrait = mContent.getHeight() > mContent.getWidth(); in onDraw()84 mContent.post(() -> { in onDraw()88 mContent.getGlobalVisibleRect(mContentBounds, offset); in onDraw()90 offset.x - mOutsets.left + mContent.getWidth(), in onDraw()91 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()