Commit Graph

90 Commits

Author SHA1 Message Date
Patrick Dubroy 244d74cb35 Dynamically determine # of rows/cols in All Apps.
Change-Id: Ia8c1b3915325823f7617862e0e4e0db865ea0d5d
2011-05-20 14:03:14 -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 785d2eb2b8 Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
2011-04-22 12:53:59 -07:00
Winson Chung 97d85d23b0 Fixing focus issues in Launcher (keyboard support).
Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
2011-04-14 10:13:09 -07:00
Michael Jurka 36fcb74425 Make customization drawer deal better with a small height
Change-Id: I879d167bacf5f5e9415e9033fbd4babe102109f0
2011-04-06 17:14:47 -07:00
Adam Cohen 26976d9b53 Fix resize frame bug: 4121297
Change-Id: I797c9af3ed0a0c99407c301e68d20485e108980c
2011-03-22 15:35:27 -07:00
Winson Chung 34b23d5c8c Fixing an issue where other pages were taking on the min width of the widget page.
Change-Id: I256d2dc918ca8760ee58c9cb430dd1c49c5ceea0
2011-03-18 11:32:26 -07:00
Adam Cohen 6342bbae1a Fixing workspace scrolling, Bug: 4070816
Change-Id: I8ff7d59f8d64e3deee022161f942dfe35359bdd2
2011-03-10 11:33:35 -08:00
Winson Chung 185d71647c Adding simple mouse-scrolling to launcher.
Change-Id: I7bd568bd56f272494137f45c07e2377f14e8faaf
2011-02-28 15:13:23 -08:00
Winson Chung 1908d07151 Refactoring and fixing bugs in Customize tray.
Change-Id: Ia37d3033d64036fd09f5f33443eb9f575e311c7c
2011-02-25 13:48:14 -08:00
Patrick Dubroy 6f13342ffd Fix 3482911: NPE in CustomizePagedView.resetCheckedItem
Also fixes an issue where quick swipes on an item could
cause it to animate in from (0, 0) sometimes.

Change-Id: Ie3312389bcb5109f4b26ec518a29b4aa88161377
2011-02-24 16:50:55 -08:00
Winson Chung 760585d09f Merge "Fixing issue where flinging the Customize tray would scroll to the incorrect page after update." 2011-02-24 10:02:08 -08:00
Winson Chung 03929773a4 Fixing issue where flinging the Customize tray would scroll to the incorrect page after update.
Change-Id: I654665b065ad60414286ea16f7feae5054df604c
2011-02-23 17:07:48 -08:00
Michael Jurka a40829a4a8 Add comment about an earlier All Apps bug fix
(earlier change was Icfdb096c: Fix bug where only holo outlines were visible in All Apps sometimes)
2011-02-16 18:04:17 -08:00
Michael Jurka e4340a1e32 Merge "Simplifying logic to create/destroy hardware layers in All Apps" 2011-02-16 14:56:53 -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
Adam Cohen b64cb5a44b Fixing panning behaviour
Change-Id: Idd8268b5442a88b8ca30c2aa0ec8b80b59f7889d
2011-02-15 18:48:45 -08:00
Adam Cohen aefd4e1f51 Fixing some edge cases of scrolling in PagedView
-> See Issue 3242353

Change-Id: I58140172e6f283706c351e66ba643cb018827893
2011-02-14 16:54:44 -08:00
Michael Jurka cfdb096c31 Fix bug where only holo outlines were visible in All Apps sometimes
Bug # 3423911
2011-02-04 01:39:32 -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
Winson Chung cc377b516c Merge "Fixing issue where we weren't picking up minute touch movements. (3413433)" into honeycomb 2011-02-03 11:36:24 -08:00
Michael Jurka a1192eacc2 Merge "Adding hardware layers to All Apps" into honeycomb 2011-02-02 23:50:28 -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 c0844aa8a1 Fixing issue where we weren't picking up minute touch movements. (3413433)
Change-Id: I5920e5e7ad6fa758093deeb545d6d3b81f730198
2011-02-02 17:18:37 -08:00
Michael Jurka ce7e05fbe8 stop using hardware layers when workspace stops moving
helps workaround Bug 3417254

