Commit Graph

239 Commits

Author SHA1 Message Date
Adam Cohen 2ddf13e175 Updating call to match framework.
Change-Id: I31cb1e66b1091898433461e07315abc05cf6bf2e
2011-01-19 21:26:33 -08:00
Patrick Dubroy 3c85ea5e98 Merge "Fix 3369762: long press should take you into customization mode" into honeycomb 2011-01-19 14:59:29 -08:00
Patrick Dubroy 8fedddc586 Fix 3369762: long press should take you into customization mode 2011-01-19 14:54:38 -08:00
Michael Jurka ab1983f46c tweaking parallax effect
- centering workspace in All Apps and Customize mode
- tweaking spring constants
- solved problem where wallpaper offset was being continually set

Change-Id: Id3b12af0151490536e4330beea4a494700224fee
2011-01-18 21:14:13 -08:00
Michael Jurka 4a7d4afe87 Removing dead code
Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
2011-01-17 16:58:15 -08:00
Dianne Hackborn 0d5aad7edb Update to follow API.
Change-Id: Ib0378736b7c7acf33e6e2de0327d686bacff9275
2011-01-17 15:28:58 -08:00
Winson Chung 0b5888e828 Merge "Preventing screen rotations when dragging." into honeycomb 2011-01-17 14:01:04 -08:00
Winson Chung 400438b79f Preventing screen rotations when dragging.
Change-Id: I6805c66f9aeec32bc7d597e99e1f62be0e2d0ab3
2011-01-17 13:34:52 -08:00
Patrick Dubroy bb1d1319f2 Merge "More changes to improve memory usage during rotation" into honeycomb 2011-01-16 17:33:44 -08:00
Patrick Dubroy 60b7c53ccc More changes to improve memory usage during rotation 2011-01-16 17:19:32 -08:00
Michael Jurka d99cf8b76d Fix bug: rotating screen in All Apps mode would show blank workspace 2011-01-16 16:53:18 -08:00
Patrick Dubroy 2313eff05b Allow previous view hierarchy to be GC'ed more quickly on rotation
Change-Id: I76215a48e76234501b7ce253dedfa449502ab88f
2011-01-14 14:50:47 -08:00
Michael Jurka c5b262ccf6 tweaking parallax effect
- adding vertical parallax when switching to all apps/customize mode
- added effect to have parallax lag the rest of scrolling
- adjusted the amount of horizontal/vertical parallax in both portrait and landscape modes

Change-Id: I5ee778f78c1080337f642217bcf828b2392ddf70
2011-01-13 22:30:59 -08:00
Adam Cohen f16e571330 Making AllApps transition more cinematic
Change-Id: Ib9b98d90917ee69a9cc440cd9ed8df5a2f339dcf
2011-01-13 13:40:46 -08:00
Michael Jurka 340c5f3a70 Restore wallpaper parallax
Gives us a 7-10fps drop
2011-01-11 20:02:55 -08:00
Winson Chung 304dcde0e3 Ensuring that we don't start dragging while another drag is in progress.
Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
2011-01-07 16:00:59 -08:00
Svetoslav Ganov 815ba2d2ea Added accessibility support for the home/all app togle in Launcher2
bug:3307225

1. Added code to fire accessibility events on transition to all apps
   and to home and to appropriately populate the generated
   accessibility event depending on the context in which it is fired.

Change-Id: Icd1ceb3b2556b6f416829d58b4ac7df42d61936c
2011-01-07 14:55:22 -08:00
Winson Chung 26cbf3a001 Minor fixes to stop crashing on panning/dragging on phones.
Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
2011-01-06 16:29:06 -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
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 a12a2502e6 Saving AllApps page when rotating screen, fixing customization rotate flash.
Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
2010-12-20 14:49:18 -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
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 e7bf83b0a3 fix potential leak of Activities
- cache ConstantStates instead of Drawables

Change-Id: Iea1cf23c845b9128ea1c12dffc32265f8d7db933
2010-12-14 18:37:56 -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 d3ef3065ab added spring loaded mode for adding items to workspace
Change-Id: Ie92294fe2b1d6697d84756a2fcea91a09f72825b
2010-12-09 02:12:19 -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
Adam Lesinski d141df7f8e Minor visual changes
-Updated the hdpi resource to match the mdpi (market_icon)
-Removed a background color used for debugging

Change-Id: I99440083b1296bca0f2f24370658f995ff209063
2010-12-06 20:01:58 -08:00
Winson Chung 43b119dfd7 Saving/restoring the current AllApps tab on orientation change.
Change-Id: Ib89d70600d945d8d512242bfb2c14a69eb38861f
2010-12-06 16:45:57 -08:00
Adam Cohen cdc30d5c07 Removing CAB from AllApps
-Removed CAB and single selection mode
-Replaced it with trash and appinfo drag targets
 at the top right of the tab view

