Commit Graph
47938 Commits
Author SHA1 Message Date
Hyunyoung Song b6d79290ef Merge "Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary
am: 63741779e5

* commit '63741779e564ea9c6814800199b994f7464906db':
  Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

Change-Id: I8b8ed62b8ea945e7931a90b8b6e95ff358ed492b
2016-06-06 21:27:06 +00:00
Hyunyoung Song 63741779e5 Merge "Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary 2016-06-06 21:20:45 +00:00
Hyunyoung Song 645764e3e5 Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/28917826

Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
2016-06-06 14:19:02 -07:00
Winson 86e3dc4fc5 Adding null check for uninitialized CollectionItemInfo.
Bug: 28893815
Change-Id: Ib75b71fbb4d37bb818251527defcef891c7e7510
2016-06-06 11:36:58 -07:00
Sunny Goyal 1c22ed6595 Fixing memory leak in QSB widget
am: 02d3d43d97

* commit '02d3d43d97a06b8066495de8eeb63a46ee98b7f2':
  Fixing memory leak in QSB widget

Change-Id: I62720392a36fc67aa399b862bd14e69db9e54e2f
2016-06-03 21:15:52 +00:00
Sunny Goyal 02d3d43d97 Fixing memory leak in QSB widget
> Instead of recreating the whole fragment, only recreating the views
when reinflating
> Binding the fragment in xml instead of in code

This prevents duplicate fragment binding

Bug: 29120662
Change-Id: I25b942f64d68f25e1358f15d8a919daeebdcff9c
2016-06-03 13:38:52 -07:00
Sunny Goyal e7d7304fcb Replacing overview panel icons with vector drawables
Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
2016-06-03 11:21:47 -07:00
Tony Wickham c61cd7c488 Merge "Animate size and position of page indicator when adding/removing page" into ub-launcher3-calgary
am: 795e37cd62

* commit '795e37cd6246c50c62514dd7b9758c11d4397b0f':
  Animate size and position of page indicator when adding/removing page

Change-Id: Ia91474f46a8d6d9007a4b71598c0f97ab75874f0
2016-06-02 18:31:54 +00:00
Tony Wickham 795e37cd62 Merge "Animate size and position of page indicator when adding/removing page" into ub-launcher3-calgary 2016-06-02 18:27:56 +00:00
Tony Wickham 034bc3c01c Animate size and position of page indicator when adding/removing page
Change-Id: I85f37a4e0aeb8c3fd0bd8da3b90338d0333a84d5
2016-06-01 17:59:37 -07:00
Sunny Goyal 65ffa15c90 Adding null check when widget provider changed is received as it can come
after the activity is destroyed.

Bug: 28791862
Change-Id: I521931b772a611e15f0757db72b441ebb937e262
2016-06-01 14:29:25 -07:00
Bill Yi 3e574eb3bf Import translations. DO NOT MERGE
am: 074290b873  -s ours

* commit '074290b873811365a0ce8be78bc2c3d9335756d4':
  Import translations. DO NOT MERGE

Change-Id: Iae994be8dfbaa44f9783bbb5c390d784ecfdbdcb
2016-06-01 15:26:27 +00:00
Bill Yi 713a6861de Import translations. DO NOT MERGE
Change-Id: I6450636d1dc024bc8f51f00fce4eda1dff181a04
Auto-generated-cl: translation import
2016-06-01 07:22:01 -07:00
Bill Yi 074290b873 Import translations. DO NOT MERGE
Change-Id: I98b86e3d83370b4548154c5b290faffa1f05ca5c
Auto-generated-cl: translation import
2016-06-01 07:21:12 -07:00
Tony Wickham 33bcbb021f Only show workspace page indicator when scrolling or in spring-loaded mode.
am: d4b28d2e1b

* commit 'd4b28d2e1bb73fcdb1e46bb06e1666e27af2e643':
  Only show workspace page indicator when scrolling or in spring-loaded mode.

Change-Id: I3afc27e84f81862eb1d7f2e0ec9b285f21406b47
2016-06-01 00:38:22 +00:00
Tony Wickham d4b28d2e1b Only show workspace page indicator when scrolling or in spring-loaded mode.
- Stop showing indicator when resuming or ending transitions.
- In spring-loaded mode, prevent page indicator from auto-hiding.

Change-Id: I87070d2d8f46cf491e60380aed5540196f2fbba3
2016-05-31 17:00:41 -07:00
Sunny Goyal e3abc39ce0 Disabling stricty mode checks when launching an activity.
am: 85fc55a976

* commit '85fc55a976a1f1605ad22deff74f5ceb080913e6':
  Disabling stricty mode checks when launching an activity.

