Commit Graph

208 Commits

Author SHA1 Message Date
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
Joe Onorato ef2efcff5e When the launcher is paused and we reload stuff in the background, we need to re-re-load it in onResume.
Otherwise we can load widgets and other resources from the wrong Configuration.
This doesn't completely fix the bug, but it makes it much less likely.  We tell
the launcher once at the beginning of starting a reload because of SD cards coming
back, and once when we bind.

cherry pick of I99ee6af38bef91e261832bad4dec978a5d4a8b3d

Bug: 3126698
Change-Id: I917bdb3982e3eea4924c6e9a8f3c037fd493f415
2010-10-27 13:21:00 -07:00
Winson Chung 5974adcc72 Removing the Folders tab.
Change-Id: I5cf3aa8bf987500800340e047336233db5eb0491
2010-10-25 14:29:11 -07:00
Gilles Debunne dd6c992943 Made Launcher and AllApps use the new Tabs holo theme.
Style temp settings removed, now provided by default:
https://android-git.corp.google.com/g/#change,76118

Hacks to focus first tab removed as it has been fixed in:
https://android-git.corp.google.com/g/#change,75393

Bug 3008765

Change-Id: Id9121cf3bfc3be08380bec1a45cf447b5fe96422
2010-10-25 11:23:41 -07:00
Michael Jurka 774bd377df Fixing drag to application info button in All Apps
Change-Id: I6f31bf3ac24366791cf84830584846d57aab9b80
2010-10-22 14:02:08 -07:00
Michael Jurka 883f55b1d2 Correctly preserve state on orientation changes
Bug: 3049975
2010-10-21 15:47:22 -07:00
Michael Jurka f3ca3ab695 Fix bug that allowed multiple items in one cell
Fixed issue where opening a folder allowed items to be placed on any cell, even if it was occupied.

Bug: 3094164

Change-Id: I392e7236f9cd7ea0b09f36e249d2a57c9934dc8e
2010-10-21 11:30:28 -07:00
Michael Jurka 6b4b25d093 fixed bug with adding items in customize mode
also, no longer mark items as checked in customize mode

Bug: 3116708

Change-Id: I01b935ba8bfb450dfab9175a7eb5b7619ad187a6
2010-10-20 20:00:44 -07:00
Chet Haase 472b281d5c Updating code to use new non-generified animator APIs
Change-Id: Ie1928a22f774b226d90fa0918f61dba35d183dd6
2010-10-14 10:51:21 -07:00
Winson Chung b0b2e6f588 Tweaking spacing and layout of AllApps/Customize in portrait.
- Also added workaround for tab label not being initially selected
- Added fix for initial layout of PagedViews preventing side pages from having proper alpha
- Marking widget dims format string as not translatable

Change-Id: I74a5410b88e2766816a87b14e64058b4288c214d
2010-10-12 18:27:22 -07:00
Jean-Baptiste Queru f93a49422b am e90cc3ba: resolved conflicts for merge of 35e79e32 to gingerbread-plus-aosp
Merge commit 'e90cc3ba6c6ccd383f31b539367c2cccea278fed'

* commit 'e90cc3ba6c6ccd383f31b539367c2cccea278fed':
  Replaced /sdcard with Environment.getExternalStorageDirectory()
2010-10-12 13:57:11 -07:00
Jean-Baptiste Queru e90cc3ba6c resolved conflicts for merge of 35e79e32 to gingerbread-plus-aosp
Change-Id: I039355b9d5852436c8352efc5a85590e5f2bc080
2010-10-11 14:44:10 -07:00
Michael Jurka c0e8fcae49 Fixing state transition bugs
- explicitly keeping track of state in Workspace
- cancelling animations before starting new ones
- adding additional state variable for workspace for in-progress transitions
- updating Scroller object if we jump to a certain location

Change-Id: I5ddf51bae543ec89b2a44ab651d7269eb4859a6d
2010-10-06 17:54:12 -07:00
Patrick Dubroy 1262e36948 wip 3029324: Implement new drag feedback
- Show page borders when dragging
- Enlarge scroll region (landscape only)
- When inside scroll region, show green border on adjacent page
2010-10-06 17:39:05 -07:00
Winson Chung 7ed39f3362 am 6a5f4d85: Merge "Adding more specific title for pick-application dialog." into gingerbread
Merge commit '6a5f4d8526944ad4189072543ec4cc3f6d638b6f'

* commit '6a5f4d8526944ad4189072543ec4cc3f6d638b6f':
  Adding more specific title for pick-application dialog.
