Commit Graph

78507 Commits

Author SHA1 Message Date
Sunny Goyal 1998daf8e8 am 434e667b: Merge "Ensuring setQsbSearchBar is called whenever the QSB is created" into ub-launcher3-burnaby
* commit '434e667b5b488d6212e8c77c8ad3b02c4af37117':
  Ensuring setQsbSearchBar is called whenever the QSB is created
2015-03-10 21:07:28 +00:00
Sunny Goyal 434e667b5b Merge "Ensuring setQsbSearchBar is called whenever the QSB is created" into ub-launcher3-burnaby 2015-03-10 21:02:46 +00:00
Sunny Goyal e4766230ff Refactoring some logic in FolderPagedView
> Using a common paths for rearranging items, creating new icon
and creating new page

Change-Id: I85097c7e47b42b79162a8a553a971e44dbc7af3c
2015-03-10 14:01:38 -07:00
Sunny Goyal 941aad08e1 am 28ad5847: Merge "Adding a scrollable folder content implementation" into ub-launcher3-burnaby
* commit '28ad58478e6b0034ce8c6a775a18ee253e6657f4':
  Adding a scrollable folder content implementation
2015-03-09 21:54:05 +00:00
Sunny Goyal 28ad58478e Merge "Adding a scrollable folder content implementation" into ub-launcher3-burnaby 2015-03-09 21:50:03 +00:00
Sunny Goyal 290800b5b7 Adding a scrollable folder content implementation
> Size is restricted to 3x3 for now
> Drag-drop across page s not implemented yet
> A-Z sorting is not implemented yet

Change-Id: I84328caa6ad910d1edeeac6f3a7fb61b7292ea7e
2015-03-09 14:21:43 -07:00
Adam Cohen ab652a225a am ec3682b5: Merge "Enabling accessible drag and drop" into ub-launcher3-burnaby
* commit 'ec3682b5647630d72f9533d11f2deaad5b620cc0':
  Enabling accessible drag and drop
2015-03-09 19:53:16 +00:00
Adam Cohen ec3682b564 Merge "Enabling accessible drag and drop" into ub-launcher3-burnaby 2015-03-09 19:47:33 +00:00
Adam Cohen c9735cff2e Enabling accessible drag and drop
-> Using the context menu, and a new two stage system, this allows
   users to curate icons and widgets on the workspace
-> Move icons / widgets to any empty cell on any existing screen, or
   create a new screen (appended to the right, as with regular drag
   and drop)
-> Move icons into existing folders
-> Create folders by moving an icon onto another icon
-> Also added confirmations for these and some existing accessibility actions

Limitations:
-> Currently, no support for drag and drop in folders
-> Considering moving the drag view so it doesn't occlude any
   content (in particular, when user changes pages)
-> In this mode, accessibility framework seems to have
   problems with the next / prev operations

Bug: 18482913

Change-Id: I19b0be9dc8bfa766d430408c8ad9303c716b89b2
2015-03-09 11:29:28 -07:00
Sunny Goyal 6b1d19a972 am d5bf4ab5: Merge "Refactoring max id logic to a common method" into ub-launcher3-burnaby
* commit 'd5bf4ab5f75bbfd28162d8a45043cc5801fbfcc5':
  Refactoring max id logic to a common method
2015-03-09 17:12:08 +00:00
Sunny Goyal d5bf4ab5f7 Merge "Refactoring max id logic to a common method" into ub-launcher3-burnaby 2015-03-09 17:08:20 +00:00
Geoff Mendal f00dc09662 Import translations. DO NOT MERGE
Change-Id: Iff3cfd7f43663f7fc777da5c1971da7b8608d952
Auto-generated-cl: translation import
2015-03-09 09:57:30 -07:00
Sunny Goyal b419591a8e am 1c0e633b: Handling getLastItem when the folder is closed
* commit '1c0e633bd59e0f14f799cbb6aee33266032998fa':
  Handling getLastItem when the folder is closed
2015-03-06 19:58:35 +00:00
Sunny Goyal 1c0e633bd5 Handling getLastItem when the folder is closed
Change-Id: I6afebd7c0a92edb25e3658e7f860244d7457c852
2015-03-05 18:03:08 -08:00
Sunny Goyal 9b8fd18713 am ee995106: Some parameter cleanup
* commit 'ee995106d8a50b691e65988f5b3df5d2d83ca69a':
  Some parameter cleanup
2015-03-06 00:44:50 +00:00
Sunny Goyal ee995106d8 Some parameter cleanup
Change-Id: Iedc7c97bd9c513ff046f7bf64a6e13f1fc8e8b54
2015-03-05 16:27:37 -08:00
Sunny Goyal 24f1314c69 am cd851f18: Merge "Using left and top instead of getLocationInWindow for getting target view position" into ub-launcher3-burnaby
* commit 'cd851f18132ffad6f79f7a664aa1999257545297':
  Using left and top instead of getLocationInWindow for getting target view position