Change-Id: Ic4acaaef7fc71dc2ca0bffd516da31e85af1be69
2010-12-01 20:30:56 -08:00
Michael Jurka 67b2f6cba5 Caching icon labels to bitmaps for better performance
Change-Id: I78a3c116c1103b5b994a47f2cfcff18c0a9b31b8
2010-12-01 16:01:02 -08:00
Winson Chung 49767aefe5 Adding background protection for tab labels in AllApps/Customize and modified padding to match mockups.
Change-Id: I7f3b37d892fdf5a702a66d68e1bbdf333068d7ec
2010-11-30 10:51:44 -08:00
Michael Jurka 4ef207ba1c Caching external icons in LauncherModel
- Global search icon and voice search icon are loaded instantly on device rotations

Change-Id: I91380849d470b181e8eb5569410ab25067b4efaf
2010-11-29 17:32:54 -08:00
Michael Jurka 9c6de3d7c3 ignore drop position when dragging items to small screens
- adding plumbing for future support for spring-loaded adding of items
- also, additional minor code cleanup

Change-Id: Idb313d4cd125b4f0b315a845dc8fb853cb48885e
2010-11-24 14:48:32 -08:00
Amith Yamasani 1f878a1fc5 Updated assets for QSB launch and added a custom transition animation.
Using a fade animation for launching QSB because the standard intra-wallpaper transition
has changed.

Bug: 3223441
2010-11-23 13:43:14 -08:00
Amith Yamasani 6d7fe506fc Separate QSB and Voice buttons, aligned with QSB app.
Add EditText style underscores for the icons.
Get VoiceSearch icon from the activity that handles the RecognizerIntent.ACTION_WEB_SEARCH
2010-11-17 16:46:14 -08:00
Adam Lesinski 6b879f0a58 Layout tweaks in Launcher
-Removed All apps and Configure toolbar buttons
from Customization Drawer, removed Configure
button from All apps and added Market icon
to All apps
-Changed spacing of CellLayouts when scrolling
-Modified gap spacing in workspace layout
-Made workspace invisible in All apps but touching
the place where the workspace was takes you back
to workspace

Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
2010-11-17 10:57:43 -08:00
Adam Cohen 61033d3d86 Polishing home transitions
-Modified interpolation / duration and some other characteristics
 of the transitions between home and AllApps / Customize

Change-Id: I9154800d500b394e4f826f6c88c14fb6e0164828
2010-11-16 17:21:41 -08:00
Winson Chung bbc60d8e79 Fixing various small bugs with launcher
- Items added from customization tray add from top left now
- Fixing issue where wallpaper tab was not showing
- Workaround for the extra pixel line showing in homescreen drag icons
- Speeding up animations for tab transitions and clicking

Change-Id: I865531bb4cf896320a9e2ff6cef08bed221a2294
2010-11-11 17:20:48 -08:00
Adam Cohen d113e0c4ab Fixing a launcher crash on boot
Change-Id: I2f026eebde300ce8b8966caa826fa81792af496d
2010-11-11 10:55:02 -08:00
Adam Cohen ded9f8d865 Adding auto-advance to launcher
Change-Id: I96c88d35399057ccddc71dc93b974a39241a13da
2010-11-10 16:55:46 -08:00
Winson Chung 68846fdce6 Initial changes to allow resolution of arbitrary clip data to widgets that support them.
Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
2010-11-03 19:48:17 -07:00
Michael Jurka c9a961952d Using hdpi icons in Launcher
Known issue: Default activity icon is still showing up as small
2010-11-01 23:06:54 -07:00
Patrick Dubroy 9e48238c39 Fix crash in non-xlarge configurations. 2010-11-01 15:16:24 -07:00
Michael Jurka 3c4c20fbe6 Fix: switching states during animations was broken
- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled

Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
2010-10-29 14:52:03 -07:00
Winson Chung 55cef262f9 Adding initial support for dropping widgets with custom configuration data.
Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
2010-10-28 16:08:46 -07:00
Winson Chung 0e41ae6433 Increasing icons for homescreen as well as as all-apps (temporarily until we get hi-res icons).
- Also fixing spacing in the portrait mode, and using the same styles for both AllApps and workspace icons.

Change-Id: I222dd5d53a39d6940a85f40b57912b69c926ffd0
2010-10-27 20:26:37 -07:00
Winson Chung a9abd0e0bd Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
2010-10-27 18:35:04 -07:00