summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Brabham <optedoblivion@gmail.com>2016-08-22 19:40:47 (GMT)
committerJoey Rizzoli <joey@cyanogenmoditalia.it>2016-08-22 19:40:47 (GMT)
commit01d73e8840aad249a7b6ff03f5a0172f5caafcc0 (patch)
tree162382628996101f815947f58eea31a5fd368804
parent8fb25f4ee9292964aa7809922e6fb0db71a769d2 (diff)
downloadandroid_packages_apps_Gello-cm-14.0.zip
android_packages_apps_Gello-cm-14.0.tar.gz
android_packages_apps_Gello-cm-14.0.tar.bz2
gello: increase res of shared imagescm-14.0
Change-Id: Ie5e6ebbc836204bdc7cefd246ff76467e379c345 Ticket-Id: FEIJ-1382 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
-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);