Commit Graph

926 Commits

Author SHA1 Message Date
Winson Chung 26cbf3a001 Minor fixes to stop crashing on panning/dragging on phones.
Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
2011-01-06 16:29:06 -08:00
Michael Jurka b09cac5a73 change default screen when you drag an item onto it
Change-Id: Iecfcb04c8a2c7b7c67e4127cf9fd86c3853b0b21
2011-01-05 20:24:40 -08:00
Michael Jurka 7c2a0841f3 Merge "caching mini screens to bitmaps" 2011-01-05 18:28:32 -08:00
Michael Jurka bea1519534 caching mini screens to bitmaps
- gives ~10fps gain when side scrolling in all apps, customize mode, and the transition animations between workspace/all apps/customize
- requires framework to expose a flag isDirty() on View (will be submitted in separate commit)

Change-Id: Ief4cf3f2ffe545f237bc7111fb62af13e8695766
2011-01-05 16:52:49 -08:00
Winson Chung 0499834db3 Fixing issues with holographic outline cache in AllApps/Customize.
- Fixing issue where the outline cache was not properly used when changing orientations
- Making the outline cache static, and shared across both the AllApps/Customize (since they
  share an Apps view)
- Making sure that holographic outlines for items on only one page are not created, since
  the holographic outlines will never be shown in that case.
- No longer clearing outline cache as frequently

Change-Id: I291db3802260249d0470d2637d871958baa8ebff
2011-01-05 16:23:55 -08:00
Adam Cohen a6612cd45f Adjusting wallpaper picker to match spec
Change-Id: I004f15119648b9435bd73a400bd0193962e9569f
2011-01-05 14:27:29 -08:00
Winson Chung 621e6406fa Cancelling a drag should signal to the source that the drag is incomplete.
Change-Id: I6464c4ccf15b550dd319e18c2e998131e46ccc0f
2011-01-04 16:04:32 -08:00
Winson Chung c1ef5c33d9 Merge "Cancelling the current drag when customization filter type changes to prevent crashes." 2011-01-04 13:47:56 -08:00
Michael Jurka 33945b2154 Changed backgrounds of mini screens in customize mode
- default screen to add to is now a strong blue
- reworked other workspace screen code

Change-Id: I5b1bc016a04d5a1b3eb1ce93a3ae31ad973eb798
2011-01-04 13:13:45 -08:00
Winson Chung 7d1fcbc409 Cancelling the current drag when customization filter type changes to prevent crashes.
Change-Id: Iaa3f2598325950769d38ad1d6e390ab06ea194d7
2011-01-04 10:22:56 -08:00
tedbo 2b0857a5d8 Fix NPE when running on Passion device.
This change fixes a NullPointerException that happens on the Passion
device when the Launcher is started.

Change-Id: If568cac8bf5a625da859b824245cca641cdc06de
2010-12-22 18:40:40 -08:00
Alex Sakhartchouk 9dfbe3a501 Merge "renderscript API cleanup" 2010-12-21 16:52:06 -08:00
Winson Chung 59e1f9a07e Adding fade when dragging items outside of the customization tray.
Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
2010-12-21 16:04:02 -08:00
Alex Sakhartchouk c3842427d8 renderscript API cleanup
Change-Id: I76b9ceccd73d7f1b83853763755e1ba28e009614
2010-12-21 14:57:05 -08:00
Michael Jurka 577d017732 adding "Remove" and "Delete" text to delete button
- also removed some unused assets

Change-Id: Iad42afd2f144de92d80fb89d892ab42b32811b69
2010-12-21 14:27:41 -08:00
Michael Jurka b8e14479da Don't show application info icon on workspace
Change-Id: I79e59211633609f4bd13e91a6c745ff28a309e2e
2010-12-20 16:53:26 -08:00
Winson Chung bb6e05bca6 Merge "Saving AllApps page when rotating screen, fixing customization rotate flash." 2010-12-20 15:16:29 -08:00
Winson Chung a12a2502e6 Saving AllApps page when rotating screen, fixing customization rotate flash.
Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
2010-12-20 14:49:18 -08:00
Winson Chung be5212be73 Fixing drop target padding for the trash bin and all apps.
Change-Id: I65e0af4b52ce26037c77b8120d51226be27efb90
2010-12-20 14:44:38 -08:00
Patrick Dubroy 047379aa61 Don't animate tapped item if the target screen is full 2010-12-20 11:24:54 -08:00
Patrick Dubroy 6920c2ce34 Make drop-on-adjacent-page anim happen at same time as snapToPage 2010-12-19 20:24:40 -08:00
Michael Jurka 8edd75c8bb removing workaround for fixed animator bug
Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
2010-12-17 20:44:15 -08:00
Michael Jurka 800242b5b7 updating assets for configure/all apps
- fixed the dead zone between configure/all apps
2010-12-17 19:31:18 -08:00
Adam Cohen 1d9c213a7f Merge "Re-enabling clipping of children in cell layout (not necessary now that hotdog is out)." 2010-12-16 18:38:05 -08:00
Winson Chung a34d0b3d7b Re-enabling clipping of children in cell layout (not necessary now that hotdog is out).
Change-Id: Ia10b3d8b12848785ed6731323b00f9d33c71e3d2
2010-12-16 18:26:55 -08:00
Jason Sams 95d2d2d89c Fix mipmap generation with RS API update.
Change-Id: Ib19ed2869359cc926a6f91122355a6855d7a9d98
2010-12-16 12:19:14 -08:00
Michael Jurka 38b4f7c5ea holo look for pressed/focused workspace icons
Change-Id: Ia964c868afd200be3828e4397659391f857599e6
2010-12-15 21:18:17 -08:00
Winson Chung 760e5375f0 Fixing drawing order issue in bg gradient
- Synchronizing icon button animations + some initial code refactoring for icon buttons
- Fixing crash in non-xlarge devices
- Adding fix to prevent customization bg protection from being drawn in all apps