Change-Id: I251843ed4926781c54e8eb1feb7d9b309b8f4127
2016-05-31 20:53:10 +00:00
Sunny Goyal d2a6ed36a2 Disabling stricty mode checks when launching an activity.
The default strict mode policy in NYC cause death penalty when
when sharing file URI in intent. This causes launcher to crash
for users who have shortcuts of images and documents on their
homescreen.

Bug: 28853579
Change-Id: If84cd5ff732713aaff5d3164edf428c8b4233ea2
(cherry picked from commit 85fc55a976)
2016-05-31 20:46:23 +00:00
Sunny Goyal 85fc55a976 Disabling stricty mode checks when launching an activity.
The default strict mode policy in NYC cause death penalty when
when sharing file URI in intent. This causes launcher to crash
for users who have shortcuts of images and documents on their
homescreen.

Bug: 28853579
Change-Id: If84cd5ff732713aaff5d3164edf428c8b4233ea2
2016-05-31 12:51:08 -07:00
Sunny Goyal 9f3d0c4f84 Moving the QSB to the workspace grid.
am: da4fe1a624

* commit 'da4fe1a6244457f144e0a331cada3ada17157809':
  Moving the QSB to the workspace grid.

Change-Id: Ibfd0109be932430047c1dc177f62e71d42dd3d1f
2016-05-29 11:47:13 +00:00
Sunny Goyal da4fe1a624 Moving the QSB to the workspace grid.
The QSB will only be resent on the first screen of the workspace
covering the full width of the first row. If will not be movable.
The first screen of the workspace will not be movable.
The searchDropTargetBar no longer contains the QSB (it can be
renamed in aseparate cl).

Refactoring all QSB related logic by moving it to a custom view
inflated only using xml.
Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
2016-05-27 18:23:29 -07:00
Hyunyoung Song 1d9cde8080 Merge "Add feature flag for all apps pull up work." into ub-launcher3-calgary
am: c54c701a94

* commit 'c54c701a94e213503d0c6d2ff414e91a50c14133':
  Add feature flag for all apps pull up work.

Change-Id: Id7c8047a018284cc2c30a88cc7d1e53cf2339f37
2016-05-27 19:21:53 +00:00
Sunny Goyal 98e9aef982 Fixing comments
am: c0cc264b03

* commit 'c0cc264b038be882d473327e5bd525e5120faf80':
  Fixing comments

Change-Id: Ifd20a99cbcfe034f9b5f311bd6fe48a9ca6854c1
2016-05-27 19:21:50 +00:00
Sunny Goyal b9b1becb24 Merge "Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray" into ub-launcher3-calgary
am: 0b50421583

* commit '0b50421583ec98ae1252342e8847e8554307bc90':
  Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray

Change-Id: I7bf41675c9a8e5deef78aa4c1eb5cca89d11f846
2016-05-27 19:16:19 +00:00
Hyunyoung Song c54c701a94 Merge "Add feature flag for all apps pull up work." into ub-launcher3-calgary 2016-05-27 19:15:16 +00:00
Sunny Goyal c0cc264b03 Fixing comments
Change-Id: I412fef8e07d91548beb8a5431d6aa86611237f69
2016-05-27 12:11:45 -07:00
Hyunyoung Song 71566db28d Add feature flag for all apps pull up work.
b/28917826

Change-Id: I98b647694b1041ef4061dcd6297b63f11fddc7ea
2016-05-27 12:10:03 -07:00
Sunny Goyal 0b50421583 Merge "Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray" into ub-launcher3-calgary 2016-05-27 19:00:44 +00:00
Sunny Goyal 30768cbdb0 Refactoring out grid occupancy management in a separate class
am: ff4ba2d995

* commit 'ff4ba2d99593ed84963b3f71c555b529dd905835':
  Refactoring out grid occupancy management in a separate class

Change-Id: I1174958b1398fe702a463bc3ecb6ed36fcf477f8
2016-05-27 16:31:11 +00:00
Sunny Goyal ff4ba2d995 Refactoring out grid occupancy management in a separate class
Change-Id: I37a830c0f2eb0a0dd4f5fc78fa29127cb18cb3c2
2016-05-27 09:12:26 -07:00
Sunny Goyal 78846af805 Merge "Showing a permission dialog when a restored widget is not yet bound, and launcher does not has the permission to bind the widget" into ub-launcher3-calgary
am: 3c4b03dd01

* commit '3c4b03dd01b89a4d4beba6a866ae3bb9093e101e':
  Showing a permission dialog when a restored widget is not yet bound, and launcher does not has the permission to bind the widget

Change-Id: I600bdca4445bd8df3d0b2c3040367cdbf0c1482d
2016-05-27 00:53:05 +00:00
Sunny Goyal 3c4b03dd01 Merge "Showing a permission dialog when a restored widget is not yet bound, and launcher does not has the permission to bind the widget" into ub-launcher3-calgary 2016-05-27 00:44:57 +00:00
Sunny Goyal d478c83fd6 Showing a permission dialog when a restored widget is not yet bound, and launcher
does not has the permission to bind the widget

