/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/fragment/tests/java/android/support/v4/ |
BaseTestActivity.java | 28 final int contentView = getContentViewLayoutResId(); 29 if (contentView > 0) { 30 setContentView(contentView);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
BaseTestActivity.java | 33 final int contentView = getContentViewLayoutResId(); 34 if (contentView > 0) { 35 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/v7/appcompat/src/android/support/v7/app/ |
NotificationCompatImplBase.java | 45 * contentView and bigContentView of the notification. 263 RemoteViews contentView = new RemoteViews(context.getPackageName(), resId); 273 contentView.setInt(R.id.notification_background, 275 contentView.setInt(R.id.icon, 278 contentView.setInt(R.id.notification_background, 280 contentView.setInt(R.id.icon, 289 contentView.setViewVisibility(R.id.icon, View.VISIBLE); 290 contentView.setImageViewBitmap(R.id.icon, largeIcon); 292 contentView.setViewVisibility(R.id.icon, View.GONE); 305 contentView.setImageViewBitmap(R.id.right_icon, smallBit) [all...] |
/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/core/java/android/app/ |
Notification.java | 292 public RemoteViews contentView; 295 * A large-format version of {@link #contentView}, giving the Notification an 308 * A medium-format version of {@link #contentView}, providing the Notification an 309 * 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 | 89 static MenuDialogFragment create(int contentView) { 91 b.putInt(PARAM_CONTENT_VIEW, contentView); 110 int contentView = args.getInt(PARAM_CONTENT_VIEW); 111 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...] |
/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 | 71 TextView contentView = (TextView)view.findViewById(R.id.content); 72 contentView.setText(getString(R.string.bt_enable_line1) + "\n\n"
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
TemplateLayoutTest.java | 71 View contentView = layout.findViewById(R.id.test_view_id); 72 assertSame("The view added should be the same text view", tv, contentView);
|
/cts/tests/app/src/android/app/cts/ |
NotificationTest.java | 79 final RemoteViews contentView = new RemoteViews(mContext.getPackageName(), 81 mNotification.contentView = contentView; 104 assertNotNull(result.contentView); 138 mNotification.contentView = null; 143 assertNull(result.contentView);
|
/frameworks/support/transition/ics/android/support/transition/ |
ViewOverlay.java | 64 ViewGroup contentView = getContentView(view); 65 if (contentView != null) { 66 final int numChildren = contentView.getChildCount(); 68 View child = contentView.getChildAt(i); 73 return new ViewGroupOverlay(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;
|