Commit Graph

154 Commits

Author SHA1 Message Date
Winson Chung 205cd7727f Updating Tablet clings. (Bug 11973614)
Change-Id: I6cb10424a345691d50c4fac7969e0b97bbee4b3c
2014-01-16 14:26:07 -08:00
Adam Cohen 24ce0b3708 Fixing drop targets in phone / small tablet landscape (issue 12192781)
Change-Id: I4dc8a82c8cd5ef279506e7868e33a455fba5a3be
2014-01-14 16:33:50 -08:00
Winson Chung 5317c2b7ad Updating assets and text for migration cling. (Bug 11973614)
Change-Id: I69ffc1581cc43511b4f42ebb2735afe4c0b44131
2014-01-10 16:59:09 -08:00
Winson Chung a694524047 Adding migration Clings. (Bug 11973614)
- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
2014-01-10 22:28:16 +00:00
Yura f0efa2fb4f Moved paddingStart to -v17 folder.
This is to help get us paddingStart free to be able to work on Samsung
tablets, as they crash on paddingStart when it is used outside of -v17.

Bug: 8166178
Change-Id: I84879257c4e463879fd6bfc322514d30c469ca30
2014-01-09 10:55:40 +00:00
Winson Chung e494aaf70f Merge "Initial changes to support AllApps on various form factors." into jb-ub-now-jetsonic 2013-11-01 21:20:53 +00:00
Winson Chung 67ca7e4cc5 Initial changes to support AllApps on various form factors.
Change-Id: I7bacb36f8a70c8ac920426899193a7bb7b7abbcb
2013-11-01 12:51:56 -07:00
Winson Chung c44a0c0728 Merge "Tweaking cling text sizes for other languages. (Bug 11151675)" into jb-ub-now-jetsonic 2013-11-01 19:45:20 +00:00
Winson Chung 13dbfe18a0 Tweaking cling text sizes for other languages. (Bug 11151675)
Change-Id: Iae82064b1be7a33e5375c1e27fb7472216dc637a
2013-11-01 12:04:20 -07:00
Adam Cohen fc6175df7d Merge "Fixing up PagedView to work in landscape mode" into jb-ub-now-jetsonic 2013-10-31 21:35:51 +00:00
Adam Cohen 3b185e2513 Fixing up PagedView to work in landscape mode
-> separated notion of page spacing and paged view padding
-> always position the current page within the rect
   created by pagedview's viewport + padding
-> space pages by a constant amount

Change-Id: I6bb35f72f04543f83b51ef981f8c9ded051623ac
2013-10-31 14:34:19 -07:00
Winson Chung 0091e3766e Removing unused cling, tweaking translation character limits (Bug 11151675)
Change-Id: I601d92ecca5a479d7778824e3b120634bdae6a45
2013-10-22 14:40:17 -07:00
Winson Chung 207a7bd8e5 Tweaking workspace cling due to mirrored default hotseat. (Bug 11142616) 2013-10-13 22:21:45 -07:00
Winson Chung f7e11e9080 Fixing RTL issues with Clings. (Bug 11008488)
Change-Id: I78f891eabab53d6ded18f7c843504219d71e2883
2013-10-10 17:18:53 -07:00
Winson Chung 3a6e7f330e Initial changes for new clings. (Bug 11142616)
Change-Id: Id66ebceb99449941921d9e617dfe0cc05a2e3b65
2013-10-09 17:53:32 -07:00
Winson Chung 45cab39eea Tweaking the front cling to support more verbose languages. (Bug 11015051) 2013-10-02 17:45:32 -07:00
Winson Chung 16de08e83e Tweaking clings again to support smaller folders (Bug 10965184)
Change-Id: I324d770fafd7db5d66a870f7825caeb6440ac467
2013-10-01 11:36:16 -07:00
Winson Chung 6da63f81f8 Ensuring that the folder scrim background spans the full device height. (Bug 10965246)
Change-Id: I603d6ed61d01c6b0a460dc0205eceb25f6964b9d
2013-09-27 12:32:26 -07:00
Winson Chung 54e6513554 Ensuring that Launcher always has a search bar. (Bug 10965514)
- Also disabling voice proxy when we are in now (Bug 10915381)

Change-Id: I4ad6392b5139d12b9b298110109b9363ba426cb4
2013-09-27 11:44:58 -07:00
Winson Chung fa54513308 Tweaking folder cling to support large folders.
Change-Id: I3c500463fba8db71807ad4fc27c6923f3e1d0770
2013-09-26 18:29:08 -07:00
Winson Chung e6eabffd39 Launcher changes to support custom cling hints.
Change-Id: Ic381f43b96fb15a7a485b139635795e89564cc3b
2013-09-24 11:09:57 -07:00
Winson Chung af40f205d7 Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
2013-09-20 17:22:05 -07: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
John Spurlock 77e1f47520 Add system window inset support to DragLayer and children.
Instead of fitting system windows as before, DragLayer now
lays out under the system windows.

DragLayer will simply add the system window insets to each
child's layout margins by default.  e.g. for Hotseat, Page
Indicators, QSB, Search Overlay.

