Commit Graph

49925 Commits

Author SHA1 Message Date
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 9bc44c3c81 am f196394d: Merge "Add drop animation / Toast to widgettray" into ub-launcher3-burnaby
* commit 'f196394dee696752e9d5da32621caee374e52f8b':
  Add drop animation / Toast to widgettray
2015-04-24 19:59:02 +00: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 3e2d3535e0 am e2df0620: Adding LongArrayMap as a replacement for HashMap<Long, E>
* commit 'e2df0620c13b9dc7e63224153b98fdbb48546f9b':
  Adding LongArrayMap as a replacement for HashMap<Long, E>
2015-04-24 19:47:46 +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 99b97ddef5 am 1a70cef9: Accessibility fixes
* commit '1a70cef9884270f2f0a760f079a10fdfb1544c98':
  Accessibility fixes
2015-04-24 18:45:53 +00: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 6287cbe3e4 am ad4ba813: Merge "Clearing all pending runnables when Launcher is destroyed." into ub-launcher3-burnaby
* commit 'ad4ba81384a08ec3ac6149b3a8c73e23d122026f':
  Clearing all pending runnables when Launcher is destroyed.
2015-04-24 17:41:43 +00: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 4500ebb5c3 am 978f16d2: Merge "Moving item to its old position in folder if DnD is cancelled" into ub-launcher3-burnaby
* commit '978f16d2e3c2e24a3fb6195957899c7556bcf587':
  Moving item to its old position in folder if DnD is cancelled
2015-04-23 23:43:17 +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 26c3c64e8d am cabc4e51: Rearranging drop target relative positions
* commit 'cabc4e5159ffa8ac6600418a204d8720fd41c913':
  Rearranging drop target relative positions
2015-04-23 22:06:59 +00: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 1ae64c5777 am 3748c5e7: Merge "Fixing missing updates in package install sessions" into ub-launcher3-burnaby
* commit '3748c5e73107fbfb8bd315653336083578c49026':
  Fixing missing updates in package install sessions
2015-04-23 17:31:59 +00: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 93e716be71 am 685f98b2: Merge "Widgettray UI tweak that introduces bounding box around the widgets." into ub-launcher3-burnaby
* commit '685f98b2e23465c7f12839590663b53a40e36527':
  Widgettray UI tweak that introduces bounding box around the widgets.
2015-04-22 21:40:59 +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
Neil Fuller f96d6fa4a1 Remove usage of FloatMath
Cherry pick of commit ba41458f5c
plus changes to BitmapUtils.java.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I2effc3f498fb13e66de9a905b9a40ac5688a5850
2015-04-22 16:16:16 +00:00
Geoff Mendal 11b848bb4a Import translations. DO NOT MERGE
Change-Id: I3a26b2cea1c07962922548e026933df4a52bda4e
Auto-generated-cl: translation import
2015-04-22 08:01:14 -07:00
Sunny Goyal 11029896bd am 7372fc65: Merge "Using a different userManager class as getUserForSerialNumber gives a valid userHandle for deleted user." into ub-launcher3-burnaby
* commit '7372fc659ed16c2e14a64a3d78a2c63554005844':
  Using a different userManager class as getUserForSerialNumber gives a valid userHandle for deleted user.
2015-04-22 01:57:10 +00: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 3e4f5186f3 am 9fcedccf: Merge "Refactoring to single path for overview mode." into ub-launcher3-burnaby
* commit '9fcedccf5e6387a406e139df68127b04b6ffc1ee':
  Refactoring to single path for overview mode.
2015-04-21 23:58:49 +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 5039a5993f am 31a18f1d: Merge "Remove duplicate calls to getSortedWidgetsAndShortcuts" into ub-launcher3-burnaby
* commit '31a18f1d8140cb41a8f0076ff250930c973eca25':
  Remove duplicate calls to getSortedWidgetsAndShortcuts
2015-04-21 23:40:32 +00:00
Hyunyoung Song 5a2244cb9d am 393631d4: am 3af56b60: (-s ours) Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873
* commit '393631d4b5600c33bd5ebe4ed21c5a49e6f5f66e':
  Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873
2015-04-21 23:40:31 +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 dbc5dc43cf am 22633476: am 68fdeaad: (-s ours) Stop using custom activity transition, rely on system default in these cases
* commit '22633476f76182e10641362b5632bf5d27bd6e82':
  Stop using custom activity transition, rely on system default in these cases
2015-04-21 22:39:37 +00:00
Sunny Goyal 79ba31ccca am 7e2a3608: Preventing concurrent modification exception during widget restore
* commit '7e2a3608b6fa51c884e051625e10d13597cb8796':
  Preventing concurrent modification exception during widget restore
2015-04-21 22:39:36 +00: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 2fbfc5f585 am d5a03eb0: Ensuring that we skip item decoration drawing when there are no apps.
* commit 'd5a03eb0b3015e8d307299ea2c8771b3b204a6ea':
  Ensuring that we skip item decoration drawing when there are no apps.
2015-04-21 00:33:36 +00: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 0e4b726b6b am 4897af52: Merge "Notify data-set changed when new items are added/removed." into ub-launcher3-burnaby
* commit '4897af520533115aebf375e554e0b140be95d3c5':
  Notify data-set changed when new items are added/removed.
2015-04-20 04:49:33 +00: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
Hyunyoung Song fce0a7816b am 4cea4c83: WidgetTray UI tweak
* commit '4cea4c830283e017fc36197cfe9d7ce713aec49d':
  WidgetTray UI tweak
2015-04-20 02:36:40 +00:00
Hyunyoung Song 4cea4c8302 WidgetTray UI tweak
- set fixed image view width
- fade in when widget bitmap populates
- widget dimension is next to the widget name text.
- elevation of the widgets content and the reveal view is the same

b/19897708

Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9
2015-04-19 19:25:49 -07:00
Winson Chung 75ae8d3bf9 Notify data-set changed when new items are added/removed.
- Temporarily use the full data-set changed call, when possible, we'll moved
  to the SortedList in the support lib which will take care of most of this
  for us.

Bug: 20363676
2015-04-19 16:10:34 -07:00
Geoff Mendal 832f74fe73 Import translations. DO NOT MERGE
Change-Id: I25d6b71e83df20224d992aa9b010782fff33d793
Auto-generated-cl: translation import
2015-04-17 23:59:03 -07:00