Commit Graph
33301 Commits
Author SHA1 Message Date
Hyunyoung Song bd3a295061 Do not remove onLayoutChangeListener on hotseat inside AllAppsTransitionController
am: 2359a68017

Change-Id: Ic42689cd37eee3d3784c94f8b8ad8e32d105e587
2016-07-07 23:24:01 +00:00
Hyunyoung Song 2359a68017 Do not remove onLayoutChangeListener on hotseat inside AllAppsTransitionController
Change-Id: I883660906b5bf59035f0382e6a448c6992a58a0c
2016-07-07 16:11:16 -07:00
Sunny Goyal 743eb74ca9 Changing isExternalDragWidget to isDragWidget as workspace goes to modal state even when dragging from workspace
am: e49a97aba0

Change-Id: I5edca107e0616db32805374afe1c77cfde01a35a
2016-07-07 22:44:22 +00:00
Sunny Goyal e49a97aba0 Changing isExternalDragWidget to isDragWidget as workspace goes to
modal state even when dragging from workspace

Bug: 29900481
Change-Id: I60ce6073b1c06ed19c75a341f9b73f6a147be889
2016-07-07 15:28:07 -07:00
Sunny Goyal 56c21ad681 Updating gradle SDK version
am: b20cbb25df

Change-Id: Ife2699d3646ee13ebdebc3c31462b89291d714b9
2016-07-07 22:10:49 +00:00
Sunny Goyal b20cbb25df Updating gradle SDK version
Change-Id: Ib65ed223e998fddd59f2284ed1ab64c794fff096
2016-07-07 15:01:50 -07:00
Sunny Goyal bd91639a11 Merge \"Calling start/stop listening in onStart/onStop\" into ub-launcher3-calgary
am: 2ee27b12e9

Change-Id: I5daac4e467351909d1f091d76d8eb8e2079ad986
2016-07-07 17:01:48 +00:00
Sunny Goyal 2ee27b12e9 Merge "Calling start/stop listening in onStart/onStop" into ub-launcher3-calgary 2016-07-07 16:50:26 +00:00
Sunny Goyal 9711d710e3 Merge \"Fixing accessibility drag and drop Since the page\'s accessibility flag is updated when entering drag mode, it does not need to be updated on state change\" into ub-launcher3-calgary
am: 27731e4d7d

Change-Id: Ice99e67126c978b69b259902e9eef353a1206be1
2016-07-07 07:42:40 +00:00
Sunny Goyal 27731e4d7d Merge "Fixing accessibility drag and drop Since the page's accessibility flag is updated when entering drag mode, it does not need to be updated on state change" into ub-launcher3-calgary 2016-07-07 07:34:38 +00:00
Hyunyoung Song 2f43ed600a Merge \"Set the all apps nav bar to black. b/29998559\" into ub-launcher3-calgary
am: 968eeebadc

Change-Id: Ia1fbc827e4b77707d27c5782fdd719a649c5d31c
2016-07-06 23:32:22 +00:00
Hyunyoung Song 968eeebadc Merge "Set the all apps nav bar to black. b/29998559" into ub-launcher3-calgary 2016-07-06 23:22:36 +00:00
Hyunyoung Song e28bd7ca86 Set the all apps nav bar to black.
b/29998559

Change-Id: Iba66b390f78fdf25b7eaf912012aabaf7df56476
2016-07-06 22:54:33 +00:00
Hyunyoung Song ea6b2e00db Second workspace page icons should not show up when all apps is shown in landscape.
am: 230b2b7f44

Change-Id: I31128947cd59041cda74d87dd1adbc5f1a784f26
2016-07-06 22:33:45 +00:00
Hyunyoung Song 230b2b7f44 Second workspace page icons should not show up when all apps is shown in landscape.
b/29931405

> Also some method names to setTranslation -> setTranslationAndAlpha to
match its implementation.

Change-Id: Icb6ec5df8a267a9024803c70a694ea9b76e5e34d
2016-07-06 15:03:59 -07:00
Sunny Goyal d8d19938e4 Fixing accessibility drag and drop
Since the page's accessibility flag is updated when entering
drag mode, it does not need to be updated on state change

Bug: 29581071
Change-Id: I1a876b4e8530601cb9bf25d097ea37780b525610
2016-07-06 11:46:36 -07:00
Bill Yi eafb684118 Import translations. DO NOT MERGE
am: 8db7d68aac  -s ours

