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
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
Hyunyoung Song
5215b545b9
Code cleanup/ Move OnLayoutChangedListener to class level.
...
Change-Id: Ifd3c7b86f61648407c8c93da9ec6d038aa996c0a
2016-06-29 21:25:33 -07:00
Bill Yi
e522b807b9
Merge \"Import translations. DO NOT MERGE\" into ub-launcher3-calgary
...
am: 798f95552b -s ours
Change-Id: I3b3fcd195350c100140b6278a8f91f3b0b4e529e
2016-06-30 03:17:18 +00:00
TreeHugger Robot
798f95552b
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
2016-06-30 03:12:19 +00:00
TreeHugger Robot
17112a7535
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
2016-06-30 03:12:02 +00:00
Bill Yi
6ffedc1f62
Import translations. DO NOT MERGE
...
Change-Id: I97ce1b4b83620c64a9bbe8ea1acd73c7b28b5a1d
Auto-generated-cl: translation import
2016-06-29 19:38:58 -07:00
Bill Yi
9deafc4750
Import translations. DO NOT MERGE
...
Change-Id: I3c1ec437db67beb06a1106d595e11c854863a771
Auto-generated-cl: translation import
2016-06-29 19:38:12 -07:00
Tony Wickham
8c2b266edd
Long-press on an app to reveal its shortcuts.
...
am: 1bce7fd342
Change-Id: Ic385a2bf37e5d743732638ca4d3788457e4140a1
2016-06-30 00:57:16 +00:00
Hyunyoung Song
f3061b113b
Merge \"Make very first pull up should always work\" into ub-launcher3-calgary
...
am: 3ccedd234a
Change-Id: Id097206e90d971cfc688f3a5d98124a4fe3ec33f
2016-06-30 00:49:46 +00:00
Tony Wickham
1bce7fd342
Long-press on an app to reveal its shortcuts.
...
- Add ShortcutsContainerListener to icons on workspace, folders, and
all apps. This handles long-press and forwards following touches to
the DeepShortcutsContainer that is created.
- Drag over shortcut before lifting finger to launch it.
- Shortcuts are rendered in pill-shaped DeepShortcutViews,
which are inside DeepShortcutContainer on DragLayer.
- The shortcut container orients above or below the icon, and left or
right-aligns with it. Biases for above + left-align.
- Long press a DeepShortcutPill to drag and pin it to the workspace.
Bug: 28980830
Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d
2016-06-29 17:48:46 -07:00
Hyunyoung Song
3ccedd234a
Merge "Make very first pull up should always work" into ub-launcher3-calgary
2016-06-30 00:41:36 +00:00
Hyunyoung Song
83fb07bb6c
Make very first pull up should always work
...
> Also delete unnecessary code.
> Fix a bug where the container doesn't snap to the top and bottom.
Change-Id: If820e9fae03d060e53ac028f8e8d827c90b354fc
2016-06-29 16:40:06 -07:00
Hyunyoung Song
cad3f4f750
Merge \"Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call\" into ub-launcher3-calgary
...
am: dff510c0a5
Change-Id: Ibafa9046086701956ebbd7fe3ff3833f65052e4e
2016-06-29 21:40:48 +00:00
Hyunyoung Song
dff510c0a5
Merge "Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call" into ub-launcher3-calgary
2016-06-29 21:34:16 +00:00
Hyunyoung Song
b047e36f2c
Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call
...
Change-Id: Idf360a3580eff2ef873e7e0c20eb5ee2355d9be7
2016-06-29 14:03:20 -07:00
Peter Schiller
cd36a76d08
Setting unused shadow to null
...
am: f9507122ec
Change-Id: I34f3c37bdae0304cfdcae3b5ab3cb1dcadb607f7
2016-06-29 20:29:06 +00:00
Peter Schiller
f9507122ec
Setting unused shadow to null
...
Change-Id: I1122cd9b6b01c18b2393ad6eb2dbc50b0460f78b
2016-06-29 13:23:24 -07:00
Peter Schiller
9fb92875f6
Merge \"Adding shadow to fast scroll indicator\" into ub-launcher3-calgary
...
am: 5a24858bb2
Change-Id: I1e4bbf0c22fedc229450d551c3aae1a6d5006466
2016-06-29 20:14:54 +00:00
Peter Schiller
5a24858bb2
Merge "Adding shadow to fast scroll indicator" into ub-launcher3-calgary
2016-06-29 20:09:54 +00:00
Peter Schiller
1d62b8a7fc
Adding shadow to fast scroll indicator
...
Bug: 29761848
Change-Id: I9db7e73fb6b8c703be21a6c3f9e2a50253a48ec7
2016-06-29 12:07:55 -07:00
Sunny Goyal
3c79d01d68
Merge \"Fixing alpha of workspace components being changed at too many places\" into ub-launcher3-calgary
...
am: 138b23bd71
Change-Id: I42a53d18bd1297cb022bcca48a7be9de5aeb5675
2016-06-29 01:27:46 +00:00
Sunny Goyal
138b23bd71
Merge "Fixing alpha of workspace components being changed at too many places" into ub-launcher3-calgary
2016-06-29 01:20:00 +00:00
Hyunyoung Song
74f5ed3538
Merge \"All apps icons should become clickable\" into ub-launcher3-calgary
...
am: 26def23702
Change-Id: I8d0277113b7349766fde8c739bcb708b79db9570
2016-06-28 23:53:06 +00:00