Commit Graph

16456 Commits

Author SHA1 Message Date
Michael Jurka 4ef207ba1c Caching external icons in LauncherModel
- Global search icon and voice search icon are loaded instantly on device rotations

Change-Id: I91380849d470b181e8eb5569410ab25067b4efaf
2010-11-29 17:32:54 -08:00
Winson Chung 8d006d5e14 Adding additional customization tray bg to match designs.
Change-Id: I35caeddafb05311ea57b80988b46cecd501e4c3d
2010-11-29 15:55:59 -08:00
Adam Cohen 20e24552cb Merge "Fix workspace outline alpha during scrolling" 2010-11-24 17:06:03 -08:00
Jean-Baptiste Queru 37132e956a am 42716619: am 9aaafd6f: Merge " Fix memory Leak due to SurfaceView not being detached."
* commit '42716619ca1bbcb940a2c295afe832adab71e749':
  Fix memory Leak due to SurfaceView not being detached.
2010-11-24 16:27:22 -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
Michael Jurka 3d79192da7 Don't allow drags to fully occupied home screens
Change-Id: Ib9f6732f2d1d35fc4496c3d2257397ddf1f7f367
2010-11-24 14:51:58 -08:00
Jean-Baptiste Queru 42716619ca am 9aaafd6f: Merge " Fix memory Leak due to SurfaceView not being detached."
* commit '9aaafd6f3ce36448f4215ac961cfaaf505db79fd':
  Fix memory Leak due to SurfaceView not being detached.
2010-11-24 14:50:45 -08:00
Michael Jurka 2dbae21ee9 Merge "ignore drop position when dragging items to small screens" 2010-11-24 14:50:01 -08:00
Michael Jurka 9c6de3d7c3 ignore drop position when dragging items to small screens
- adding plumbing for future support for spring-loaded adding of items
- also, additional minor code cleanup

Change-Id: Idb313d4cd125b4f0b315a845dc8fb853cb48885e
2010-11-24 14:48:32 -08:00
Adam Lesinski 5a05154d6b Fixed label for static wallpaper picker
Change-Id: I403950a4f4c86e5cd5d83748c15c23e38b8cb9c1
2010-11-24 14:37:53 -08:00
Adam Lesinski 37981c5648 Merge "Updating the Static Wallpaper picker for Tablet" 2010-11-24 13:38:17 -08:00
Adam Lesinski cd5d807f53 Updating the Static Wallpaper picker for Tablet
- Updated WallpaperChooser to use FragmentDialogs
- Backwards compatible with old WallpaperChooser
  UI on non XLarge screens
- There is a known bug with AlertDialogs (b/3225529)
  that prevents an AlertDialog to expand to fit its
  content. The squishing of the GridView is caused
  by that bug.

Change-Id: I49381aab4aa24362e8c92da284797fce0e63823c
2010-11-24 13:37:03 -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
thigobr 1f43a31ba6 Fix memory Leak due to SurfaceView not being detached.
Change-Id: If3f3577eaaa33e4043e8a5e6417f663bcaaf6fbb
2010-11-24 11:11:26 -02:00
Amith Yamasani 2f5590d98e Merge "Updated assets for QSB launch and added a custom transition animation." 2010-11-23 14:30:24 -08:00
Jean-Baptiste Queru 323caa34b9 am 8c604349: Merge "Fix for a Launcher crash."
* commit '8c604349c7fabfe45f7f1474e4475646c1b9d195':
  Fix for a Launcher crash.
2010-11-23 14:12:28 -08:00
Amith Yamasani 1f878a1fc5 Updated assets for QSB launch and added a custom transition animation.
Using a fade animation for launching QSB because the standard intra-wallpaper transition
has changed.

