Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java153 protected ConversationWebView mWebView; field in ConversationViewFragment
229 mWebView.onRenderComplete();
328 mWebView.setOnCreateContextMenuListener(contextMenu); in onActivityCreated()
400 mWebView = (ConversationWebView) in onCreateView()
403 mWebView.addJavascriptInterface(mJsBridge, "mail"); in onCreateView()
416 mWebView.setUseSoftwareLayer(!isJBOrLater); in onCreateView()
418 mWebView.onUserVisibilityChanged(isUserVisible); in onCreateView()
419 mWebView.setWebViewClient(mWebViewClient); in onCreateView()
435 mWebView.setWebChromeClient(wcc); in onCreateView()
437 final WebSettings settings = mWebView.getSettings(); in onCreateView()
[all …]
DSecureConversationViewController.java64 private MessageWebView mWebView; field in SecureConversationViewController
105 mWebView = (MessageWebView) rootView.findViewById(R.id.webview); in onCreateView()
106 mWebView.setOverScrollMode(View.OVER_SCROLL_NEVER); in onCreateView()
107 mWebView.setWebViewClient(mCallbacks.getWebViewClient()); in onCreateView()
111 mWebView.setOnCreateContextMenuListener(new WebViewContextMenu( in onCreateView()
114 mWebView.setFocusable(false); in onCreateView()
115 final WebSettings settings = mWebView.getSettings(); in onCreateView()
126 mScrollView.setInnerScrollableView(mWebView); in onCreateView()
194 mWebView.getSettings().setBlockNetworkImage( in renderMessage()
204 mWebView.loadDataWithBaseURL(mCallbacks.getBaseUri(), dataBuilder.toString(), in renderMessage()
[all …]
DHelpFragment.java52 private WebView mWebView; field in HelpFragment
64 mWebView.loadUrl(helpUri.toString()); in onActivityCreated()
73 mWebView = (WebView) view.findViewById(R.id.webview); in onCreateView()
74 mWebView.setWebViewClient(new WebViewClient()); in onCreateView()
76 mWebView.restoreState(state); in onCreateView()
136 final PrintDocumentAdapter pda = mWebView.createPrintDocumentAdapter(); in print()
/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DWebActivity.java54 private WebView mWebView; field in WebActivity
73 mWebView = new WebView(this); in onCreate()
75 mWebView.setWebViewClient(new WebViewClient() { in onCreate()
88 mWebView.loadUrl(extraUrl); in onCreate()
90 WebSettings webSettings = mWebView.getSettings(); in onCreate()
96 mWebView.setOnLongClickListener(v -> true); in onCreate()
98 setContentView(mWebView); in onCreate()
113 if (mWebView.canGoBack()) { in onBackPressed()
114 mWebView.goBack(); in onBackPressed()
/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()
88 mWebView.loadUrl(String.valueOf(mIntent.getData())); in loadUrl()
94 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()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java96 private ConversationWebView mWebView; field in ConversationContainer
254 mWebView = (ConversationWebView) findViewById(R.id.conversation_webview); in onFinishInflate()
255 mWebView.addScrollListener(this); in onFinishInflate()
366 mWebView.onTouchEvent(newEvent); in forwardFakeMotionEvent()
383 if (mWebView.isHandlingTouch()) { in onInterceptTouchEvent()
435 final boolean webViewResult = mWebView.onTouchEvent(ev); in onTouchEvent()
470 mScale = mWebView.getScale(); in positionOverlays()
472 mScale = mWebView.getInitialScale(); in positionOverlays()
474 traceLayout("in positionOverlays, raw scale=%f, effective scale=%f", mWebView.getScale(), in positionOverlays()
563 final int containerHeight = webPxToScreenPx(mWebView.getContentHeight()); in positionAdditionalBottomBorder()