Lines Matching refs:mMainView
139 private WebView mMainView;
174 // mMainView
1183 if (mMainView != null) {
1184 mMainView.clearHistory();
1265 if (mMainView == w) {
1277 if (mMainView != null) {
1278 mMainView.setPictureListener(null);
1286 mMainView = w;
1288 if (mMainView != null) {
1289 mMainView.setWebViewClient(mWebViewClient);
1290 mMainView.setWebChromeClient(mWebChromeClient);
1295 mMainView.setDownloadListener(mDownloadListener);
1301 mMainView.setPictureListener(this);
1306 = mMainView.restoreState(mSavedState);
1320 if (mMainView != null) {
1323 WebView webView = mMainView;
1449 if (mMainView != null) {
1450 setupHwAcceleration(mMainView);
1451 mMainView.onResume();
1469 if (mMainView != null) {
1470 mMainView.onPause();
1484 mMainView.setOnCreateContextMenuListener(activity);
1502 mMainView.setOnCreateContextMenuListener(null);
1521 return mMainView;
1531 return mMainView;
1543 return WebViewClassic.fromWebView(mMainView);
1665 mErrorConsole.setWebView(mMainView);
1717 if (mMainView == null) {
1726 WebBackForwardList savedList = mMainView.saveState(mSavedState);
1735 mSavedState.putBoolean(INCOGNITO, mMainView.isPrivateBrowsingEnabled());
1776 if (mMainView == null || mSavedState == null) {
1780 != mSettings.hasDesktopUseragent(mMainView)) {
1781 mSettings.toggleDesktopUseragent(mMainView);
1835 Bitmap screenshot = Controller.createScreenshot(mMainView,
1896 if (mMainView != null) {
1900 mWebViewController.onPageStarted(this, mMainView, null);
1901 mMainView.loadUrl(url, headers);
1910 if (mMainView == null || mCapture == null) return;
1911 if (mMainView.getContentWidth() <= 0 || mMainView.getContentHeight() <= 0) {
1915 final int left = mMainView.getScrollX();
1916 final int top = mMainView.getScrollY() + mMainView.getVisibleTitleHeight();
1919 float scale = mCaptureWidth / (float) mMainView.getWidth();
1921 if (mMainView instanceof BrowserWebView) {
1922 ((BrowserWebView)mMainView).drawContent(c);
1924 mMainView.draw(c);
1959 return mMainView != null ? mMainView.canGoBack() : false;
1963 return mMainView != null ? mMainView.canGoForward() : false;
1967 if (mMainView != null) {
1968 mMainView.goBack();
1973 if (mMainView != null) {
1974 mMainView.goForward();