Change-Id: If231a1bf4b32f59fb1de85ff67143ee08d2c93a1
2010-12-15 16:11:18 -08:00
Michael Jurka fc1fd8dca0 Merge "fix potential leak of Activities" 2010-12-15 11:28:09 -08:00
Jason Sams 06ed40c618 Merge "Update for Allocation API changes." 2010-12-15 02:12:30 -08:00
Jason Sams 735a824247 Update for Allocation API changes.
Change-Id: I46bbeab13df570fd14a21c4a2790adc9665dca26
2010-12-14 19:24:21 -08:00
Michael Jurka e7bf83b0a3 fix potential leak of Activities
- cache ConstantStates instead of Drawables

Change-Id: Iea1cf23c845b9128ea1c12dffc32265f8d7db933
2010-12-14 18:37:56 -08:00
Winson Chung c3f9f4fcbd Fixing issue with customize page holographic previews not showing.
- Adding temporary workaround for bad holographic default widget previews.

Change-Id: I261045beac3791111f928511435e17e320f2d4a7
2010-12-14 18:27:50 -08:00
Winson Chung a58f8bb194 Preventing bg protection from changing while adding items via spring loading mechanism.
Change-Id: I57702eae45346e41026d60e2ae551f3df287b29f
2010-12-14 18:27:20 -08:00
Michael Jurka c2f7f47948 correcting misspellings and removing dead code
Change-Id: Ic71dfc31299b1fbc10d7694e710699aa952da311
2010-12-14 15:51:59 -08:00
Winson Chung 8812703817 Various tweaks to launcher
- Removing hotdog for shadow bg protection
- Adding bg protection for customization tray
- Restoring holographic outlines for all apps
- Small bug fixes

Change-Id: I58d81bb490f78c76fcaf46122febc3c1aace854e
2010-12-14 15:32:02 -08:00
Michael Jurka 72b079e403 adding ability to vertically drag an app out of All Apps
Change-Id: I211c9e60026610d9cf9eda0fbc65b15e6850b730
2010-12-13 16:00:36 -08:00
Adam Lesinski 2a898a0ac5 Update Wallpaper picker and fix bug
-Fixed b/3271838
-On a phone, Fragment would not remember its
previous state and crash on rotation
Change-Id: Ida923fba0c7f4622b090e2838fd932328ad68c63
2010-12-13 14:51:15 -08:00
Winson Chung cd4bc491c4 Changing AllApps checked visualization, fixing drag offset issue in AllApps/Customize.
- fixing previous change which clobbered pressed/focused state padding

Change-Id: I229d803322554e51bc9c1f15d3687b01b0f6679f
2010-12-09 19:02:07 -08:00
Winson Chung bf54662596 Merge "Differentiating max widget cell count and max wallpaper cell count in customization drawer." 2010-12-09 16:40:03 -08:00
Winson Chung 78bd53c71d Differentiating max widget cell count and max wallpaper cell count in customization drawer.
Change-Id: Ic649f185f9a294af38ed224e9dbb7530e7cbf29a
2010-12-09 16:39:38 -08:00
Michael Jurka d56d8b82c4 updating assets 2010-12-09 15:13:51 -08:00
Adam Cohen 696a67969d Fixing stack overflow (issue #3270492)
Change-Id: I6a9c58d2c0843414fd844c8aa5bf0370da33108b
2010-12-09 11:47:59 -08:00
Michael Jurka d3ef3065ab added spring loaded mode for adding items to workspace
Change-Id: Ie92294fe2b1d6697d84756a2fcea91a09f72825b
2010-12-09 02:12:19 -08:00
Adam Cohen 120980bd00 Adding animations to Customize drawer
-When you tap to add in customize drawer the widgets
 / app shortcuts now animate to the mini screens

Change-Id: I0a5b5ae561fda3fbbf902003273477a5ed7ca5cc
2010-12-08 22:49:08 -08:00
Adam Cohen b5a2b2fff3 Merge "Supporting custom wallpaper previews in Customize" 2010-12-08 21:00:24 -08:00
Adam Cohen 7b9d3a683c Supporting custom wallpaper previews in Customize
Change-Id: Ibc16e67ca49a50032d9fcb7d5bb8dcccd7bf4397
2010-12-08 20:04:27 -08:00
Michael Jurka 5157942db6 fix getText() for CacheableTextView 2010-12-08 19:37:45 -08:00
Michael Jurka af91de06b9 code cleanup, preparing for spring-loaded adding to screens
Change-Id: Ic52b8df2b4c4998272fbfe2b1b195c177cac9a23
2010-12-08 14:52:41 -08:00
Jason Sams f32e5e842e Merge "update to new API Remove extra arrays and allocations for manual allocation -> int conversions which were a legacy issue." 2010-12-06 22:12:00 -08:00