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

1 2

  /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...]
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...]
  /frameworks/base/core/tests/webkit/apk_with_native_libs/src/com/google/android/xts/webview_list/
WebViewLoadingTestClass.java 18 package com.android.webview.chromium;
  /cts/tests/tests/assist/testapp/src/android/assist/testapp/
WebViewActivity.java 26 import android.webkit.WebView;
39 setContentView(R.layout.webview);
40 MyWebView webview = (MyWebView) findViewById(R.id.webview); local
41 webview.setWebViewClient(new WebViewClient() {
43 public void onPageFinished(WebView view, String url){
47 webview.myLoadData(Utils.WEBVIEW_HTML_URL, Utils.WEBVIEW_HTML, "text/html", "UTF-8");
48 webview.setLocaleList(Utils.WEBVIEW_LOCALE_LIST);
49 //webview.loadUrl(
  /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);
  /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);
  /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();
  /packages/apps/Settings/src/com/android/settings/webview/
WebViewUpdateServiceWrapper.java 17 package com.android.settings.webview;
42 * Fetch the package currently used as WebView implementation.
54 * Fetches ApplicationInfo objects for all currently valid WebView packages.
55 * A WebView package is considered valid if it can be used as a WebView implementation. The
76 * Change WebView provider to {@param packageName}.
WebViewAppPicker.java 17 package com.android.settings.webview;
147 * Returns the reason why a package cannot be used as WebView implementation.
  /cts/tests/tests/assist/src/android/assist/cts/
TestStartActivity.java 27 import android.webkit.WebView;
59 case Utils.WEBVIEW:
62 setContentView(R.layout.webview);
64 WebView webview = (WebView) findViewById(R.id.webview); local
65 webview.setWebViewClient(new WebViewClient() {
67 public void onPageFinished(WebView view, String url) {
71 webview.loadData(Utils.WEBVIEW_HTML, "text/html", "UTF-8")
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebBackForwardListTest.java 22 import android.webkit.WebView;
40 WebView webview = getActivity().getWebView(); local
41 if (webview != null) {
42 mOnUiThread = new WebViewOnUiThread(this, webview);
WebHistoryItemTest.java 25 import android.webkit.WebView;
44 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) {
59 WebView webview = getActivity().getWebView(); local
60 if (webview != null) {
61 mOnUiThread = new WebViewOnUiThread(this, webview);
HttpAuthHandlerTest.java 21 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,
ServiceWorkerClientTest.java 26 import android.webkit.WebView;
93 public WebResourceResponse shouldInterceptRequest(WebView view,
130 WebView webview = getActivity().getWebView(); local
131 if (webview == null) return;
132 mOnUiThread = new WebViewOnUiThread(this, webview);
WebSettingsTest.java 35 import android.webkit.WebView;
84 WebView webview = getActivity().getWebView(); local
85 if (webview != null) {
86 mOnUiThread = new WebViewOnUiThread(this, webview);
419 final WebView childWebView = mOnUiThread.createWebView();
424 WebView view, boolean isDialog, boolean isUserGesture, Message resultMsg) {
425 WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj;
717 // some internal limitations of webview. For this reason, we only provide
    [all...]
GeolocationTest.java 36 import android.webkit.WebView;
128 public WebResourceResponse shouldInterceptRequest(WebView view, String url) {
144 WebView webview = getActivity().getWebView(); local
146 if (webview != null) {
147 // Set up a WebView with JavaScript and Geolocation enabled
149 mOnUiThread = new WebViewOnUiThread(this, webview);
WebChromeClientTest.java 29 import android.webkit.WebView;
51 WebView webview = getActivity().getWebView(); local
52 if (webview != null) {
53 mOnUiThread = new WebViewOnUiThread(this, webview);
220 // Send a user gesture, required for unload to execute since WebView version 60.
319 * Taps in the the center of a webview.
412 public void onProgressChanged(WebView view, int newProgress) {
418 public void onReceivedTitle(WebView view, String title) {
425 public boolean onJsAlert(WebView view, String url, String message, JsResult result)
    [all...]
WebViewClientTest.java 35 import android.webkit.WebView;
69 WebView webview = activity.getWebView(); local
70 if (webview != null) {
78 mOnUiThread = new WebViewOnUiThread(this, webview);
122 // Verify shouldoverrideurlloading called on webview called via onCreateWindow
138 final WebView childWebView = mOnUiThread.createWebView();
143 WebView view, boolean isDialog, boolean isUserGesture, Message resultMsg) {
144 WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj
    [all...]
  /frameworks/support/webkit/src/main/java/androidx/webkit/
WebViewCompat.java 27 import android.webkit.WebView;
46 * Compatibility version of {@link android.webkit.WebView}
60 * Invoked when the visual state is ready to be drawn in the next {@link WebView#onDraw}.
70 * the current state of the WebView is ready to be drawn.
73 * immediately be reflected visually by subsequent {@link WebView#onDraw} invocations. The
75 * of the DOM at the current time are ready to be drawn the next time the {@link WebView} draws.
94 * <p>To guarantee that the {@link WebView} will successfully render the first frame
98 * <li>If the {@link WebView}'s visibility is set to {@link android.view.View#VISIBLE VISIBLE}
99 * then * the {@link WebView} must be attached to the view hierarchy.</li>
100 * <li>If the {@link WebView}'s visibility is set t
    [all...]
  /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";
  /cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
WebViewDeviceSideStartupTest.java 32 import android.webkit.WebView;
36 import android.webkit.WebView;
44 * Test class testing different aspects of WebView loading.
46 * don't run the tests in the same process (since we can only load WebView into a process
47 * once - after that we will reuse the same webview provider).
86 Log.i(TAG, "done setting cookie before creating webview");
100 // Now create WebView and test that setting the cookie beforehand really worked.
102 WebView webView = mActivity.getWebView();
104 webView.setWebViewClient(new WaitForLoadedClient(onUiThread)
277 WebView webview = new WebView(mActivity); local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
WebViewAppPickerTest.java 17 package com.android.settings.webview;
326 * Ensure that the version name of a WebView package is displayed after its name in the
  /frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
CaptivePortalLoginActivity.java 55 import android.webkit.WebView;
56 import android.webkit.WebView;
140 // setContentView initializes the WebView logic which in turn reads the system properties.
166 final WebView webview = getWebview(); local
167 webview.clearCache(true);
168 CookieManager.getInstance().setAcceptThirdPartyCookies(webview, true);
169 WebSettings webSettings = webview.getSettings();
178 webview.setWebViewClient(mWebViewClient);
179 webview.setWebChromeClient(new MyWebChromeClient())
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
WebViewContextMenu.java 35 import android.webkit.WebView;
105 new Intent(Intent.ACTION_DIAL, Uri.parse(WebView.SCHEME_TEL)),
210 WebView webview = (WebView) v; local
211 WebView.HitTestResult result = webview.getHitTestResult();
218 case WebView.HitTestResult.UNKNOWN_TYPE:
222 case WebView.HitTestResult.EDIT_TEXT_TYPE:
248 menu.setGroupVisible(R.id.PHONE_MENU, type == WebView.HitTestResult.PHONE_TYPE)
    [all...]
  /prebuilts/tools/common/m2/repository/com/crittercism/crittercism-android-agent/5.6.4/
crittercism-android-agent-5.6.4.jar 

Completed in 552 milliseconds

1 2