2010-10-06 17:09:10 -07:00
Michael Jurka 0423dcf286 Resolve global search activity more robustly
Change-Id: I5c25db5dec67c02bf7658f34729584b5393e0a8e
2010-10-05 15:11:10 -07:00
Michael Jurka 5617056f9b Long press on Launcher background no longer
brings up customization tray on XLarge devices
2010-10-05 14:14:56 -07:00
Michael Jurka 6ae0fcfc80 Pulling search button from metadata in search provider,
or falling back on our default icon.

Change-Id: I59fc59b76a0915a04275e08c88f5d46c3484cc6c
2010-10-04 15:37:02 -07:00
Winson Chung 58f2088922 Adding more specific title for pick-application dialog.
Change-Id: I9703f80b34d05b2cfa6239652eae36d1ebcde6e5
2010-10-01 13:51:55 -07:00
Winson Chung 5f94172071 Re-updating widget set in customization drawer when applications are changed.
- This prevents a particular crash where a widget that no longer exists is queried for it's app icon

Change-Id: I84b450d37c01d995bb249aae8cdf8e5c032883cf
2010-09-28 17:56:38 -07:00
Winson Chung d0cca08e4f resolved conflicts for merge of 7ad01419 to master
Change-Id: Idcbb2ffd6f0b72610dc06fc07695e3546f80da70
2010-09-28 09:39:16 -07:00
Winson Chung 7ad0141905 Adding menu item to Launcher to manage applications directly from homescreen
Change-Id: I56d726080968777eb5ccdc8826a872977cf7868c
2010-09-27 17:49:09 -07:00
Andrew Stadler 959f603a93 Fix crash on small-screen devices
Allow for mCustomizePagedView to be null in more cases.

Bug: 3040307
Change-Id: Idf5e50e661bcffa726db204a3318ab932db265aa
2010-09-27 14:09:29 -07:00
Joe Onorato ebfe4b08df am 4a79a04b: When we\'re launching apps, we need to always use startActivitySafely.
Merge commit '4a79a04bcd5f8c4d4fab7bcc46eea9e19a3dc63e'

* commit '4a79a04bcd5f8c4d4fab7bcc46eea9e19a3dc63e':
  When we're launching apps, we need to always use startActivitySafely.
2010-09-27 12:08:31 -07:00
Joe Onorato 4a79a04bcd When we're launching apps, we need to always use startActivitySafely.
It's possible that the app doesn't implement the component as promised, and the launcher shouldn't
crash.

Bug: 3005141
Change-Id: Ieac51433a467fd12160247bfd281828a69f5f7d2
2010-09-27 10:43:16 -07:00
Michael Jurka 28750fba6a fixed minor code review issues from change I0280c3be
(it was submitted early accidentally)

Change-Id: I3753366b4d5e1dc228baf02eba27a2c0d8fa42cf
2010-09-24 18:34:23 -07:00
Michael Jurka 0280c3be4d Adding support for drag and drop of folders and shortcuts.
also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
          with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
2010-09-24 15:28:20 -07:00
Winson Chung 5ffd8eafeb Initial changes to add Applications tab in the customization drawer for usability testing.
- Also adding padding attributes for the dynamic layouts created for each page.

Change-Id: I76a7b6b8f4d83329c506fd6055f910575d0c200f
2010-09-24 11:09:38 -07:00
Winson Chung 24ab2f1bb5 Fixing set wallpaper crash in Launcher
Change-Id: I3b6299bb10f397209cd69e715fee783abe0c9b64
2010-09-16 14:11:09 -07:00
Winson Chung e3193b93ad Initital changes for new customization drawer/widget tab design.
Change-Id: I160c8777fe2657ab303acfa20934f2e90f9e953e
2010-09-15 14:45:11 -07:00
Michael Jurka 5f1c509d5a supporting swipable home screens on xlarge devices
- icons and widgets on home screens can be "dimmed"
- celllayout no longer renders a dimmed version of itself, but instead its children make dimmed versions of themselves
- celllayout no longer always takes up full size of workspace, in landscape mode 
neighboring screens (celllayouts) are visible
- on xlarge devices, in landscape mode side screens are "dimmed"
- moved holographic outline helper to its own file
- fixed bug where mini-screens were still able to scroll left/right

Change-Id: I9e85ab4147edfae1e7525c3d11d42be3fabf4f6d
2010-09-13 15:16:10 -07:00
Michael Jurka 99229f67d1 tapping home in Launcher now returns you to
default screen instead of going to overview mode

Change-Id: If19f5d6d9324a217211e0ced89dab92eddca385e
2010-09-09 12:10:15 -07:00