Searched refs:contentView (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/support/compat/src/androidTest/java/android/support/v4/
H A DBaseTestActivity.java28 final int contentView = getContentViewLayoutResId();
29 if (contentView > 0) {
30 setContentView(contentView);
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/
H A DBaseTestActivity.java28 final int contentView = getContentViewLayoutResId();
29 if (contentView > 0) {
30 setContentView(contentView);
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DBaseTestActivity.java35 final int contentView = getContentViewLayoutResId();
36 if (contentView > 0) {
37 setContentView(contentView);
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
H A DBaseTestActivity.java29 final int contentView = getContentViewLayoutResId();
30 if (contentView > 0) {
31 setContentView(contentView);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DMediaNotificationProcessorTest.java89 notification.contentView = remoteViews;
94 RemoteViews contentView = builder.createContentView();
95 assertNotSame(contentView, remoteViews);
96 contentView = builder.createBigContentView();
97 assertNotSame(contentView, remoteViews);
98 contentView = builder.createHeadsUpContentView();
99 assertNotSame(contentView, remoteViews);
/frameworks/support/browser/src/androidTest/java/androidx/browser/browseractions/
H A DBrowserActionsFallbackMenuUiTest.java110 public void onMenuShown(View contentView) {
112 assertDialogInflatedCorrectly(contentView);
127 private void assertDialogInflatedCorrectly(View contentView) { argument
128 assertNotNull(contentView);
130 (TextView) contentView.findViewById(R.id.browser_actions_header_text);
134 (ListView) contentView.findViewById(R.id.browser_actions_menu_items);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DDialogFragmentUsage.java87 static MenuDialogFragment create(int contentView) { argument
89 b.putInt(PARAM_CONTENT_VIEW, contentView);
108 int contentView = args.getInt(PARAM_CONTENT_VIEW);
109 return inflater.inflate(contentView, container, false);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DDialogFragmentUsage.java87 static MenuDialogFragment create(int contentView) { argument
89 b.putInt(PARAM_CONTENT_VIEW, contentView);
108 int contentView = args.getInt(PARAM_CONTENT_VIEW);
109 return inflater.inflate(contentView, container, false);
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewAttachTest.java88 View contentView = activity.findViewById(R.id.view_attach_view);
89 boolean shouldDrawRoundScrollbars = contentView.shouldDrawRoundScrollbar();
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/
H A DBrowserActionsFallbackMenuDialog.java41 BrowserActionsFallbackMenuDialog(Context context, View contentView) { argument
43 mContentView = contentView;
/frameworks/base/core/java/android/app/
H A DNotification.java337 public RemoteViews contentView; field in class:Notification
340 * A large-format version of {@link #contentView}, giving the Notification an
353 * A medium-format version of {@link #contentView}, providing the Notification an
354 * opportunity to add action buttons to contentView. At its discretion, the system UI may
2142 contentView = RemoteViews.CREATOR.createFromParcel(parcel);
2244 if (heavy && this.contentView != null) {
2245 that.contentView = this.contentView.clone();
2343 if (contentView != null) contentView
3656 setCustomContentView(RemoteViews contentView) argument
3667 setCustomBigContentView(RemoteViews contentView) argument
3678 setCustomHeadsUpContentView(RemoteViews contentView) argument
4311 bindProfileBadge(RemoteViews contentView) argument
4343 resetStandardTemplate(RemoteViews contentView) argument
4357 resetNotificationHeader(RemoteViews contentView) argument
4434 setTextViewColorPrimary(RemoteViews contentView, int id) argument
4463 setTextViewColorSecondary(RemoteViews contentView, int id) argument
4547 updateBackgroundColor(RemoteViews contentView) argument
4573 handleProgressBar(boolean hasProgress, RemoteViews contentView, Bundle ex) argument
4596 bindLargeIconAndReply(RemoteViews contentView, StandardTemplateParams p, TemplateBindResult result) argument
4647 bindLargeIcon(RemoteViews contentView, boolean hideLargeIcon) argument
4664 bindReplyIcon(RemoteViews contentView, boolean hideReplyIcon) argument
4702 bindNotificationHeader(RemoteViews contentView, boolean ambient, CharSequence secondaryHeaderText) argument
4718 bindActivePermissions(RemoteViews contentView, boolean ambient) argument
4725 bindExpandButton(RemoteViews contentView) argument
4733 bindHeaderChronometerAndTime(RemoteViews contentView) argument
4757 bindHeaderText(RemoteViews contentView) argument
4779 bindHeaderTextSecondary(RemoteViews contentView, CharSequence secondaryText) argument
4823 bindHeaderAppName(RemoteViews contentView, boolean ambient) argument
4833 bindSmallIcon(RemoteViews contentView, boolean ambient) argument
5393 processSmallIconColor(Icon smallIcon, RemoteViews contentView, boolean ambient) argument
5418 processLargeLegacyIcon(Icon largeIcon, RemoteViews contentView) argument
6576 applyBigTextContentView(Builder builder, RemoteViews contentView, CharSequence bigTextText) argument
7649 handleInboxImageMargin(RemoteViews contentView, int id, boolean first, int marginEndValue) argument
7909 handleImage(RemoteViews contentView) argument
[all...]
/frameworks/support/transition/src/main/java/androidx/transition/
H A DViewOverlayApi14.java65 ViewGroup contentView = getContentView(view);
66 if (contentView != null) {
67 final int numChildren = contentView.getChildCount();
69 View child = contentView.getChildAt(i);
74 return new ViewGroupOverlayApi14(contentView.getContext(), contentView, view);
/frameworks/support/media/src/main/java/androidx/media/app/
H A DNotificationCompat.java362 * .setCustomContentView(contentView)
414 RemoteViews contentView = generateContentView();
416 buildIntoRemoteViews(contentView, mBuilder.getContentView());
418 setBackgroundColor(contentView);
419 return contentView;
422 RemoteViews contentView = generateContentView();
424 buildIntoRemoteViews(contentView, mBuilder.getContentView());
425 return contentView;
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/
H A DBaseTestActivity.java57 final int contentView = getContentViewLayoutResId();
58 if (contentView > 0) {
59 setContentView(contentView);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/
H A DTemplateLayoutTest.java84 View contentView = layout.findViewById(R.id.test_view_id);
85 assertSame("The view added should be the same text view", tv, contentView);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompat.java891 mNotification.contentView = views;
1461 public Builder setCustomContentView(RemoteViews contentView) { argument
1462 mContentView = contentView;
1474 public Builder setCustomBigContentView(RemoteViews contentView) { argument
1475 mBigContentView = contentView;
1487 public Builder setCustomHeadsUpContentView(RemoteViews contentView) { argument
1488 mHeadsUpContentView = contentView;
1736 RemoteViews contentView = new RemoteViews(mBuilder.mContext.getPackageName(), resId);
1744 contentView.setInt(R.id.notification_background,
1746 contentView
[all...]
H A DNotificationCompatBuilder.java72 .setContent(n.contentView)
226 n.contentView = styleContentView;
228 n.contentView = mBuilderCompat.mContentView;
318 notification.contentView = mContentView;
346 notification.contentView = mContentView;
379 notification.contentView = mContentView;
405 notification.contentView = mContentView;
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java69 LinearLayout contentView = new LinearLayout(this);
70 contentView.setOrientation(LinearLayout.VERTICAL);
71 setContentView(contentView);
84 contentView.addView(webView, new LayoutParams(
/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreferenceDialogFragment.java147 View contentView = onCreateDialogView(context);
148 if (contentView != null) {
149 onBindDialogView(contentView);
150 builder.setView(contentView);
H A DPreferenceDialogFragmentCompat.java147 View contentView = onCreateDialogView(context);
148 if (contentView != null) {
149 onBindDialogView(contentView);
150 builder.setView(contentView);
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java298 View contentView = onCreateDialogView();
299 if (contentView != null) {
300 onBindDialogView(contentView);
301 mBuilder.setView(contentView);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DAppCompatActionBar.java73 View contentView = getDecorContent().findViewById(contentRootId);
74 if (contentView != null) {
75 assert contentView instanceof FrameLayout;
76 setContentRoot((FrameLayout) contentView);
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java342 * <tt>contentView</tt>. The dimension of the window are (0,0).</p>
347 * @param contentView the popup's content
349 public PopupWindow(View contentView) { argument
350 this(contentView, 0, 0);
369 * <tt>contentView</tt>. The dimension of the window must be passed to
375 * @param contentView the popup's content
379 public PopupWindow(View contentView, int width, int height) { argument
380 this(contentView, width, height, false);
384 * <p>Create a new popup window which can display the <tt>contentView</tt>.
390 * @param contentView th
395 PopupWindow(View contentView, int width, int height, boolean focusable) argument
631 setContentView(View contentView) argument
1376 createBackgroundView(View contentView) argument
1399 createDecorView(View contentView) argument
1982 dismissImmediate(View decorView, ViewGroup contentHolder, View contentView) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenDurationDialog.java84 View contentView = getContentView();
86 builder.setView(contentView);
131 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_duration_dialog,
133 ScrollView container = (ScrollView) contentView.findViewById(R.id.zen_duration_container);
150 return contentView;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationGuts.java377 final View contentView = mGutsContent.getContentView();
378 contentView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED);
380 contentView.requestAccessibilityFocus();

Completed in 641 milliseconds

12