Commit Graph

49925 Commits

Author SHA1 Message Date
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
Hyunyoung Song 9246b2c751 am ec22cf46: Merge "[unit tests] Setup instrument target for the launcher3 unit test b/19566571" into ub-launcher3-burnaby
* commit 'ec22cf46d5830d58e941851dcb0341c1bcd2f3c3':
  [unit tests] Setup instrument target for the launcher3 unit test b/19566571
2015-03-02 20:19:27 +00:00
Hyunyoung Song ec22cf46d5 Merge "[unit tests] Setup instrument target for the launcher3 unit test b/19566571" into ub-launcher3-burnaby 2015-03-02 20:16:07 +00:00
Hyunyoung Song 170a9f3a1c [unit tests] Setup instrument target for the launcher3 unit test
b/19566571

Change-Id: I47da40aa13a3e7c5ec8531e7ef6a9e52f764c565
2015-03-02 11:55:42 -08:00
Sunny Goyal fef8a46438 am 8f2a9e4d: Merge "Cleaning up some resources in WallpaperPickerActivity" into ub-launcher3-burnaby
* commit '8f2a9e4dbfc6a475f70e791123bebb56a5a94e29':
  Cleaning up some resources in WallpaperPickerActivity
2015-03-02 19:43:10 +00:00
Sunny Goyal 50b21d2260 am 5b437d89: Merge "Removed disableAllApps flag" into ub-launcher3-burnaby
* commit '5b437d8957c21b5fab42d3540db39da09378cfd7':
  Removed disableAllApps flag
2015-03-02 19:43:10 +00:00
Sunny Goyal 8f2a9e4dbf Merge "Cleaning up some resources in WallpaperPickerActivity" into ub-launcher3-burnaby 2015-03-02 19:40:01 +00:00
Sunny Goyal 5b437d8957 Merge "Removed disableAllApps flag" into ub-launcher3-burnaby 2015-03-02 19:33:35 +00:00
Hyunyoung Song 4492d32e88 am 53fca52d: [unit tests] Delete stress package b/19566571
* commit '53fca52d3b2db08a35ab7af6f9bc52f6cd8f28a4':
  [unit tests] Delete stress package b/19566571
2015-03-02 19:09:47 +00:00
Hyunyoung Song 53fca52d3b [unit tests] Delete stress package
b/19566571

TL;DR;; no longer working AND also the one test that is
set up is useless to keep.

Change-Id: If44457c7bc19a973450edf5aad3e744daf20624a
2015-03-02 10:55:45 -08:00
Sunny Goyal 760235b681 am c63b8b82: (-s ours) am 633325c4: (-s ours) DO NOT MERGE: Setting workspace id as primary key
* commit 'c63b8b82d3cd7dbb375f92cf8e3bf62d73bc0f81':
  DO NOT MERGE: Setting workspace id as primary key
2015-02-27 22:06:15 +00:00
Sunny Goyal d2f3819c34 Setting workspace id as primary key
Bug: 19475231
Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
2015-02-27 14:05:26 -08:00
Sunny Goyal c63b8b82d3 am 633325c4: (-s ours) DO NOT MERGE: Setting workspace id as primary key
* commit '633325c4c22061c745ff89f9141f18cca29b352b':
  DO NOT MERGE: Setting workspace id as primary key
2015-02-27 22:03:10 +00:00
Sunny Goyal 6aeafc35f0 am c54729a6: Merge "Updating IconCache to maintain a persistent of icons" into ub-launcher3-burnaby
* commit 'c54729a6db38a84fa7efec8dc32285d91112fe53':
  Updating IconCache to maintain a persistent of icons
2015-02-27 21:58:05 +00:00
Sunny Goyal c54729a6db Merge "Updating IconCache to maintain a persistent of icons" into ub-launcher3-burnaby 2015-02-27 21:53:56 +00:00
Geoff Mendal acf1ddda6d am 58afc354: (-s ours) am 729ad90f: (-s ours) Import translations. DO NOT MERGE
* commit '58afc3547e1b05175153a20d8d340ce3ee97ba7d':
  Import translations. DO NOT MERGE
