Commit Graph

53 Commits

Author SHA1 Message Date
Winson Chung
400438b79f Preventing screen rotations when dragging.
Change-Id: I6805c66f9aeec32bc7d597e99e1f62be0e2d0ab3
2011-01-17 13:34:52 -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
7d1fcbc409 Cancelling the current drag when customization filter type changes to prevent crashes.
Change-Id: Iaa3f2598325950769d38ad1d6e390ab06ea194d7
2011-01-04 10:22:56 -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
Winson Chung
a12a2502e6 Saving AllApps page when rotating screen, fixing customization rotate flash.
Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
2010-12-20 14:49:18 -08:00
Patrick Dubroy
047379aa61 Don't animate tapped item if the target screen is full 2010-12-20 11:24:54 -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
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
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
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
7b9d3a683c Supporting custom wallpaper previews in Customize
Change-Id: Ibc16e67ca49a50032d9fcb7d5bb8dcccd7bf4397
2010-12-08 20:04:27 -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
Winson Chung
29d6fea296 Adding outlines to side pages for widgets and wallpaper pages in the customization tray.
Change-Id: Ib2ec5e630c1c861003d0e0b5672ed69ef25c0b47
2010-12-01 18:58:17 -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
Winson Chung
d28ed49ea7 Fixing improper paging of wallpaper providers in customization drawer.
Change-Id: I3f0323f2e97d4538ae9c35e17738bcbb46b5a2a7
2010-11-22 14:43:15 -08:00
Winson Chung
649a4ca7db Preventing delayed processing of old touch target in Customization drawer.
Change-Id: I982d953814e13ce195eee1aaa6739e895e328b2a
2010-11-18 10:38:45 -08:00
Michael Jurka
7426c42ce0 Allow dragging items off customization tray
Long press is no longer required

Change-Id: Ie122e298ab8782522b650551b8004c53b514bdd1
2010-11-16 14:24:56 -08:00
Winson Chung
4f9e107a11 Fixing typo with previous change. Should not handle click when snapping to page.
Change-Id: I1a02e0bb7bff1aa6b16e4dd8959525da6727e59c
2010-11-15 20:37:51 -08:00
Winson Chung
e22a8e9d3e Minor fixes to Launcher
- Adding checks to prevent multiple onSetAlpha's to be called (especially now that we are using display lists)
- Removing an old change to keep artificially make the last page wider
- Fixing issue where you could click on an item in the paged view while the page it was on is being faded out

Change-Id: I9b194565602b5200c0688da2caec9c3c829b3bb0
2010-11-15 13:44:42 -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
Winson Chung
45e1d6ec0a Modifying wallpapers customization page to look like widgets.
- Disallowing touch handling when there are no children

Change-Id: I925d6f1f862f8c7994a80c4eaacc80f8d59f6ab2
2010-11-10 11:46:26 -08:00
Winson Chung
94ba5b1b92 Fixing issue with widget previews using the widget dimensions instead of the preview dimensions
Change-Id: Ie786c45f6e050e0eb02145b0bc9b1f5b1cc37ca2
2010-11-08 17:18:57 -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
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
Winson Chung
5974adcc72 Removing the Folders tab.
Change-Id: I5cf3aa8bf987500800340e047336233db5eb0491
2010-10-25 14:29:11 -07:00
Winson Chung
ef0066b52d More spacing changes to Customization Drawer.
Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
2010-10-21 14:32:20 -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
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
8e4ec31415 Setting children alpha for widget-customization layout for performance.
Change-Id: Ic7f672b06971df867db8af326d1334d1d3f4c102
2010-10-13 18:08:29 -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
Michael Jurka
9987a5c45e Fixed 3066306 Widget measurement wrong in customize tray 2010-10-08 16:58:12 -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
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
Michael Jurka
e17e19c0bd Making "tap to add" in customization mode automatically
add to the current screen
2010-09-28 11:01:39 -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
Winson Chung
d0d43010c7 Adding tap-to-add behaviour to the customization drawer.
Change-Id: I5a0863a8df2a0b4855112eb29b40b6e7dd550db9
2010-09-27 09:34:15 -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
e8878e3c5a Adding some wallpaper buttons on the customization tray.
Also tweaking the fading algorithm for side pages.

Change-Id: Ia7743c2b71741926ff9ae52e6965d7aefc86604e
2010-09-15 20:51:01 -07:00
Winson Chung
3a47678698 Extracting format string properly into xml strings.
Change-Id: I4766ee48bef6a08c6a9809f8df29d4d2343014c4
2010-09-15 15:21:55 -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
Winson Chung
241c3b451d Adding outline cache for PagedViewIcons.
Change-Id: I258740a0323660edd73b5f40d61d509455ae195b
2010-08-25 17:38:41 -07:00
Winson Chung
86f7753bbd Preventing reloading of pages on swipe and disabling offsets for xlarge static wallpapers.
Change-Id: I4ca72164775d09706e36c38e0fac0e84254221c7
2010-08-24 14:58:11 -07:00