Home
last modified time | relevance | path

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

/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java69 private WebView mWebView; field in WebViewAnimationTestActivity
77 mWebView = (WebView) findViewById(R.id.webview); in onCreate()
83 mWebView.setBackgroundColor(0); in onCreate()
84 mWebView.loadDataWithBaseURL("http://foo.bar", HTML, "text/html", null, "http://foo.bar"); in onCreate()
107 mWebView.setAlpha(progress / 100f); in onCreate()
125 if (mWebView.getTranslationX() == 0f) { in runTranslate()
126 mWebView.animate().translationX(100f).translationY(100f); in runTranslate()
128 mWebView.animate().translationX(0f).translationY(0f); in runTranslate()
133 if (mWebView.getScaleX() == 1f) { in runScale()
134 mWebView.animate().scaleX(.5f).scaleY(.5f); in runScale()
[all …]
DWebViewBrowserActivity.java106 private WebView mWebView; field in WebViewBrowserActivity
176 WebViewBrowserActivity.this.mWebView.loadUrl(mOrigin); in grant()
264 mWebView.restoreState(savedInstanceState); in onCreate()
265 url = mWebView.getUrl(); in onCreate()
277 mWebView.reload(); in onCreate()
278 mWebView.requestFocus(); in onCreate()
293 mWebView.saveState(savedInstanceState); in onSaveInstanceState()
309 if (mWebView.canGoBack()) { in onBackPressed()
310 mWebView.goBack(); in onBackPressed()
411 mWebView = webview; in createAndInitializeWebView()
[all …]
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcWebPortalFragment.java49 private WebView mWebView; field in WfcWebPortalFragment
75 mWebView = v.findViewById(R.id.webview); in onCreateView()
76 mWebView.setWebViewClient( in onCreateView()
94 mWebView.addOnAttachStateChangeListener( in onCreateView()
109 mWebView.addJavascriptInterface(new JsInterface(getActivity()), JS_CONTROLLER_NAME); in onCreateView()
110 WebSettings settings = mWebView.getSettings(); in onCreateView()
115 mWebView.loadUrl(url); in onCreateView()
117 mWebView.postUrl(url, postData.getBytes()); in onCreateView()
130 if (mWebView != null in onKeyDown()
131 && mWebView.canGoBack() in onKeyDown()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DWebActivity.java58 private WebView mWebView; field in WebActivity
72 mWebView = new WebView(this); in onCreate()
74 mWebView.setWebViewClient(new WebViewClient() { in onCreate()
87 mWebView.loadUrl(extraUrl); in onCreate()
89 WebSettings webSettings = mWebView.getSettings(); in onCreate()
95 mWebView.setOnLongClickListener(v -> true); in onCreate()
99 setContentView(mWebView); in onCreate()
114 if (mWebView.canGoBack()) { in onBackPressed()
115 mWebView.goBack(); in onBackPressed()
/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
DOsuLoginActivity.java61 private WebView mWebView; field in OsuLoginActivity
159 mWebView = findViewById(R.id.webview); in onCreate()
160 mWebView.clearCache(true); in onCreate()
161 WebSettings webSettings = mWebView.getSettings(); in onCreate()
170 mWebView.setWebViewClient(new OsuWebViewClient()); in onCreate()
171 mWebView.setWebChromeClient(new WebChromeClient() { in onCreate()
182 mWebView.loadUrl(mUrl); in onCreate()
185 mWebView.reload(); in onCreate()
195 if (mWebView.canGoBack()) { in onKeyDown()
196 mWebView.goBack(); in onKeyDown()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java38 private WebView mWebView; field in WebDialogFragment
77 mWebView = new WebView(getActivity()); in onCreateView()
78 mWebView.setWebViewClient(new WebViewClient()); in onCreateView()
80 mWebView.loadUrl(url); in onCreateView()
83 return mWebView; in onCreateView()
89 if (mWebView != null) { in onDestroyView()
90 mWebView.destroy(); in onDestroyView()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java50 private WebView mWebView; field in HTMLViewerActivity
60 mWebView = findViewById(R.id.webview); in onCreate()
63 mWebView.setWebChromeClient(new ChromeClient()); in onCreate()
64 mWebView.setWebViewClient(new ViewClient()); in onCreate()
66 WebSettings s = mWebView.getSettings(); in onCreate()
94 mWebView.loadUrl(String.valueOf(mIntent.getData())); in loadUrl()
115 mWebView.destroy(); in onDestroy()
/packages/apps/Contacts/src/com/android/contacts/activities/
DLicenseActivity.java31 private WebView mWebView; field in LicenseActivity
37 mWebView = (WebView) findViewById(R.id.webview); in onCreate()
38 mWebView.loadUrl(LICENSE_FILE); in onCreate()
47 mWebView.destroy(); in onDestroy()