HomeSort by relevance Sort by last modified time
    Searched defs:mOnUiThread (Results 1 - 9 of 9) sorted by null

  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java 116 private WebViewOnUiThread mOnUiThread;
138 mOnUiThread = new WebViewOnUiThread(this, mWebView);
143 mOnUiThread.cleanUp();
219 mOnUiThread.loadUrlAndWaitForCompletion(url);
225 mOnUiThread.setLayoutHeightToMatchParent();
228 mOnUiThread.setWebViewClient(webViewClient);
231 mOnUiThread.loadUrlAndWaitForCompletion(
234 WebSettings settings = mOnUiThread.getSettings();
237 float currScale = mOnUiThread.getScale();
241 assertTrue(mOnUiThread.zoomIn())
    [all...]
WebBackForwardListTest.java 29 private WebViewOnUiThread mOnUiThread;
38 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
43 mOnUiThread.cleanUp();
48 WebBackForwardList list = mOnUiThread.copyBackForwardList();
62 mOnUiThread.loadUrlAndWaitForCompletion(url1);
65 mOnUiThread.loadUrlAndWaitForCompletion(url2);
68 mOnUiThread.loadUrlAndWaitForCompletion(url3);
79 if (mOnUiThread.getProgress() < 100) {
82 WebBackForwardList list = mOnUiThread.copyBackForwardList();
WebHistoryItemTest.java 31 private WebViewOnUiThread mOnUiThread;
57 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
62 mOnUiThread.cleanUp();
72 final WaitForIconClient waitForIconClient = new WaitForIconClient(mOnUiThread);
73 mOnUiThread.setWebChromeClient(waitForIconClient);
84 WebBackForwardList list = mOnUiThread.copyBackForwardList();
88 mOnUiThread.loadUrlAndWaitForCompletion(url);
96 list = mOnUiThread.copyBackForwardList();
103 Bitmap icon = mOnUiThread.getFavicon();
107 mOnUiThread.loadUrlAndWaitForCompletion(url)
    [all...]
WebViewClientTest.java 39 private WebViewOnUiThread mOnUiThread;
56 mOnUiThread = new WebViewOnUiThread(this, activity.getWebView());
61 mOnUiThread.cleanUp();
71 assertFalse(webViewClient.shouldOverrideUrlLoading(mOnUiThread.getWebView(), null));
77 mOnUiThread.setWebViewClient(webViewClient);
78 mOnUiThread.getSettings().setJavaScriptEnabled(true);
82 mOnUiThread.loadDataAndWaitForCompletion(data, "text/html", null);
94 mOnUiThread.setWebViewClient(mainWebViewClient);
95 mOnUiThread.getSettings().setJavaScriptEnabled(true);
96 mOnUiThread.getSettings().setJavaScriptCanOpenWindowsAutomatically(true)
    [all...]
HttpAuthHandlerTest.java 37 private WebViewOnUiThread mOnUiThread;
46 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
51 mOnUiThread.cleanUp();
68 super(mOnUiThread);
93 super(mOnUiThread);
106 mOnUiThread.setWebViewClient(client);
110 mOnUiThread.loadUrlAndWaitForCompletion(url);
113 assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle());
118 mOnUiThread.setWebViewClient(client);
122 mOnUiThread.loadUrlAndWaitForCompletion(url)
    [all...]
CookieManagerTest.java 35 private WebViewOnUiThread mOnUiThread;
45 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
52 mOnUiThread.cleanUp();
70 mOnUiThread.loadUrlAndWaitForCompletion(url);
71 assertEquals("0", mOnUiThread.getTitle()); // no cookies passed
79 mOnUiThread.loadUrlAndWaitForCompletion(url);
80 assertEquals("0", mOnUiThread.getTitle()); // no cookies passed
91 mOnUiThread.loadUrlAndWaitForCompletion(url);
92 assertEquals("1|count=0", mOnUiThread.getTitle()); // outgoing cookie
102 mOnUiThread.loadUrlAndWaitForCompletion(url)
    [all...]
WebSettingsTest.java 58 private WebViewOnUiThread mOnUiThread;
68 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
69 mSettings = mOnUiThread.getSettings();
78 mOnUiThread.cleanUp();
139 mOnUiThread.loadUrlAndWaitForCompletion(url);
140 assertEquals(defaultUserAgent, mOnUiThread.getTitle());
145 mOnUiThread.loadUrlAndWaitForCompletion(url);
146 assertEquals(defaultUserAgent, mOnUiThread.getTitle());
151 mOnUiThread.loadUrlAndWaitForCompletion(url);
152 assertEquals(defaultUserAgent, mOnUiThread.getTitle())
    [all...]
GeolocationTest.java 105 private WebViewOnUiThread mOnUiThread;
140 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
141 mOnUiThread.getSettings().setJavaScriptEnabled(true);
142 mOnUiThread.getSettings().setGeolocationEnabled(true);
143 mOnUiThread.getSettings().setGeolocationDatabasePath(
148 mOnUiThread.addJavascriptInterface(mJavascriptStatusReceiver, JS_INTERFACE_NAME);
151 mOnUiThread.setWebViewClient(new InterceptClient(mOnUiThread));
180 mOnUiThread.cleanUp();
252 mOnUiThread.loadUrlAndWaitForCompletion(url)
    [all...]
WebChromeClientTest.java 36 private WebViewOnUiThread mOnUiThread;
47 mOnUiThread = new WebViewOnUiThread(this, getActivity().getWebView());
53 mOnUiThread.cleanUp();
66 mOnUiThread.setWebChromeClient(webChromeClient);
70 mOnUiThread.loadUrlAndWaitForCompletion(url);
82 mOnUiThread.setWebChromeClient(webChromeClient);
86 mOnUiThread.loadUrlAndWaitForCompletion(url);
100 mOnUiThread.setWebChromeClient(webChromeClient);
117 mOnUiThread.loadUrlAndWaitForCompletion(url);
129 mOnUiThread.setWebChromeClient(webChromeClient)
    [all...]

Completed in 455 milliseconds