2015-02-26 23:25:41 +00:00
Geoff Mendal 58afc3547e am 729ad90f: (-s ours) Import translations. DO NOT MERGE
* commit '729ad90fb6c1b5c7c6e79507beb00934fbdd44ea':
  Import translations. DO NOT MERGE
2015-02-26 23:14:50 +00:00
Geoff Mendal a52f61e57c Import translations. DO NOT MERGE
Change-Id: I4c434879510a9434cbcb0eaa823899a676f4dab4
Auto-generated-cl: translation import
2015-02-26 13:27:56 -08:00
Geoff Mendal 729ad90fb6 Import translations. DO NOT MERGE
Change-Id: Ibdacd9febbe2e1d8a282af7a856d27fbffb1014c
Auto-generated-cl: translation import
2015-02-26 13:21:32 -08:00
Sunny Goyal c9acdd51c4 Removed disableAllApps flag
Change-Id: I50ba511b8493bca2506ab6010f141c093bfa7499
2015-02-26 12:35:09 -08:00
Sunny Goyal 509c4a8612 am 560616da: Build fix. Some references of a resources still remained after ag/619757
* commit '560616da70648bed04c00aa804503ec72ace1337':
  Build fix. Some references of a resources still remained after ag/619757
2015-02-26 19:36:42 +00:00
Sunny Goyal 9c83a0da6d Cleaning up some resources in WallpaperPickerActivity
Change-Id: I4923403c0c094d0ae0b00e3a08a13099c3addb10
2015-02-26 19:33:38 +00:00
Sunny Goyal 560616da70 Build fix. Some references of a resources still remained after ag/619757
Change-Id: Ia05a12ff5af6fa13d75cbedd8bd2fd6d33a78b7f
2015-02-26 11:26:19 -08:00
Sunny Goyal 4fbc3828c5 Updating IconCache to maintain a persistent of icons
> IconDB maintains a DB of icons keyed on ComponentName + User
> During loader, icons & labels are loaded first from the DB, and
if the entry doesn't exist, loaded using packageManager
> After the loader completes, IconDB updates any entry which might have
changed, while the launcher was dead.

Change-Id: I7a6021cb6d1ca1e66fa5a0bdd21e1543e0cf66fc
2015-02-26 19:08:44 +00:00
Sunny Goyal ea4d7f606d am ed46c093: Merge "Refactoring common methods" into ub-launcher3-burnaby
* commit 'ed46c093cf1f34a2056846ac826b19fa2335ec18':
  Refactoring common methods
2015-02-26 18:36:18 +00:00
Sunny Goyal ed46c093cf Merge "Refactoring common methods" into ub-launcher3-burnaby 2015-02-26 18:30:42 +00:00
Sunny Goyal 5957c6208a am 748909e5: Merge "Picking a bitmap to reuse where least pixels are wasted" into ub-launcher3-burnaby
* commit '748909e5329ea79e6f65fc4b64f2d43e8fad15d5':
  Picking a bitmap to reuse where least pixels are wasted
2015-02-26 18:29:04 +00:00
Sunny Goyal 748909e532 Merge "Picking a bitmap to reuse where least pixels are wasted" into ub-launcher3-burnaby 2015-02-26 18:22:34 +00:00
Sunny Goyal 1587d5362f Refactoring common methods
Change-Id: Id6d3072dd3a6d7f54e9591abbeffd9bd51c7403d
2015-02-26 18:19:22 +00:00
Sunny Goyal 633325c4c2 DO NOT MERGE: Setting workspace id as primary key
Bug: 19475231
Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
2015-02-25 16:56:54 -08:00
Sunny Goyal 7902f30127 am 8ed75e5c: am 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
* commit '8ed75e5c1606d4bd1218e2e3975527e1719d9be6':
2015-02-25 21:15:50 +00:00
Sunny Goyal 75510f1346 am 65b929d6: Reducing memory usage of wallpaper picker
* commit '65b929d6f21683198caf28e266fd2cf52c843764':
  Reducing memory usage of wallpaper picker
2015-02-25 21:15:43 +00:00
Hyunyoung Song 2aede816df am 31178b82: [key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode
* commit '31178b8237ccb6af666df60ef60c116c8afdf316':
  [key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode
2015-02-25 21:15:42 +00:00