Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal 8f375d1e68 Merge "Enabling logging for migration task" into ub-launcher3-burnaby 2015-07-31 22:01:31 +00:00
Sunny Goyal e745f451a5 Merge "Removing boot receiver." into ub-launcher3-master 2015-07-31 22:01:16 +00:00
Adam Cohen a86c988807 am 519a40f7: am a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
* commit '519a40f731b747f1248a7443d4b5ab152572975a':
  Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
2015-07-31 21:13:34 +00:00
Adam Cohen 519a40f731 am a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
* commit 'a547c4516c1a2dfd87f3466fccffd5ca6c5cab8c':
  Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
2015-07-31 21:10:14 +00:00
Adam Cohen a547c4516c Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
This reverts commit cb7674118c.

Change-Id: I831abe3746be49fd164046655e8c5e059bae074f
2015-07-31 21:06:10 +00:00
Winson Chung 1493662849 am e990d495: Merge "Fixing minor memory leak with name comparator." into ub-launcher3-burnaby
* commit 'e990d49534bb61606bcf3e61fa3c26e088d1b854':
  Fixing minor memory leak with name comparator.
2015-07-31 20:12:14 +00:00
Winson Chung 2285b30003 am ec70312d: Merge "Fixing issue with flash during overview transition." into ub-launcher3-burnaby
* commit 'ec70312dea4083416d2d132ea8853455b0dec616':
  Fixing issue with flash during overview transition.
2015-07-31 20:09:03 +00:00
Winson Chung e990d49534 Merge "Fixing minor memory leak with name comparator." into ub-launcher3-burnaby 2015-07-31 20:08:57 +00:00
Sunny Goyal 5d2fc32e6d Several animation calls cleanup
> Using View property instead of strings to avoid extra reflection step
> Using ViewPropertyAnimator when several properties are being animated

Change-Id: I41625643b38b70bac11e2c81d18058ec878d73bd
2015-07-31 13:07:14 -07:00
Winson Chung ec70312dea Merge "Fixing issue with flash during overview transition." into ub-launcher3-burnaby 2015-07-31 20:04:08 +00:00
Sunny Goyal d934e0b0b7 Enabling logging for migration task
Bug: 22353460
Change-Id: I8a9a8ea0d5523acb6d2376920535a9f4f519525d
2015-07-31 13:03:11 -07:00
Winson Chung e8f1d047b1 Fixing issue with flash during overview transition.
- This is due to the TransitionDrawable which does not actually
  start an animation until it is first drawn.  This workaround
  will just immediately reset the transition if it is not currently
  visible instead of animating (which is actually deferred until
  the next animation into overview mode).

Bug: 22414257
Change-Id: Id481303d0c99a20c1d16396c024ab50303f45576
2015-07-31 12:59:11 -07:00
Sunny Goyal c1729a4d15 resolved conflicts for merge of e5bb705f to ub-launcher3-master
Change-Id: Id7ec170a3c4b1415b18ad46a18d7ea69595a8992
2015-07-31 12:53:08 -07:00
Sunny Goyal e5bb705fb7 Homescreen migration from a larger grid to a smaller grid.
Adding support for restoring from a larger device, if the grid size
difference is not more that 1.
During restore add all the items in the DB, and run a one-time migration
the next time launcher starts.

The migration strategy is defined in ShrinkWorkspaceTask.java which involves
resizing, moving and removing some items.

Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
2015-07-31 12:03:33 -07:00
Adam Cohen 51e4f0f8ee am e40e77b3: am cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build breakage
* commit 'e40e77b34f6521d3caaa8eb49b9e073258e91f56':
  Add proto flag "javanano_use_deprecated_package" to avoid build breakage
2015-07-31 18:59:52 +00:00
Adam Cohen d74f7a4e96 am 42d88768: am 0ff535ea: (-s ours) Remove references to FloatMath, deprecated in M
* commit '42d88768c528d0101b78426ba7bb82043576b15c':
  Remove references to FloatMath, deprecated in M
2015-07-31 18:59:51 +00:00
Adam Cohen e40e77b34f am cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build breakage
* commit 'cb7674118c6fa6849e657fb8fea25c8fd93477cc':
  Add proto flag "javanano_use_deprecated_package" to avoid build breakage
2015-07-31 18:49:57 +00:00
Adam Cohen 42d88768c5 am 0ff535ea: (-s ours) Remove references to FloatMath, deprecated in M
* commit '0ff535eabbdf27ec5a790adbc64f27f8c63e7399':
  Remove references to FloatMath, deprecated in M
