Commit Graph

826 Commits

Author SHA1 Message Date
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
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
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
Patrick Dubroy 0207c52247 Draw glow along screen edge when dragging in portrait. 2010-11-03 22:12:53 -07: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
Patrick Dubroy f24312876b Fix bug with views disappearing after dragging. 2010-11-02 14:51:33 -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
Patrick Dubroy 30110328a2 Merge "Add snap-back animation when dropping an item on a full page." 2010-11-01 15:41:33 -07:00
Patrick Dubroy 9e48238c39 Fix crash in non-xlarge configurations. 2010-11-01 15:16:24 -07:00
Patrick Dubroy 8ae3a62e2e Add snap-back animation when dropping an item on a full page. 2010-11-01 13:50:10 -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
Joe Onorato 27ebab6ff9 Merge "When the locale changes, flush the all apps list." 2010-10-30 13:16:16 -07:00
Joe Onorato e9ad59eba6 When the locale changes, flush the all apps list.
Bug: 3032131
Change-Id: I47659a459044fdace0a3480d216b168c18f2de37
2010-10-29 17:35:36 -07:00
Patrick Dubroy 9438336724 Fix NPE when dragging an item to a full home screen 2010-10-29 15:03:34 -07:00
Michael Jurka 3c4c20fbe6 Fix: switching states during animations was broken
- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled

Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
2010-10-29 14:52:03 -07:00
Patrick Dubroy cd68ff5b88 Move drop anim into the Workspace to prevent clipping issues 2010-10-29 13:52:42 -07:00
Michael Jurka a997ac2666 Setting correct active page when shrinking
Bug: 3130373

Change-Id: I5fa8772bd557b828aaac0d6433f1ff148b0d9f57
2010-10-29 12:18:10 -07:00
Winson Chung 55cef262f9 Adding initial support for dropping widgets with custom configuration data.
Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
2010-10-28 16:08:46 -07:00
Adam Cohen 1b0aaac0b3 -> Made outline of current page fade out
-> Added new assets for homescreen outlines

Change-Id: Ic19b32a749fd4109bd5601c8b220759aab56603c
2010-10-28 11:45:12 -07:00
Winson Chung 0e41ae6433 Increasing icons for homescreen as well as as all-apps (temporarily until we get hi-res icons).
- Also fixing spacing in the portrait mode, and using the same styles for both AllApps and workspace icons.

Change-Id: I222dd5d53a39d6940a85f40b57912b69c926ffd0
2010-10-27 20:26:37 -07:00
Winson Chung a9abd0e0bd Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
2010-10-27 18:35:04 -07:00
Michael Jurka 625a647bad Merge "Generating holographic outlines in helper thread" 2010-10-27 16:50:11 -07:00
Michael Jurka 0620bec840 Generating holographic outlines in helper thread
Change-Id: Ie6fb0827b0c746d512c5baba44bf16de54e309bc
2010-10-27 13:52:03 -07:00
Joe Onorato ef2efcff5e When the launcher is paused and we reload stuff in the background, we need to re-re-load it in onResume.
Otherwise we can load widgets and other resources from the wrong Configuration.
This doesn't completely fix the bug, but it makes it much less likely.  We tell
the launcher once at the beginning of starting a reload because of SD cards coming
back, and once when we bind.

cherry pick of I99ee6af38bef91e261832bad4dec978a5d4a8b3d

Bug: 3126698
Change-Id: I917bdb3982e3eea4924c6e9a8f3c037fd493f415
2010-10-27 13:21:00 -07:00
Romain Guy a915a917a2 Merge "Don't build bitmaps when running in GL." 2010-10-26 14:32:14 -07:00
Romain Guy 3cf4c03125 Don't build bitmaps when running in GL.
Change-Id: I28c93256bca748be6a00698a6c41cbab5dd4a349
2010-10-26 14:29:35 -07:00
Winson Chung 44ccb2ae8a Merge "Adding distance threshold to initiate paging regardless of velocity." 2010-10-26 13:19:15 -07:00
Patrick Dubroy b3c81cc83c Re-enable clicking on CAB buttons
Change-Id: I7ac99fb1b90aad2816e371b8d4b363b7ddae057c
2010-10-25 18:01:07 -07:00
Winson Chung fa42de7249 Merge "Removing the Folders tab." 2010-10-25 15:35:32 -07:00