Commit Graph

11663 Commits

Author SHA1 Message Date
Sunny Goyal 2478d2efec Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary
am: 4c395f2367

* commit '4c395f23673f9a42b51ce7b47be0940ce846e03d':
  Removing the SearchDropTarget bar as it no longer contains the QSB

Change-Id: I7936ae1d3e8cadb6bea44b9eeb1ad3e978706862
2016-06-07 17:08:59 +00:00
Sunny Goyal 4c395f2367 Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary 2016-06-07 17:05:19 +00:00
Hyunyoung Song f88953d2ea Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary
am: 033f4ea716

* commit '033f4ea716e295b34c58d4c59c891e45805c2f0d':
  Guard all apps pull up work behind the flag

Change-Id: Id2e20c3ca403d5e2e23a23289d4d08a4c64e03ba
2016-06-07 04:24:27 +00:00
TreeHugger Robot 033f4ea716 Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary 2016-06-07 04:18:24 +00:00
Hyunyoung Song b11ae50fcb Guard all apps pull up work behind the flag
b/28917826

Change-Id: Ic001d820bad777d90c6bdcd1a17b6961e38769be
2016-06-06 21:04:36 -07:00
Bill Yi 1bb337f215 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
am: e9c5f8925f  -s ours

* commit 'e9c5f8925f79e559be64202117d7e89c29034304':
  Import translations. DO NOT MERGE

Change-Id: I6b28d550dffca34e2c5ce27dcd289d12d013d177
2016-06-07 02:28:18 +00:00
TreeHugger Robot e9c5f8925f Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-06-07 02:25:29 +00:00
TreeHugger Robot 9c84424814 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-06-07 02:24:56 +00:00
Bill Yi ff76b90a62 Import translations. DO NOT MERGE
Change-Id: Id5cb43a9bce01723cce1bf61670ba5d2210a59cf
Auto-generated-cl: translation import
2016-06-06 16:28:13 -07:00
Bill Yi c094eeff75 Import translations. DO NOT MERGE
Change-Id: Ia6c33079c6d94e4e6045fba33317f886cc6d9907
Auto-generated-cl: translation import
2016-06-06 16:27:25 -07:00
Sunny Goyal 47328fd53f Removing the SearchDropTarget bar as it no longer contains the QSB
> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top

Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
2016-06-06 16:15:46 -07:00
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
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
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
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 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