2015-07-31 18:49:57 +00:00
Adam Cohen 0284c102bc Add proto flag "javanano_use_deprecated_package" to avoid build breakage
Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894
(cherry picked from commit cb7674118c)
2015-07-31 18:45:21 +00:00
Adam Cohen cb7674118c Add proto flag "javanano_use_deprecated_package" to avoid build breakage
Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894
2015-07-31 11:15:49 -07:00
Winson Chung 452d6ba3bd am 3ea54fdb: Merge "Fixing issue with accessibility falsely reporting app count when there are no search results." into ub-launcher3-burnaby
* commit '3ea54fdb490b973e2754cb438c7341e35df3b4cc':
  Fixing issue with accessibility falsely reporting app count when there are no search results.
2015-07-31 04:10:14 +00:00
Winson Chung e940248d6b am 1014e7de: Merge "Prevent crash when flattening ComponentKey to string with invalid user." into ub-launcher3-burnaby
* commit '1014e7de0e6c62587b507342f8b477ea84fa635d':
  Prevent crash when flattening ComponentKey to string with invalid user.
2015-07-31 04:10:12 +00:00
Hyunyoung Song 47ced24711 am 176196c0: Merge "Prevent from widget cell preview image from being cut off." into ub-launcher3-burnaby
* commit '176196c0acae9872cf2d32446e558bd381a9bafa':
  Prevent from widget cell preview image from being cut off.
2015-07-31 04:10:11 +00:00
Winson Chung 3ea54fdb49 Merge "Fixing issue with accessibility falsely reporting app count when there are no search results." into ub-launcher3-burnaby 2015-07-30 23:57:08 +00:00
Winson Chung 1014e7de0e Merge "Prevent crash when flattening ComponentKey to string with invalid user." into ub-launcher3-burnaby 2015-07-30 23:46:11 +00:00
Hyunyoung Song 176196c0ac Merge "Prevent from widget cell preview image from being cut off." into ub-launcher3-burnaby 2015-07-30 22:19:49 +00:00
Hyunyoung Song b9f932e089 Prevent from widget cell preview image from being cut off.
b/22541466

>TL;DR;; when introducing mProfileBadgeMargin to correctly place
> work profile badge. Drawing origin of the preview image resulted
> to the left of (0, 0).

Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09
2015-07-30 15:04:59 -07:00
Vadim Tryshev d6c8e7eeb1 Code to enable dragging to System UI shelf.
This CL doesn’t let the new code run, it’s under a compile-time flag,
and the behavior should be same as before.

The change introduces a concept of a DragDriver, which encapsulates
behavior of the existing DND (InternalDragDriver) or the framework-
driven DND (SystemDragDriver).

An instance of DragDriver gets created by DragController for the time
while a DND operation is in progress, and it takes care of translating
DND events for DragController.

Also did some cleanups, like removing meaningless fields etc.

Plans for future: keep working in Burnaby, and:
* Perhaps, better separate DragDriver from DragController
* Detect fling gesture for system DND
* Look at accessibility
* Polish animations and appearance
* Fix dragging from folders
* Support cancelling DND

Then, it will become possible to enable new dragging (based on Android
version).

Bug: 22028725
Change-Id: I41b40e9d512d83937f5b101ac8e3e8e7e807c269
2015-07-30 13:06:25 -07:00
Adam Cohen 0ff535eabb Remove references to FloatMath, deprecated in M
-> Allows us to build against M SDK

issue 22822360

Change-Id: I1178eb6bafc348699c5be8c29858eb3dff093e11
2015-07-30 13:04:54 -07:00
Winson Chung deaf4d169b Fixing issue with accessibility falsely reporting app count when there are no search results.
Bug: 22672783
Change-Id: Ie40acc592e59699eac2a4ff2045a7f8ba029d33a
2015-07-30 12:54:27 -07:00
Winson Chung 70d5a07c5d Prevent crash when flattening ComponentKey to string with invalid user.
Bug: 22658306
Change-Id: I213d44e0bb22ac0617d46c80ab8cfec8f750a2cc
2015-07-30 12:05:41 -07:00
Sunny Goyal 168a3d1360 am fd69e0b5: Merge "Adding rank column in backup" into ub-launcher3-burnaby
* commit 'fd69e0b527b7b6c0646072325fa232313e46bbc5':
  Adding rank column in backup
