FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[MOD][GUIDE][v2.0] Sense 4.0 style Multitasking on Stock ICS [Added Reflection]

486 posts
Thanks Meter: 2,354
 
By evilisto, Senior Member on 9th April 2012, 10:30 AM
Post Reply Email Thread
17th April 2012, 11:22 PM |#51  
Senior Member
Flag Ramat Gan
Thanks Meter: 952
 
Donate to Me
More
Managed to port this nice mod into Samsung I9100 ICS LP8.
Will upload CWM zip soon..

edit:

Sense Multitask for DEODEX Samsung I9100 LP8 - https://hotfile.com/dl/153223349/bdc...eodex.zip.html
flash with CWM...
The Following User Says Thank You to firefds For This Useful Post: [ View ] Gift firefds Ad-Free
 
 
18th April 2012, 12:13 AM |#52  
Senior Member
Thanks Meter: 260
 
More
Hey,
this is a REALLY nice mod!
i wish i could use it but i am not coding savy so no luck for me this time.

What would be awesome though is if someone would take the time to submit this as an option to Cyanogenmod. I guess many people woud welcome the option to use this style.
18th April 2012, 08:47 AM |#53  
adfad666's Avatar
Inactive Recognized Developer
Flag Olomouc
Thanks Meter: 4,318
 
Donate to Me
More
I hope you consider uploading it to CM9 once the landscape mode is tweaked, I made a quick hack for Optimus One (320x480) and it works fine.

just make the background you provided fill the entire screen (the different aspect ratio left gaps at each side so I could see whatever is behind it) and it'll be perfect.

http://forum.xda-developers.com/show...postcount=1307
18th April 2012, 10:12 AM |#54  
Senior Member
Thanks Meter: 83
 
More
What abour Litening rom?
Can someone please do this mod for the litening rom?
I it is working on Litening rom but you lose the custom icons of the battery and more
18th April 2012, 03:17 PM |#55  
theos0o's Avatar
Senior Member
Flag Sitia
Thanks Meter: 7,162
 
Donate to Me
More
Aaand here's a last landscape try from me:


XMLs:
http://www.mediafire.com/download.php?88c7hvqm1ascs77
The Following 5 Users Say Thank You to theos0o For This Useful Post: [ View ] Gift theos0o Ad-Free
18th April 2012, 07:37 PM |#56  
el_liberator's Avatar
Senior Member
Flag Collias
Thanks Meter: 1,166
 
Donate to Me
More
Hi

I adapted this mod on AOKP ROM for SGS2 , it's works fine , but i have a big problem , i lost the keyboard

somebody had an idea ?
19th April 2012, 09:42 AM |#57  
Youngunn2008's Avatar
Senior Member
Flag Alton, IL
Thanks Meter: 1,553
 
More
media fire link for diff patch not working man
20th April 2012, 07:20 PM |#58  
Senior Member
Flag Naples
Thanks Meter: 101
 
More
ican use zip file for cm9?
22nd April 2012, 01:24 PM |#59  
gnan10's Avatar
Senior Member
Flag andhra-kdp
Thanks Meter: 116
 
More
please need a detailed guide for this mod.....tried for days but couldn't applied... let us know how to apply it....

Quote:
Originally Posted by evilisto

this mod is originally posted on nexus s theme forum :

[mod] sense 4.0 style multitasking on stock ics

preview :






this mod is related to systemui.apk and framework-res.apk, so making universal version for all devices and all roms is impossible. So here i post my source code and resource files for other users..

-----------------------------------------------------------------------------

* caution : All values and resources(pngs) are for hdpi=wvga devices *


how to :
1) apply patch(diff) with resources.
2) compile.
3) done


* diff : download

Code:
diff -rupn ./a/core/res/res/values/dimens.xml ./b/core/res/res/values/dimens.xml
--- ./a/core/res/res/values/dimens.xml	2012-04-09 03:11:07.720754949 +0900
+++ ./b/core/res/res/values/dimens.xml	2012-04-08 13:40:10.032354000 +0900
@@ -19,9 +19,9 @@
 -->
 <resources>
     <!-- the width that is used when creating thumbnails of applications. -->
