HomeSort by relevance Sort by last modified time
    Searched refs:contentView (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /cts/tests/tests/view/src/android/view/cts/
ActionModeCtsActivity.java 26 public View contentView;
32 contentView = new FrameLayout(this);
33 setContentView(contentView);
  /frameworks/support/compat/tests/java/android/support/v4/
BaseTestActivity.java 28 final int contentView = getContentViewLayoutResId();
29 if (contentView > 0) {
30 setContentView(contentView);
  /frameworks/support/core-ui/tests/java/android/support/v4/
BaseTestActivity.java 28 final int contentView = getContentViewLayoutResId();
29 if (contentView > 0) {
30 setContentView(contentView);
  /frameworks/support/percent/tests/java/android/support/percent/
BaseTestActivity.java 29 final int contentView = getContentViewLayoutResId();
30 if (contentView > 0) {
31 setContentView(contentView);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPopupWindow.java 19 private View contentView;
33 public void __constructor__(View contentView) {
34 setContentView(contentView);
38 public void __constructor__(View contentView, int width, int height, boolean focusable) {
39 __constructor__(contentView);
46 public void setContentView(View contentView) {
47 this.contentView = contentView;
48 context = contentView.getContext();
53 return contentView;
    [all...]
ShadowTabSpec.java 22 private View contentView;
98 contentView = factory.createTabContent(this.tag);
114 return contentView;
ShadowActivity.java 39 private View contentView;
98 * Sets the {@code contentView} for this {@code Activity} by invoking the
106 contentView = getLayoutInflater().inflate(layoutResID, new FrameLayout(realActivity));
112 contentView = view;
138 * Checks to ensure that the{@code contentView} has been set
142 * @throws RuntimeException if the {@code contentView} has not been called first
149 if (contentView != null) {
150 return contentView.findViewById(id);
162 contentViewContainer.addView(contentView, 0);
265 * @return the {@code contentView} set by one of the {@code setContentView()} method
    [all...]
  /frameworks/support/design/tests/src/android/support/design/widget/
BaseTestActivity.java 34 final int contentView = getContentViewLayoutResId();
35 if (contentView > 0) {
36 setContentView(contentView);
  /developers/build/prebuilts/gradle/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/
MainActivity.java 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification);
81 contentView.setTextViewText(R.id.textView, text);
88 notification.contentView = contentView;
92 // (The normal contentView is shown when the notification is collapsed, when expanded the
  /developers/samples/android/notification/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/
MainActivity.java 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification);
81 contentView.setTextViewText(R.id.textView, text);
88 notification.contentView = contentView;
92 // (The normal contentView is shown when the notification is collapsed, when expanded the
  /development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/
MainActivity.java 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification);
81 contentView.setTextViewText(R.id.textView, text);
88 notification.contentView = contentView;
92 // (The normal contentView is shown when the notification is collapsed, when expanded the
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EmptyViewController.java 45 * @param contentView The view that should be displayed when empty view is hidden.
48 public EmptyViewController(ViewGroup mainLayout, View contentView, View emptyView) {
50 mContentView = contentView;
55 .addTarget(contentView)
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PopupWindowTest.java 43 View contentView = new View(null);
44 popupWindow.setContentView(contentView);
46 assertThat(popupWindow.getContentView(), is(contentView));
128 private View contentView;
134 contentView = new View(Robolectric.application);
135 contentView.setId(R.id.content_view);
141 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true);
148 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true);
156 PopupWindow popupWindow = new PopupWindow(contentView);
163 PopupWindow popupWindow = new PopupWindow(contentView);
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
MediaNotificationProcessorTest.java 89 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/base/core/java/android/app/
Notification.java 316 public RemoteViews contentView;
319 * A large-format version of {@link #contentView}, giving the Notification an
332 * A medium-format version of {@link #contentView}, providing the Notification an
333 * opportunity to add action buttons to contentView. At its discretion, the system UI may
    [all...]
  /development/samples/devbytes/ui/ImmersiveMode/src/main/java/com/example/android/immersive/
ImmersiveActivity.java 38 final View contentView = findViewById(R.id.fullscreen_content);
51 contentView.setClickable(true);
66 contentView.setOnTouchListener(new View.OnTouchListener() {
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DialogFragmentUsage.java 86 static MenuDialogFragment create(int contentView) {
88 b.putInt(PARAM_CONTENT_VIEW, contentView);
107 int contentView = args.getInt(PARAM_CONTENT_VIEW);
108 return inflater.inflate(contentView, container, false);
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertReceiver.java 361 RemoteViews contentView = new RemoteViews(context.getPackageName(),
363 contentView.setImageViewResource(R.id.image, R.drawable.stat_notify_calendar);
364 contentView.setTextViewText(R.id.title, title);
365 contentView.setTextViewText(R.id.text, summaryText);
369 contentView.setViewVisibility(R.id.map_button, View.GONE);
371 contentView.setViewVisibility(R.id.map_button, View.VISIBLE);
372 contentView.setOnClickPendingIntent(R.id.map_button, mapIntent);
373 contentView.setViewVisibility(R.id.end_padding, View.GONE);
377 contentView.setViewVisibility(R.id.call_button, View.GONE);
379 contentView.setViewVisibility(R.id.call_button, View.VISIBLE)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
ViewAttachTest.java 86 View contentView = activity.findViewById(R.id.view_attach_view);
87 boolean shouldDrawRoundScrollbars = contentView.shouldDrawRoundScrollbar();
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppBtErrorActivity.java 74 TextView contentView = (TextView)view.findViewById(R.id.content);
75 contentView.setText(mErrorContent);
BluetoothOppBtEnableActivity.java 74 TextView contentView = (TextView)view.findViewById(R.id.content);
75 contentView.setText(getString(R.string.bt_enable_line1) + "\n\n"
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherStateTransitionAnimation.java 224 final View contentView = toView.getContentView();
239 contentView.setVisibility(View.VISIBLE);
279 contentView.setVisibility(View.VISIBLE);
280 contentView.setAlpha(0f);
281 contentView.setTranslationY(revealViewToYDrift);
282 layerViews.addView(contentView);
285 ObjectAnimator pageDrift = ObjectAnimator.ofFloat(contentView, "translationY",
292 ObjectAnimator itemsAlpha = ObjectAnimator.ofFloat(contentView, "alpha", 0f, 1f);
332 layerViews.addView(contentView);
506 final View contentView = fromView.getContentView()
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
LoadingViewController.java 36 public LoadingViewController(View loadingView, View contentView) {
38 mContentView = contentView;
  /frameworks/support/transition/api14/android/support/transition/
ViewOverlayApi14.java 66 ViewGroup contentView = getContentView(view);
67 if (contentView != null) {
68 final int numChildren = contentView.getChildCount();
70 View child = contentView.getChildAt(i);
75 return new ViewGroupOverlayApi14(contentView.getContext(), contentView, view);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
StatusBarNotifications.java 222 // can set the contentView field to your own RemoteViews object.
236 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.status_bar_balloon);
237 contentView.setTextViewText(R.id.text, text);
238 contentView.setImageViewResource(R.id.icon, moodId);
239 notif.contentView = contentView;

Completed in 4147 milliseconds

1 2 3 4 5 6