Searched refs:mContentView (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DTestContentViewActivity.java25 private TestContentView mContentView; field in class:TestContentViewActivity
30 mContentView = new TestContentView(this);
31 mContentView.setLayoutParams(new ViewGroup.LayoutParams(
33 setContentView(mContentView);
37 return mContentView;
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DSnackbarUsage.java34 private ViewGroup mContentView; field in class:SnackbarUsage
41 mContentView = findViewById(R.id.content_view);
49 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show();
53 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT)
64 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
69 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
81 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
H A DCustomSnackbarUsage.java34 private CoordinatorLayout mContentView; field in class:CustomSnackbarUsage
41 mContentView = findViewById(R.id.content_view);
46 final LayoutInflater inflater = LayoutInflater.from(mContentView.getContext());
49 R.layout.custom_snackbar_include, mContentView, false);
66 new CustomSnackbar(mContentView, content, contentViewCallback).setTitle("Custom title")
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DSnackbarUsage.java34 private ViewGroup mContentView; field in class:SnackbarUsage
41 mContentView = findViewById(R.id.content_view);
49 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show();
53 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT)
64 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
69 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
81 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
H A DCustomSnackbarUsage.java34 private CoordinatorLayout mContentView; field in class:CustomSnackbarUsage
41 mContentView = findViewById(R.id.content_view);
46 final LayoutInflater inflater = LayoutInflater.from(mContentView.getContext());
49 R.layout.custom_snackbar_include, mContentView, false);
66 new CustomSnackbar(mContentView, content, contentViewCallback).setTitle("Custom title")
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/
H A DBrowserActionsFallbackMenuDialog.java39 private final View mContentView; field in class:BrowserActionsFallbackMenuDialog
43 mContentView = contentView;
72 mContentView.setScaleX(from);
73 mContentView.setScaleY(from);
75 mContentView.animate()
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DOnboardingDemoFragment.java49 private View mContentView; field in class:OnboardingDemoFragment
87 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
88 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
89 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
90 return mContentView;
104 mContentAnimator = createFadeInAnimator(mContentView);
124 Animator fadeOut = createFadeOutAnimator(mContentView);
132 Animator fadeIn = createFadeInAnimator(mContentView);
H A DOnboardingDemoSupportFragment.java52 private View mContentView; field in class:OnboardingDemoSupportFragment
90 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
91 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
92 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
93 return mContentView;
107 mContentAnimator = createFadeInAnimator(mContentView);
127 Animator fadeOut = createFadeOutAnimator(mContentView);
135 Animator fadeIn = createFadeInAnimator(mContentView);
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DOnboardingDemoFragment.java49 private View mContentView; field in class:OnboardingDemoFragment
87 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
88 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
89 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
90 return mContentView;
104 mContentAnimator = createFadeInAnimator(mContentView);
124 Animator fadeOut = createFadeOutAnimator(mContentView);
132 Animator fadeIn = createFadeInAnimator(mContentView);
H A DOnboardingDemoSupportFragment.java52 private View mContentView; field in class:OnboardingDemoSupportFragment
90 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
91 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
92 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
93 return mContentView;
107 mContentAnimator = createFadeInAnimator(mContentView);
127 Animator fadeOut = createFadeOutAnimator(mContentView);
135 Animator fadeIn = createFadeInAnimator(mContentView);
/frameworks/base/core/java/com/android/internal/view/
H A DTooltipPopup.java35 private final View mContentView; field in class:TooltipPopup
46 mContentView = LayoutInflater.from(mContext).inflate(
48 mMessageView = (TextView) mContentView.findViewById(
74 wm.addView(mContentView, mLayoutParams);
83 wm.removeView(mContentView);
87 return mContentView;
91 return mContentView.getParent() != null;
148 mContentView.measure(spec, spec);
149 final int tooltipHeight = mContentView.getMeasuredHeight();
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompatBuilder.java50 private RemoteViews mContentView; field in class:NotificationCompatBuilder
123 mContentView = b.mContentView;
182 if (b.mContentView != null) {
183 mBuilder.setCustomContentView(b.mContentView);
227 } else if (mBuilderCompat.mContentView != null) {
228 n.contentView = mBuilderCompat.mContentView;
317 if (mContentView != null) {
318 notification.contentView = mContentView;
345 if (mContentView !
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java41 View mContentView; field in class:MainInteractionSession
121 mContentView = getLayoutInflater().inflate(R.layout.voice_interaction_session, null);
122 mAssistVisualizer = (AssistVisualizer)mContentView.findViewById(R.id.assist_visualizer);
126 mTopContent = mContentView.findViewById(R.id.top_content);
127 mBottomContent = mContentView.findViewById(R.id.bottom_content);
128 mText = (TextView)mContentView.findViewById(R.id.text);
129 mTreeButton = (Button)mContentView.findViewById(R.id.do_tree);
131 mTextButton = (Button)mContentView.findViewById(R.id.do_text);
133 mStartButton = (Button)mContentView.findViewById(R.id.start);
135 mScreenshot = (ImageView)mContentView
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DTooltipPopup.java50 private final View mContentView; field in class:TooltipPopup
61 mContentView = LayoutInflater.from(mContext).inflate(R.layout.abc_tooltip, null);
62 mMessageView = (TextView) mContentView.findViewById(R.id.message);
86 wm.addView(mContentView, mLayoutParams);
95 wm.removeView(mContentView);
99 return mContentView.getParent() != null;
166 mContentView.measure(spec, spec);
167 final int tooltipHeight = mContentView.getMeasuredHeight();
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DImageCardView.java132 private TextView mContentView; field in class:ImageCardView
206 mContentView = (TextView) inflater.inflate(R.layout.lb_image_card_view_themed_content,
208 mInfoArea.addView(mContentView);
236 (RelativeLayout.LayoutParams) mContentView.getLayoutParams();
246 mContentView.setLayoutParams(relativeLayoutParams);
253 relativeLayoutParams.addRule(RelativeLayout.ALIGN_BOTTOM, mContentView.getId());
424 if (mContentView == null) {
427 mContentView.setText(text);
434 if (mContentView == null) {
438 return mContentView
[all...]
H A DGuidedActionsStylist.java178 private View mContentView; field in class:GuidedActionsStylist.ViewHolder
218 mContentView = v.findViewById(R.id.guidedactions_item_content);
235 return mContentView;
404 private View mContentView; field in class:GuidedActionsStylist
446 mContentView = mMainView.findViewById(mButtonActions ? R.id.guidedactions_content2 :
492 if (mContentView instanceof GuidedActionsRelativeLayout) {
493 ((GuidedActionsRelativeLayout) mContentView).setInterceptKeyEventListener(
544 mContentView = null;
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DDrawerInteractionTest.java60 private MockView mContentView; field in class:DrawerInteractionTest
68 mContentView = new MockView(context);
78 mContentView.setLayoutParams(contentViewLayoutParams);
82 mDrawerLayout.addView(mContentView);
123 assertThat(mContentView.mDispatchGenericMotionEventCalled, is(false));
136 assertThat(mContentView.mDispatchGenericMotionEventCalled, is(false));
147 assertThat(mContentView.mMotionEventPassedToDispatchGenericMotionEvent,
H A DDrawerLayoutDoubleTest.java58 private View mContentView; field in class:DrawerLayoutDoubleTest
66 mContentView = mDrawerLayout.findViewById(R.id.content);
77 // thrown since mContentView is not a drawer.
79 mDrawerLayout.isDrawerOpen(mContentView));
86 // thrown since mContentView is not a drawer.
88 mDrawerLayout.isDrawerVisible(mContentView));
95 // thrown since mContentView is not a drawer.
96 onView(withId(R.id.drawer_layout)).perform(openDrawer(mContentView));
103 // thrown since mContentView is not a drawer.
104 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mContentView));
[all...]
H A DDrawerLayoutTest.java79 private View mContentView; field in class:DrawerLayoutTest
86 mContentView = mDrawerLayout.findViewById(R.id.content);
130 mContentView.setFocusableInTouchMode(true);
131 mContentView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
265 final int contentHeight = mContentView.getHeight();
283 mContentView.getLocationOnScreen(contentViewLocationOnScreen);
/frameworks/support/car/src/main/java/androidx/car/app/
H A DCarAlertDialog.java58 private View mContentView; field in class:CarAlertDialog
123 int bottomPadding = !hasButton && !hasBody ? 0 : mContentView.getPaddingBottom();
124 mContentView.setPaddingRelative(
125 mContentView.getPaddingStart(),
127 mContentView.getPaddingEnd(),
261 mContentView.setPaddingRelative(
262 mContentView.getPaddingStart(),
263 mContentView.getPaddingTop(),
264 mContentView.getPaddingEnd(),
275 mContentView
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java57 private final PrintContentView mContentView; field in class:PrintPreviewController
84 mContentView = (PrintContentView) activity.findViewById(R.id.options_content);
96 return mContentView.isOptionsOpened();
100 mContentView.closeOptions();
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DWindowDecorActionBar.java96 View mContentView; field in class:WindowDecorActionBar
138 if (mContentAnimations && mContentView != null) {
139 mContentView.setTranslationY(0f);
175 mContentView = decor.findViewById(android.R.id.content);
807 if (mContentAnimations && mContentView != null) {
808 mContentView.setTranslationY(startingY);
809 anim.play(ViewCompat.animate(mContentView).translationY(0f));
826 if (mContentAnimations && mContentView != null) {
827 mContentView.setTranslationY(0);
854 if (mContentAnimations && mContentView !
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java84 private View mContentView; field in class:WindowDecorActionBar
130 if (mContentAnimations && mContentView != null) {
131 mContentView.setTranslationY(0);
171 mContentView = decor.findViewById(android.R.id.content);
781 if (mContentAnimations && mContentView != null) {
782 b.with(ObjectAnimator.ofFloat(mContentView, View.TRANSLATION_Y,
806 if (mContentAnimations && mContentView != null) {
807 mContentView.setTranslationY(0);
840 if (mContentAnimations && mContentView != null) {
841 b.with(ObjectAnimator.ofFloat(mContentView, Vie
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DFillUi.java639 private final View mContentView; field in class:FillUi.AnchoredWindow
651 mContentView = contentView;
667 params.accessibilityTitle = mContentView.getContext()
669 mWm.addView(mContentView, params);
673 mWm.updateViewLayout(mContentView, params);
679 // WM throws an ISE if mContentView was added twice; this should never happen -
697 mWm.removeView(mContentView);
701 // WM might thrown an ISE when removing the mContentView; this should never
743 pw.print(prefix2); pw.print("view: "); pw.println(mWindow.mContentView);
748 if (mWindow.mContentView
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java164 private View mContentView; field in class:PopupWindow
617 return mContentView;
636 mContentView = contentView;
638 if (mContext == null && mContentView != null) {
639 mContext = mContentView.getContext();
642 if (mWindowManager == null && mContentView != null) {
1185 if (isShowing() || mContentView == null) {
1332 if (mContentView == null || mContext == null || mWindowManager == null) {
1350 mBackgroundView = createBackgroundView(mContentView);
1353 mBackgroundView = mContentView;
[all...]

Completed in 1023 milliseconds

12