2015-07-30 18:05:08 +00:00
Sunny Goyal fd69e0b527 Merge "Adding rank column in backup" into ub-launcher3-burnaby 2015-07-30 18:01:49 +00:00
Winson Chung 687ae8483d am 946609f0: Merge "Fixing overview mode scale calculations." into ub-launcher3-burnaby
* commit '946609f0ea70e1361dbe979af0e054d4c18b929b':
  Fixing overview mode scale calculations.
2015-07-28 22:54:51 +00:00
Winson Chung 946609f0ea Merge "Fixing overview mode scale calculations." into ub-launcher3-burnaby 2015-07-28 22:38:14 +00:00
Jun Mukai 40e89c1a43 Merge "Specifies descendantFocusability to Folder view." into ub-launcher3-master 2015-07-28 21:39:45 +00:00
Adam Cohen 6e9081f26e am 1584da52: am edd51ad3: am c0d915de: am e40f5ce4: am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit '1584da525219fc4327f2ad0ed3fa3ce1471c1e6a':
  Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
2015-07-28 20:18:42 +00:00
Hyunyoung Song 052d774271 am bc4ddd02: am 378529d1: am 5bd11fd6: am 0e3c5e87: am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit 'bc4ddd02f2eedb2cc12db9ea04d3853d76278d28':
2015-07-28 20:18:41 +00:00
Hyunyoung Song 96f2023405 am 102c95db: am cc619e2e: am 6ce4ac13: am e6127759: resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
* commit '102c95dbff6d166292903e40dad7b364e59ef1c9':
  resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
2015-07-28 20:18:39 +00:00
Hyunyoung Song db124b5d61 am 3335d505: am 94867800: am 680c92fe: resolved conflicts for merge of 13ef17a3 to cw-e-dev b/22609402 Change-Id: I3753db1f922923a6b462fa75a5c0d826e0413f95
* commit '3335d50582e7f36396bf0299f88742c801aebe2c':
2015-07-28 20:18:38 +00:00
Hyunyoung Song d598ec32d2 am 147d1e85: am 0c0d5463: resolved conflicts for merge of 13ef17a3 to mnc-ub-dev b/22609402
* commit '147d1e85d3f62fbaa04c0250ab4318660f020aca':
2015-07-28 20:18:38 +00:00
Adam Cohen 1584da5252 am edd51ad3: am c0d915de: am e40f5ce4: am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit 'edd51ad30741098e2110e3d0533085b02cbe752c':
  Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
2015-07-28 19:58:42 +00:00
Hyunyoung Song bc4ddd02f2 am 378529d1: am 5bd11fd6: am 0e3c5e87: am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit '378529d1149d24a640fd98581fdf06926b8a746b':
2015-07-28 19:58:41 +00:00
Hyunyoung Song 102c95dbff am cc619e2e: am 6ce4ac13: am e6127759: resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
* commit 'cc619e2eca624d293e0e7f65f82305a5d925dbf7':
  resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
2015-07-28 19:58:39 +00:00
Hyunyoung Song 3335d50582 am 94867800: am 680c92fe: resolved conflicts for merge of 13ef17a3 to cw-e-dev b/22609402 Change-Id: I3753db1f922923a6b462fa75a5c0d826e0413f95
* commit '9486780029868bc04e2bd2f2c2ed34283fa2d25d':
2015-07-28 19:58:37 +00:00
Adam Cohen edd51ad307 am c0d915de: am e40f5ce4: am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit 'c0d915deae318c4c30a55e001b01619203ad677d':
  Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
2015-07-28 19:38:19 +00:00
Hyunyoung Song 378529d114 am 5bd11fd6: am 0e3c5e87: am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit '5bd11fd60e06807a6709e1aaf16ce3c9d2448f97':
2015-07-28 19:38:18 +00:00
Hyunyoung Song cc619e2eca am 6ce4ac13: am e6127759: resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
* commit '6ce4ac13964e2ecb852dba5c2cf35c55929f8fc7':
  resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
2015-07-28 19:38:17 +00:00
Hyunyoung Song 9486780029 am 680c92fe: resolved conflicts for merge of 13ef17a3 to cw-e-dev b/22609402 Change-Id: I3753db1f922923a6b462fa75a5c0d826e0413f95
* commit '680c92febe88260b74f101838a9734b8e10a704c':
2015-07-28 19:38:17 +00:00
Sunny Goyal 5e758cae9a Merge "Changing the dogfood check to a static boolean to better handle proguard optimizations" into ub-launcher3-master 2015-07-28 19:37:00 +00:00