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

/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DSnackbarUsage.java33 private ViewGroup mContentView; field in class:SnackbarUsage
40 mContentView = findViewById(R.id.content_view);
48 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show();
52 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT)
63 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
68 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
80 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
H A DCustomSnackbarUsage.java33 private CoordinatorLayout mContentView; field in class:CustomSnackbarUsage
40 mContentView = findViewById(R.id.content_view);
45 final LayoutInflater inflater = LayoutInflater.from(mContentView.getContext());
48 R.layout.custom_snackbar_include, mContentView, false);
65 new CustomSnackbar(mContentView, content, contentViewCallback).setTitle("Custom title")
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DSnackbarUsage.java33 private ViewGroup mContentView; field in class:SnackbarUsage
40 mContentView = findViewById(R.id.content_view);
48 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show();
52 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT)
63 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
68 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
80 Snackbar.make(mContentView, "Long snackbar message which wraps onto another line and"
H A DCustomSnackbarUsage.java33 private CoordinatorLayout mContentView; field in class:CustomSnackbarUsage
40 mContentView = findViewById(R.id.content_view);
45 final LayoutInflater inflater = LayoutInflater.from(mContentView.getContext());
48 R.layout.custom_snackbar_include, mContentView, false);
65 new CustomSnackbar(mContentView, content, contentViewCallback).setTitle("Custom title")
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DOnboardingDemoFragment.java48 private View mContentView; field in class:OnboardingDemoFragment
86 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
87 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
88 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
89 return mContentView;
103 mContentAnimator = createFadeInAnimator(mContentView);
123 Animator fadeOut = createFadeOutAnimator(mContentView);
131 Animator fadeIn = createFadeInAnimator(mContentView);
H A DOnboardingDemoSupportFragment.java51 private View mContentView; field in class:OnboardingDemoSupportFragment
89 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
90 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
91 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
92 return mContentView;
106 mContentAnimator = createFadeInAnimator(mContentView);
126 Animator fadeOut = createFadeOutAnimator(mContentView);
134 Animator fadeIn = createFadeInAnimator(mContentView);
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DOnboardingDemoFragment.java48 private View mContentView; field in class:OnboardingDemoFragment
86 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
87 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
88 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
89 return mContentView;
103 mContentAnimator = createFadeInAnimator(mContentView);
123 Animator fadeOut = createFadeOutAnimator(mContentView);
131 Animator fadeIn = createFadeInAnimator(mContentView);
H A DOnboardingDemoSupportFragment.java51 private View mContentView; field in class:OnboardingDemoSupportFragment
89 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
90 mContentBackgroundView = (ImageView) mContentView.findViewById(R.id.background_image);
91 mContentAnimationView = (ImageView) mContentView.findViewById(R.id.animation_image);
92 return mContentView;
106 mContentAnimator = createFadeInAnimator(mContentView);
126 Animator fadeOut = createFadeOutAnimator(mContentView);
134 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/java/android/support/v4/app/
H A DNotificationCompatBuilder.java48 private RemoteViews mContentView; field in class:NotificationCompatBuilder
119 mContentView = b.mContentView;
154 if (b.mContentView != null) {
155 mBuilder.setCustomContentView(b.mContentView);
192 } else if (mBuilderCompat.mContentView != null) {
193 n.contentView = mBuilderCompat.mContentView;
273 if (mContentView != null) {
274 notification.contentView = mContentView;
301 if (mContentView !
[all...]
H A DNotificationCompat.java673 RemoteViews mContentView; field in class:NotificationCompat.Builder
1368 mContentView = contentView;
1500 return mContentView;
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java41 View mContentView; field in class:MainInteractionSession
119 mContentView = getLayoutInflater().inflate(R.layout.voice_interaction_session, null);
120 mAssistVisualizer = (AssistVisualizer)mContentView.findViewById(R.id.assist_visualizer);
124 mTopContent = mContentView.findViewById(R.id.top_content);
125 mBottomContent = mContentView.findViewById(R.id.bottom_content);
126 mText = (TextView)mContentView.findViewById(R.id.text);
127 mTreeButton = (Button)mContentView.findViewById(R.id.do_tree);
129 mTextButton = (Button)mContentView.findViewById(R.id.do_text);
131 mStartButton = (Button)mContentView.findViewById(R.id.start);
133 mScreenshot = (ImageView)mContentView
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTooltipPopup.java48 private final View mContentView; field in class:TooltipPopup
59 mContentView = LayoutInflater.from(mContext).inflate(R.layout.tooltip, null);
60 mMessageView = (TextView) mContentView.findViewById(R.id.message);
84 wm.addView(mContentView, mLayoutParams);
93 wm.removeView(mContentView);
97 return mContentView.getParent() != null;
163 mContentView.measure(spec, spec);
164 final int tooltipHeight = mContentView.getMeasuredHeight();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DImageCardView.java131 private TextView mContentView; field in class:ImageCardView
205 mContentView = (TextView) inflater.inflate(R.layout.lb_image_card_view_themed_content,
207 mInfoArea.addView(mContentView);
235 (RelativeLayout.LayoutParams) mContentView.getLayoutParams();
245 mContentView.setLayoutParams(relativeLayoutParams);
252 relativeLayoutParams.addRule(RelativeLayout.ALIGN_BOTTOM, mContentView.getId());
423 if (mContentView == null) {
426 mContentView.setText(text);
433 if (mContentView == null) {
437 return mContentView
[all...]
H A DGuidedActionsStylist.java176 private View mContentView; field in class:GuidedActionsStylist.ViewHolder
216 mContentView = v.findViewById(R.id.guidedactions_item_content);
233 return mContentView;
402 private View mContentView; field in class:GuidedActionsStylist
444 mContentView = mMainView.findViewById(mButtonActions ? R.id.guidedactions_content2 :
490 if (mContentView instanceof GuidedActionsRelativeLayout) {
491 ((GuidedActionsRelativeLayout) mContentView).setInterceptKeyEventListener(
542 mContentView = null;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DDrawerLayoutDoubleTest.java56 private View mContentView; field in class:DrawerLayoutDoubleTest
64 mContentView = mDrawerLayout.findViewById(R.id.content);
75 // thrown since mContentView is not a drawer.
77 mDrawerLayout.isDrawerOpen(mContentView));
84 // thrown since mContentView is not a drawer.
86 mDrawerLayout.isDrawerVisible(mContentView));
93 // thrown since mContentView is not a drawer.
94 onView(withId(R.id.drawer_layout)).perform(openDrawer(mContentView));
101 // thrown since mContentView is not a drawer.
102 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mContentView));
[all...]
H A DDrawerLayoutTest.java77 private View mContentView; field in class:DrawerLayoutTest
84 mContentView = mDrawerLayout.findViewById(R.id.content);
128 mContentView.setFocusableInTouchMode(true);
129 mContentView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
263 final int contentHeight = mContentView.getHeight();
281 mContentView.getLocationOnScreen(contentViewLocationOnScreen);
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DFillUi.java381 private final View mContentView; field in class:FillUi.AnchoredWindow
391 mContentView = contentView;
402 params.accessibilityTitle = mContentView.getContext()
404 mWm.addView(mContentView, params);
405 mContentView.setOnTouchListener(this);
409 mWm.updateViewLayout(mContentView, params);
415 // WM throws an ISE if mContentView was added twice; this should never happen -
429 mContentView.setOnTouchListener(null);
430 mWm.removeView(mContentView);
434 // WM might thrown an ISE when removing the mContentView; thi
[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/android/support/v7/app/
H A DWindowDecorActionBar.java95 View mContentView; field in class:WindowDecorActionBar
137 if (mContentAnimations && mContentView != null) {
138 mContentView.setTranslationY(0f);
174 mContentView = decor.findViewById(android.R.id.content);
806 if (mContentAnimations && mContentView != null) {
807 mContentView.setTranslationY(startingY);
808 anim.play(ViewCompat.animate(mContentView).translationY(0f));
825 if (mContentAnimations && mContentView != null) {
826 mContentView.setTranslationY(0);
853 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/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...]
H A DEditor.java2939 mContentView = linearLayout;
2940 mContentView.setBackgroundResource(
2953 mContentView.addView(mDeleteTextView);
3109 protected ViewGroup mContentView; field in class:Editor.PinnedPopupWindow
3139 mContentView.setLayoutParams(wrapContent);
3141 mPopupWindow.setContentView(mContentView);
3155 mContentView.measure(
3165 * This method assumes that mContentView has properly been measured from its content. */
3168 final int width = mContentView.getMeasuredWidth();
3186 final int width = mContentView
[all...]

Completed in 492 milliseconds