Home
last modified time | relevance | path

Searched refs:contentView (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompatImplBase.java273 RemoteViews contentView = new RemoteViews(context.getPackageName(), resId); in applyStandardTemplate() local
281 contentView.setInt(R.id.notification_background, in applyStandardTemplate()
283 contentView.setInt(R.id.icon, in applyStandardTemplate()
286 contentView.setInt(R.id.notification_background, in applyStandardTemplate()
288 contentView.setInt(R.id.icon, in applyStandardTemplate()
297 contentView.setViewVisibility(R.id.icon, View.VISIBLE); in applyStandardTemplate()
298 contentView.setImageViewBitmap(R.id.icon, largeIcon); in applyStandardTemplate()
300 contentView.setViewVisibility(R.id.icon, View.GONE); in applyStandardTemplate()
313 contentView.setImageViewBitmap(R.id.right_icon, smallBit); in applyStandardTemplate()
315 contentView.setImageViewBitmap(R.id.right_icon, in applyStandardTemplate()
[all …]
DNotificationCompat.java454 RemoteViews contentView = addStyleGetContentViewIcs(builder, b); in build() local
458 if (contentView != null) { in build()
459 n.contentView = contentView; in build()
461 n.contentView = b.getContentView(); in build()
476 RemoteViews contentView = addStyleGetContentViewJellybean(builder, b); in build() local
480 if (contentView != null) { in build()
481 n.contentView = contentView; in build()
497 RemoteViews contentView = addStyleGetContentViewLollipop(builder, b); in build() local
501 if (contentView != null) { in build()
502 n.contentView = contentView; in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessorTest.java89 notification.contentView = remoteViews; in testRemoteViewsReset()
94 RemoteViews contentView = builder.createContentView(); in testRemoteViewsReset() local
95 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
96 contentView = builder.createBigContentView(); in testRemoteViewsReset()
97 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
98 contentView = builder.createHeadsUpContentView(); in testRemoteViewsReset()
99 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
/frameworks/support/core-ui/tests/java/android/support/v4/
DBaseTestActivity.java28 final int contentView = getContentViewLayoutResId(); in onCreate() local
29 if (contentView > 0) { in onCreate()
30 setContentView(contentView); in onCreate()
/frameworks/support/compat/tests/java/android/support/v4/
DBaseTestActivity.java28 final int contentView = getContentViewLayoutResId(); in onCreate() local
29 if (contentView > 0) { in onCreate()
30 setContentView(contentView); in onCreate()
/frameworks/support/percent/tests/java/android/support/percent/
DBaseTestActivity.java29 final int contentView = getContentViewLayoutResId(); in onCreate() local
30 if (contentView > 0) { in onCreate()
31 setContentView(contentView); in onCreate()
/frameworks/support/design/tests/src/android/support/design/widget/
DBaseTestActivity.java33 final int contentView = getContentViewLayoutResId(); in onCreate() local
34 if (contentView > 0) { in onCreate()
35 setContentView(contentView); in onCreate()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DDialogFragmentUsage.java86 static MenuDialogFragment create(int contentView) { in create() argument
88 b.putInt(PARAM_CONTENT_VIEW, contentView); in create()
107 int contentView = args.getInt(PARAM_CONTENT_VIEW); in onCreateView() local
108 return inflater.inflate(contentView, container, false); in onCreateView()
/frameworks/support/compat/api26/android/support/v4/app/
DNotificationCompatApi26.java44 String sortKey, CharSequence[] remoteInputHistory, RemoteViews contentView, in Builder() argument
52 .setContent(n.contentView) in Builder()
92 if (contentView != null) { in Builder()
93 mB.setCustomContentView(contentView); in Builder()
/frameworks/support/transition/api14/android/support/transition/
DViewOverlayApi14.java66 ViewGroup contentView = getContentView(view); in createFrom() local
67 if (contentView != null) { in createFrom()
68 final int numChildren = contentView.getChildCount(); in createFrom()
70 View child = contentView.getChildAt(i); in createFrom()
75 return new ViewGroupOverlayApi14(contentView.getContext(), contentView, view); in createFrom()
/frameworks/support/compat/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java48 String sortKey, RemoteViews contentView, RemoteViews bigContentView) { in Builder() argument
53 .setContent(n.contentView) in Builder()
97 mContentView = contentView; in Builder()
123 notification.contentView = mContentView; in build()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java69 LinearLayout contentView = new LinearLayout(this); in onCreate() local
70 contentView.setOrientation(LinearLayout.VERTICAL); in onCreate()
71 setContentView(contentView); in onCreate()
84 contentView.addView(webView, new LayoutParams( in onCreate()
/frameworks/base/core/java/android/widget/
DPopupWindow.java349 public PopupWindow(View contentView) { in PopupWindow() argument
350 this(contentView, 0, 0); in PopupWindow()
379 public PopupWindow(View contentView, int width, int height) { in PopupWindow() argument
380 this(contentView, width, height, false); in PopupWindow()
395 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
396 if (contentView != null) { in PopupWindow()
397 mContext = contentView.getContext(); in PopupWindow()
401 setContentView(contentView); in PopupWindow()
631 public void setContentView(View contentView) { in setContentView() argument
636 mContentView = contentView; in setContentView()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java62 View contentView = getDecorContent().findViewById(contentRootId); in AppCompatActionBar() local
63 if (contentView != null) { in AppCompatActionBar()
64 assert contentView instanceof FrameLayout; in AppCompatActionBar()
65 setContentRoot((FrameLayout) contentView); in AppCompatActionBar()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java86 View contentView = activity.findViewById(R.id.view_attach_view); in testRoundScrollbars() local
87 boolean shouldDrawRoundScrollbars = contentView.shouldDrawRoundScrollbar(); in testRoundScrollbars()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DBaseTestActivity.java56 final int contentView = getContentViewLayoutResId(); in onCreate() local
57 if (contentView > 0) { in onCreate()
58 setContentView(contentView); in onCreate()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDialogFragmentCompat.java146 View contentView = onCreateDialogView(context); in onCreateDialog() local
147 if (contentView != null) { in onCreateDialog()
148 onBindDialogView(contentView); in onCreateDialog()
149 builder.setView(contentView); in onCreateDialog()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceDialogFragment.java147 View contentView = onCreateDialogView(context); in onCreateDialog() local
148 if (contentView != null) { in onCreateDialog()
149 onBindDialogView(contentView); in onCreateDialog()
150 builder.setView(contentView); in onCreateDialog()
/frameworks/support/compat/api24/android/support/v4/app/
DNotificationCompatApi24.java55 String sortKey, CharSequence[] remoteInputHistory, RemoteViews contentView, in Builder() argument
62 .setContent(n.contentView) in Builder()
94 if (contentView != null) { in Builder()
95 b.setCustomContentView(contentView); in Builder()
/frameworks/base/core/java/android/preference/
DDialogPreference.java298 View contentView = onCreateDialogView(); in showDialog() local
299 if (contentView != null) { in showDialog()
300 onBindDialogView(contentView); in showDialog()
301 mBuilder.setView(contentView); in showDialog()
/frameworks/support/compat/api20/android/support/v4/app/
DNotificationCompatApi20.java55 String sortKey, RemoteViews contentView, RemoteViews bigContentView, in Builder() argument
61 .setContent(n.contentView) in Builder()
95 mContentView = contentView; in Builder()
115 notification.contentView = mContentView; in build()
/frameworks/support/compat/api21/android/support/v4/app/
DNotificationCompatApi21.java81 String sortKey, RemoteViews contentView, RemoteViews bigContentView, in Builder() argument
87 .setContent(n.contentView) in Builder()
124 mContentView = contentView; in Builder()
145 notification.contentView = mContentView; in build()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/
DTemplateLayoutTest.java84 View contentView = layout.findViewById(R.id.test_view_id); in testTemplate() local
85 assertSame("The view added should be the same text view", tv, contentView); in testTemplate()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableDrawerLayout.java295 final View contentView = drawerView.getDrawerContent(); in showDrawerContentMaybeAnimate() local
296 if (contentView != null) { in showDrawerContentMaybeAnimate()
297 contentView.setVisibility(VISIBLE); in showDrawerContentMaybeAnimate()
305 if (contentView != null) { in showDrawerContentMaybeAnimate()
306 contentView.setAlpha(0); in showDrawerContentMaybeAnimate()
307 contentView in showDrawerContentMaybeAnimate()
316 if (contentView != null) { in showDrawerContentMaybeAnimate()
317 contentView.setAlpha(1); in showDrawerContentMaybeAnimate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGuts.java317 final View contentView = mGutsContent.getContentView(); in setExposed() local
318 contentView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); in setExposed()
320 contentView.requestAccessibilityFocus(); in setExposed()

12