-    <dimen name="thumbnail_width">120dp</dimen>
+    <dimen name="thumbnail_width">144dp</dimen>
     <!-- the height that is used when creating thumbnails of applications. -->
-    <dimen name="thumbnail_height">120dp</dimen>
+    <dimen name="thumbnail_height">229dp</dimen>
     <!-- the standard size (both width and height) of an application icon that
          will be displayed in the app launcher and elsewhere. -->
     <dimen name="app_icon_size">48dip</dimen>
diff -rupn ./a/packages/systemui/res/drawable/nyandroid_anim.xml ./b/packages/systemui/res/drawable/nyandroid_anim.xml
--- ./a/packages/systemui/res/drawable/nyandroid_anim.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/drawable/nyandroid_anim.xml	2012-04-09 03:27:21.140757000 +0900
@@ -26,7 +26,5 @@
     <item android:drawable="@drawable/nyandroid07" android:duration="80" />
     <item android:drawable="@drawable/nyandroid08" android:duration="80" />
     <item android:drawable="@drawable/nyandroid09" android:duration="80" />
-    <item android:drawable="@drawable/nyandroid10" android:duration="80" />
-    <item android:drawable="@drawable/nyandroid11" android:duration="80" />
 </animation-list>
 
binary files ./a/packages/systemui/res/drawable-nodpi/nyandroid10.png and ./b/packages/systemui/res/drawable-nodpi/nyandroid10.png differ
binary files ./a/packages/systemui/res/drawable-nodpi/nyandroid11.png and ./b/packages/systemui/res/drawable-nodpi/nyandroid11.png differ
diff -rupn ./a/packages/systemui/res/layout/status_bar_no_recent_apps.xml ./b/packages/systemui/res/layout/status_bar_no_recent_apps.xml
--- ./a/packages/systemui/res/layout/status_bar_no_recent_apps.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/layout/status_bar_no_recent_apps.xml	2012-04-09 03:30:12.170752000 +0900
@@ -32,5 +32,6 @@
         android:text="@string/status_bar_no_recent_apps"
         android:gravity="center_horizontal"
         android:layout_gravity="center"
+	 android:visibility="gone"
     />
 </framelayout>
diff -rupn ./a/packages/systemui/res/layout-land/status_bar_recent_panel.xml ./b/packages/systemui/res/layout-land/status_bar_recent_panel.xml
--- ./a/packages/systemui/res/layout-land/status_bar_recent_panel.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/layout-land/status_bar_recent_panel.xml	2012-04-09 03:35:54.620753000 +0900
@@ -52,11 +52,22 @@
                 android:layout_height="match_parent"
                 android:orientation="horizontal"
                 android:cliptopadding="false"
-                android:clipchildren="false">
+                android:clipchildren="false"
+		 android:visibility="gone">
             </linearlayout>
 
         </com.android.systemui.recent.recentshorizontalscrollview>
 
+
+        <imageview
+ 	    android:gravity="center"
+	    android:layout_gravity="center"
+	    android:layout_width="match_parent"
+ 	    android:layout_height="match_parent"
+	    android:layout_margintop="0.0dip"
+  	    android:src="@drawable/nyandroid11"
+        />
+
     </framelayout>
 
     <include layout="@layout/status_bar_no_recent_apps"
diff -rupn ./a/packages/systemui/res/layout-port/status_bar_recent_item.xml ./b/packages/systemui/res/layout-port/status_bar_recent_item.xml
--- ./a/packages/systemui/res/layout-port/status_bar_recent_item.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/layout-port/status_bar_recent_item.xml	2012-04-09 04:13:51.600759000 +0900
@@ -20,69 +20,64 @@
 
 <framelayout
     xmlns:android="http://schemas.android.com/apk/res/android"
