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

1 2 3

  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
NavigationTest.java 30 private void goBack(final ContentView contentView,
37 contentView.goBack();
42 private void reload(final ContentView contentView,
49 contentView.reload();
59 ContentView contentView = activity.getActiveContentView();
61 new TestCallbackHelperContainer(contentView);
63 loadUrl(contentView, testCallbackHelperContainer, new LoadUrlParams(URL_2))
    [all...]
ContentViewTestBase.java 19 * Sets up the ContentView and injects the supplied object. Intended to be called from setUp().
34 ContentView contentView = activity.getActiveContentView();
35 contentView.getContentViewCore().addPossiblyUnsafeJavascriptInterface(object,
38 new TestCallbackHelperContainer(contentView);
46 "Failed to set up ContentView: " + Log.getStackTraceString(e));
54 protected void loadDataSync(final ContentView contentView, final String data,
56 loadUrl(contentView, mTestCallbackHelperContainer, LoadUrlParams.createLoadDataParams(
  /external/robolectric/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...]
  /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...]
  /external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
ShellManager.java 14 import org.chromium.content.browser.ContentView;
101 ContentView contentView = mActiveShell.getContentView();
102 if (contentView != null) {
103 mContentViewRenderView.setCurrentContentView(contentView);
104 contentView.onShow();
114 ContentView contentView = shellView.getContentView();
115 if (contentView != null) contentView.onHide()
    [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...]
  /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
  /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...]
  /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() {
  /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...]
  /cts/tests/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);
159 assertTrue(mNotification.contentView instanceof RemoteViews);
160 assertNotNull(mNotification.contentView);
  /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"
  /sdk/emulator/opengl/tests/translator_tests/MacCommon/
setup_gl.m 30 [[win contentView] addSubview:glView];
  /external/chromium/chrome/browser/resources/net_internals/
tabswitcherview.js 48 tab.contentView.setGeometry(left, contentTop, width, contentHeight);
59 activeTab.contentView.show(isVisible);
70 TabSwitcherView.prototype.addTab = function(id, contentView, switchOnClick) {
71 var tab = new TabEntry(id, contentView);
83 tab.contentView.show(false);
124 newTab.contentView.setParameters(params);
151 function TabEntry(id, contentView) {
153 this.contentView = contentView;
159 this.contentView.show(isSelected)
    [all...]
  /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());
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
TestCallbackHelperContainer.java 10 import org.chromium.content.browser.ContentView;
23 public TestCallbackHelperContainer(ContentView contentView) {
25 contentView.getContentViewCore().setContentViewClient(mTestContentViewClient);
26 mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore());
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/input/
SelectPopupOtherContentViewTest.java 9 import org.chromium.content.browser.ContentView;
48 * Tests that the showing select popup does not get closed because an unrelated ContentView
62 final ContentView view = getActivity().getActiveContentView();
71 // Now create and destroy a different ContentView.
77 ContentView contentView = ContentView.newInstance(
79 contentView.destroy();
  /sdk/emulator/opengl/host/libs/libOpenglRender/
NativeMacSubWindow.m 51 [[win contentView] addSubview:glView];
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
InsertionHandleController.java 287 View contentView = mContainer.getContentView();
288 int width = contentView.getMeasuredWidth();
289 int height = contentView.getMeasuredHeight();
305 contentView = mContainer.getContentView();
306 width = contentView.getMeasuredWidth();
307 height = contentView.getMeasuredHeight();
  /external/chromium_org/third_party/mozilla/
ComplexTextInputPanel.mm 72 mInputTextView = [[NSTextView alloc] initWithFrame:[self.contentView frame]];
75 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]];
77 self.contentView = scrollView;
  /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;

Completed in 4042 milliseconds

1 2 3