Sunny Goyal
31abc291de
Clearing drag state after the close animation is complete
...
Bug: 19350802
Change-Id: I048dfa2743692c6c7d56dcacab900ec2d17504ed
2015-05-01 10:43:25 -07:00
Hyunyoung Song
111c83579a
Removes code that is incompatible with google3, Velvet build rules.
...
Change-Id: Ibce31b52f5ffc4a03bdd48c575521c774f17a353
2015-04-30 15:43:26 -07:00
Sunny Goyal
9aaef938c3
Removing debug log
...
Change-Id: Ifb6adc0826d744f2bbc654c37c2470754f364a2b
2015-04-30 10:32:25 -07:00
Sunny Goyal
65d076b2ff
Merge "Enabling accessibility drag and drop in folder" into ub-launcher3-burnaby
2015-04-30 00:43:55 +00:00
Sunny Goyal
a911672f45
Simplifying add to workspace by not going through the worker thread
...
Change-Id: I3260786bee257aea93ade49e6fa18008232addbe
2015-04-29 14:58:17 -07:00
Sunny Goyal
9b03205432
Merge "Enabling folder paged view to scroll itself with accessibility focus traversal" into ub-launcher3-burnaby
2015-04-29 18:44:20 +00:00
Sunny Goyal
29a627ed3a
Merge "Animating dragview color change when dragging over ButtonDropTarget" into ub-launcher3-burnaby
2015-04-29 18:42:10 +00:00
Sunny Goyal
e2f7268df9
Merge "Removing obsolete resources" into ub-launcher3-burnaby
2015-04-29 18:41:36 +00:00
Sunny Goyal
fe0d1f2458
Animating dragview color change when dragging over ButtonDropTarget
...
Change-Id: I642438be681769812302dba0b6deca38f89f7a16
2015-04-29 11:25:16 -07:00
Sunny Goyal
ca5719780b
Merge "Updating drop target assets" into ub-launcher3-burnaby
2015-04-29 18:20:25 +00:00
Sunny Goyal
c525d80dcd
Removing obsolete resources
...
Change-Id: I9a8d3d23e772a3ffc161ac97a5f08808aab79d5b
2015-04-29 11:18:27 -07:00
Sunny Goyal
3a2698b308
Updating drop target assets
...
Change-Id: I33f7dc30b10a617ae4784f067491ab01b27b7733
2015-04-28 21:38:56 -07:00
Sunny Goyal
db184fdc7b
Enabling folder paged view to scroll itself with accessibility focus traversal
...
Change-Id: I9095d5bf2de8e2053e0aaa27fb385b158e493964
2015-04-28 20:43:07 -07:00
Sunny Goyal
73a22a58ce
Using utility method for serializing bitmap
...
Change-Id: I066f40cf867326b0a116351f00b19350b4c26912
2015-04-28 16:51:29 -07:00
Sunny Goyal
e9b651eef1
Enabling accessibility drag and drop in folder
...
> Moving DragAndDropAccessibilityDelegate to a separate class
> Using getFocusedVirtualView() instead of using DownX and downY
> Updating various accessibility strings
Bug: 19776741
Change-Id: I85c2551d4d6172c30702e68f41b114bb999655b6
2015-04-28 16:06:46 -07:00
Hyunyoung Song
559d90d0da
WidgetPreviewLoader concurrency issue / Caching improvement
...
1) Concurrency issue: unused bitmap was not properly synchronized
which caused concurrency issue. Hence, leading current widget tray
implementation to not use it. (a.k.a. cancel(false)).
Issue fixed and now using the unused bitmap pool.
2) Caching improvement: LoadedBitmap cache was a legacy support system
for the old widget tray implementation. On our latest implementation,
cache and recycled view is completely being managed by the recycler view.
Hence removed.
Change-Id: I843e6a286b676f283172f2c1ef5cbeed0a9fb17f
2015-04-28 15:06:45 -07:00
Hyunyoung Song
341220b954
Merge "Widget tray alignment according to UX spec - Fixing an issue where widget preview is not loaded do to faulty canceling of loading async task when view is detached from the window." into ub-launcher3-burnaby
2015-04-28 00:13:27 +00:00
Hyunyoung Song
f17a1c9ad9
Widget tray alignment according to UX spec
...
- Fixing an issue where widget preview is not loaded do to faulty
canceling of loading async task when view is detached from the window.
b/20338334
Change-Id: I1e3bd6b6cdafda8d1e0a7a0e87c8089100c341a7
2015-04-27 17:01:32 -07:00
Sunny Goyal
d23cfce087
Merge "Making QSB alingment match with that of recents" into ub-launcher3-burnaby
2015-04-27 23:48:21 +00:00
Sunny Goyal
8167dc2dcf
Goodbye folder sorting
...
> Removing all traces of folder sorting
Change-Id: Id77a7745564c869f5c5c1b3a560bf606fe08b107
2015-04-27 14:02:06 -07:00
Sunny Goyal
f782fb5258
Merge "Removing some unused method params from CellLayout" into ub-launcher3-burnaby
2015-04-25 00:23:47 +00:00
Sunny Goyal
f7a29e83f0
Removing some unused method params from CellLayout
...
> Replacing various distance calculations with Math.hypot
> Moving findVacantCell to Utilities
Change-Id: I0cb194b603e52b3bb2b29a095bb4da2bb408ab13
2015-04-24 15:28:20 -07:00
Adam Cohen
d47d90224a
Merge "Add override method to fix building against master support lib." into ub-launcher3-burnaby
2015-04-24 21:28:07 +00:00
Winson Chung
ba17ad75f0
Add override method to fix building against master support lib.
2015-04-24 13:59:17 -07:00
Hyunyoung Song
f196394dee
Merge "Add drop animation / Toast to widgettray" into ub-launcher3-burnaby
2015-04-24 19:48:52 +00:00
Sunny Goyal
e2df0620c1
Adding LongArrayMap as a replacement for HashMap<Long, E>
...
Change-Id: I4710e6db69abcdbd897a8401fc8b980c09e2ffef
2015-04-24 12:35:29 -07:00
Sunny Goyal
1a70cef988
Accessibility fixes
...
> Enabling top bar buttons in accessibility drag-drop
> Unifying logic to show delete/uninstall/app-info targets
> Announcing cell loction as 1-index instead of 0-index
Change-Id: Ibc7801f77e938b2646f0655462cbe9b7f781818b
2015-04-24 10:47:56 -07:00
Sunny Goyal
ad4ba81384
Merge "Clearing all pending runnables when Launcher is destroyed." into ub-launcher3-burnaby
2015-04-24 17:31:28 +00:00
Sunny Goyal
978f16d2e3
Merge "Moving item to its old position in folder if DnD is cancelled" into ub-launcher3-burnaby
2015-04-23 23:33:06 +00:00
Sunny Goyal
b8c663c492
Moving item to its old position in folder if DnD is cancelled
...
Change-Id: I6362ef23b346409e8517a03e63dee974294a3a18
2015-04-23 16:32:10 -07:00
Sunny Goyal
d33860f2cc
Clearing all pending runnables when Launcher is destroyed.
...
Change-Id: I00596c11116b5579c1f013b268b6c0b5239f0aa7
2015-04-23 16:18:40 -07:00
Hyunyoung Song
b99ff3e832
Add drop animation / Toast to widgettray
...
- show instruction toast on clicking the widget
- Add animation when widget drops on the workspace.
Added WidgetHostViewLoader to handle short press and assign widget
host view to enable animation
b/19897708
Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d
2015-04-23 15:17:50 -07:00
Sunny Goyal
cabc4e5159
Rearranging drop target relative positions
...
> It will now show either [Remove, Uninstall] or [App Info, Uninstall]
Bug: 20529800
Change-Id: Ifda6f24cca5c38e84c68560cbeb5f29bade75b6a
2015-04-23 14:57:19 -07:00
Sunny Goyal
d9cc780fad
Making QSB alingment match with that of recents
...
Change-Id: I6be59c721cbd163641013ca6c5e1776cf2162a0d
2015-04-23 14:48:04 -07:00
Sunny Goyal
3748c5e731
Merge "Fixing missing updates in package install sessions" into ub-launcher3-burnaby
2015-04-23 17:26:35 +00:00
Hyunyoung Song
685f98b2e2
Merge "Widgettray UI tweak that introduces bounding box around the widgets." into ub-launcher3-burnaby
2015-04-22 21:32:14 +00:00
Hyunyoung Song
475784a4eb
Widgettray UI tweak that introduces bounding box around the widgets.
...
Note: waiting on more polished UX spec right now.
But until then, these padding and dimensions are what is used to get the
bounding box around the widgets.
Change-Id: I7a6a5fa04bbdb135b39291cb671b9a719fcdc4fc
2015-04-22 13:59:20 -07:00
Sunny Goyal
756adbc3e4
Fixing missing updates in package install sessions
...
> Ensure icon cache never returns null icon
> Enabling install shortuct receiver only after workspace has finished binding
> Making all the model changes for package installs on worker thread and only
posting the updaes on the UI
> Making shortcut exists check on the loaded items and not on the DB
> Explicitely using worker thread for PckageInstallListener
> Removing backward compatibility support from PackageInstallerCompat
Change-Id: I9592771b9670c1c1c84c8208cae8dafa7b393e65
2015-04-22 10:08:14 -07:00
Sunny Goyal
7372fc659e
Merge "Using a different userManager class as getUserForSerialNumber gives a valid userHandle for deleted user." into ub-launcher3-burnaby
2015-04-22 01:44:56 +00:00
Winson Chung
9fcedccf5e
Merge "Refactoring to single path for overview mode." into ub-launcher3-burnaby
2015-04-21 23:52:08 +00:00
Hyunyoung Song
31a18f1d81
Merge "Remove duplicate calls to getSortedWidgetsAndShortcuts" into ub-launcher3-burnaby
2015-04-21 23:30:58 +00:00
Hyunyoung Song
393631d4b5
am 3af56b60: (-s ours) Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873
...
* commit '3af56b605217e4ff1c6ed79a70fa49eacaf5b02f':
Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873
2015-04-21 23:29:58 +00:00
Hyunyoung Song
d4af148444
Remove duplicate calls to getSortedWidgetsAndShortcuts
...
Note: this is a manual CP of the CL that was submitted to ub-launcher3-almonte
b/19904873
Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
2015-04-21 16:07:30 -07:00
Winson Chung
dc61c4d414
Refactoring to single path for overview mode.
...
Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
2015-04-21 15:54:22 -07:00
Adam Cohen
22633476f7
am 68fdeaad: (-s ours) Stop using custom activity transition, rely on system default in these cases
...
* commit '68fdeaadc621b7a9200f5c75790eb756a1983d02':
Stop using custom activity transition, rely on system default in these cases
2015-04-21 20:58:44 +00:00
Sunny Goyal
7f834d2b30
Using a different userManager class as getUserForSerialNumber gives
...
a valid userHandle for deleted user.
> Also chaching the user handles during loader to avoid multiple
calls for UserManager
Bug: 19389411
Change-Id: I95af3b41b2c9d2ea41d9a75b1020656f57f5e4c9
2015-04-21 10:13:03 -07:00
Hyunyoung Song
3af56b6052
Remove duplicate calls to getSortedWidgetsAndShortcuts
...
b/19904873
Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
2015-04-20 21:22:46 -07:00
Sunny Goyal
7e2a3608b6
Preventing concurrent modification exception during widget restore
...
Change-Id: If896c5ea7136d132f30be8127b651449bde17447
2015-04-20 18:19:25 -07:00
Winson Chung
d5a03eb0b3
Ensuring that we skip item decoration drawing when there are no apps.
...
Bug: 20431579
Change-Id: I870c43ff8a94e2cb2c68869f2a31001d028ad58a
2015-04-20 17:27:53 -07:00
Winson Chung
4897af5205
Merge "Notify data-set changed when new items are added/removed." into ub-launcher3-burnaby
2015-04-20 04:40:42 +00:00