Commit Graph

155 Commits

Author SHA1 Message Date
Daniel Sandler 6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Winson Chung 5f8afe6280 Initial Changes for Dynamic Grid
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
2013-08-20 10:56:05 -07:00
Adam Cohen f358a4bbd6 Adding overview mode for reordering, widget adding and wallpaper switching
Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
2013-08-13 18:53:36 -07:00
Winson Chung 82dfe58514 Adding support for custom page indicator markers.
Change-Id: I057b0cccc4194157d92ebb123af2afaf94fb5415
2013-07-26 15:07:49 -07:00
Winson Chung 5bc865e787 Adding workaround for page indicators to support many pages.
- Tweaking assets until we get something proper

Change-Id: Ie07946acb529ff747d76896ff38837f8db6a7258
2013-07-18 15:18:25 -07:00
Winson Chung d2be381d36 Removing old scroll indicator and adding page indicator dots.
Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
2013-07-17 11:15:22 -07:00
Adam Cohen 7d30a37007 Porting PagedView from KG to gain simplified scaling model, reordering
-> We are no longer scaling individual Celllayouts, instead we are scaling
   the entire Workspace (and the CellLayouts come along for the ride)
-> Due to the above change, many assumptions were broken. In particular,
   our drag and drop / animation archiecture is fairly fragile due to the
   frequent and complex mapping of points between different bits of the
   hierarchy. This CL contains a number of fixes which address such
   breakages.

Change-Id: I2e630eab17528729b764b61f587858f6499fd318
2013-07-08 18:32:57 -07:00
Adam Cohen 41eb470ef9 Fix now showing on screen 1
Change-Id: I83c3aa0b219e62af8c024229fe00933bcedbf9df
2013-06-27 16:43:15 -07:00
Adam Cohen 66a01fd24b Add API to launcher to insert a custom page to the left of workspace
Change-Id: I85a4e096aab9bfcb1de74f04075bcabcb7e3262f
2013-06-11 14:57:43 -07:00
Adam Cohen f0f4eda318 Making folders scrollable
Change-Id: Id6c9ec62acc6d86dc627d20abad3e2d92010f539
2013-06-06 21:28:57 -07:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Fabrice Di Meglio d6a33c6f34 Fix Launcher drop targets for App remove / uninstall / info
- make the code aware of the layout direction
- use start drawables
- fix animation drop rect

Change-Id: I35f01b9079aef418c0a22b39e32344c7bf5a0660
2013-02-06 15:40:46 -08:00
Fabrice Di Meglio cc11f74258 Add first RTL support to Launcher
See bug #8064062 Launcher needs to be RTL aware

Change-Id: I24b1f1977fb65246afd2005440567b5850939621
2013-01-23 18:23:06 -08:00
Romain Guy e34a213c32 Add missing layout attributes
Bug #7334849

Change-Id: Iae01cf5c587716951dee849e9c4116717d137d8f
2012-10-17 12:04:05 -07:00
Michael Jurka 45355c4596 Re-merge "Add support for custom manta cling"
Also, fix issue where mako was crashing because
Launcher was trying to load a custom cling for it.
It was doing this because a custom home layout was
specified by SetupWizard, but for now we only want
custom clings on large devices

Bug: 7302705
Bug: 6992663

This reverts commit 2ebcf509f0.

Change-Id: I46533309d5c62edfbd3a3b178c6965ffc73b6476
2012-10-08 15:53:53 +02:00
Michael Jurka 2ebcf509f0 Revert "Add support for custom manta cling"
This reverts commit 68255cbabe.
2012-10-08 02:38:56 +02:00
Michael Jurka 68255cbabe Add support for custom manta cling
- Load a custom cling if custom workspace layout is specified
- Also persist any custom workspace layout

Bug: 6992663
2012-10-05 15:36:20 +02:00
Fabrice Di Meglio 369dd0c3e6 7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest
- add basic RTL support in the AndroidManifest so that Widgets will be able
to support RTL too
- force LTR layout direction to AppsCustomizeTabHost so that we dont have to
deal with layout mirroring yet

(do not need to force also LTR layout direction to Wallpaper activity and fragment
as another CL is removing the ActionBar on them)

Change-Id: I66623a3fcec0d7adef62b0ab8c8b2170e09f1b1b
2012-09-25 12:55:37 -07:00
Adam Cohen 985b9b6406 Cleaning up folders for 7-inch and 10-inch UIs
Change-Id: I44c068ea288e4683aa7dc9e86bdac6226bb42b75
2012-08-15 15:37:27 -07:00
Winson Chung 827a558073 Fixing issue where drop target text was not showing in tablet ui. (Bug 6789399)
Change-Id: I619f0a0118e53cfc703870fcc9083bb9bf1855b2
2012-07-10 16:31:41 -07:00
Michael Jurka dac8591072 Updating how widget previews look
Also fixing issue where some widget previews would
be way too large when picked up

Bug: 6472013

Change-Id: Iebfc33b1070da591a9d1d32d7c8e65a3fb057a7e
2012-05-22 21:03:55 -07:00
Winson Chung 947245ba8a Fixing issue where landscape delete button is not centered. (Bug 6493651)
Change-Id: I782351da2daf511a79e5c9f1d3cef90bec2ca6d1
2012-05-15 16:38:05 -07:00
Adam Cohen d5f8c3479a Refactoring padding dimens for CellLayouts and Workspace
Change-Id: Ib354b822588717b7bb81b4dcb14c834e5b8d4892
2012-04-26 15:48:08 -07:00
Michael Jurka 6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Winson Chung e96e5cb768 Fixing a few landscape issues.
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback

Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
2011-11-28 16:24:54 -08:00
Winson Chung 3f4e142380 Minor fixes to Launcher
- Tweaking the AllApps tab padding
- Fixing issue where the cling punch out might be in the wrong location
- Removing unused dragging code related to drop/scroll area overlap
- Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264)
- Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822)

