Commit Graph

37 Commits

Author SHA1 Message Date
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
Michael Jurka
a63c452f5b added support for dragging widgets and app icons to mini screens
- gave mini screens a rounded rect background
- mini screens change color when dragged over
- added a way to specify the active region of dragged items, to allow for clipping of whitespace at borders
- fixed: feedback while dragging was often one cell off
- fixed: bug when adding to almost-full screen
- removed unused classes

Change-Id: I2fbd2aaaee6831b288cca8dec75e7b446068e8d1
2010-08-23 15:49:58 -07:00
Winson Chung
b3347bb9f4 Adding holographic outline for paged items (sans widgets).
Fixing possible null ptr exception in Launcher.

Change-Id: Ie625a6503299cf122e5c22852846d59e66f77414
2010-08-19 16:00:41 -07:00
Winson Chung
80baf5a6b3 Adding paging for the widget/shortcut/folder customization area and fixing bugs.
Adding pages for customization drawer with initial implementation of proposed flow
layout for widgets.  Fixes for keeping all apps, and widgets in sync with Launcher
Model, optimizations for reloading all apps pages when invalidating.  Adding some
animations for tab transitions and feedback when long pressing to add certain items.

Change-Id: I8d51749f3a91c964bed35681f3a9192200b0d93e
2010-08-16 15:51:43 -07:00