Change-Id: If6812a764bc5d893ee1b08a7ec69bf9e1736c1c2
2016-07-06 03:22:01 +00:00
Bill Yi 7de4cda003 Import translations. DO NOT MERGE
Change-Id: I421aa25d69ee7bd09cd7e0f2182e5210be976baa
Auto-generated-cl: translation import
2016-07-05 17:13:33 -07:00
Bill Yi 8db7d68aac Import translations. DO NOT MERGE
Change-Id: I0dff7ed5910b590b7adb416f2f28240f25a9d73f
Auto-generated-cl: translation import
2016-07-05 17:13:04 -07:00
Hyunyoung Song 26cb63b4e2 Merge \"Remove relayouts b/29945805\" into ub-launcher3-calgary
am: 7111a26813

Change-Id: I0156d8f0b69609dda7be16add216f08e8e5056f7
2016-07-04 08:58:59 +00:00
Hyunyoung Song 7111a26813 Merge "Remove relayouts b/29945805" into ub-launcher3-calgary 2016-07-04 08:53:37 +00:00
Adam Cohen 2f73a9b0bb Avoid unnecessary layout passes from insets callbacks if they haven\'t changed
am: d1e0cec518

Change-Id: I3988aeb15be5a61dfbd52b62ed35c88121e47dfb
2016-07-02 22:13:54 +00:00
Hyunyoung Song 45eb757ea7 Remove relayouts
b/29945805

> Workspace relayout occurs when window flag is set to
change the status bar. This should not cause AllAppsTransitionController
to be initialized.
> Setting/Unsetting background drawables on the hotseat
also causes unnecessary layout. Fix this issue.

Change-Id: I73a3bfd3eb4bc34cf6760ffbd9826e3fef867056
2016-07-01 18:04:07 -07:00
Adam Cohen d1e0cec518 Avoid unnecessary layout passes from insets callbacks if they haven't changed
Change-Id: Ia7560bd466ff47103811a1a1795af5a5a25abb59
2016-07-01 16:55:52 -07:00
Tony Wickham c54dc4e40e Merge \"Use reflection to call LauncherApps.startShortcut().\" into ub-launcher3-calgary
am: c9e71b8876

Change-Id: I57f1d7eadd32239891edc2dd15ba4acde2882220
2016-07-01 22:15:05 +00:00
Tony Wickham c9e71b8876 Merge "Use reflection to call LauncherApps.startShortcut()." into ub-launcher3-calgary 2016-07-01 22:03:12 +00:00
Tony Wickham f25cea452f Use reflection to call LauncherApps.startShortcut().
This is necessary because it now returns void instead of boolean, but
we don't yet have the latest SDK with this change to compile against.

Change-Id: Ie4ca718bbe828fd9addfaf003a74b35d32410891
2016-07-01 13:03:37 -07:00
Andrew Sapperstein 2a316bde0e Merge \"Delete all* references to launcher clings.\" into ub-launcher3-calgary
am: b900f1cbaf

Change-Id: I7eb21f5515acb6b7efcb5c4821131c411b28f4d1
2016-07-01 18:10:06 +00:00
Andrew Sapperstein b900f1cbaf Merge "Delete all* references to launcher clings." into ub-launcher3-calgary 2016-07-01 18:03:09 +00:00
Andrew Sapperstein 932eb8313c Delete all* references to launcher clings.
Launcher clings are dead. Delete all the code and resources associated with
them.

* Did not delete the actual code the marks the cling as dismissed since it's
used in db upgrade and backup/restore paths. Figured we probably want to keep
that.

Change-Id: I28841b4a430187b62b239afeb64bee81a798e259
Fixes: 29461092
2016-07-01 10:23:20 -07:00
Andrew Sapperstein 8bab3dd369 Merge \"Stop showing first run launcher cling.\" into ub-launcher3-calgary
am: 8a4bb33472

Change-Id: I2addbe5067f917ebdf2dbfcf8ac654000df8c1e9
2016-07-01 03:21:05 +00:00
Andrew Sapperstein bf9d67d2b6 Merge \"Use colorSecondary for darker bg color.\" into ub-launcher3-calgary
am: 3da982fbab

Change-Id: Ib39cddca3737790e4aef2d61d818ce5e65929d49
2016-07-01 03:21:04 +00:00
Andrew Sapperstein 8a4bb33472 Merge "Stop showing first run launcher cling." into ub-launcher3-calgary 2016-07-01 03:12:12 +00:00
Andrew Sapperstein 3da982fbab Merge "Use colorSecondary for darker bg color." into ub-launcher3-calgary 2016-07-01 03:11:20 +00:00
Hyunyoung Song 335b346c7d Merge \"Get rid of CATCH state in verticalpulldetector\" into ub-launcher3-calgary
am: 5a2af756ea

