Commit Graph

170 Commits

Author SHA1 Message Date
Andrew Flynn 0dca1ec414 New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
2012-02-29 17:30:37 -08:00
Michael Jurka 92f3d46cf3 Clean up unused code and import declarations
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Adam Cohen ebea84d1c9 Unifying overscroll btw phone and tablet
-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka 81efbad05e Reduce unnecessary layout passes
- Also delete unused code
2011-11-10 11:22:48 -08:00
Michael Jurka bdf78559f2 Fix stuttering animation when you press home
Bug # 5533287

also removing some dead code/assets

Change-Id: I05e0a67d5b9003c76e1589a9dc54b7d17b755acf
2011-10-31 14:56:07 -07:00
Winson Chung b8c69f3c17 Fixing issue where holographic outlines were offset when dragging from/to folders/hotseat. (Bug: 5399792)
Change-Id: Iaa39ef1293b45a1d116210ec9d7fbde17dbc99cc
2011-10-19 23:57:04 -07:00
Michael Jurka e6235dd225 Removing click delay from hotseat
Change-Id: I9b227b387f43f2cc446ec93c65a7307ca8be53e8
2011-10-04 15:02:49 -07:00
Winson Chung dea74b7d12 Updating assets.
Change-Id: Ieab9698bbbe94a3087c9f405c4318f5575e2a842
2011-09-14 11:31:30 -07:00
Adam Cohen b5ba097015 Workspace overscroll effect
-> Made AllAppsCustomize scroll/over scroll more subtle

Change-Id: Icf1889b3adccce22d4a2d80c5b487518b0ab3157
2011-09-11 17:24:49 -07:00
Adam Cohen 7ef918374a Using a single hardware layer for each workspace screen
-> Used to use a layer for each icon / widget on phone UI

Change-Id: Iebf2dc89284630343883d1e60a29d724f5423eb7
2011-08-25 14:06:02 -07:00
Adam Cohen ae915cecd3 Fixing issue with holographic outlines btw dock and workspace (issue 5135852)
Change-Id: I8602fe8d7c15ed3c12a0f790b773f45565a1d312
2011-08-25 13:48:31 -07:00
Adam Cohen c1997fd6de Fixing drag and drop crashes:
-> Issue 5058353
-> Issue 3470970

Change-Id: Id790595898e86052c33e6b2f0a122e1df009c9ca
2011-08-16 12:58:18 -07:00
Michael Jurka b8d0e1c3b3 Reducing HW layer usage on non-large devices
- On phones, we set HW layers on the workspace items themselves, which doesn't cost any performance
- On tablets this approach costs 5-6 FPS in the worst case when swiping pages so we stay with the old approach of enabling HW layers on the entire workspace page

Change-Id: I3626ea14844c3e4444cf79232dbde396840b1804
2011-08-11 18:05:24 -07:00
Michael Jurka d771c96e5d Fix regression: taps were not sent to wallpaper
Change-Id: I2114cf8161c7a3b0fa6849f15e5a8e4bd45dbabb
2011-08-09 16:07:40 -07:00
Winson Chung 54c725cc29 Bug fixes
- Fixing issue where drop target is not as tall as it should be (5116098)
- Fixing issue where number of cells was being computed incorrectly (5112002)
- Disabling side page fading in AppsCustomize on the phone UI
- Should be using action bar bg states instead of tab bg states (5086625)

Change-Id: I0ec927f87cede48dcf4b66cbaa1d62a09f3492b8
2011-08-03 14:29:19 -07:00
Michael Jurka 7cfc2825c3 Fix UI bugs when dragging items
- On large devices, snap to next screen when you drag an item to the next screen (matches behavior on phones)
- Do not fade out outlines of Workspace pages while using spring loaded mode
- Keep all icons on all pages opaque in spring loaded mode
- Optimize call to clear a CellLayout

