Home
last modified time | relevance | path

Searched refs:webView (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Browser2/src/org/chromium/webview_shell/
DTelemetryActivity.java25 WebView webView = (WebView) findViewById(R.id.webview); in onCreate() local
27 webView.getSettings().setJavaScriptEnabled(true); in onCreate()
29 webView.setWebViewClient(new WebViewClient() { in onCreate()
31 public boolean shouldOverrideUrlLoading(WebView webView, String url) { in onCreate()
36 webView.loadUrl("about:blank"); in onCreate()
DJankActivity.java27 WebView webView = (WebView) findViewById(R.id.webview); in onCreate() local
30 webView.setWebViewClient(new WebViewClient() { in onCreate()
32 public boolean shouldOverrideUrlLoading(WebView webView, String url) { in onCreate()
38 webView.loadUrl(url); in onCreate()
DStartupTimeActivity.java24 WebView webView = new WebView(this); in onCreate() local
25 setContentView(webView); in onCreate()
DTelemetryMemoryPressureActivity.java34 public boolean shouldOverrideUrlLoading(WebView webView, String url) { in onCreate()
DWebViewLayoutTestActivity.java49 public boolean shouldOverrideUrlLoading(WebView webView, String url) { in onCreate()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java76 WebView webView = new WebView(getActivity()); in onCreateView() local
77 webView.setWebViewClient(new WebViewClient()); in onCreateView()
79 webView.loadUrl(url); in onCreateView()
82 return webView; in onCreateView()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DLicenses.java16 final WebView webView = new WebView(this); in onCreate() local
17 webView.loadUrl(LICENSE_URL); in onCreate()
19 setContentView(webView); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/print/
DPrintUtils.java91 final WebView webView = new WebView(context); in printHtml() local
92 final WebSettings settings = webView.getSettings(); in printHtml()
95 webView.loadDataWithBaseURL(baseUri, html, "text/html", "utf-8", null); in printHtml()
102 webView.createPrintDocumentAdapter(printJobName) : in printHtml()
103 webView.createPrintDocumentAdapter(), in printHtml()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLicenseActivity.java32 final WebView webView = (WebView) findViewById(R.id.content); in onCreate() local
33 webView.loadUrl(LICENSE_URL); in onCreate()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
DWebActivityTest.java42 WebView webView = (WebView) ((ViewGroup) getActivity().findViewById(android.R.id.content)) in testUrlLaunched() local
44 assertEquals(TEST_URL, webView.getUrl()); in testUrlLaunched()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java168 public static void restrictWebView(WebView webView) { in restrictWebView() argument
169 WebSettings webSettings = webView.getSettings(); in restrictWebView()
181 public static void setCustomUserAgent(WebView webView, Context context) { in setCustomUserAgent() argument
182 final WebSettings settings = webView.getSettings(); in setCustomUserAgent()