-    android:layout_height="wrap_content"
-    android:layout_width="match_parent"
-    android:paddingtop="@dimen/status_bar_recents_item_padding"
-    android:paddingbottom="@dimen/status_bar_recents_item_padding">
+    android:layout_height="match_parent"
+    android:layout_width="wrap_content"
+    android:paddingright="@dimen/status_bar_recents_item_padding"
+    android:paddingleft="@dimen/status_bar_recents_item_padding">
 
     <relativelayout android:id="@+id/recent_item"
-        android:layout_gravity="center_horizontal"
+        android:layout_gravity="center_vertical"
         android:layout_height="wrap_content"
-        android:layout_width="wrap_content">
+        android:layout_width="wrap_content"
+	 android:paddingtop="@*android:dimen/status_bar_height"
+	 android:layout_centerinparent="true">
 
-        <textview android:id="@+id/app_label"
-            android:layout_width="@dimen/status_bar_recents_app_label_width"
-            android:layout_height="wrap_content"
-            android:textsize="@dimen/status_bar_recents_app_label_text_size"
-            android:fadingedge="horizontal"
-            android:fadingedgelength="@dimen/status_bar_recents_fading_edge_length"
-            android:scrollhorizontally="true"
-            android:layout_alignparentleft="true"
-            android:layout_aligntop="@id/app_icon"
-            android:paddingtop="2dp"
-            android:layout_marginleft="@dimen/status_bar_recents_app_label_left_margin"
-            android:singleline="true"
-            android:ellipsize="marquee"
-            android:textcolor="@color/status_bar_recents_app_label_color"
-        />
         <framelayout android:id="@+id/app_thumbnail"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_alignparenttop="true"
-            android:layout_torightof="@id/app_label"
-            android:layout_marginleft="@dimen/status_bar_recents_thumbnail_left_margin"
-            android:background="@drawable/recents_thumbnail_bg"
-            android:foreground="@drawable/recents_thumbnail_fg"
+            android:layout_centerinparent="true"
+	     android:layout_marginleft="15.0dip"
+	     android:layout_marginright="15.0dip"
+            android:background="#00000000"
+            android:foreground="#00000000"
             android:visibility="invisible">
             <imageview android:id="@+id/app_thumbnail_image"
-                android:layout_width="@dimen/status_bar_recents_thumbnail_width"
-                android:layout_height="@dimen/status_bar_recents_thumbnail_height"
+                android:layout_width="192.0dip"
+                android:layout_height="305.0dip"
+	 	 android:layout_margintop="15.0dip"
+		 android:layout_marginbottom="15.0dip"
             />
         </framelayout>
-        <view android:id="@+id/recents_callout_line"
-            android:layout_width="@dimen/status_bar_recents_app_label_width"
-            android:layout_height="1dip"
-            android:layout_alignparentleft="true"
-            android:layout_marginleft="@dimen/status_bar_recents_app_label_left_margin"
-            android:layout_toleftof="@id/app_thumbnail"
-            android:layout_below="@id/app_label"
-            android:layout_marginright="3dip"
-            android:layout_margintop="3dip"
-            android:background="@drawable/recents_callout_line"
-        />
 
         <imageview android:id="@+id/app_icon"
-            android:layout_width="wrap_content"
+            android:layout_width="192.0dip"
             android:layout_height="wrap_content"
-            android:layout_torightof="@id/app_label"
-            android:layout_marginleft="@dimen/status_bar_recents_app_icon_left_margin"
-            android:layout_margintop="@dimen/status_bar_recents_app_icon_top_margin"
+	     android:gravity="center_horizontal"
+	     android:layout_margintop="50.0dip"
+	     android:layout_below="@id/app_thumbnail"
             android:maxwidth="@dimen/status_bar_recents_app_icon_max_width"
             android:maxheight="@dimen/status_bar_recents_app_icon_max_height"
             android:scaletype="centerinside"
             android:adjustviewbounds="true"
         />
 