Change-Id: Ia15e0e9da499d7835a77218985de47a1f195e4ef
2011-08-03 11:19:58 -07:00
Winson Chung 4afe9b31f5 Adding ability to add to hotseat from spring loaded mode (5064141).
- Fixing regression where folder items had no text in tablet ui and assets
- Fixing spring loaded frame sizing (5067335)
- Making the cells 80x80 for testing again on the phone ui (5085986)

Change-Id: I52a0f5eaf2dcf4adaf57c5a71da3903892c490a8
2011-07-29 11:34:23 -07:00
Adam Cohen c51934bfdf Updating portals visuals:
-> added leave behind asset to dock, issue 5052467
-> new assets
-> modified text

Change-Id: Ie395b768658dd5c02443b37c4f58a02cf3e86e59
2011-07-26 21:14:39 -07:00
Adam Cohen faea1f816e Removing vestigial logic, fixing issue 4412373
Change-Id: Ifd8420caf9f3d9ae49c19964233f86d0ed497455
2011-07-21 16:24:56 -07:00
Adam Cohen fc53cd22c9 Fixing a couple bugs, allapps clicks and weird crash
-> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed)
-> issue 5038392

Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
2011-07-20 17:59:04 -07:00
Winson Chung 3d503fbd94 Initial changes to add configurable hotseat.
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
2011-07-20 14:12:20 -07:00
Adam Cohen 234c4cd544 Fix text clipping in Launcher (bug 4980315)
Change-Id: I20c9b98b606d317ed32d49a3437f24a4cd312759
2011-07-17 22:00:50 -07:00
Michael Jurka 0c4ade1ef6 Cleaning out unused lines of code
Change-Id: I558248c9e1ccf8098220b110709d2a0cba9247ea
2011-07-08 18:03:21 -07:00
Adam Cohen 8dfcba4af7 Substantially improved performance of dragging and drop animations
-> Took DragView drawing out of the window and put it into the DragLayer
-> Added fade-in/out animations to transition between the final view
   and the DragView, after the view animates
-> Enabled hardware layers on Folder items which improves the
   performance Folder reordering

Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
2011-07-07 16:59:45 -07:00
Winson Chung c07918d005 Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.
Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
2011-07-06 20:48:45 -07:00
Adam Cohen 69ce2e5bea Cleaning up Folder accept animation drawing
-> Moved from Workspace to CellLayout, which fixes a bunch
   of bugs with transforms (springloaded mode and page scrolling)

Change-Id: I92510be817f46bd29b8a10aac5512dc1ead87180
2011-07-03 19:28:04 -07:00
Winson Chung 967289b6d5 Adding new assets.
Change-Id: I20c8ceae997290781923caf195f6f87e283b1b7f
2011-07-01 12:33:32 -07:00
Adam Cohen 716b51e030 Adding transitions after reorder within folder
Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
2011-06-30 13:53:30 -07:00
Adam Cohen a65beeea13 Fixing a couple folder bugs
-> Issue 4947774 - logic for determining workspace full
-> Issue 4967906 - hiding hint text on begin edit
-> Stripped out some no longer needed code from Workspace

Change-Id: I62b0e5c2dbf424af6b8b29af9b70270d68923eba
2011-06-28 10:19:44 -07:00
Winson Chung 4b825dcd5f Tweaking launcher grid and spacing.
Change-Id: I369a87f473d1e870b2f819221f6383aab340b067
2011-06-22 17:26:02 -07:00
Adam Cohen 76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -07:00
Adam Cohen bfbfd26c62 Initial implementation of folder reordering
Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
2011-06-13 16:55:12 -07:00
Winson Chung b26f3d6a8c Modifying AppsCustomize behaviour to use springloaded mode.
Change-Id: I21d181ad3d245731ee8402915f8918b91bfc4553
2011-06-08 16:42:03 -07:00
Adam Cohen c0dcf59708 Fixing up some Folder bugs
-> Rendering properly while in spring-loaded mode
-> Fixed bug where sometimes the folder's background would vanish
-> Fixed bug where the folder background was "stuck" in a fixed
   location, not following the folder
