Commit Graph

78507 Commits

Author SHA1 Message Date
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
Winson Chung 10d336310b am 7af216ff: Merge "Fixing build." into ub-launcher3-burnaby
* commit '7af216ff04b7f0c3852119b476d8f692edfcaaa7':
  Fixing build.
2015-04-17 23:30:44 +00:00
Winson Chung 7af216ff04 Merge "Fixing build." into ub-launcher3-burnaby 2015-04-17 23:21:49 +00:00
Winson Chung 2826a401ed Fixing build. 2015-04-17 16:19:46 -07:00
Winson Chung 682deae3eb am e6556396: Merge "Accounting for recent changes in padding when detecting backgound taps to close AllApps." into ub-launcher3-burnaby
* commit 'e655639609f3e6ae3124034860f975a66026a832':
  Accounting for recent changes in padding when detecting backgound taps to close AllApps.
2015-04-17 23:02:23 +00:00
Winson Chung e655639609 Merge "Accounting for recent changes in padding when detecting backgound taps to close AllApps." into ub-launcher3-burnaby 2015-04-17 22:56:48 +00:00
Sunny Goyal 88ea5e9f56 am 9be47e8e: Merge "Updating drop button targets" into ub-launcher3-burnaby
* commit '9be47e8eae0419855973da1ce408f107bc6c2d45':
  Updating drop button targets
2015-04-17 20:40:57 +00:00
Sunny Goyal 9be47e8eae Merge "Updating drop button targets" into ub-launcher3-burnaby 2015-04-17 20:34:56 +00:00
Sunny Goyal 4127770903 am 546bbf2f: Removing market icon
* commit '546bbf2f8d31261c720ed7b06d3f4e4b5bea268f':
  Removing market icon
2015-04-17 20:02:34 +00:00
Winson Chung 466663edee Accounting for recent changes in padding when detecting backgound taps to close AllApps.
- Also ensuring that we keep the search bar visible in all apps only if it is being overridden.

Change-Id: Iba980ecec255da80aff8ff57b42ad99d70a2122a
2015-04-17 12:51:27 -07:00
Sunny Goyal 546bbf2f8d Removing market icon
Change-Id: I7837cd8083cf2c07444b509fcfb7447151ba76b5
2015-04-17 12:51:24 -07:00
Winson Chung 90e9d2daa5 am c90ef758: Merge "Ensuring that our animation callbacks are not stripped by pro guard." into ub-launcher3-burnaby
* commit 'c90ef7584be6a82fdc2ab656433cc773f280cd30':
  Ensuring that our animation callbacks are not stripped by pro guard.
2015-04-17 17:43:01 +00:00
Winson Chung c90ef7584b Merge "Ensuring that our animation callbacks are not stripped by pro guard." into ub-launcher3-burnaby 2015-04-17 17:32:56 +00:00
Sunny Goyal fdb8882626 am 18b640c3: Removing LauncherProvider dependency from LauncherSettings
* commit '18b640c3710723df8a8528a667c373474e0a06ee':
  Removing LauncherProvider dependency from LauncherSettings
2015-04-17 17:02:35 +00:00
Sunny Goyal 18b640c371 Removing LauncherProvider dependency from LauncherSettings
> This ensures that the classLoader does not need to load
LauncherProvider to access LauncherSettings
> Making a few fields public.

Change-Id: I2e8ee6e169552739f09e500d3b6acbcee7cd0718
2015-04-17 09:30:32 -07:00
Winson Chung 9cbea78b19 Ensuring that our animation callbacks are not stripped by pro guard.
Bug 20296035
2015-04-16 21:18:34 -07:00
Sunny Goyal fa401a10e7 Updating drop button targets
> Splitting DeleteDropTarget into delete and uninstall
> Showing UninstallDropTarget for app shortcuts on workspace
> Showing InfoDropTarget only when developer options is enabled

Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d
2015-04-16 15:52:04 -07:00
Sunny Goyal 6c0a8e682d am fb9ca239: Merge "Fixing drag-n-drop for folders in hotseat." into ub-launcher3-burnaby
* commit 'fb9ca2392894a3dea83570267f9597ac0750b9fd':
  Fixing drag-n-drop for folders in hotseat.
2015-04-16 22:47:22 +00:00
Sunny Goyal 79dd8a9c12 am fc3c1edf: Fixing folder focus logic
* commit 'fc3c1edf7bbc3f7cb23e79520731d13ccc2da046':
  Fixing folder focus logic
2015-04-16 22:47:21 +00:00