Change-Id: I874e5e52ab544fbb787e1021d6ee394e8f3a34d6
2011-02-02 13:58:36 -08:00
Adam Cohen f8d2823d88 Adding scroll disambiguation between Workspace and AppWidgets
Change-Id: Ia3ff92b74651f9ea250664ec4cbcc0506db522ec
2011-02-01 21:47:33 -08:00
Adam Cohen be9093426a Fixing scrolling of all apps when below apps
Change-Id: Id6a4506ed18a02d31487ecff1d7309e7b3e25e9d
2011-01-28 18:09:40 -08:00
Adam Cohen 7bfc979594 Clamping maximum overscroll amount
- It was possible to crash launcher if you pulled really really far
  to the right

Change-Id: I3ec45c7cbda2c4036e2e2359f2aa617ce7091bcd
2011-01-28 13:56:01 -08:00
Winson Chung 228a0faca6 Using newer object animators for click feedback animation. (3384873)
Change-Id: I50d3a506f2fec3fb868616e3d969d2911fae6706
2011-01-26 22:44:17 -08:00
Michael Jurka 8c920dd368 Refactoring CellLayout into three classes
- splitting the rendering of children from the CellLayout to enhance performance, gives ~4 fps boost while scrolling on pages full of icons, and no change on pages full of widgets
- this will allow us to add hardware layer support trivially, which will increase performance while scrolling ~6-10 fps
- separated logic for caching celllayouts to bitmaps into a separate class

Change-Id: Ib6abeb19126e1504997b43c2f44af2a2fb3cd39f
2011-01-24 16:55:30 -08:00
Patrick Dubroy d0ce1ec2e2 Fix 3237665: Home screen should scroll on tap, not touch down
Change-Id: I61f65beaf982eec54b86668d6da94aa5c52e9355
2011-01-19 20:52:20 -08:00
Michael Jurka 4a7d4afe87 Removing dead code
Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
2011-01-17 16:58:15 -08:00
Michael Jurka c5b262ccf6 tweaking parallax effect
- adding vertical parallax when switching to all apps/customize mode
- added effect to have parallax lag the rest of scrolling
- adjusted the amount of horizontal/vertical parallax in both portrait and landscape modes

Change-Id: I5ee778f78c1080337f642217bcf828b2392ddf70
2011-01-13 22:30: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 a12a2502e6 Saving AllApps page when rotating screen, fixing customization rotate flash.
Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
2010-12-20 14:49:18 -08:00
Winson Chung c3f9f4fcbd Fixing issue with customize page holographic previews not showing.
- Adding temporary workaround for bad holographic default widget previews.

Change-Id: I261045beac3791111f928511435e17e320f2d4a7
2010-12-14 18:27:50 -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
Jeff Brown 1d0867c8de Send live wallpaper taps.
Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
2010-12-02 18:27:39 -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
Adam Cohen 73aa9755d3 Fix workspace outline alpha during scrolling
Change-Id: Ib4e20994b2256dad6607df9c4616f06c5a0b336e
2010-11-24 16:26:58 -08:00
Adam Cohen e0f66b5469 Modifying feel of scrolling / overscroll
-Modified overscroll on Workspace
-Added overscroll effectiveness curve to PagedView
-Modified the feel of scrolling in Workspace, AllApps,
 and Configure. Made it more sensitive to velocity.

Change-Id: I7f705e267a536c742fbb3b6556648bbf993bdd2f
2010-11-24 15:47:13 -08:00
Adam Cohen faa2830513 Fix issue 3214208
-Doing an index check to avoid NPE

Change-Id: I53e4f4377f0e725e57ed9d0835b6f69af4f83a64
2010-11-19 13:08:37 -08:00
Adam Cohen 68d739365b Adding overscroll to Workspace, AllApps and Customize
-Also modified the background alpha interpolation during scrolling

Change-Id: I68db8fbe80f720c507ab3208d8b3dcd8aa4f2081
2010-11-18 16:32: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
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 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
Patrick Dubroy 72e0d34fc5 Fix 3165989: Items dragged from All Apps don't appear 2010-11-09 15:23:44 -08:00