Commit Graph

78507 Commits

Author SHA1 Message Date
Bill Yi feb11f8dc4 Import translations. DO NOT MERGE am: 21c2d8f244 -s ours
am: 66813d0a80  -s ours

* commit '66813d0a802d910aea2b61e1837a1b37b0582753':
  Import translations. DO NOT MERGE

Change-Id: Ib2ee37579bb311f83ec3b953e581b5cb04d9c2f0
2016-06-07 20:25:10 +00:00
Bill Yi 66813d0a80 Import translations. DO NOT MERGE
am: 21c2d8f244  -s ours

* commit '21c2d8f244dae711b12339cc6e643cd34ef8dcd6':
  Import translations. DO NOT MERGE

Change-Id: Idcac20c106c76d9701b291972676610807a4a291
2016-06-07 20:22:47 +00:00
Bill Yi 99404af176 Import translations. DO NOT MERGE
am: 21c2d8f244  -s ours

* commit '21c2d8f244dae711b12339cc6e643cd34ef8dcd6':
  Import translations. DO NOT MERGE

Change-Id: I20291932d55ac2f053b239cb8c0b87c3453b26e6
2016-06-07 20:22:47 +00:00
Bill Yi 21c2d8f244 Import translations. DO NOT MERGE
Change-Id: Ifcd878b149cbe2b1b2a021024039f30aef1a36a7
Auto-generated-cl: translation import
2016-06-07 13:03:19 -07:00
Sunny Goyal 8653f1d748 Updating the app search buton text
Bug: 28774501
Change-Id: I268a2d98f70d160c91ebd8fc796f3626ae67c159
2016-06-07 10:31:49 -07:00
Sunny Goyal f5f0ffc5fd Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary
am: 2a5b356375

* commit '2a5b356375e15602acab429642064c566a1a1f4d':
  Allowing the first screen to expand to the screen edge

Change-Id: Ibcf6074646390d4cb160d0553084c498c262c77e
2016-06-07 17:14:43 +00:00
Sunny Goyal 2a5b356375 Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary 2016-06-07 17:10:33 +00:00
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
Sunny Goyal 7c786f75d1 Allowing the first screen to expand to the screen edge
This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
2016-06-06 16:41:57 -07: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
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