[Verizon Samsung Galaxy Note II] Fictionles:
Here's how to add the minimize button to your floating multiwindows. Thanks to dwitherell for pointing me in the right direction.

WARNING: This will involve modifying a system file on your phone, if done incorrectly, will cause a bootloop. Proceed with caution! This is written from a Windows perspective, but the same can be done for Linux systems.

1) Copy the android.policy.jar from your system into a directory on your system.

2) Open it using a zip program (e.g. winrar) and extract the classes.dex file.

3) Extract using baksmali. Follow up to step #5 from this site: (thanks to adrynalyne) You will need all of the utilities listed there. For this example I used, apktool.bat, apktool.jar, smali.jar and baksmali.jar (renamed from the originals).

http://adrynalyne-teachtofish.blogspot.com/2011/11/how-to-decompile-and-recompile-jar.html

4) Go into the following newly created directory: out\com\android\internal\policy\impl\multiwindow and open the MultiPhoneWindowEvent.smali into a text file editor (Preferably notepad++ if on Windows).

NOTE: If there is no multiwindow folder, then it could be that its in a separate jar file.

5) Find the following lines in the file:

.line 105
iput-boolean v9, p0, Lcom/android/internal/policy/impl/multiwindow/MultiPhoneWindowEvent;->ENABLED_MINIMIZED_BUTTON:Z

.line 106
iput-boolean v9, p0, Lcom/android/internal/policy/impl/multiwindow/MultiPhoneWindowEvent;->ENABLED_ACTION_BAR_DOUBLE_TAPPING:Z

6) Change the v9 to v8. That will enable the value. Now it should say:

.line 105
iput-boolean v8, p0, Lcom/android/internal/policy/impl/multiwindow/MultiPhoneWindowEvent;->ENABLED_MINIMIZED_BUTTON:Z

.line 106
iput-boolean v8, p0, Lcom/android/internal/policy/impl/multiwindow/MultiPhoneWindowEvent;->ENABLED_ACTION_BAR_DOUBLE_TAPPING:Z

7) Save the file, and now we have to pack it back together. Run this line in a command line:

java -Xmx512M –jar smali.jar dex –o classes.dex

8) Do you have that android.policy.jar file open? Delete the classes.dex from it and add the new one you just created. After you save it, make sure the file is still called "android.policy.jar". No zip extensions.

9) Before we add it back to your phone, we need to sign it. NOT SIGNING WILL CAUSE A BOOTLOOP. For that we use the same method for signing apks. You can find that info here: http://xdaforums.com/showthread.php?t=2195680 Run the following:

java -jar SignApk.jar testkey.x509.pem testkey.pk8 android.policy.jar (or whatever named you called it) android.policy.jar.signed ( can be whatever name you give to your jar )

When its all done, you want to have android.policy.jar that's close to the same size as the original file you pulled from your phone.

10) Moment of truth: Now we are set to replace the file. Make sure you a do a nandroid or copy the android.policy.jar file to a different name so you can go back and restore it if something went wrong during this process. Copy the new file to an sdcard or internal memory and boot to recovery. Connect via adb shell on your computer and copy the file to /system/framework.

adb shell
#cp /sdcard (or wherever it is) /system/framework/

Set the permissions to rw-r-r and the owner to root.

#chmod 644 /system/framework/android.policy.jar

#chown root:root /system/framework/android.policy.jar

Or you could always put the file in an update.zip and flash it in recovery. Both methods work, however you feel comfortable in doing it.

Then reboot! Once its booting you should notice the message "Android is updating your applications" That is normal. Once everything finishes loading, your floating windows should have the minimize button present. Also, double tapping the minimized window will bring it up in full screen.