Commit Graph

383 Commits

Author SHA1 Message Date
Michael Jurka 430e8a5f5b Flash scroll indicators a bit earlier on transitions
Change-Id: I456b61480299b1177d9d275f2cb4459bab02d63e
2011-08-08 15:52:14 -07:00
Winson Chung f45f5eba0c Merge "Fixing crash and updating default layout" 2011-08-05 16:03:32 -07:00
Michael Jurka 57e0ae2490 Merge "Small code cleanup in folders, prevent crash issue 5082899" 2011-08-05 15:58:53 -07:00
Winson Chung e7a0394ad4 Fixing crash and updating default layout
- Fixing dragging/rotation crash due to runnables referencing old Launcher activity (5122814)
- Updating default layout to add portal and contents (4998213)

Change-Id: I87658e7119a2b86aea25ebc7ecc82ee0ebcffc1e
2011-08-05 15:07:02 -07:00
Winson Chung b8472bb83c Fixing issue where you can get into an invalid state while configuring a shortcut or widget. (5112135)
Change-Id: I3a37c3d365130925d85e2d77b3cdb3cc2b32adec
2011-08-05 13:49:54 -07:00
Michael Jurka 7bdb25a989 Updating All Apps background
- Making background of All Apps black
- Drawing background within All Apps (perf gains)

Change-Id: I164274235bc347de04fab0702b7e7075e499e6c0
2011-08-04 15:37:22 -07:00
Winson Chung 46180f8132 Disabling menu completely.
Change-Id: I2a38baec66cb4f006da96110d93727f8edb7b647
2011-08-04 11:16:05 -07:00
Adam Cohen 4554ee16f1 Small code cleanup in folders, prevent crash issue 5082899
Change-Id: Iccd4a1367f895dac7925ceae7cd7934b95e81474
2011-08-03 16:18:15 -07:00
Adam Cohen 9932a9b1e6 Fixing weird deferred click events after deleting folder
-> Fixing issue 5055487

Change-Id: I932f95f29322fa50035b13063ab51fad2d2217e8
2011-08-02 22:26:50 -07:00
Winson Chung 6a3fd3f042 Multitude of launcher behaviour changes.
- Merging widgets and shortcuts in widgets pane
- Removing legacy long press menu items (make it go straight to wallpapers)
- Removing old option menu (just making it point to wallpapers)
- Dropping user to workspace after adding an item (animations to be tweaked) or back to AppsCustomize only on failure/cancel

Change-Id: Ia73670ce76f321dc45defb27bb5a828764240ab4
2011-08-02 15:55:33 -07:00
Adam Cohen 05e0f40e50 Fixing issue 5043360, double haptic feedback
-> Minor code cleanup in Folder.java

Change-Id: I62267078bfdab9f37fdef28448a63760db1fc1fb
2011-08-01 12:12:49 -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 ac68b8151f Merge "Some launcher bugs:" 2011-07-28 09:54:34 -07:00
Adam Cohen 228da5a24e Some launcher bugs:
-> Allowing folders to be specified in xml (issue 5032559)
-> Mostly fixing issue where you can lose items when dragging
   out of a folder to a full screen (issue 5052078)

Change-Id: I3228dd568b2b8919c14594ee518f86173430481e
2011-07-27 23:27:22 -07:00
Michael Jurka 99633da900 Fix bug where Launcher would appear all black
Bug # 5033201

Change-Id: If88406fe1ad1d56469765d1783aeb6d73f28b192
2011-07-27 22:42:40 -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 2f84ef2593 Fixing issue 5079169, portal overlays All Apps
Change-Id: Ib5536121d994f2254ae6b41a0cebd2bfca8de115
2011-07-26 17:19:37 -07:00
Michael Jurka b9e14974ae Solving transient wallpaper flash when rotating All Apps
- also cleaning up some code

Change-Id: Ic9399e604aac3115d92186a70799bf80ecaf31c6
2011-07-26 15:49:50 -07:00
Winson Chung bb6f6a52b6 Fixing regression in divider visibility during spring loaded mode. (5076848)
Change-Id: Ib36e78c840cd2192bdc5f30e425f82e160f63189
2011-07-25 17:56:08 -07:00
Winson Chung 5a808358f1 Adding menu to jump to shortcuts page in widgets tab
- Fixing bug in PagedView when setting the current page
- Fixing small visual issue with flashing scroll indicator
- Fixing slightly offset holographic icons

Change-Id: Ic6ce6365daca41cb5a73706c7c4b078f33a4e39c
2011-07-25 13:48:59 -07:00
Winson Chung a22194bd9f Merge "Launcher cleanup and fixes." 2011-07-25 13:45:30 -07:00
Winson Chung f5f8cefb21 Launcher cleanup and fixes.
- Removing unused hotseat assets
- Adding xhdpi assets from designer repo
- Decoupling dock divider and scroll bar to fix landscape divider issue
- Fixing issue where dock portals were being clipped

Change-Id: If3894a9a265e0272111e852857f9cfbf994ec050
2011-07-25 12:06:43 -07:00
Michael Jurka 19e0fc53c4 Fix two crashes
- NPE: bug #4984219
- IllegalStateException: bug #4969695

Change-Id: Iaf02e669b26f9277388e0e7bffd532220ebf9bb1
2011-07-23 12:48:57 -07:00
Winson Chung de1af76615 Fixing transition issues from AppsCustomize.
- Preventing weird space when hitting home while configuring
- Workaround for issue with all workspace items disappearing when going out of AllApps (depends on 5052094 for proper fix)
- Fixing isuse where any multi-finger tap on AppsCustomize would dismiss it

