/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...] |
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; 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...] |
/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/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
|
/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/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/content/public/android/java/src/org/chromium/content/browser/input/ |
SelectPopupDialog.java | 135 * Shows the popup menu triggered by the passed ContentView. 152 * Hides the showing popup menu if any it was triggered by the passed ContentView. If 153 * contentView is null, hides it regardless of which ContentView triggered it. 154 * @param contentView 156 public static void hide(ContentViewCore contentView) { 158 (contentView == null || sShownDialog.mContentViewCore == contentView)) { 159 if (contentView != null) contentView.selectPopupMenuItems(null) [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 | 8 import org.chromium.content.browser.ContentView; 21 public TestCallbackHelperContainer(ContentView contentView) { 23 contentView.getContentViewCore().setContentViewClient(mTestContentViewClient); 24 mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore());
|
/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();
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
NativeMacSubWindow.m | 51 [[win contentView] addSubview:glView];
|