Change-Id: I820c3283b0ddc2946b8f8d03c57da8aeb0816a0d
2016-07-01 01:39:58 +00:00
Hyunyoung Song 5a2af756ea Merge "Get rid of CATCH state in verticalpulldetector" into ub-launcher3-calgary 2016-07-01 01:33:51 +00:00
Peter Schiller 7365eb49f9 Updating all apps to match spec
am: 310a988993

Change-Id: I2ca6afbc3de70dfa76f61c1799c3e700c3f94870
2016-07-01 01:19:49 +00:00
Peter Schiller 310a988993 Updating all apps to match spec
Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
2016-06-30 18:09:51 -07:00
Hyunyoung Song 4bd25b20fa Merge \"Fix hotseat flicker b/29648104\" into ub-launcher3-calgary
am: b1e9e8d662

Change-Id: Id1b6df9958afe496f8dd224de61332df03466d9f
2016-07-01 00:39:50 +00:00
Andrew Sapperstein 8b9cb08b02 Stop showing first run launcher cling.
Followup CL will delete the dead code.

Bug: 29461092
Change-Id: Iaf96184219b7b052b7a8d97f403afec236d28437
2016-06-30 17:39:38 -07:00
Hyunyoung Song 21b7571b69 Get rid of CATCH state in verticalpulldetector
> There was a bug regarding mLastDisplacement not being cleared out, which
caused a jump of the all apps container.
> Also as a cleanup, got rid of the CATCH state.

Change-Id: Iae9af0be04cce15f2ba4e6734d1615f879921e5d
2016-06-30 17:38:58 -07:00
Hyunyoung Song b1e9e8d662 Merge "Fix hotseat flicker b/29648104" into ub-launcher3-calgary 2016-07-01 00:32:38 +00:00
Tony Wickham 8d326003c7 Merge \"Fix some issues with shortcut containers opened inside folders.\" into ub-launcher3-calgary
am: 2aa31b8fcc

Change-Id: I9659470321eca9bf9c61d74ca0873c2b66a437d3
2016-06-30 23:49:57 +00:00
Tony Wickham 2aa31b8fcc Merge "Fix some issues with shortcut containers opened inside folders." into ub-launcher3-calgary 2016-06-30 23:35:03 +00:00
Tony Wickham 2f2104ccdf Fix some issues with shortcut containers opened inside folders.
- Dragging a shortcut from a container inside a folder was buggy
  because the folder assumes that all drags are removing an item
  (so it marks the cell as unoccupied, etc.). So we just close
  the folder when dragging a shortcut.
- When the shortcuts container opened outside of a folder, touches
  on it were incercepted by DragLayer to close the folder. So we
  move the container intercept check first, and return false if the
  touch is over the container so it can handle the touch.

Change-Id: I8c5814513e99910b2930e05d9a62dfe0a0a60f3e
2016-06-30 16:34:20 -07:00
Hyunyoung Song a97c64bf9f Fix hotseat flicker
b/29648104

Change-Id: I74eea09ab5c4d03c0df3b4a82c7636299edf4d32
2016-06-30 15:30:53 -07:00
Tony Wickham 2e3e8bad73 Call bindDeepShortcuts() from runBindSynchronousPage().
am: 80f5787b1c

Change-Id: Ie3b3b2a5c3699792c552092cd601fc04b0788201
2016-06-30 22:01:32 +00:00
Andrew Sapperstein 5f7750d75c Use colorSecondary for darker bg color.
Used for widget headers and a few other places.

In order to support pre-API 25, an app-local version of colorSecondary
is created and used throughout the app. A new WidgetContainerTheme
sets colorSecondary to a canned value. On API 25+, colorSecondary
is set to the platform value.

Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00
Fixes: 28625102
2016-06-30 14:17:19 -07:00
Tony Wickham 80f5787b1c Call bindDeepShortcuts() from runBindSynchronousPage().
Otherwise Launcher's copy of the deep shortcut map is cleared when Launcher
is re-created, such as on rotation, so the UI won't show shortcuts.

Change-Id: I3bb6a904762dc4661cc2b5da28485e4bf778c9e7
2016-06-30 14:14:48 -07:00
Hyunyoung Song 4da4bb1b72 Code cleanup/ Move OnLayoutChangedListener to class level.
am: 5215b545b9

Change-Id: I0b7c2154029e3c1dd1ec0c0ae64d484cf4f84b3e
2016-06-30 18:35:42 +00:00