/frameworks/base/core/java/android/webkit/ |
WebViewFragment.java | 32 private WebView mWebView; 44 if (mWebView != null) { 45 mWebView.destroy(); 47 mWebView = new WebView(getActivity()); 49 return mWebView; 58 mWebView.onPause(); 66 mWebView.onResume(); 85 if (mWebView != null) { 86 mWebView.destroy(); 87 mWebView = null [all...] |
SelectActionModeCallback.java | 30 private WebViewClassic mWebView; 35 mWebView = webView; 56 final Context context = mWebView.getContext(); 68 boolean isEditable = mWebView.focusCandidateIsEditableText(); 92 mWebView.cutSelection(); 97 mWebView.copySelection(); 102 mWebView.pasteFromClipboard(); 107 String selection = mWebView.getSelection(); 108 Browser.sendString(mWebView.getContext(), selection); 113 mWebView.selectAll() [all...] |
ZoomControlEmbedded.java | 28 private final WebViewClassic mWebView; 35 mWebView = webView; 44 WebSettingsClassic settings = mWebView.getSettings(); 48 Toast.makeText(mWebView.getContext(), 85 mZoomButtonsController = new ZoomButtonsController(mWebView.getWebView()); 103 mWebView.switchOutDrawHistory(); 112 mWebView.zoomIn(); 114 mWebView.zoomOut();
|
PluginFullScreenHolder.java | 38 private final WebViewClassic mWebView; 48 mWebView = webView; 56 mLayout = new CustomFrameLayout(mWebView.getContext()); 81 if (mWebView.getViewManager() != null) 82 mWebView.getViewManager().hideAll(); 84 WebChromeClient client = mWebView.getWebChromeClient(); 89 WebChromeClient client = mWebView.getWebChromeClient(); 104 mWebView.onKeyDown(keyCode, event); 114 mWebView.onKeyUp(keyCode, event); 127 mWebView.onTrackballEvent(event) [all...] |
FindActionModeCallback.java | 44 private WebView mWebView; 97 mWebView = webView; 98 mWebView.setFindDialogFindListener(this); 115 if (mWebView == null) { 128 mWebView.findNext(next); 133 * Highlight all the instances of the string from mEditText in mWebView. 136 if (mWebView == null) { 142 mWebView.clearMatches(); 145 mWebView.findAll(null); 150 mWebView.findAllAsync(find.toString()) [all...] |
ViewManager.java | 28 private final WebViewClassic mWebView; 62 mWebView.mPrivateHandler.post(new Runnable() { 78 mWebView.getWebView().addView(mView); 89 mWebView.mPrivateHandler.post(new Runnable() { 97 mWebView.getWebView().removeView(mView); 103 mWebView = w; 122 int width = mWebView.contentToViewDimension(v.width); 123 int height = mWebView.contentToViewDimension(v.height); 124 int x = mWebView.contentToViewX(v.x); 125 int y = mWebView.contentToViewY(v.y) [all...] |
ZoomManager.java | 53 private final WebViewClassic mWebView; 215 mWebView = webView; 407 mWebView.switchOutDrawHistory(); 409 mZoomCenterX = mWebView.getViewWidth() * .5f; 410 mZoomCenterY = mWebView.getViewHeight() * .5f; 411 mAnchorX = mWebView.viewToContentX((int) mZoomCenterX + mWebView.getScrollX()); 412 mAnchorY = mWebView.viewToContentY((int) mZoomCenterY + mWebView.getScrollY()); 414 !mWebView.getSettings().getUseFixedViewport()) [all...] |
ZoomControlExternal.java | 38 private final WebViewClassic mWebView; 41 mWebView = webView; 96 ExtendedZoomControls zoomControls = new ExtendedZoomControls(mWebView.getContext()); 102 mWebView.zoomIn(); 110 mWebView.zoomOut();
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
AccessibilityInjectorTestActivity.java | 26 private WebView mWebView; 32 mWebView = (WebView) findViewById(R.id.webview); 36 return mWebView;
|
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
WebViewStubActivity.java | 26 private WebView mWebView; 32 mWebView = (WebView) findViewById(R.id.web_page); 36 return mWebView;
|
/cts/tests/src/android/text/ |
EmojiStubActivity.java | 26 private WebView mWebView; 32 mWebView = (WebView) findViewById(R.id.web_page); 36 return mWebView; 41 mWebView.destroy();
|
/cts/tests/src/android/webkit/cts/ |
WebViewStubActivity.java | 28 private WebView mWebView; 34 mWebView = (WebView) findViewById(R.id.web_page); 38 return mWebView; 43 ViewParent parent = mWebView.getParent(); 45 ((ViewGroup) parent).removeView(mWebView); 47 mWebView.destroy();
|
CookieSyncManagerStubActivity.java | 25 private WebView mWebView; 32 mWebView = new WebView(this); 33 setContentView(mWebView); 49 return mWebView;
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
ArticleFragment.java | 31 WebView mWebView; 46 mWebView = new WebView(getActivity()); 48 return mWebView; 68 if (mWebView != null) { 69 mWebView.loadData(mNewsArticle == null ? "" : mNewsArticle.getBody(), "text/html",
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
HTMLViewerActivity.java | 52 private WebView mWebView; 76 mWebView = new WebView(this); 77 setContentView(mWebView); 80 mWebView.setWebChromeClient( new WebChrome() ); 83 WebSettings s = mWebView.getSettings(); 96 mWebView.restoreState(savedInstanceState); 109 mWebView.loadUrl(contentUri); 127 mWebView.saveState(outState); 135 mWebView.stopLoading(); 141 mWebView.destroy() [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | 88 private WebView mWebView; 107 mWebView = activity.getWebView(); 112 mOnUiThread = new WebViewOnUiThread(this, mWebView); 170 WebSettings settings = mWebView.getSettings(); 172 View zoomControls = mWebView.getZoomControls(); 178 assertNull(mWebView.getZoomControls()); 183 WebSettings settings = mWebView.getSettings(); 188 mWebView.invokeZoomPicker(); 193 WebSettings settings = mWebView.getSettings(); 196 float currScale = mWebView.getScale() [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SettingsSafetyLegalActivity.java | 41 private WebView mWebView; 59 mWebView = new WebView(this); 62 mWebView.getSettings().setJavaScriptEnabled(true); 64 mWebView.loadUrl(userSafetylegalUrl); 66 mWebView.restoreState(savedInstanceState); 68 mWebView.setWebViewClient(new WebViewClient() { 84 p.mView = mWebView; 121 if (mWebView.canGoBack()) { 122 mWebView.goBack(); 139 mWebView.saveState(icicle) [all...] |
SettingsLicenseActivity.java | 54 private WebView mWebView; 125 mWebView = null; 145 mWebView = new WebView(this); 189 .setView(mWebView) 201 mWebView.loadDataWithBaseURL(null, text, "text/html", "utf-8", null); 202 mWebView.setWebViewClient(new WebViewClient() { 212 mWebView = null;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
InvertedContrastPreview.java | 79 if (mWebView == null || !BrowserWebView.isClassic()) return; 81 WebSettingsClassic ws = WebViewClassic.fromWebView(mWebView).getSettings(); 88 mWebView.loadData(mHtml, "text/html", null);
|
WebViewPreview.java | 34 protected WebView mWebView; 79 mWebView = (WebView) view.findViewById(R.id.webview);
|
FontSizePreview.java | 58 if (mWebView == null) return; 60 WebSettings ws = mWebView.getSettings(); 64 mWebView.loadDataWithBaseURL(null, mHtml, "text/html", "utf-8", null);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
TestShellActivity.java | 78 mWebView.stopLoading(); 80 mCallback.timedOut(mWebView.getUrl()); 106 throw new AssertionError("Requested webkit data twice: " + mWebView.getUrl()); 132 mWebView.freeMemory(); 145 mWebView = new WebView(this); 146 mWebViewClassic = WebViewClassic.fromWebView(mWebView); 147 mEventSender = new WebViewEventSender(mWebView); 150 mWebView.addJavascriptInterface(mCallbackProxy, "layoutTestController"); 151 mWebView.addJavascriptInterface(mCallbackProxy, "eventSender"); 152 setupWebViewForLayoutTests(mWebView, mCallbackProxy) [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader5.java | 44 private WebView mWebView; 59 mWebView = (WebView)findViewById(R.id.rssWebView); 98 mWebView.loadData(content, "text/html", null); 103 mWebView.loadData("<html><body><p>No selection chosen</p></body></html>", "text/html", null);
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
LookupActivity.java | 58 private WebView mWebView; 101 mWebView = (WebView) findViewById(R.id.webview); 104 mWebView.setBackgroundColor(0); 254 mWebView.loadDataWithBaseURL(ExtendedWikiHelper.WIKI_AUTHORITY, entryContent,
|
/packages/apps/Browser/src/com/android/browser/ |
DeviceAccountLogin.java | 31 private final WebView mWebView; 53 mWebView = view; 90 mWebView.loadUrl(result);
|