Change-Id: I51d32b9958f82671b928d559105129261fb8f268
2016-05-26 17:44:29 -07:00
Sunny Goyal 6d02c7a033 Adding some UI tests
> Launcher app from all-apps
> Drag icon to all-apps and launch it
> Add widget from widget tray

Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7
2016-05-26 17:20:22 -07:00
Sunny Goyal 50f3d07005 Merge "Adding a loading view for widgets list" into ub-launcher3-calgary
am: 5c93eac3ae

* commit '5c93eac3ae163a5a3d866db24d9b853caa9b9f88':
  Adding a loading view for widgets list

Change-Id: I1c2a186cbe0ab9798f5d9b4ba53e8e8d91b89781
2016-05-26 23:49:35 +00:00
Sunny Goyal 5c93eac3ae Merge "Adding a loading view for widgets list" into ub-launcher3-calgary 2016-05-26 23:40:06 +00:00
Bill Yi 3bb009e19e Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: 3c62137adf  -s ours

* commit '3c62137adf79673abb5400da7e310df11f61c932':
  Import translations. DO NOT MERGE

Change-Id: Ic214b463fc7ef3ab01cd764d19f74cf0b675a349
2016-05-26 17:28:47 +00:00
TreeHugger Robot 3c62137adf Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-05-26 17:03:47 +00:00
TreeHugger Robot 20a51f8fe4 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-05-26 17:03:31 +00:00
Kenny Guy 3eddc3b38a Update wallpaper API to match NYC change.
am: 367da9f422

* commit '367da9f422e7fad45da351e79b1ade29c366ef7e':
  Update wallpaper API to match NYC change.

Change-Id: Ibbe678bc3acf446586c4be86cf0f8107a4f366d7
2016-05-26 15:07:25 +00:00
Kenny Guy 367da9f422 Update wallpaper API to match NYC change.
Update check for whether setting wallpaper
is allowed for renamed API.

Bug: 28954131
Change-Id: I09ee46167d59d267ba95d136366f78f5735ea9a5
2016-05-26 11:11:06 +00:00
Bill Yi 6ee09c1f9a Import translations. DO NOT MERGE
Change-Id: I313e48bdf98902a6698135246da430b14fc61e0a
Auto-generated-cl: translation import
2016-05-25 18:39:12 -07:00
Bill Yi b3290fd1d1 Import translations. DO NOT MERGE
Change-Id: I3e46a07d27c7e8578532ec595aae472e67c0764d
Auto-generated-cl: translation import
2016-05-25 18:38:23 -07:00
Sunny Goyal 9a947f46bf Merge "Storing the widget item views in Widget holder, to avoid looks on every bind/recycle" into ub-launcher3-calgary
am: c2978a241b

* commit 'c2978a241bcf0b7bed45705b9a08ebb787095931':
  Storing the widget item views in Widget holder, to avoid looks on every bind/recycle

Change-Id: I3b05b274151cffbd015e2db2ae46fb350311f022
2016-05-25 20:48:35 +00:00
Sunny Goyal c2978a241b Merge "Storing the widget item views in Widget holder, to avoid looks on every bind/recycle" into ub-launcher3-calgary 2016-05-25 20:38:51 +00:00
Sunny Goyal 6be8c864f8 Merge "Removing logic for workspace migration from Launcher2" into ub-launcher3-calgary
am: b765b182a4

* commit 'b765b182a4f77a5c1a3996d418ca861ca3cb2001':
  Removing logic for workspace migration from Launcher2

Change-Id: I2997df8ece5f28ac8be151d7694c01f1fb7e41e8
2016-05-25 19:37:32 +00:00
Sunny Goyal b765b182a4 Merge "Removing logic for workspace migration from Launcher2" into ub-launcher3-calgary 2016-05-25 19:26:18 +00:00
Kenny Guy ad3ca7d1bf Update wallpaper API to match NYC change.
Update check for whether setting wallpaper
is allowed for renamed API.

Bug: 28954131
Change-Id: I09ee46167d59d267ba95d136366f78f5735ea9a5
2016-05-25 19:22:14 +01:00
Sunny Goyal 1d914db3bd Merge "Separating out configs and common manifest entries" into ub-launcher3-calgary
am: 72f9161b75

* commit '72f9161b75686ff3377387e14f437bae9c942f6a':
  Separating out configs and common manifest entries

Change-Id: I80d51641b6432c762bcb4f34efb3e27b96c0e168
2016-05-24 22:26:47 +00:00
Sunny Goyal 72f9161b75 Merge "Separating out configs and common manifest entries" into ub-launcher3-calgary 2016-05-24 22:19:10 +00:00