Home
last modified time | relevance | path

Searched refs:webSettings (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
DOsuLoginActivity.java161 WebSettings webSettings = mWebView.getSettings(); in onCreate() local
162 webSettings.setJavaScriptEnabled(true); in onCreate()
163 webSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE); in onCreate()
164 webSettings.setUseWideViewPort(true); in onCreate()
165 webSettings.setLoadWithOverviewMode(true); in onCreate()
166 webSettings.setSupportZoom(true); in onCreate()
167 webSettings.setBuiltInZoomControls(true); in onCreate()
168 webSettings.setDisplayZoomControls(false); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DWebActivity.java89 WebSettings webSettings = mWebView.getSettings(); in onCreate() local
90 webSettings.setBuiltInZoomControls(true); in onCreate()
91 webSettings.setDisplayZoomControls(false); in onCreate()
92 webSettings.setJavaScriptEnabled(true); in onCreate()
98 .applyWebSettingsDayNight(getApplicationContext(), webSettings, getIntent()); in onCreate() local
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java227 WebSettings webSettings = webview.getSettings(); in onCreate() local
228 webSettings.setJavaScriptEnabled(true); in onCreate()
229 webSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE); in onCreate()
230 webSettings.setUseWideViewPort(true); in onCreate()
231 webSettings.setLoadWithOverviewMode(true); in onCreate()
232 webSettings.setSupportZoom(true); in onCreate()
233 webSettings.setBuiltInZoomControls(true); in onCreate()
234 webSettings.setDisplayZoomControls(false); in onCreate()
235 webSettings.setDomStorageEnabled(true); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DThemeHelper.java114 public void applyWebSettingsDayNight(Context context, WebSettings webSettings, Intent intent) { in applyWebSettingsDayNight() argument
116 requireNonNull(webSettings); in applyWebSettingsDayNight()
120 WebSettingsCompat.setForceDark(webSettings, getForceDarkMode(context, intent)); in applyWebSettingsDayNight()