2015-03-05 23:49:29 +00:00
Sunny Goyal 855407c603 am fd3ea4f2: Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby
* commit 'fd3ea4f20b1aa8907ab46b5cb1457c5cd16ae5e3':
  Setting hotseat padding to the container for symmetry
2015-03-05 23:49:29 +00:00
Sunny Goyal cd851f1813 Merge "Using left and top instead of getLocationInWindow for getting target view position" into ub-launcher3-burnaby 2015-03-05 23:47:55 +00:00
Sunny Goyal fd3ea4f20b Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby 2015-03-05 23:46:33 +00:00
Sunny Goyal a39b82e2eb Using left and top instead of getLocationInWindow for getting target view position
Change-Id: I1c295b8fd8be46ed9f0b12d7019572d9adc4af54
2015-03-05 15:45:02 -08:00
Sunny Goyal 17988e5119 am 82e861d7: Using unique view id for each item in folder
* commit '82e861d71aaefcdec47d78bf564d755d2910ecb8':
  Using unique view id for each item in folder
2015-03-05 23:42:19 +00:00
Sunny Goyal 82e861d71a Using unique view id for each item in folder
Change-Id: I413de3db94dbab54a9c1e5799286ac78a1ae5102
2015-03-05 14:56:29 -08:00
Sunny Goyal d81992b6e7 Setting hotseat padding to the container for symmetry
Change-Id: I953aa4e8d729db88dae29f51af28c6cf01891bd6
2015-03-05 14:00:18 -08:00
Sunny Goyal af80156448 am 49b39d66: Merge "Extracting a common interface out of FolderCellLayout" into ub-launcher3-burnaby
* commit '49b39d667d3fa662352fdcc5278db97ab45de7cf':
  Extracting a common interface out of FolderCellLayout
2015-03-05 19:28:59 +00:00
Sunny Goyal 076c14d20d am 95deb3a5: Fixing icon disappearing on dropping to workspace
* commit '95deb3a57cfebe51e5b8ea74e0a870123d1347e9':
  Fixing icon disappearing on dropping to workspace
2015-03-05 19:28:59 +00:00
Sunny Goyal 49b39d667d Merge "Extracting a common interface out of FolderCellLayout" into ub-launcher3-burnaby 2015-03-05 19:24:51 +00:00
Sunny Goyal 95deb3a57c Fixing icon disappearing on dropping to workspace
> It was created in ag/645900

Change-Id: I31ca5bf9763292517fa5ee3ccd867897bca45bad
2015-03-05 10:27:01 -08:00
Sunny Goyal bc753359f8 Extracting a common interface out of FolderCellLayout
Change-Id: Ia94a75ac232b8b425c8befdf2e4f064678531505
2015-03-05 10:14:22 -08:00
Sunny Goyal ad9e044f4a am 323f47f8: am c6c8fef3: Clearing DB if necessary, when applying the default layout
* commit '323f47f8bf24d4d9ef5281377b287431efbeada9':
  Clearing DB if necessary, when applying the default layout
2015-03-05 04:35:47 +00:00
Sunny Goyal e5ae38ac27 am 0b0d9d40: Merge "Refactoring folder content" into ub-launcher3-burnaby
* commit '0b0d9d40ee055e166235e0e68141a3c06f8d0e94':
  Refactoring folder content
2015-03-05 04:35:46 +00:00
Sunny Goyal 323f47f8bf am c6c8fef3: Clearing DB if necessary, when applying the default layout
* commit 'c6c8fef3e90f84b26c3b8550ec6a1d668ca9200d':
  Clearing DB if necessary, when applying the default layout
2015-03-05 04:32:48 +00:00
Sunny Goyal 0b0d9d40ee Merge "Refactoring folder content" into ub-launcher3-burnaby 2015-03-05 04:30:22 +00:00
Hyunyoung Song 214ed2e04a am bd6fde13: Merge "Fix the broken build from recent focus navigation handling code (compilation error)." into ub-launcher3-burnaby
* commit 'bd6fde13dfa46b723d7a0560d40aa0d977e8cf6a':
  Fix the broken build from recent focus navigation handling code (compilation error).
2015-03-05 00:38:37 +00:00
Hyunyoung Song bd6fde13df Merge "Fix the broken build from recent focus navigation handling code (compilation error)." into ub-launcher3-burnaby 2015-03-05 00:35:13 +00:00
Hyunyoung Song ac721f8d5f Fix the broken build from recent focus navigation handling code
(compilation error).

