/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewOnUiThread.java | 66 private WebView mWebView; field in WebViewOnUiThread 78 mWebView = webView; in WebViewOnUiThread() 87 mWebView.setWebViewClient(webViewClient); in setWebViewClient() 93 mWebView.setWebChromeClient(webChromeClient); in setWebChromeClient() 102 setWebViewRenderProcessClient(mWebView, webViewRenderProcessClient); in setWebViewRenderProcessClient() 122 setWebViewRenderProcessClient(mWebView, executor, webViewRenderProcessClient); in setWebViewRenderProcessClient() 142 return getWebViewRenderProcessClient(mWebView); in getWebViewRenderProcessClient() 157 mWebView.setPictureListener(pictureListener); in setPictureListener() 163 mWebView.setNetworkAvailable(available); in setNetworkAvailable() 169 mWebView.setDownloadListener(listener); in setDownloadListener() [all …]
|
D | WebViewSyncLoader.java | 64 private WebView mWebView; field in WebViewSyncLoader 91 mWebView = webView; in init() 92 mWebView.setWebViewClient(waitForLoadedClient); in init() 93 mWebView.setWebChromeClient(waitForProgressClient); in init() 94 mWebView.setPictureListener(waitForNewPicture); in init() 105 mWebView.setWebChromeClient(null); in detach() 106 mWebView.setWebViewClient(null); in detach() 107 mWebView.setPictureListener(null); in detach() 108 mWebView = null; in detach() 119 WebView webView = mWebView; in destroy() [all …]
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewStartupCtsActivity.java | 25 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()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | WebViewReadyHelper.java | 17 private final WebView mWebView; field in WebViewReadyHelper 20 mWebView = webview; in WebViewReadyHelper() 22 mWebView.setWebViewClient(mClient); in WebViewReadyHelper() 26 mWebView.loadData(data, null, null); in loadData() 31 mWebView.postVisualStateCallback(0, mVisualStateCallback); 38 mWebView.getViewTreeObserver().addOnDrawListener(mOnDrawListener); 39 mWebView.invalidate(); 47 mWebView.postInvalidate(); 51 mWebView.post(() -> { 52 mWebView.getViewTreeObserver().removeOnDrawListener(mOnDrawListener);
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | WebViewTestActivity.java | 28 private WebView mWebView; field in WebViewTestActivity 37 mWebView = new WebView(this); in onCreate() 38 setContentView(mWebView); in onCreate() 42 return mWebView; in getWebView() 47 if (mWebView != null) { in onDestroy() 48 ViewParent parent = mWebView.getParent(); in onDestroy() 50 ((ViewGroup) parent).removeView(mWebView); in onDestroy() 52 mWebView.destroy(); in onDestroy()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieSyncManagerCtsActivity.java | 29 private WebView mWebView; field in CookieSyncManagerCtsActivity 39 mWebView = new WebView(this); in onCreate() 40 setContentView(mWebView); in onCreate() 53 if (mWebView != null) { in onDestroy() 54 ViewParent parent = mWebView.getParent(); in onDestroy() 56 ((ViewGroup) parent).removeView(mWebView); in onDestroy() 58 mWebView.destroy(); in onDestroy() 72 return mWebView; in getWebView()
|
D | WebViewCtsActivity.java | 28 private WebView mWebView; field in WebViewCtsActivity 38 mWebView = (WebView) findViewById(R.id.web_page); in onCreate() 42 return mWebView; in getWebView() 47 if (mWebView != null) { in onDestroy() 48 ViewParent parent = mWebView.getParent(); in onDestroy() 50 ((ViewGroup) parent).removeView(mWebView); in onDestroy() 52 mWebView.destroy(); in onDestroy()
|
D | WebViewZoomTest.java | 48 private WebView mWebView; field in WebViewZoomTest 66 mWebView = activity.getWebView(); in setUp() 67 if (mWebView == null) in setUp() 69 mOnUiThread = new WebViewOnUiThread(mWebView); in setUp() 141 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls() 148 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls() 158 WebkitUtils.onMainThreadSync(() -> mWebView.invokeZoomPicker()); in testInvokeZoomPicker()
|
D | PostMessageTest.java | 40 private WebView mWebView; field in PostMessageTest 54 mWebView = activity.getWebView(); in setUp() 55 if (mWebView != null) { in setUp() 56 mOnUiThread = new WebViewOnUiThread(mWebView); in setUp()
|
D | WebViewSslTest.java | 435 private WebView mWebView; field in WebViewSslTest 447 mWebView = activity.getWebView(); in setUp() 448 if (mWebView != null) { in setUp() 460 mOnUiThread = new WebViewOnUiThread(mWebView); in setUp() 588 private WebView mWebView; in testOnReceivedSslError() field in WebViewSslTest.MockWebViewClient 595 mWebView = view; in testOnReceivedSslError() 603 return mWebView; in testOnReceivedSslError() 614 assertEquals(mWebView, webViewClient.webView()); in testOnReceivedSslError()
|
D | CookieManagerTest.java | 43 private WebView mWebView; field in CookieManagerTest 55 mWebView = getActivity().getWebView(); in setUp() 56 if (mWebView != null) { in setUp() 57 mOnUiThread = new WebViewOnUiThread(mWebView); in setUp()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiCtsActivity.java | 28 private WebView mWebView; field in EmojiCtsActivity 38 mWebView = (WebView) findViewById(R.id.web_page); in onCreate() 42 return mWebView; in getWebView() 47 if (mWebView != null) { in onDestroy() 48 ViewParent parent = mWebView.getParent(); in onDestroy() 50 ((ViewGroup) parent).removeView(mWebView); in onDestroy() 52 mWebView.destroy(); in onDestroy()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractWebViewActivity.java | 31 protected MyWebView mWebView; field in AbstractWebViewActivity 54 mWebView.dispatchKeyEvent(keyEvent); in dispatchKeyPress() 56 mWebView.dispatchKeyEvent(keyEvent); in dispatchKeyPress()
|
D | WebViewActivity.java | 85 mWebView = new MyWebView(context); in loadWebView() 86 mParent.addView(mWebView); in loadWebView() 87 mWebView.setWebViewClient(new WebViewClient() { in loadWebView() 118 mWebView.loadUrl(FAKE_URL); in loadWebView() 127 assertThat(mWebView.isAutofillEnabled()).isTrue(); in loadWebView() 144 return mWebView; in loadWebView()
|
D | WebViewMultiScreenLoginActivity.java | 66 mWebView = findViewById(R.id.my_webview); in onCreate() 71 mWebView.setWebViewClient(new WebViewClient() { in loadWebView() 105 mWebView.loadUrl(FAKE_USERNAME_URL); in loadWebView() 114 assertThat(mWebView.isAutofillEnabled()).isTrue(); in loadWebView() 129 return mWebView; in loadWebView()
|