Bug: 3223441
2010-11-23 13:43:14 -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 59fbda815e Merge "Tweaking background protection animation to match transition animations." 2010-11-22 10:43:54 -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
Stephen Hines b8c95ba5ae Remove unnecessary export_func pragma.
Change-Id: Ib3a9c5693bf316038f35d89d0939feed526363d1
2010-11-18 17:15:56 -08:00
Winson Chung f135c6c364 Tweaking background protection animation to match transition animations.
Change-Id: I9e0c93c5b43fe117a0fb7c1ab1c4167cc47125c4
2010-11-18 16:39:33 -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
Winson Chung b4b7fa7c03 Proper fix for missing resource in other devices.
Change-Id: Ie164e42a4c5efce763160dae86b8fe3a9da51fd9
2010-11-18 14:39:11 -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
Winson Chung 9171e6d8a2 Adding initial background protection to AllApps/Customize drawer.
Change-Id: Id5e2b2dd82c2ee82526ae5c5179345275af246c6
2010-11-17 17:39:58 -08:00
Amith Yamasani 6d7fe506fc Separate QSB and Voice buttons, aligned with QSB app.
Add EditText style underscores for the icons.
Get VoiceSearch icon from the activity that handles the RecognizerIntent.ACTION_WEB_SEARCH
2010-11-17 16:46:14 -08:00
Adam Lesinski f74a4ecf94 Merge "Modified behavior of mini-workspace screens" 2010-11-17 16:43:50 -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
Patrick Dubroy 54fa3b9555 3185132: Allow dropping on adjacent homescreen targets 2010-11-17 13:41:37 -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
Adam Cohen 61033d3d86 Polishing home transitions
-Modified interpolation / duration and some other characteristics
 of the transitions between home and AllApps / Customize

Change-Id: I9154800d500b394e4f826f6c88c14fb6e0164828
2010-11-16 17:21:41 -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 67f7f18203 Merge "Minor fixes to Launcher" 2010-11-15 13:45:50 -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
Adam Cohen eed565d512 Whitespace fix
Change-Id: Ia6b328defddc002ea0acb028d452bdd97ed3d4cc
2010-11-15 11:30:05 -08:00
Adam Cohen cbbaf9862a Tweaking transitions between AllApps / Customize and Home
Change-Id: Iaf1c235fd6122d871a6e038ab83b8deb5435b018
2010-11-15 11:18:33 -08:00
Winson Chung a34abf8c78 Fixing issue where dropping on the system bar would not properly cancel the drag.
Change-Id: I3d920cabb99216c222d5c419374527068f1947d0
2010-11-12 14:59:59 -08:00
Stefan Li bc42303967 Fix for a Launcher crash.
A forced close will occur in Launcher homescreen if you
are holding the edge portion of the touch screen and slide
close or open the touch screen. This is caused by the
display changing configurations but the touch events are
passed through the framework. So the coordinates will be
wrong which causes a out of bounds exception.

Added a bounds check for the pointer index on ACTION_UP.

Change-Id: I67d7e428f55694969d43948c37b6acda2a5c6eb6
2010-11-12 15:53:41 +01: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 580e277481 Refactoring the drag event handling to provide more upfront validation of drag events.
Change-Id: I1d54e7f073e8ea00c61634b8f25b957b3ea3769c
2010-11-11 16:37:01 -08:00
Adam Cohen ddb821981e Making current screen background always transparent
Change-Id: I3cc61f85c36f80a71d60228f5f8570758b1b0e3b
2010-11-11 13:39:35 -08:00
Adam Cohen d113e0c4ab Fixing a launcher crash on boot
Change-Id: I2f026eebde300ce8b8966caa826fa81792af496d
2010-11-11 10:55:02 -08:00
Adam Cohen ded9f8d865 Adding auto-advance to launcher
Change-Id: I96c88d35399057ccddc71dc93b974a39241a13da
2010-11-10 16:55:46 -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
Winson Chung 448b0b5e86 Merge "Fixing issue where holgoraphic icon backgrounds were not being drawn." 2010-11-09 12:30:11 -08:00
Winson Chung c84001ec67 Fixing issue where holgoraphic icon backgrounds were not being drawn.
- Removing the workarounds that we had previously to get around this.

Change-Id: I4f2b2f827988a7d76d86406542f647701df81a2d
2010-11-09 12:29:41 -08:00