Change-Id: I9beb63a88f8c7c247f397d0495501dbc0f637456
2015-03-04 16:33:56 -08:00
Hyunyoung Song caaa1049eb am cbd02cef: Merge "[key event focus] DPAD navigates to the nearest item on next/previous page b/19381790 b/16351792" into ub-launcher3-burnaby
* commit 'cbd02cefc8e07f2d4f7a5364225596eefbf8db51':
  [key event focus] DPAD navigates to the nearest item on next/previous page b/19381790 b/16351792
2015-03-05 00:05:59 +00:00
Hyunyoung Song cbd02cefc8 Merge "[key event focus] DPAD navigates to the nearest item on next/previous page b/19381790 b/16351792" into ub-launcher3-burnaby 2015-03-05 00:02:46 +00:00
Sunny Goyal c3a609f950 Refactoring folder content
> Refactoring the CellLayout in folder with a custom view so
that it can be replaced easily with a scrollable paged view.
> Moving some methods from the folder to this new view which
assume a single page layout for the folder
> Changing folder from LinearLayout to FrameLayout to properly
handle focus traversal in case of multi-page folders

Change-Id: I073c00b995488f9f5d8123b00357e094ca2cec7c
2015-03-04 15:55:47 -08:00
Sunny Goyal c6c8fef3e9 Clearing DB if necessary, when applying the default layout
Bug: 19574498
Change-Id: I34850d9a7f7316bcc2cb9fc8a5be57d2488c16a6
2015-03-04 15:20:24 -08:00
Sunny Goyal 64b3fcc9f7 Ensuring setQsbSearchBar is called whenever the QSB is created
> On launcher3 when the QSB is created for the first time after a
widget drop, it is not set in searchDropTarget and as a result
the "Remove" and "App Info" drop targets are not visible until
Launcher3 restarts and rebinds QSB

Change-Id: I599a9a18cc5d46af790b3145dae2eb385b32b20e
2015-03-04 13:59:21 -08:00
Sunny Goyal acf68b3409 am 9282059e: Fixing wrong check to determine the drag source
* commit '9282059e44604330763340e6c37ffb653b8ef187':
  Fixing wrong check to determine the drag source
2015-03-04 21:14:01 +00:00
Sunny Goyal fe4e4b91dc Refactoring max id logic to a common method
Change-Id: I1f649b570ee43d6c0540a207693d2cbee4538fb8
2015-03-04 10:43:45 -08:00
Hyunyoung Song 3853171963 [key event focus] DPAD navigates to the nearest item on next/previous page
b/19381790
b/16351792

TL;DR;; Previously, when RIGHT is handled on the right most column of the
current page or when LEFT is handled on the left most column, the next
icon of focus is next page 'first' icon or the previous page 'last icon'.
With this change, the row information is preserved when trying to locate
an icon to give focus in the next/previous page.

Next CL: long awaited unit tests that capture corner cases for different
orientation/ device configuration.

Change-Id: I5278bed45275b3e4cb39fb698df35f90bb45a415
2015-03-03 19:25:16 -08:00
Sunny Goyal 9282059e44 Fixing wrong check to determine the drag source
> target it the drop target, i.e., the InfoDropTarget or DeleteDropTarget

Change-Id: If4a9f8eb72ee6afb4d80c7df6f0f2ada4bc35b22
2015-03-02 15:39:01 -08:00
Sunny Goyal e0f389703e am 8dbf0fff: Merge "Setting workspace id as primary key" into ub-launcher3-burnaby
* commit '8dbf0fff1f424df8db1bbedfe8e5cfd7783a92ea':
  Setting workspace id as primary key
2015-03-02 23:33:31 +00:00
Sunny Goyal 8dbf0fff1f Merge "Setting workspace id as primary key" into ub-launcher3-burnaby 2015-03-02 23:28:06 +00:00
Sunny Goyal c2d1216def am f30e99b2: am e72f3d53: Fixing wronk rowID check.
* commit 'f30e99b2dc1d028014def047df3ea7b1bc31a3a1':
  Fixing wronk rowID check.
2015-03-02 22:47:12 +00:00
Sunny Goyal f30e99b2dc am e72f3d53: Fixing wronk rowID check.
* commit 'e72f3d53f8c35b94aece6fafa6fd12cce9d09fe5':
  Fixing wronk rowID check.
2015-03-02 22:43:52 +00:00
Sunny Goyal e72f3d53f8 Fixing wronk rowID check.
Since screenId is changed to primary key, the rowId can now be 0 (earlier
it was auto-increment and never 0)

Bug: 19566734
Change-Id: Icf0e4294a581039101df1ad1756fdb6e581c4cba
2015-03-02 14:26:31 -08:00