50278dabb69191ed8605164936081a1701256cdd |
|
18-Nov-2014 |
Mikhail Naganov <mnaganov@google.com> |
Restore zoom controls in HTMLViewer WebSettings.setBuiltInZoomControls must be set to 'true' for zoom controls and pinch-zooming to work. And then we need to call WebSettings.setDisplayZoomControls(false) to leave only pinch-zoom. Bug: 18403885 Change-Id: I549fc11673096046212f8c8efaf65824d1000ad7
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
c9cd4b66263697ddc227b012d96a90ead8d21d92 |
|
14-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Modernize HTMLViewer, offer to decompress. Spruce up the UI to match Material spec. We can also load file:// content directly instead of forcing through a ContentProvider. Since we're using this to show license content, try decompressing files that end in ".gz", but fall back to loading normally if it's not compressed. Let callers provide a window title. Bug: 18376908 Change-Id: I59ce02fb17fbe157239d365417a1a1e88e2a18d4
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
7871a62ee3373100f62f13db906bca9825d6fbe7 |
|
26-Mar-2014 |
Ben Murdoch <benm@google.com> |
Update HTMLViewer to use utf-8 text encoding. By default, WebView will use Latin-1 encoding. Patch courtesy of Takeshi Aimi. Bug: 13214875 Change-Id: I16d3bf91904b617fd25c98d68771330c01055f18
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
0fa2c6a68e34bcff5c1dccc564e210273de7af6d |
|
17-Mar-2014 |
Ben Murdoch <benm@google.com> |
Revert "HTMLViewer: allow encoding to be specified in incoming Intent." We are going to unconditionally go for UTF-8 going forward. This reverts commit 3b1632a210328fc8e924bb40316d793502206a37. Change-Id: Ib8792c613c0d30b2097e125ea7c3bdaf6d737fd5
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
3b1632a210328fc8e924bb40316d793502206a37 |
|
28-Feb-2014 |
Ben Murdoch <benm@google.com> |
HTMLViewer: allow encoding to be specified in incoming Intent. Bug:13214875 Change-Id: I7eb9857e9f6d3f640c6264da98681d065e22527f
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
7609f0f74a1b93ae5964d1d31a51fd25cca5d72b |
|
28-Feb-2014 |
Ben Murdoch <benm@google.com> |
Clean up whitespace. Change-Id: Ib1b38186027244c1218fab0d1c81400b9ad570a3
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
dd44be0b2e29ee043ac8c25dba34f11b9c018c46 |
|
05-Dec-2013 |
Selim Gurun <sgurun@google.com> |
Do not add mimetype to url as a query parameter Bug: 11654127 Adding mimetype to url as a query parameter is a bad practice as it requires us to inject app specific behavior to webview. There also seems no reason to add this, so removing. Change-Id: Ib2e5198981f2d37128ab545a33b83e8109bf3eef
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
9715e7c99a3a86162718d7932aaa174090abc381 |
|
18-Sep-2013 |
Mikhail Naganov <mnaganov@google.com> |
Enable zoom controls in HTMLViewer Due to changes in Chromium WebView, text files may be displayed using a smaller font, not comfortable for reading. Enabling zoom controls serves as a workaround. This also puts HTMLViewer on par with DocViewer (for office files), which also allows zooming of contents. BUG: 10674904 Change-Id: I806fbed103e6f714824f69d78e681ee96f142d42
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
23489eacff5576b58d94fb96b5d4a119f6193f2d |
|
03-Jul-2013 |
Ben Murdoch <benm@google.com> |
Don't call WebView.stopLoading() from onStop() If the app is opened while the screen is off, the call to WebView.stopLoading can cause the load triggered by onCreate to stop - never being resumed or restarted, resulting in no content. BUG=9493580 Change-Id: I7f19cbbe4d9dc735ed976798ccf783bbf42c8c8f
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
89c5a7db771a601adf20ad3e3a7a979ccacbd0d9 |
|
02-Sep-2009 |
Cary Clark <cary@android.com> |
Only include the intent type in loadUrl() if it is set
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
931fd3728855b03bcab825ce10475d7447e9097a |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
0664dd747f36abcc122a3d3e7c6ab1472681f510 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
ae36e6ba1ad74a7eb844a41c6c0fc1ecd3c66467 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
dbdb2a036901f82d3bb27e35a8140206da2328dd |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|