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

1 2

  /developers/build/prebuilts/gradle/CustomNotifications/CustomNotificationsSample/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/ui/notifications/CustomNotifications/CustomNotificationsSample/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
  /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() {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
StatusBarNotifications.java 217 // can set the contentView field to your own RemoteViews object.
231 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.status_bar_balloon);
232 contentView.setTextViewText(R.id.text, text);
233 contentView.setImageViewResource(R.id.icon, moodId);
234 notif.contentView = contentView;
  /external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
ShellManager.java 14 import org.chromium.content.browser.ContentView;
103 ContentView contentView = mActiveShell.getContentView();
104 if (contentView != null) {
105 mContentViewRenderView.setCurrentContentView(contentView);
106 contentView.onShow();
116 ContentView contentView = shellView.getContentView();
117 if (contentView != null) contentView.onHide()
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/input/
SelectPopupOtherContentViewTest.java 11 import org.chromium.content.browser.ContentView;
47 * Tests that the showing select popup does not get closed because an unrelated ContentView
61 final ContentView view = getActivity().getActiveContentView();
70 // Now create and destroy a different ContentView.
76 ContentView contentView = ContentView.newInstance(
78 contentView.destroy();
  /external/chromium_org/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/
ChromiumTestShellUrlTest.java 11 import org.chromium.content.browser.ContentView;
42 // Ensure we have a ContentView and ContentViewCore.
43 final AtomicReference<ContentView> contentView = new AtomicReference<ContentView>();
49 ContentView activeContentView = activity.getActiveContentView();
50 contentView.set(activeContentView);
56 assertNotNull(contentView.get());
  /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"
BluetoothOppBtEnablingActivity.java 96 TextView contentView = (TextView)view.findViewById(R.id.progress_info);
97 contentView.setText(getString(R.string.enabling_progress_content));
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
NavigationTest.java 28 private void goBack(final ContentView contentView,
35 contentView.goBack();
40 private void reload(final ContentView contentView,
47 contentView.getContentViewCore().reload(true);
57 ContentView contentView = activity.getActiveContentView();
59 new TestCallbackHelperContainer(contentView);
61 loadUrl(contentView, testCallbackHelperContainer, new LoadUrlParams(URL_2))
    [all...]
  /frameworks/base/core/java/android/app/
Notification.java 195 public RemoteViews contentView;
198 * A large-format version of {@link #contentView}, giving the Notification an
729 contentView = RemoteViews.CREATOR.createFromParcel(parcel);
792 if (heavy && this.contentView != null) {
793 that.contentView = this.contentView.clone();
859 contentView = null;
922 if (contentView != null) {
924 contentView.writeToParcel(parcel, 0);
    [all...]
  /external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/
TestShellTab.java 14 import org.chromium.content.browser.ContentView;
69 * Navigates this Tab's {@link ContentView} to a sanitized version of {@code url}.
82 ContentView contentView = getContentView();
83 if (TextUtils.equals(url, contentView.getUrl())) {
84 contentView.getContentViewCore().reload(true);
87 contentView.loadUrl(new LoadUrlParams(url));
89 contentView.loadUrl(LoadUrlParams.createLoadHttpPostParams(url, postData));
95 * Navigates this Tab's {@link ContentView} to a sanitized version of {@code url}.
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
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...]
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...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
StreamItemAdapter.java 113 final View contentView = view.findViewById(R.id.stream_item_content);
118 contentView.setTag(streamItem);
119 contentView.setFocusable(true);
120 contentView.setOnClickListener(mItemClickListener);
121 contentView.setEnabled(true);
123 contentView.setTag(null);
124 contentView.setFocusable(false);
125 contentView.setOnClickListener(null);
127 contentView.setClickable(false);
128 contentView.setEnabled(false)
    [all...]
  /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/tests/BrowserPowerTest/src/com/android/browserpowertest/
PowerTestActivity.java 69 LinearLayout contentView = new LinearLayout(this);
70 contentView.setOrientation(LinearLayout.VERTICAL);
71 setContentView(contentView);
84 contentView.addView(webView, new LayoutParams(
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
SyncTest.java 20 import org.chromium.content.browser.ContentView;
185 ContentView contentView = activity.getActiveContentView();
186 if (contentView == null) return null;
187 return contentView.getContentViewCore();
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
JellyBeanAccessibilityInjector.java 178 * @param contentView The ContentViewCore to perform the action on.
182 private boolean performAction(ContentViewCore contentView, String code) {
186 contentView.evaluateJavaScript(js, null);
  /external/robolectric/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...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
TabsAdapter.java 154 final View contentView = mTabs.get(position).view;
155 if (contentView instanceof CaffeinatedScrollView) {
156 ((CaffeinatedScrollView) contentView).awakenScrollBars();
  /frameworks/base/core/java/android/preference/
DialogPreference.java 287 View contentView = onCreateDialogView();
288 if (contentView != null) {
289 onBindDialogView(contentView);
290 mBuilder.setView(contentView);

Completed in 1389 milliseconds

1 2