+        <textview android:id="@+id/app_label"
+            android:layout_width="192.0dip"
+            android:layout_height="match_parent"
+	     android:gravity="center_horizontal"
+            android:textsize="@dimen/status_bar_recents_app_label_text_size"
+            android:fadingedge="none"
+            android:fadingedgelength="0.0dip"
+            android:scrollhorizontally="true"
+	     android:layout_below="@id/app_icon"
+	     android:layout_alignparentbottom="true"
+            android:paddingtop="0.0dip"
+	     android:layout_margintop="7.0dip"
+            android:singleline="true"
+            android:ellipsize="marquee"
+            android:textcolor="@color/status_bar_recents_app_label_color"
+        />
+
         <textview android:id="@+id/app_description"
             android:layout_width="@dimen/status_bar_recents_app_label_width"
             android:layout_height="wrap_content"
@@ -90,10 +85,10 @@
             android:fadingedge="horizontal"
             android:fadingedgelength="@dimen/status_bar_recents_fading_edge_length"
             android:scrollhorizontally="true"
-            android:layout_alignparentleft="true"
+            android:layout_alignparentbottom="true"
             android:layout_marginleft="@dimen/status_bar_recents_app_label_left_margin"
-            android:layout_below="@id/recents_callout_line"
-            android:layout_margintop="3dip"
+            android:layout_below="@id/app_label"
+            android:layout_margintop="40.0dip"
             android:singleline="true"
             android:ellipsize="marquee"
         />
diff -rupn ./a/packages/systemui/res/layout-port/status_bar_recent_panel.xml ./b/packages/systemui/res/layout-port/status_bar_recent_panel.xml
--- ./a/packages/systemui/res/layout-port/status_bar_recent_panel.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/layout-port/status_bar_recent_panel.xml	2012-04-09 03:48:31.990751000 +0900
@@ -26,34 +26,53 @@
 
     <framelayout
         android:id="@+id/recents_bg_protect"
-        android:background="@drawable/status_bar_recents_background"
+        android:background="@drawable/status_bar_recents_background_solid"
         android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:layout_alignparentbottom="true">
+        android:layout_height="wrap_content"
+        android:layout_centervertical="true">
 
-        <com.android.systemui.recent.recentsverticalscrollview
-            android:id="@+id/recents_container"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginright="0dp"
-            android:divider="@null"
-            android:stackfrombottom="true"
-            android:fadingedge="vertical"
-            android:scrollbars="none"
-            android:fadingedgelength="@*android:dimen/status_bar_height"
-            android:layout_gravity="bottom|left"
-            android:cliptopadding="false"
-            android:clipchildren="false">
+        <imageview
+	    android:gravity="center"
+	    android:layout_gravity="center"
+	    android:layout_width="match_parent"
+	    android:layout_height="match_parent"
+	    android:layout_margintop="0.0dip"
+	    android:src="@drawable/nyandroid10"
+	/>
+
+        <com.android.systemui.recent.recentshorizontalscrollview
+	    android:id="@id/recents_container"
+	    android:layout_gravity="bottom|left|center"
+	    android:scrollbars="none"
+	    android:fadingedge="none"
+	    android:fadingedgelength="0.0dip"
+	    android:clipchildren="false"
+	    android:cliptopadding="false"
+    	    android:layout_width="match_parent"
+	    android:layout_height="wrap_content"
+	    android:layout_marginright="0.0dip"
+	    android:stackfrombottom="true"
+	    android:divider="@null">
 
             <linearlayout android:id="@+id/recents_linear_layout"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:orientation="vertical"
+                android:orientation="horizontal"
                 android:cliptopadding="false"
                 android:clipchildren="false">
             </linearlayout>
 
-        </com.android.systemui.recent.recentsverticalscrollview>
+        </com.android.systemui.recent.recentshorizontalscrollview>
+
+	<textview
+	    android:textsize="20.0dip"
+	    android:textcolor="@color/status_bar_recents_app_label_color"
+	    android:gravity="center_horizontal"
+	    android:layout_margintop="45.0dip"
+	    android:layout_width="match_parent"
+	    android:layout_height="wrap_content"
+	    android:text="@string/recent_apps_title"
+	/>
 
     </framelayout>
 