Children that want to use the full viewport can declare so
by implementing a new Insettable interface.  System window
insets will be passed to Insettable#setInsets(insets) and
the child can do what it wants with them.

Currently, two of DragLayer's children implement Insettable:

1) Workspace (for the -1 screen).
   Full screen pages are given the entire viewport, paged
   view offsets modified to end up in the right place now
   that the viewport is larger (the full screen height).
   Non-full screen pages like the normal icon pages simply
   apply the insets to end up in the same place they did
   before.
   NowClientCardsView uses the full viewport, applying the
   insets as padding. Will want to better take advantage
   of this new real estate in a future CL.

2) All Apps (AppsCustomizeTabHost).
   Applies the insets as layout margin one level down, so that
   the bar area is opaque during the transition, but visually
   the content lands in the same place.

(Also add db_files to .gitignore to ignore the output of the
db tool)

Bug:10687177
Bug:10652189
Change-Id: I80b25d63884d244fcf704b24dad9497ee0d8b453
2013-09-11 16:29:34 -04: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 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 dcd297f05a Initial implementation of Shrink-wrap
Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
2013-06-25 12:29:32 -07:00
Adam Cohen 9efb412971 Changing default screen to 0
Change-Id: I16b2440f99d4b91a3a74226cdac7054e7d5fd7f5
2013-06-06 21:35:25 -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
Michael Jurka 496fefb40d Get rid of duplicate backgrounds
Bug: 8809491
2013-05-06 16:38:38 +02:00
Winson Chung b301f3fcff Fixing issue with qsb icons not being sized correctly. (Bug 8543618)
Change-Id: I807eaa8323e138c3ad13b6b923a3598c072c0588
2013-04-12 12:37:56 -07:00
Fabrice Di Meglio 9114d08f8a Fix search bar layout in RTL mode
This is a follow up from  I24b1f1977fb65246afd2005440567b5850939621

- fix remaining "right" attribute and replace it with a "end" one

Change-Id: Icd718917a7b984e562db3d2f7274a2dfd3e9b3c7
2013-02-06 14:05:19 -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
Winson Chung 7819abd2d1 Fixing issue where the cling is offset. (Bug 7633074)
- Also fixing issue where the workspace cling was showing on top of AllApps when you entered it for the first time.

Change-Id: I7d59ad153de192bc1d69537af1b4af632465138b
2012-11-29 14:30:30 -08:00
Craig Mautner 360310b74d Extend background to full screen.
Gradient and black backgrounds were stopping at the Status Bar.
When returning from a full screen app to the launcher the wallpaper
was completely visible when it should have been obscured by these
backgrounds. Making the app full screen while keeping the views
within the system insets fixes this.

Bug 7410717 fixed.

Change-Id: If3f7e4808961ee6c80fe2d0a328e6ca39fa5eb7a
2012-11-16 16:17:20 -08:00
Romain Guy e34a213c32 Add missing layout attributes
Bug #7334849

Change-Id: Iae01cf5c587716951dee849e9c4116717d137d8f
2012-10-17 12:04:05 -07:00
Adam Cohen e29c55ac32 Temporary fix for qsb and hotseat clicking issues
Change-Id: I3fca1e3dada12c8655887c3d7a2200b6fcfac19c
2012-08-23 12:23:26 -07:00
Adam Cohen 25736aa94c Fix issue where you couldn't click anything in the hotseat
Change-Id: I48aaa63d2a439cee9a2bfd4888cafe13498d88c8
2012-08-20 22:43:25 -07:00
Winson Chung 0e721a4005 Initial changes for new 10inch layout.
Change-Id: Ifaafca469df626a76ab5e16bd2f0d5afa1da172c
2012-08-08 14:02:22 -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
Winson Chung bfeac0681b Synchronizing on the new-apps list before modifying it. (Bug 6621553)
- Minor tweak to qsb padding
- Adding yet more logging for single-app-page issue

Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
2012-06-06 15:57:27 -07:00
Winson Chung eff06b06a5 Merge "Fixing regression in landscape launcher, and enlarging the voice search proxy touch view." into jb-dev 2012-05-23 11:25:20 -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 7b067f3054 Fixing regression in landscape launcher, and enlarging the voice search proxy touch view.
Change-Id: I10290ad4f162361dbc086f161a7124a26d15615c
2012-05-22 16:28:29 -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
Andrew Flynn 2f5f945704 Support for 600dp & custom clings
Change-Id: Ifea85be6ff062c61664a3f0ec6c1c24a1fc7b559
2012-05-13 16:31:16 -07:00
Winson Chung 3e7f2000a8 Tweaking the qsb padding to push icons in.
Change-Id: I8190e042bc6820b34a46799e198e07328ac8bd00
2012-05-10 18:02:36 -07:00
alanv e10d6ca424 DO NOT MERGE Set voice button proxy as not important for accessibility.
Bug: 6441080
Change-Id: Ib6cfe87322ef283ff3adee8dccee1eb155cd531f
2012-05-07 17:31:49 -07:00