-> Can now add to folders and create folders from spring-loaded mode

Change-Id: Ie1c5583a6230a192e6d07763d001b50053daca43
2011-06-08 15:21:29 -07:00
Michael Jurka 88b62cfb3b Merge "Fix issue with missing row/column on workspace" 2011-06-03 18:43:17 -07:00
Michael Jurka 4a78ec342d am b82cc0cc: am 1fd2c158: am 32271c3d: Tweak calculation for number of columns and rows
* commit 'b82cc0cc9b61eef0670dc7fddc53813455ca2f4d':
  Tweak calculation for number of columns and rows
2011-06-03 14:43:36 -07:00
Michael Jurka f61249b799 Fix issue with missing row/column on workspace
Change-Id: I7b750f66ef1fd5c9b5501763fa1e371b104d03ea
2011-06-03 14:27:52 -07:00
Michael Jurka 32271c3d20 Tweak calculation for number of columns and rows
Change-Id: I267e369167597b01768a7a9344b2f468d5a046e4
2011-06-01 17:09:50 -07:00
Michael Jurka 7593662b2e Fix issue with missing row/column on workspace
Change-Id: I7b750f66ef1fd5c9b5501763fa1e371b104d03ea
2011-05-27 17:16:17 -07:00
Winson Chung 0be025d64c Fixing long-press issue due to child hit-rect offset.
- Removing some unused code

Change-Id: I875e3b27372c4c507e4bbc2d36b16eba077e2121
2011-05-23 17:58:39 -07:00
Michael Jurka 38d1b0b352 Determine # of rows/columns based on screen size DO NOT MERGE
Change-Id: Ie45206b0a414d9e9b6b1d25e597eadb638a9ad47
2011-05-20 15:09:58 -07:00
Adam Cohen 2801cafe62 Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-05-16 17:17:27 -07:00
Michael Jurka f6440da9d0 Determine # of rows/columns based on screen size
Change-Id: I8b1266bd7a66d4a73d4a09570357688333e03d13
2011-05-13 17:55:08 -07:00
Michael Jurka a2eb17095d Moving tablet interface to 'large' devices
(later, we will decide this more accurately based on the width of the screen in dips, but for now keeping changes so that they can easily be backported to earlier versions of Android)

Change-Id: I203addcbf19e8e3813c488af47e4fdf90dcd3115
2011-05-12 15:07:49 -07:00
Winson Chung 63257c110a Minor changes to help address some hiccups when panning, changing tabs and rotating in AppsCustomize.
- Also removing references to old all-apps 2d/3d

Change-Id: Ibe07ad8b4facc5c57b3c82ccf0b55260be61a31b
2011-05-06 16:25:37 -07:00
Winson Chung 4b576be59e Adding back the widgets pane to the merged AllApps.
- Fixing issue with holographic drag outlines being drawn offset

Change-Id: Ie0e89d76ce6714b44f9cd2ddf99ad608b51bf005
2011-04-28 14:53:51 -07:00
Adam Cohen bb60e2e4d7 Tiny fix in CellLayout
Change-Id: Idc5fcbb7f6e8e2b104fe1eb0e02579e5751214cf
2011-04-26 16:48:26 -07:00
Adam Cohen 7f4eabe370 Adding initial folder animation
-Changed CellLayout/CellLayoutChildren to use padding in the more
 standard way

Change-Id: I728f1b699232422be76eb29b4cf710cd5723a0aa
2011-04-21 17:14:26 -07:00
Adam Cohen e031096502 Removing dragoutlines when dragging a shortcut above a shortcut
Change-Id: I235597a2e2565f93ebea81ae133ad8f1a5d9d4ce
2011-04-18 17:07:58 -07:00
Adam Cohen 6639687cd6 Adding drag outlines for dragging out of folders
Change-Id: I264f66af5f03035bac17ff00eacc1a1da3d027a4
2011-04-18 14:27:04 -07:00