From 6706ed826600683cd66a7a2af79137d9fdda34f8 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 2 Oct 2013 11:00:15 -0700 Subject: [PATCH] Updating widget preview tile. --- res/drawable-hdpi/widget_preview_tile.png | Bin 548 -> 0 bytes res/drawable-hdpi/widget_tile.png | Bin 0 -> 545 bytes res/drawable-mdpi/widget_preview_tile.png | Bin 406 -> 0 bytes res/drawable-mdpi/widget_tile.png | Bin 0 -> 405 bytes res/drawable-xhdpi/widget_preview_tile.png | Bin 615 -> 0 bytes res/drawable-xhdpi/widget_tile.png | Bin 0 -> 614 bytes res/drawable-xxhdpi/widget_tile.png | Bin 0 -> 1290 bytes res/drawable-xxhdpi/widget_tile_jb.png | Bin 1300 -> 0 bytes .../android/launcher3/WidgetPreviewLoader.java | 2 +- 9 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 res/drawable-hdpi/widget_preview_tile.png create mode 100644 res/drawable-hdpi/widget_tile.png delete mode 100644 res/drawable-mdpi/widget_preview_tile.png create mode 100644 res/drawable-mdpi/widget_tile.png delete mode 100644 res/drawable-xhdpi/widget_preview_tile.png create mode 100644 res/drawable-xhdpi/widget_tile.png create mode 100644 res/drawable-xxhdpi/widget_tile.png delete mode 100644 res/drawable-xxhdpi/widget_tile_jb.png diff --git a/res/drawable-hdpi/widget_preview_tile.png b/res/drawable-hdpi/widget_preview_tile.png deleted file mode 100644 index caeddd1ceb1b35286eddf6c79967e5ba444ef1bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 548 zcmeAS@N?(olHy`uVBq!ia0vp^F(Ayr1|%Q9zZ3zaSkfJR9T^xl_H+M9WCijWi-X*q z7}lMWc?skwBzpw;GB8xBF)%c=FfjZA3N^f7U???UV0e|lz+g3lfkC`r&aOZkpaffz zx4R3&e-K=-cll(X2xoyuWHFHT0Ash4*>*t27f%<*kcwMxFE|PwHefigp~T$k;SEFW zc7~`(js6IZntjja{1%X8 bO-xS>N=;0uEIgSCiY*3DS3j3^P6*t2M^6{WkcwMxFE|PwQD8XW@M6xj;_lvC z3-k^($Fj~mv-f*_Kt%DmuXEPz=zVB-IJxaOPrsy`u}xaVnGZ9DjKGcjo{fI)F^_Cz z3zqV)=3vi0dhb&$(DSM#t`Q|Ei6yC4$wjF^iowXh&{)^dK-a)9#L&XZz{JV~$Tqh! zFzD2kPe;*^o1c=IR*74~kAmg5ff^)1HU#IVm6RtIr7}3CfZ literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/widget_preview_tile.png b/res/drawable-mdpi/widget_preview_tile.png deleted file mode 100644 index 9c7c4f77cc3b0b0c7d1b51162fbb0b87902d7d1f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 406 zcmeAS@N?(olHy`uVBq!ia0vp^wjj*G1|;Q@5?=x-mUKs7M+SzC{oH>NS%G}U;vjb? zhIQv;K#~f{9znhg3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh z?!xdN1Q+aGJ{c&&S>O>_45U54*zIJt9gvac>EalYaqsPUM!^FL0tYr2+P{zIXfl($ zbJ4|dciOXRr*HRO+sYO;z2v$qx=hk~ z*NBpo#FA92zopr047I(nE(I) diff --git a/res/drawable-mdpi/widget_tile.png b/res/drawable-mdpi/widget_tile.png new file mode 100644 index 0000000000000000000000000000000000000000..1ba559d6c8e10ae62102ed2ef0a5105eeef91929 GIT binary patch literal 405 zcmeAS@N?(olHy`uVBq!ia0vp^wjj*G1|;Q@5?=x-mUKs7M+SzC{oH>NS%G}U;vjb? zhIQv;K#~f{9znhg3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh z?!xdN1Q+aGJ{c&&S>O>_45U54*zIJt9gvag>EalYaqsPUM!^OLo&yGL5iW^kCw^GZ z(#S|JpRb*gcJFt|5zb}WKH)Rg8N?>;I#km7lIyZ42?Dd^e=~^PWvO`2ulW;bp=yb1 zL`h0wNvc(HQ7VvPFfuSS)-^QHH82b@w6HQTu`&U&&8-X!I(6mKQ8eV{r(~v8;@0q^ zVEJvJ21$?&!TD(=<%vb942~)JNvR5+xryniL8*x;m4zo$LBYe|>FVdQ&MBb@03Yyu Az5oCK literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi/widget_preview_tile.png b/res/drawable-xhdpi/widget_preview_tile.png deleted file mode 100644 index 60238671e574404f0829098ad4fd7d1cca5e7a2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 615 zcmeAS@N?(olHy`uVBq!ia0vp^RUpj41|$n2-Jbv{mUKs7M+SzC{oH>NS%G}U;vjb? zhIQv;UIIA^$sR$zKn-dP3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh z?!xdN1Q+aGJ{c&&S>O>_45U54*zIJt9ng4lPZ!6Kid%0lGV(S!2prhJZ2vy~1UHko zK*Z{VlYLvSnf|$U@Ar(EmiPG{O1imA$R?JwTofGP4Biix=8Gy>KCs5DW(S6)YKdz^ zNlIc#s#S7PDv)9@GB7mKH89mRG7K>^wK6fYGPck)Ft;)=xc%>@GKz-W{FKbJN^}iI zRz`*p4Zo^dRsc0ff@}!RPb(=;EJ|f?Ovz75Rq)JBOiv9;O-!jQJedlLa0X9TKbLh* G2~7a#iN1ya diff --git a/res/drawable-xhdpi/widget_tile.png b/res/drawable-xhdpi/widget_tile.png new file mode 100644 index 0000000000000000000000000000000000000000..9730f35db350fa639dfdded8203a4d989c77fc53 GIT binary patch literal 614 zcmeAS@N?(olHy`uVBq!ia0vp^RUpj41|$n2-Jbv{mUKs7M+SzC{oH>NS%G}U;vjb? zhIQv;UIIA^$sR$zKn-dP3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh z?!xdN1Q+aGJ{c&&S>O>_45U54*zIJt9ng3)PZ!6Kid%0lGV(S!2prf@eME_Cb3Zr7 zn$Qg?+3#!l_HVtmD=n>WyK_a`ML{=r3E9MwmJ!Zit~tl6D9ZAo=kAFFU{I=-xJHzu zB$lLFB^RXvDF!10Lt|Y-16>2d5JL+q0~0F~Alux^z@SrCJ{?6vZhlH;S|x4`KMI!L x25OK5*$|wcR#Ki=l*-_klAn~S;F+74o*I;zm{M7IG8Gix44$rjF6*2UngCtUy*mH^ literal 0 HcmV?d00001 diff --git a/res/drawable-xxhdpi/widget_tile.png b/res/drawable-xxhdpi/widget_tile.png new file mode 100644 index 0000000000000000000000000000000000000000..3a3790dfc00a12bd91248791104c5ff3159f10f4 GIT binary patch literal 1290 zcma)6&ui0A9FI)q7%R+!2OYvA_294ON3&*2SRHNCx`G*{D_9W0Gomb@%^v)S+< z^RgX0diLhQ!<=56cu@Rt@Z@DE%z`j43jWxi;CpRTJ*>`<`E0^^((509L}H|E_6JiW|*nz&@;>hh(Qh3Z8y#Sdj5h1wv}eDrgTB~aLp}s4PD+@9 zC<0mL#PO6Yix)vs5R<$>ZaE>2t0`GcPJr&kl4!m)ua>n!Hx~IyvkiyojR04UoB6P;px%-b=1)onI8&!gG)YoqYqs&?>-sq>!;xs!yLI))H0QD z_xsM{7z0KIGOxBq-adIyJGTDw;m(H(_pI1g^Rv0Tw)y7ncBTc~(TVl3!(nW%5OMp# z!KHY|EVlO_@Xq#e8klnX!Az@1=nFp`J)9Foq1AQ+_J^Yr?Tk8|ITWssExmqpe&fXc fvrKFMcKjvt@yAg8%gnWJ^zT&6&uW|58*9G-*hsm| literal 0 HcmV?d00001 diff --git a/res/drawable-xxhdpi/widget_tile_jb.png b/res/drawable-xxhdpi/widget_tile_jb.png deleted file mode 100644 index 363fe841dcdd343c616e83adfb37b7c0a8fd8ab9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1300 zcma)6&ui2`6pkphR@NT}4_d?__2?#qM|1!`>P(h)<81f4Bz|S_vSsaR-C#X8M-jU zFifN{p_b^n9=?ME^jmb^KB3EblB`X!vG&hTC*2J=hrkAJ6 z#&X?|O?K=m7!4FEU?ZY~z@B$}B}lU^U4`QCm}fzYLh5O@ZK|RbK^A)mBsd{z2uTQ% zaSp}>IWAuTq5uURio762p`aurMS!65ur!-zR+W;P@8qJpG+QIYRd~MHY;w&QhrKx- z%CgK0A}@+j%82?)4$*_Ca<;g?e=6HzjICW!uUXU zdB_Q2NnN6*{hMmrJ+@CuXy5OF!hU(lMSKbQxZxSJan+G9m8)buq!a9wF`n<V`ln{q72UB@5pN}Uq zsYFtYNh0jVs@Q1Q$RXWWb3az>8ygOT?b6ID@~lN<<~?kKR?&)efR|Jz7K7trN|xfO zgT1t4&Hi45zFv50h7Vi&SF5{6bbdnE8(g~SjXrYdynA%8AHKXLGt7|(1vOI+KJLBS zKEc4j+;-!`;@;NjVNu^KRWJl{n<~gFBC?vo@hG)b1Y6>4`*k^Ig4uaA0Ai<)~Hdp>Sp6tTg%k n^U2tYn`Hgm*XX^%W9BGx@#o;3V>9*e|Hl+^Q|hzv+xPzf-_5uQ diff --git a/src/com/android/launcher3/WidgetPreviewLoader.java b/src/com/android/launcher3/WidgetPreviewLoader.java index 1910ab74a0..b1bb1e8557 100644 --- a/src/com/android/launcher3/WidgetPreviewLoader.java +++ b/src/com/android/launcher3/WidgetPreviewLoader.java @@ -464,7 +464,7 @@ public class WidgetPreviewLoader { if (cellVSpan < 1) cellVSpan = 1; BitmapDrawable previewDrawable = (BitmapDrawable) mContext.getResources() - .getDrawable(R.drawable.widget_preview_tile); + .getDrawable(R.drawable.widget_tile); final int previewDrawableWidth = previewDrawable .getIntrinsicWidth(); final int previewDrawableHeight = previewDrawable