Commit Graph

55 Commits

Author SHA1 Message Date
Michael Jurka 12ac0d60cc Setting tab bar widths automatically
- will make launcher adapt better to different screen sizes
- also, moved customization tray tab setup code from Launcher to CustomizeTrayTabHost
2011-05-13 14:35:47 -07:00
Michael Jurka abded66084 improving performance of first AllApps/Customize animation
Change-Id: I71e5cc634f7e1346617d101efd6945c00484cab3
2011-03-07 15:20:51 -08:00
Patrick Dubroy cd953711fc Fix 3385675: Uninstall option available for system app
- when a system app is selected in all apps, don't show uninstall button
- if it's an updated system app, show "Uninstall update"
- Also, remove unused code for non-existent flag for games

Change-Id: I46753ee8d213b2ba1613b71ac1fe73d79786129c
2011-02-28 15:49:59 -08:00
Winson Chung 8b53478a98 Pre-initializing filtered/apps list in case we get incremental updates before setApps(), adding additional null checks. (3465095)
Change-Id: Ie53fe7ed4fc55a587f8f831902ed5ee2d87bc98e
2011-02-23 13:45:03 -08:00
Patrick Dubroy 5f44542560 Add missing animations when dragging from customize.
- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
2011-02-18 20:03:59 -08:00
Michael Jurka c5e49022be Simplifying logic to create/destroy hardware layers in All Apps
Bug # 3422984
2011-02-16 12:04:02 -08:00
Michael Jurka c0759f5090 Reducing memory impact of hardware layers in Launcher
- Disabling hardware layers in customize tray
- Destroying hardware layers for pages in All Apps that are not visible
- Re-adding CachedTextView for icons in customize tray (to regain some of the lost performance there)
2011-02-03 16:56:22 -08:00
Michael Jurka 8245a8685f Adding hardware layers to All Apps
- splitting up the "holo" outlines and the icons into separate views
- enabling hardware layers on each of the views
2011-02-02 22:51:29 -08:00
Winson Chung 78403feedc Changing downloads tab to my apps and making most recent first. (3377455)
Change-Id: I75ae46ad601457ecfc9555aff7f7ff5284440317
2011-01-21 15:48:45 -08:00
Patrick Dubroy 7bccb42f88 Fix 3373059: Crash when drag cancelled in spring-loaded state 2011-01-20 14:51:08 -08:00
Winson Chung 532a52ae0f Changing text in empty-downloads message.
Change-Id: I5bba53e97cd1a6c9370c6f2d2b52a7d488aac5a7
2011-01-18 12:18:18 -08:00
Michael Jurka 4a7d4afe87 Removing dead code
Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
2011-01-17 16:58:15 -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
Michael Jurka c31820d29c NPE fix 2011-01-16 16:57:05 -08:00
Winson Chung 452821f54d Fixing issue where icons sometimes do not show in AllApps.
Change-Id: I7f999ae96f73ba2300dbebef74a04ecdbb60ff43
2011-01-14 16:40:08 -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
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
Winson Chung 59e1f9a07e Adding fade when dragging items outside of the customization tray.
Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
2010-12-21 16:04:02 -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
Michael Jurka c2f7f47948 correcting misspellings and removing dead code
Change-Id: Ic71dfc31299b1fbc10d7694e710699aa952da311
2010-12-14 15:51:59 -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
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
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 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
Patrick Dubroy a669d79d0d Prevent flicker when starting a drag.
Also, animate item the view to its new position when dragging.
2010-11-24 10:00:55 -08:00
Adam Lesinski 49c4ba323f Modified behavior of mini-workspace screens
Behavior of mini-workspace screens in All apps
view was changed to always stay visible once
the user starts dragging mode. Visibility returns
to hidden when the user exits and re-enters
All apps

Change-Id: I6cc6692ea77a67205767fd925f73ab38306c473c
2010-11-17 16:40:19 -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
Winson Chung 7da1025bd7 Layout and spacing changes for AllApps/Customization drawer
- Also fixing issue where preview images in the customization drawer were not being scaled down

Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
2010-11-01 16:10:49 -07:00
Winson Chung 10fefb18c4 Fixing issues in Launcher
- Now ending choice mode if a selected application is removed
- Only updating apps in the customization drawer if the applications change
- Adding null check when determining scrolling in PagedView

Change-Id: I0b23d1383649626dc012bd70a5e8087885b77c17
2010-11-01 12:10:25 -07:00
Patrick Dubroy b3c81cc83c Re-enable clicking on CAB buttons
Change-Id: I7ac99fb1b90aad2816e371b8d4b363b7ddae057c
2010-10-25 18:01:07 -07:00
Patrick Dubroy 3c6dbcdcfe Fix crash when dragging from all apps to home. 2010-10-25 14:24:48 -07:00
Winson Chung 960c6f4bcf Removing Apps/Games tab.
Change-Id: Ib0b8d096a0ead6f1a08df14e90fde96a392c2f50
2010-10-25 13:41:39 -07:00
Winson Chung df4b83dd9d More spacing changes for AllApps.
- Also testing a simple scale of existing icons in lieu of high res icons.

Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
2010-10-20 18:39:54 -07:00
Winson Chung 9678557e66 Adding message when there are no icons in a particular tab.
Change-Id: Icbf122d10d07fcacb8a4429431ea389826a3d173
2010-10-14 14:21:20 -07:00
Michael Jurka 3e7c763453 updated Workspace thumbnail behavior
- in All Apps mode, fade thumbnails completely
- while dragging, have thumbnails re-appear
- while dragging, give screen thumbnails that can accept drops a different appearance (green outline instead of blue)

Change-Id: I72ddf8a0f1947d35ef11514b7d4eea9ae5eee6e2
2010-10-10 15:03:45 -07:00
Adam Cohen 9c4949e12c ->Added attribute to PagedView to specify spacing between
adjacent pages
->Fixing crash on phones
Change-Id: I8ea97ce6d569c59b6d51b544dc10b0310d294b43
2010-10-05 14:08:00 -07:00
Michael Jurka 3125d9dec8 Making the CAB text match the type of item selected
in customization mode.
2010-09-27 11:30:42 -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
Patrick Dubroy dea9e93e4a Fix misaligned drop targets in the all apps CAB 2010-09-22 16:23:09 -07:00
Michael Jurka f79d5265c6 removing dead code 2010-09-17 10:59:31 -07:00
Patrick Dubroy 430c53bc80 Fix 2981705: Unable to uninstall downloaded app by dragging to trash.
- on long press, copy constructor of ApplicationInfo is called. It wasn't copying flags.
- also fix all apps choice mode so that chosen object is set when preparing CAB
2010-09-08 16:05:51 -07:00
Patrick Dubroy 2b9ff37edb When an app is chosen in All Apps, tapping a workspace screen adds it to that screen. 2010-09-08 10:38:54 -07:00
Patrick Dubroy 5539af7826 Don't allow system apps to be uninstalled by tapping the trash can button. 2010-09-07 15:22:10 -07:00
Patrick Dubroy 9f7aec8d43 Implement selection mode for All Apps with delete and info actions. 2010-09-06 17:37:35 -07:00
Winson Chung 5f2aa4efee Adding single/multi selection mode to AllAppsPagedView (action bar disabled).
Also adding check to prevent scrolling mode from continuing on touch down.

Change-Id: I744f2c1f6bc659219145b52b15a7ea176853ec7c
2010-09-02 11:35:48 -07:00
Winson Chung 241c3b451d Adding outline cache for PagedViewIcons.
Change-Id: I258740a0323660edd73b5f40d61d509455ae195b
2010-08-25 17:38:41 -07:00