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

1 2 3

  /cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
WebViewActivity.java 26 import android.webkit.WebView;
41 setContentView(R.layout.webview);
42 WebView webview = (WebView) findViewById(R.id.webview); local
43 webview.setWebViewClient(new WebViewClient() {
45 public void onPageFinished(WebView view, String url){
49 webview.loadData(Utils.WEBVIEW_HTML, "text/html", "UTF-8");
50 //webview.loadUrl
    [all...]
  /packages/apps/Browser2/src/org/chromium/webview_shell/
TelemetryMemoryPressureActivity.java 11 import android.webkit.WebView;
15 * This activity is designed for sending memory pressure signals for testing WebView.
28 WebView webview = (WebView) findViewById(R.id.webview); local
30 webview.getSettings().setJavaScriptEnabled(true);
32 webview.setWebViewClient(new WebViewClient() {
34 public boolean shouldOverrideUrlLoading(WebView webView, String url)
    [all...]
JankActivity.java 11 import android.webkit.WebView;
15 * This activity is designed for Android Jank testing of WebView. It takes a URL as an argument, and
27 WebView webView = (WebView) findViewById(R.id.webview);
30 webView.setWebViewClient(new WebViewClient() {
32 public boolean shouldOverrideUrlLoading(WebView webView, String url) {
38 webView.loadUrl(url)
    [all...]
TelemetryActivity.java 10 import android.webkit.WebView;
14 * This activity is designed for Telemetry testing of WebView.
25 WebView webView = (WebView) findViewById(R.id.webview);
27 webView.getSettings().setJavaScriptEnabled(true);
29 webView.setWebViewClient(new WebViewClient() {
31 public boolean shouldOverrideUrlLoading(WebView webView, String url)
    [all...]
WebViewBrowserActivity.java 38 import android.webkit.WebView;
58 * This activity is designed for starting a "mini-browser" for manual testing of WebView.
60 * on top of the webview for manually specifying URLs to load.
90 private WebView mWebView;
161 WebView.setWebContentsDebuggingEnabled(true);
190 WebView webview = new WebView(this); local
191 WebSettings settings = webview.getSettings();
202 webview.setWebViewClient(new WebViewClient()
    [all...]
WebViewLayoutTestActivity.java 15 import android.webkit.WebView;
22 * This activity is used for running layout tests using webview. The activity
23 * creates a webview instance, loads url and captures console messages from
33 private WebView mWebView;
43 mWebView = (WebView) findViewById(R.id.webview);
49 public boolean shouldOverrideUrlLoading(WebView webView, String url) {
  /frameworks/webview/chromium/tools/
webview_command_line 17 CMD_LINE_FILE=/data/local/tmp/webview-command-line
20 # If nothing specified, print the command line (stripping off "webview").
29 adb shell "echo 'webview $*' > $CMD_LINE_FILE"
  /packages/screensavers/WebView/src/com/android/dreams/web/
Screensaver.java 42 import android.webkit.WebView;
51 public boolean shouldOverrideUrlLoading(WebView view, String url) {
76 WebView webview = (WebView) findViewById(R.id.webview); local
77 webview.setWebViewClient(new LinkLauncher());
79 WebSettings webSettings = webview.getSettings();
82 webview.loadUrl(url);
  /external/chromium-webview/
Android.mk 17 # Install the prebuilt webview apk.
23 LOCAL_MODULE := webview
33 LOCAL_SRC_FILES := prebuilt/$(my_src_arch)/webview.apk
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
LicensesActivity.java 22 import android.webkit.WebView;
58 // encode the license string for display as HTML in the webview
72 // set the license HTML into the webview
73 final WebView webview = (WebView) findViewById(R.id.webview); local
74 webview.loadData(licenseHTML, "text/html", null);
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebBackForwardListTest.java 24 import android.webkit.WebView;
40 WebView webview = getActivity().getWebView(); local
41 if (webview != null) {
42 mOnUiThread = new WebViewOnUiThread(this, webview);
WebHistoryItemTest.java 27 import android.webkit.WebView;
43 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) {
58 WebView webview = getActivity().getWebView(); local
59 if (webview != null) {
60 mOnUiThread = new WebViewOnUiThread(this, webview);
ServiceWorkerClientTest.java 27 import android.webkit.WebView;
82 public WebResourceResponse shouldInterceptRequest(WebView view,
119 WebView webview = getActivity().getWebView(); local
120 if (webview == null) return;
121 mOnUiThread = new WebViewOnUiThread(this, webview);
HttpAuthHandlerTest.java 22 import android.webkit.WebView;
47 WebView webview = getActivity().getWebView(); local
48 if (webview != null) {
49 mOnUiThread = new WebViewOnUiThread(this, webview);
82 public void onReceivedHttpAuthRequest(WebView view,
104 public void onReceivedHttpAuthRequest(WebView view,
  /external/chromium-trace/catapult/telemetry/telemetry/internal/app/
android_app_unittest.py 47 # setWebContentsDebuggingEnabled method is called on the WebView class.
53 webview = search_app.GetProcess(':search').GetWebViews().pop()
54 webview.Navigate('https://www.google.com/search?q=flowers')
  /frameworks/base/core/java/android/webkit/
CookieManager.java 23 * Manages the cookies used by an application's {@link WebView} instances.
43 * Sets whether the application's {@link WebView} instances should send and
45 * By default this is set to true and the WebView accepts cookies.
52 * @param accept whether {@link WebView} instances should send and accept
58 * Gets whether the application's {@link WebView} instances send and accept
61 * @return true if {@link WebView} instances send and accept cookies
66 * Sets whether the {@link WebView} should allow third party cookies to be set.
67 * Allowing third party cookies is a per WebView policy and can be set
68 * differently on different WebView instances.
75 * @param webview the {@link WebView} instance to set the cookie policy o
    [all...]
  /cts/tests/tests/assist/src/android/assist/cts/
TestStartActivity.java 32 import android.webkit.WebView;
66 case Utils.WEBVIEW:
69 setContentView(R.layout.webview);
71 WebView webview = (WebView) findViewById(R.id.webview); local
72 webview.setWebViewClient(new WebViewClient() {
74 public void onPageFinished(WebView view, String url) {
78 webview.loadData(Utils.WEBVIEW_HTML, "text/html", "UTF-8")
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
PathClippingTests.java 34 import android.webkit.WebView;
149 return; // no WebView to run test on
159 // verify against solid color webview, clipped to its parent oval
161 WebView webview = (WebView)view.findViewById(R.id.webview);
162 assertNotNull(webview);
163 webview.loadData("<body style=\"background-color:blue\">", null, null);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/activity/
LicenseActivity.java 24 import android.webkit.WebView;
31 private WebView mWebView;
37 mWebView = (WebView) findViewById(R.id.webview);
  /build/target/product/
core_minimal.mk 82 webview \
86 frameworks/native/data/etc/android.software.webview.xml:system/etc/permissions/android.software.webview.xml
generic_no_telephony.mk 70 $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
  /packages/apps/Email/src/com/android/email/activity/setup/
DebugFragment.java 25 import android.webkit.WebView;
124 WebView webview = new WebView(getActivity()); local
126 webview.clearCache(true);
127 LogUtils.w(Logging.LOG_TAG, "Cleard WebView cache.");
129 webview.destroy();
  /frameworks/webview/nullwebview/java/com/android/webview/nullwebview/
NullWebViewFactoryProvider.java 17 package com.android.webview.nullwebview;
26 import android.webkit.WebView;
43 public WebViewProvider createWebView(WebView webView, WebView.PrivateAccess privateAccess) {
  /platform_testing/tests/jank/webview/src/com/android/webview/chromium/tests/jank/
WebViewFlingTest.java 17 package com.android.webview.chromium.tests.jank;
37 * Jank test for Android Webview.
40 * 1) Install the test application (com.android.webview.chromium.shell)
47 * com.android.webview.chromium.tests.jank/android.test.InstrumentationTestRunner
56 private static final String CHROMIUM_SHELL_APP = "com.android.webview.chromium.shell";
58 private static final String RES_PACKAGE = "com.android.webview.chromium.shell";
  /development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 31 import android.webkit.WebView;
54 * o Presents a WebView screen to users. This WebView has a list of HTML links to the latest
62 * to refresh the WebView content.
161 WebView myWebView = (WebView) findViewById(R.id.webview);
207 // Displays the HTML string in the UI via a WebView
208 WebView myWebView = (WebView) findViewById(R.id.webview)
    [all...]

Completed in 1061 milliseconds

1 2 3