Change-Id: Ibfa8607a66e81703bd78736b72fd7f021e5971d9
2011-07-21 17:03:47 -07:00
Adam Cohen faea1f816e Removing vestigial logic, fixing issue 4412373
Change-Id: Ifd8420caf9f3d9ae49c19964233f86d0ed497455
2011-07-21 16:24:56 -07:00
Winson Chung 4d279d94ad Fixing various issues with the dock.
- Prevent crash due to no overlays in certain device configurations
- Fixing kb crash and adding content description for Apps button

Change-Id: Ie2a2bc29e7b9408a165f93d108fdd803193afc29
2011-07-21 11:48:43 -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
Winson Chung ec8a2eee50 Merge "Fxing issues with the scroll bar" 2011-07-20 09:26:48 -07:00
Adam Cohen bec6ac5bb3 Fix 5043759, cancel widget resize when screen turned off
Change-Id: I363238cbcae859060541d8c8cbf558fcc87e9272
2011-07-19 20:50:27 -07:00
Winson Chung 32174c878c Fxing issues with the scroll bar
- Removing track from AllApps
- Scrollbar should reach edge of track now
- Fixing flashing when going from AppsCustomize to workspace and switching tabs in AppsCustomize

Change-Id: Id69bd04dc503608566c3a33a1344904e3db383bf
2011-07-19 17:59:48 -07:00
Adam Cohen f5e078c670 Merge "Fixing bug 4998211, widgets with configuration not dropping in correct spot" 2011-07-19 16:50:13 -07:00
Narayan Kamath 49f72a708d Merge "Update the search widget icon if the global search provider changes." 2011-07-19 03:45:13 -07:00
Adam Cohen fbba09bb1a Fixing bug 4998211, widgets with configuration not dropping in correct spot
-> cleaned up some dead code in the process

Change-Id: I05b20361b9f7ded0522bd4822532eaae9436ffea
2011-07-18 21:44:50 -07:00
Adam Cohen 292c025d06 Fix bug 4904696, null pointer exception for widget that's not found
Change-Id: I3af50808e312cbe5f8e62a3b17e3e8c1f7d9e3e0
2011-07-18 13:55:17 -07:00
Narayan Kamath cb1a477868 Update the search widget icon if the global search provider changes.
Note that this change is necessary because the launcher might
receive the PM broadcast before the SearchManagerService does.

Change-Id: I5a03e2fb16dee232a83d24b834ef6bd0eaabe774
2011-07-18 11:43:34 +01:00
Adam Cohen 093538671b Ensuring that we give a widget the full space requested
Change-Id: I03ca7be47e427373f1efdad3f97d18db9bd3b913
2011-07-14 16:11:03 -07:00
Michael Jurka d74c984fcc Use hardware layers in more situations
* Turn on while dragging
* Fix bug: don't disable when swiping pages during drag
* Fix bug: disable hardware layers on startup
* Removing old state code in Workspace

Change-Id: I5633dc98f2679784aea5551564dfa19504a074a6
2011-07-13 17:41:05 -07:00
Michael Jurka b6052a9a0c Logging failure to load market/search/etc icons 2011-07-12 17:02:45 -07:00
Mathew Inwood ccf441d436 Merge "Don't crash if global search specified bad toolbar icon." 2011-07-12 10:12:13 -07:00
Mathew Inwood 70d5102939 Don't crash if global search specified bad toolbar icon.
This should prevent a dodgy global search app crashing the launcher
and making it unusable.

Change-Id: Ia55a197a0c11de4ce24695313a3fa71fefa488e3
2011-07-12 13:51:22 +01:00
Adam Cohen 4eac29a80b Fixing bug 5011917 - clearing refernce to old folders from FolderInfo
-> Also, ensured that unbind() gets called on all ItemInfos on rotate

Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
2011-07-11 18:37:16 -07:00
Adam Cohen 51e95039ac Fix for bug 5015232, folder won't open
Change-Id: Icd0527a1afe519ebcf117587c9a61a9e933a6c47
2011-07-11 14:45:13 -07:00
Winson Chung 557d6ed50c Fixing issues with spring loaded adding.
- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
2011-07-11 11:38:24 -07:00
Michael Jurka 0c4ade1ef6 Cleaning out unused lines of code
Change-Id: I558248c9e1ccf8098220b110709d2a0cba9247ea
2011-07-08 18:03:21 -07:00
Michael Jurka 35aa14d5e3 Don't reset pages in AllApps if not necessary 2011-07-07 17:01:08 -07:00
Winson Chung 649723cfb3 Updating assets.
- Tweaking search bar layout.

Change-Id: I9624fa4284135858d3e19b8b8e4710b5dd746042
2011-07-07 14:10:47 -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 d044526d82 Adding transitions during folder creation
-> Seamless* transition from dropping item onto another
   to the creation of a folder containing those items
-> Seamless* transitions when adding the third item
   to a folder
-> Cleaned up the code in FolderIcon in order to achieve
   above

Change-Id: Iaf2519ac480acfdc928cc2b7585f28bc7d50bd23
2011-07-06 11:35:56 -07:00
Adam Cohen 95bb800de9 Folders now close in various situations where we want them to:
-> When pressing home, from app or from home
-> When rotating (as per design request)
-> When scrolling to another page

Change-Id: I3b96b216f1ec5da07cd95d2541999866a1c1424e
2011-07-04 23:56:03 -07:00