summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Brabham <optedoblivion@gmail.com>2016-08-22 19:40:47 (GMT)
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-09-16 15:33:29 (GMT)
commitfd2a97a24afdb30591cdb85ec71be39e159eaac0 (patch)
tree7c64aad905b11a21af2ded2f18fefba776d040a6
parent579713ce1f2ac4603f43587c6102f7db8e474123 (diff)
downloadandroid_packages_apps_Gello-stable/cm-13.0-ZNH5Y.zip
android_packages_apps_Gello-stable/cm-13.0-ZNH5Y.tar.gz
android_packages_apps_Gello-stable/cm-13.0-ZNH5Y.tar.bz2
gello: increase res of shared imagesstable/cm-13.0-ZNH5Y
RM-290 Change-Id: Ie5e6ebbc836204bdc7cefd246ff76467e379c345 Ticket-Id: FEIJ-1382 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it> (cherry picked from commit 01d73e8840aad249a7b6ff03f5a0172f5caafcc0)
-rwxr-xr-xres/values/dimensions.xml4
-rw-r--r--src/com/android/browser/ShareDialog.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index 33ae63f..fa1f729 100755
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -19,8 +19,8 @@
<dimen name="tab_slice">15.5dp</dimen>
<dimen name="tab_focus_stroke">2dip</dimen>
<dimen name="max_tab_width">300dp</dimen>
- <dimen name="bookmarkThumbnailWidth">90dip</dimen>
- <dimen name="bookmarkThumbnailHeight">90dip</dimen>
+ <dimen name="bookmarkThumbnailWidth">180dip</dimen>
+ <dimen name="bookmarkThumbnailHeight">180dip</dimen>
<!--Add for Navigation Feature -->
<dimen name="mynav_item_width">80px</dimen>
<dimen name="mynav_item_width_portrait">80px</dimen>
diff --git a/src/com/android/browser/ShareDialog.java b/src/com/android/browser/ShareDialog.java
index 9325688..6d4c21a 100644
--- a/src/com/android/browser/ShareDialog.java
+++ b/src/com/android/browser/ShareDialog.java
@@ -123,9 +123,9 @@ public class ShareDialog {
File path = getScreenshotDir();
if (path.exists() || path.mkdir()) {
File saveFile = File.createTempFile(
- String.valueOf(System.currentTimeMillis()), ".jpg", path);
+ String.valueOf(System.currentTimeMillis()), ".png", path);
fOut = new FileOutputStream(saveFile);
- screenshot.compress(Bitmap.CompressFormat.JPEG, 90, fOut);
+ screenshot.compress(Bitmap.CompressFormat.PNG, 100, fOut);
fOut.flush();
fOut.close();
uri = getUriForImageCaptureFile(activity, saveFile);