Change-Id: I707397c231188a9feee8c0856374e0483cf37296
2011-11-18 10:13:04 -08:00
Winson Chung 345ed924ba Merge "Fixing small regressions in folder text offset. (Bug 5600902)" into ics-mr1 2011-11-16 12:24:57 -08:00
Winson Chung 8ea7f6b0cb Fixing small regressions in folder text offset. (Bug 5600902)
- Tweaking AppsCustomize tab bar dimens

Change-Id: I5809c0ffb5fb0f7e0124d875c97198aafa4e43e3
2011-11-14 15:34:48 -08:00
Michael Jurka 1899a36ab3 Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)
Change-Id: I2a2218975141d7659184de83e505c7ab6e613232
2011-11-13 17:08:23 -08:00
Michael Jurka 141dbd0e02 Improve Apps/Widgets transition
- Avoid using a bitmap when doing crossfade when switching between Apps/Widgets tabs, also fixes a visual issue on stingray (5104303)

Change-Id: I7365c629e704f37e18350ad15a849c034553d0b3
2011-11-11 16:48:48 -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
Winson Chung 6032e7ed8e Fixing issue where AllApps labels were getting clipped (Bug: 5490118)
- Tweaking the AllApps grid spacing

Change-Id: I7eb79edfd170500c1fecd6841e6f022bd40ac250
2011-11-08 15:54:45 -08:00
Winson Chung b5e74c8b60 Fixing issue where widget previews were being scaled up.
Change-Id: I94eaa1beb0579c8045a3b4c6ff72f7b9622a62ff
2011-10-28 16:43:21 -07:00
Peter Ng 8db7000140 Asset updates
- Change how default widget previews look (5509429)
- Improve antialiasing in portal assets

Change-Id: I9993aec46a9a9ab8a732b4fc150120c935523f02
2011-10-27 11:26:04 -07:00
Winson Chung f8c1b58b8f Fixing small tablet issues
- Removing phone search container bg from tablet ui
- Fixing the tab text for tablet AppsCustomize
- Fixing wallpaper items in wallpaper chooser

Change-Id: I3424cd8f32a767844b8bed54437f746a0fc381e5
2011-10-25 12:06:05 -07:00
Winson Chung 5fc72b3186 Fixing some issues with AppsCustomize
- Tweaking the widget page to make it a little tighter
- Altering the way we generate widget previews to make them more consistent
- Making the Apps page two line titles

Change-Id: I7bce420466c1d41fb87b423f259472482803a406
2011-10-11 18:20:33 -07:00
Adam Cohen 32343bd4be Fully display decenders in folders (issue 5253358)
-> Also, turned off extract mode for folder renaming

Change-Id: I5e544c9b225b3f205c90e977bfb6be516214718c
2011-09-29 12:16:06 -07:00
Adam Cohen ac56cff186 Adding keyboard support to folders and fixing renaming rough edges
Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
2011-09-29 11:53:57 -07:00
Michael Jurka 54335ecf88 Fix bug: All Apps progress bar wasn't centered
Change-Id: I28647e9c77364e1761e6be19f4940dc5bc836423
2011-09-27 21:28:11 -07:00
Winson Chung 9d9d74f2b0 Launcher tweaks.
- Updating search bar bg
- Removing clings from the layout if they are already dismissed
- Tweaking cling description paddings for languages that are more verbase
- Tweaking wallpaper picker gallery spacing

Change-Id: I801cdf4b1d0cc49a53113318d7b9075f6fa218bd
2011-09-19 16:06:37 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Winson Chung ad2b7a33d7 Fixing up search bar and adding bg. (5051804)
Change-Id: Ifeada9f2e8c1cd801a099f355c73fdac5300e11a
2011-09-18 15:16:38 -07:00
Winson Chung c3665faf45 DO NOT MERGE: Fixing regression where scroll position would be offset when rotated.
- Fixes the scrolling issue only in conjunction with framework measure fix
- Updating the wallpaper gallery item background

Change-Id: I156de59a3eadfdaa61018c0a74ad0614d76cde6d
2011-09-15 13:38:54 -07:00
Winson Chung 7ed3774638 Bug Fixing
- Setting loader thread priority to default after loading to help rotation time (5264039, more work to be done here potentially)
- Fixing regression in missing background gradient for hotseat
- Removing the old cupcake gallery item bg, new bg assets coming soon (5160311)
- Defering showing the AppsCustomize tab bar until we request layout to help a little with the flashing

Change-Id: I8c4981435f684363be951696986b7ab1b71956eb
2011-09-08 15:48:58 -07:00
Winson Chung 2b8e445770 Tweaking grid spacing (5162387)
Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1
2011-08-29 14:52:46 -07:00
Adam Cohen fdd6c83d1c Expanding folder rename touch region
Change-Id: I3dc6fd97818a4f4592c0476d0a2d6f11f55f9653
2011-08-24 14:00:54 -07:00
Winson Chung 82f5553a13 Cling ALL the things! (Workspace and AllApps)
Change-Id: Iee6b38dbb4f0b2fb85f854d70fd86db1e7b1d8f7
2011-08-22 21:26:06 -07:00
Winson Chung f314b0eab0 Improving transition between Apps/Widgets panes (5145408)
Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
2011-08-16 12:52:39 -07:00