Home
last modified time | relevance | path

Searched refs:mWebView (Results 1 – 9 of 9) sorted by relevance

/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java93 private WebView mWebView; field in WebViewOnUiThread
108 mWebView = webView; in WebViewOnUiThread()
114 mWebView.setWebViewClient(webViewClient); in WebViewOnUiThread()
115 mWebView.setWebChromeClient(webChromeClient); in WebViewOnUiThread()
116 mWebView.setPictureListener(new WaitForNewPicture()); in WebViewOnUiThread()
173 mWebView.setWebViewClient(webViewClient); in setWebViewClient()
182 mWebView.setWebChromeClient(webChromeClient); in setWebChromeClient()
191 mWebView.setPictureListener(pictureListener); in setPictureListener()
200 mWebView.setNetworkAvailable(available); in setNetworkAvailable()
209 mWebView.setDownloadListener(listener); in setDownloadListener()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewStartupCtsActivity.java25 private WebView mWebView; field in WebViewStartupCtsActivity
33 mWebView = new WebView(this); in createAndAttachWebView()
34 setContentView(mWebView); in createAndAttachWebView()
35 return mWebView; in createAndAttachWebView()
39 return mWebView; in getWebView()
43 if (mWebView != null) { in detachAndDestroyWebView()
44 ViewGroup vg = (ViewGroup)mWebView.getParent(); in detachAndDestroyWebView()
45 vg.removeView(mWebView); in detachAndDestroyWebView()
46 mWebView.destroy(); in detachAndDestroyWebView()
DWebViewCtsActivity.java29 private WebView mWebView; field in WebViewCtsActivity
36 mWebView = (WebView) findViewById(R.id.web_page); in onCreate()
43 return mWebView; in getWebView()
48 if (mWebView != null) { in onDestroy()
49 ViewParent parent = mWebView.getParent(); in onDestroy()
51 ((ViewGroup) parent).removeView(mWebView); in onDestroy()
53 mWebView.destroy(); in onDestroy()
DCookieSyncManagerCtsActivity.java26 private WebView mWebView; field in CookieSyncManagerCtsActivity
35 mWebView = new WebView(this); in onCreate()
36 setContentView(mWebView); in onCreate()
63 return mWebView; in getWebView()
DWebViewTest.java131 private WebView mWebView; field in WebViewTest
144 mWebView = activity.getWebView(); in setUp()
145 if (mWebView != null) { in setUp()
157 mOnUiThread = new WebViewOnUiThread(this, mWebView); in setUp()
241 WebSettings settings = mWebView.getSettings(); in testGetZoomControls()
243 View zoomControls = mWebView.getZoomControls(); in testGetZoomControls()
249 assertNull(mWebView.getZoomControls()); in testGetZoomControls()
257 WebSettings settings = mWebView.getSettings(); in testInvokeZoomPicker()
262 mWebView.invokeZoomPicker(); in testInvokeZoomPicker()
424 mWebView.setHorizontalScrollbarOverlay(true);
[all …]
DPostMessageTest.java34 private WebView mWebView; field in PostMessageTest
48 mWebView = activity.getWebView(); in setUp()
49 if (mWebView != null) { in setUp()
50 mOnUiThread = new WebViewOnUiThread(this, mWebView); in setUp()
DWebViewSslTest.java428 private WebView mWebView; field in WebViewSslTest
440 mWebView = activity.getWebView(); in setUp()
441 if (mWebView != null) { in setUp()
453 mOnUiThread = new WebViewOnUiThread(this, mWebView); in setUp()
504 SslCertificate cert = mWebView.getCertificate(); in testInsecureSiteClearsCertificate()
513 assertNull(mWebView.getCertificate()); in testInsecureSiteClearsCertificate()
534 assertNull(mWebView.getCertificate()); in testSecureSiteSetsCertificate()
542 SslCertificate cert = mWebView.getCertificate(); in testSecureSiteSetsCertificate()
584 private WebView mWebView; in testOnReceivedSslError() field in WebViewSslTest.MockWebViewClient
591 mWebView = view; in testOnReceivedSslError()
[all …]
DCookieManagerTest.java40 private WebView mWebView; field in CookieManagerTest
51 mWebView = getActivity().getWebView(); in setUp()
52 if (mWebView != null) { in setUp()
53 mOnUiThread = new WebViewOnUiThread(this, mWebView); in setUp()
/cts/tests/tests/text/src/android/text/cts/
DEmojiCtsActivity.java27 private WebView mWebView; field in EmojiCtsActivity
34 mWebView = (WebView) findViewById(R.id.web_page); in onCreate()
41 return mWebView; in getWebView()
46 if (mWebView != null) { in onDestroy()
47 mWebView.destroy(); in onDestroy()