Commit Graph

178 Commits

Author SHA1 Message Date
Adam Cohen
477828cc83 New folder look / assets
-> Restricting the number of items in folders
   to prevent scrolling (excess items deleted)

Change-Id: I4af2590cd5ea7677c875c031f84d4d5bcca3e6e9
2013-09-20 14:13:44 -07:00
Winson Chung
2873ecd1ab Merge "Fixing some grid spacing issues. (Bug 10754537, 10754538)" into jb-ub-now-indigo-rose 2013-09-20 17:52:56 +00:00
Winson Chung
cdef044036 Fixing some grid spacing issues. (Bug 10754537, 10754538)
- Ensuring app names don't run into each other in folders and on the workspace
- Ensuring that app names are aligned with folder names

Change-Id: Ie8d546eacd52005778d81c46011c1c84bc24118c
2013-09-19 18:07:05 -07:00
Michael Jurka
c8c9045712 Merge "Add live wallpapers and third-party pickers to bottom strip" into jb-ub-now-indigo-rose 2013-09-20 00:40:02 +00:00
Michael Jurka
998e4ff3dc Add live wallpapers and third-party pickers to bottom strip
Bug: 10742727
Bug: 10805463

Change-Id: I961344b34fff3b183380caf3508d23b05c1ca26c
2013-09-20 01:12:53 +02:00
Daniel Sandler
bb701aaa83 Updated launcher assets part 2.
- fixed centering on new pagination indicators
 - also tuned the pagination animation a bit to make the
   size change feel more natural

Bug: 10807054
Change-Id: I0953cff80bfeecf085172f710a4bc947133115ed
2013-09-19 15:40:33 -04:00
Winson Chung
94e01d606f Merge "Updated launcher assets." into jb-ub-now-indigo-rose 2013-09-19 19:28:21 +00:00
Daniel Sandler
74ccebe3c6 Updated launcher assets.
- new All Apps
 - new pagination indicators
   (including one for "add" which is not yet used)

Bug: 10807054
Change-Id: I49c949d635cb1e0b2540e3e8ab44ba62e9ea45f8
2013-09-19 15:03:00 -04:00
Adam Cohen
3f452c87db Adding some assets / fixing a couple bugs
-> Adding wallpaper, settings and widgets icons for overview mode
-> Fix issues with disappearing search bar / custom content screen
   when screen is turned off from overview mode.

Change-Id: I0904098bd642c40709e27f571e458f1b6e479c17
2013-09-19 11:58:22 -07:00
Adam Cohen
1f2d9f978f Merge "Changing font family to condensed for icons and folders (issue 10823062)" into jb-ub-now-indigo-rose 2013-09-18 22:59:40 +00:00
Adam Cohen
22cf526889 Changing font family to condensed for icons and folders (issue 10823062)
Change-Id: If166f01091a5a400492dc178a4c1503de87b05b7
2013-09-18 15:15:28 -07:00
Michael Jurka
5664de2524 Update assets for pressed/focused/selected states
Also, add shadow below/above wallpaper strip

Bug: 10722070

Change-Id: I37c445bab90e103f414c95b62e101a73d060661f
2013-09-18 15:16:00 +02:00
Michael Jurka
42a7174255 Update styling of tile to pick image as wallpaper
Bug: 10743257
2013-09-18 00:45:45 +02:00
Michael Jurka
230851d41c Scale wallpaper thumbnails without altering aspect ratio
Bug: 10616928

Change-Id: I60f59a5c48fe02664229d9ebc1d497c91c49d99b
2013-09-13 18:13:24 +02:00
Michael Jurka
d6dc6043ad Adding ability to delete previously saved wallpapers
- Also preserving temporarily picked wallpapers on
rotation

Change-Id: I35361e2a5619cd986bd8b66268ce9e94b9a0027e
2013-09-12 20:49:17 +02:00
Winson Chung
c58497ee61 Initial changes to restore AllApps.
- Removes unused all apps code due to dynamic grid/spacing
- Attempts to use CellLayout instead of PagedViewCellLayout

Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
2013-09-05 12:14:28 -07:00
Michael Jurka
2d8de5845b Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
2013-09-05 20:37:56 +02:00
Michael Jurka
4b94060491 Show and hide the wallpaper list in response to touch 2013-09-05 12:42:08 +02:00
Michael Jurka
60e01b610a Fix small wallpaper thumbnails on some devices
Bug: 10616928

Change-Id: I9094f122ec5b0873c4babda42799e3840ec330c4
2013-09-04 18:53:20 +02:00
Adam Cohen
30bacb2158 Added settings button to overview mode
Change-Id: Idcbfa49fe2710dec460155f34bd371321af6cf17
2013-08-29 14:37:46 -07:00
Winson Chung
6c15a644cb Merge "Fixing folders to always show in view, removing old assets and references to LauncherModel count." into jb-ub-gel-agar 2013-08-26 22:08:09 +00:00
Winson Chung
892c74d460 Fixing folders to always show in view, removing old assets and references to LauncherModel count. 2013-08-23 12:13:02 -07:00
Cristina Stancu
476493bcc3 Get the view to be used as qsb bar from the launcher directly.
This will allow more control over the qsb visuals and behaviour in GEL.
Depends on ag/339203

Future changes:
- revert ag/344333 since we won't need the normal qsb to support hotword
  anymore
- Dragging icons over the Drop target bar (to remove/uninstall them or
  get App info) doesn't currently work in GEL. There might be future
  changes needed to fix that.

Change-Id: Ic498f0abee5ad99ef1644ff94f174b61f8e1f5f0
2013-08-22 11:41:11 +01:00
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