diff -rupn ./a/packages/systemui/res/values/colors.xml ./b/packages/systemui/res/values/colors.xml
--- ./a/packages/systemui/res/values/colors.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/values/colors.xml	2012-04-09 03:24:33.071590000 +0900
@@ -22,8 +22,8 @@
     <drawable name="notification_item_background_color_pressed">#ff257390</drawable>
     <drawable name="ticker_background_color">#ff1d1d1d</drawable>
     <drawable name="status_bar_background">#ff000000</drawable>
-    <drawable name="status_bar_recents_background_solid">#b3000000</drawable>
-    <drawable name="status_bar_recents_app_thumbnail_background">#88000000</drawable>
+    <drawable name="status_bar_recents_background_solid">#00000000</drawable>
+    <drawable name="status_bar_recents_app_thumbnail_background">#00000000</drawable>
     <color name="status_bar_recents_app_label_color">#ffffffff</color>
     <drawable name="status_bar_notification_row_background_color">#ff090909</drawable>
     <drawable name="notification_header_bg">#ff000000</drawable>
diff -rupn ./a/packages/systemui/res/values/strings.xml ./b/packages/systemui/res/values/strings.xml
--- ./a/packages/systemui/res/values/strings.xml	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/res/values/strings.xml	2012-04-09 03:25:46.510750000 +0900
@@ -362,4 +362,8 @@
 
     <!-- content description of the clear button in the notification panel for accessibility (not shown on the screen). [char limit=none] -->
     <string name="accessibility_clear_all">clear all notifications.</string>
+
+    <!-- for sense 4.0 style multitasking mod -->
+    <string name="recent_apps_title">recent apps</string>
+
 </resources>
diff -rupn ./a/packages/systemui/src/com/android/systemui/recent/recentspanelview.java ./b/packages/systemui/src/com/android/systemui/recent/recentspanelview.java
--- ./a/packages/systemui/src/com/android/systemui/recent/recentspanelview.java	2012-04-03 14:44:38.000000000 +0900
+++ ./b/packages/systemui/src/com/android/systemui/recent/recentspanelview.java	2012-04-09 02:58:13.361585000 +0900
@@ -417,6 +417,7 @@ public class recentspanelview extends re
                     scalematrix.setscale(scale, scale);
                     h.thumbnailviewimage.setscaletype(scaletype.matrix);
                     h.thumbnailviewimage.setimagematrix(scalematrix);
+                    h.thumbnailviewimage.setrotationy(20.0f);
                 }
             }
             if (show && h.thumbnailview.getvisibility() != view.visible) {


* resources : download

-----------------------------------------------------------------------------

thanks to brucekey in rootzwiki
(this mod is based on his webaokp mod.)

-----------------------------------------------------------------------------

The Following User Says Thank You to gnan10 For This Useful Post: [ View ] Gift gnan10 Ad-Free
22nd April 2012, 03:44 PM |#60  
Senior Member
Flag Budapest
Thanks Meter: 103
 
More
Quote:
Originally Posted by gnan10

please need a detailed guide for this mod.....tried for days but couldn't applied... let us know how to apply it....

There's no need for a detailed guide since if you can't figure it out by googling and looking at the patch file than you wouldn't be able to follow the guide either.

And please remove the quote.
23rd April 2012, 05:16 AM |#61  
Youngunn2008's Avatar
Senior Member
Flag Alton, IL
Thanks Meter: 1,553
 
More
Quote:
Originally Posted by gnan10

please need a detailed guide for this mod.....tried for days but couldn't applied... let us know how to apply it....

It has to be applied to the SOURCE code of cm9 or aosp rom. Using Linux. With a diff patch. Google how to apply diff patch. Let the patch do the work for you. Cuz there's a lot of code to add and subtract.

And please don't quote the entire op when asking a question.... I'm like *scroll*scroll*scroll*scroll..... really?

Sent from my Inspire 4G using Tapatalk 2
Post Reply Subscribe to Thread

Tags
evilisto the mod man ^_^, multitasking sense 4.0 htc one

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes