Commit Graph

4413 Commits

Author SHA1 Message Date
Sunny Goyal 56a57bb6bb Adding item rank when parsing a folder
Bug: 22059402
Change-Id: Ie57f2dd58d2b4bc2eb277f10e93a25d026d1cdd2
2015-07-06 11:16:17 -07:00
Sunny Goyal 360bc25ab6 Using RGB_565 for low-res icons
> Using a non-transparent image with flat background for low-res icons
> Changing the scale factor from 8 to 5
> The overall size change is 1/50 instead of 1/64

Bug: 22204941
Change-Id: I6cda4b4b3450c23a7bb8218ebd2de2b09af9c414
2015-07-01 12:00:07 -07:00
Dave Hawkey cb5f619770 am 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3-almonte
* commit '79f25bedd2ed13613323b085b46b9b42aee21696':
  Add LauncherCallbacks for requesting permissions on MNC
2015-06-29 17:41:14 +00:00
Sunny Goyal 2b64245016 Merge "Allowing UserHandle to be passed in the intent when creating AppInfo" into ub-launcher3-burnaby 2015-06-26 23:37:50 +00:00
Sunny Goyal 11d4911732 Removing junit.framework.Assert
Bug: 22124692
Change-Id: Ie9c920ec6ef9631392a70b9ab2a5659ba23385b3
2015-06-26 21:04:55 +00:00
Sunny Goyal a1d1bf3119 Allowing UserHandle to be passed in the intent when creating AppInfo
> Removing createShortcut with userHandle, as shortcuts can only be
for the primary user.

Bug: 22070517
Change-Id: Ifc58a76d0f1e0ab8f1943b46588cc19dd88bdda1
2015-06-26 13:51:11 -07:00
Dave Hawkey 79f25bedd2 Merge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3-almonte 2015-06-26 16:48:32 +00:00
Dave Hawkey 3a43ed61cb Add LauncherCallbacks for requesting permissions on MNC
Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
2015-06-26 10:27:47 -06:00
Sunny Goyal bb87053ef9 [DO NOT MERGE] Making some constants public
Change-Id: I95665184b100ab83b2171718d82fcc1e31c2fae1
2015-06-26 09:07:39 -07:00
Hyunyoung Song 1a8a6e0baa Merge "Announce content desc of workspace immediately after unlocking the lock screen. b/22051420" into ub-launcher3-burnaby 2015-06-26 04:08:14 +00:00
Hyunyoung Song 166e6488e6 Announce content desc of workspace immediately after unlocking the lock screen.
b/22051420

Change-Id: I41ab93782383c04e0074d87632ebe8d884a8e208
2015-06-25 21:06:07 -07:00
Sunny Goyal 187f9665f6 Merge "Fixing backup restore" into ub-launcher3-burnaby 2015-06-26 01:34:45 +00:00
Sunny Goyal 72db10a93c Moving LauncherExtension to a separate package
Change-Id: I6eef1cbb17295e59eae04f90fa44037be5f7da4b
2015-06-25 18:21:41 -07:00
Sunny Goyal 4e5cc64eaf Fixing backup restore
> Not deleting icons from cache, which have not been restored yet
> Not checking if activity exists during DB migration. Missing
components are removed during loader anyway
> Backing up and restoring bitmaps even when iconType is resource.
This allows us to show a proper bitmap icon, until the correct
resource is available.
> Loading proper shortcutResource icon for promiseIcons
> Checking against promise intent when verifying duplicates
> A launcher App intent can contain EXTRA_PROFILE

Bug: 22094970
Change-Id: I982971338846733833ec133119393af0bea0eb08
2015-06-25 17:41:06 -07:00
Winson Chung 1cddad6c6b Fixing issue with casting context to activity. 2015-06-26 00:08:34 +00:00
Winson Chung ca0f7d7728 Merge "Exposing drag methods with user info." into ub-launcher3-burnaby 2015-06-25 20:19:49 +00:00
Winson Chung 5ffd51db0c Exposing drag methods with user info.
Change-Id: I974b67d23d3d29795c1c1d24e1ecf212b52e3912
2015-06-25 13:14:14 -07:00
Winson Chung 91c0595443 Ensuring that we always update the predicted apps set.
Change-Id: Ieecf019442dcf4af42463ed6cbc4cdcd19468dec
2015-06-25 19:24:24 +00:00
Winson Chung 051527fd54 Merge "Fixing crash when using app name comparator with empty titles." into ub-launcher3-burnaby 2015-06-25 17:11:09 +00:00
Winson Chung 2a1d4ed54f Fixing crash when using app name comparator with empty titles.
Bug: 22065752
Change-Id: I4160f5e1728e46ce85fd2579889e7952de01a752
2015-06-25 10:05:54 -07:00
Winson Chung 9063bfaad0 Merge "Prevent extra animation when scrolling the recycler view." into ub-launcher3-burnaby 2015-06-25 00:12:13 +00:00
Winson Chung 4c7fc62ae2 Prevent extra animation when scrolling the recycler view.
Change-Id: I362b557ae63a2cbef77ebf7fac9a7a27adeabb49
2015-06-24 16:59:31 -07:00
Sunny Goyal b713ad4adb Removing some synthetic methods
Change-Id: I08310e21871c7d670eb384ef1e835d155540c3e8
2015-06-24 11:46:13 -07:00
Hyunyoung Song adb031e5ea Merge "Code cleanup, WorkspaceStateTransitionAnimation" into ub-launcher3-burnaby 2015-06-23 22:05:35 +00:00
Hyunyoung Song 7eea78a1ed Code cleanup, WorkspaceStateTransitionAnimation
Change-Id: I6b82f705f8dfddc507ddd66d5fd8a499cd6f58fd
2015-06-23 15:02:33 -07:00
Winson Chung 243fdd7cdf Working around overscroll issues in AllApps.
- For the time being, we are going to do custom drawing to ensure that we get the touch
  events in the right order, while still allowing the recycler view to draw the overscroll
  effect on top of the prediction bar.

Bug: 21335369
Change-Id: I6bf64e5c1e9aa634a953223a5decf74942e4fb57
2015-06-23 21:56:07 +00:00
Winson Chung b1777447d9 Refactoring fast scroller.
- Fixing issue with fast scroller not fitting name width.
- Refactoring fast scrolling/scroll bar code out of base recycler view
- Adding animations to fast scroller to match design
- Smooth scrolling when jumping between app rows
- Fixing issue with fast scroller jumping when you first pick it up
- Fixing issue with wrong background paddings being used

Bug: 21874346
Bug: 22031923
Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
2015-06-23 14:24:15 -07:00
Sunny Goyal e5106b687f Merge "Making the provider column names public" into ub-launcher3-burnaby 2015-06-23 17:57:27 +00:00
Sunny Goyal 5e41a27fdb Fixing paged view overscroll effect being drawn outside the screen
bounds when in transposed layout.

Change-Id: I93be6a003b7d28708697990cfae8c7be96f84676
2015-06-22 15:11:31 -07:00
Sunny Goyal 2fb2f0bcfc Making the provider column names public
Change-Id: Idc85e34aceaaed5a1abb693a8a04d06f9c70b4b4
2015-06-22 13:57:43 -07:00
Sunny Goyal 9c9f20905c Merge "Using material style overscroll effect for workspace and folders" into ub-launcher3-burnaby 2015-06-22 18:31:51 +00:00
Hyunyoung Song 5796b03f6d Add workspace scrim animation to the state transition to reduce jankiness.
b/20956087

Note: Will work on creating a separate view for the scrim animation rather
than the drag layer on a separate CL.

Change-Id: Idaced5c6867abe3ed9afa984c885023676b3a141
2015-06-19 18:03:35 -07:00
Winson Chung 21a4ccc627 Merge "Add extras required for compilation" into ub-launcher3-almonte 2015-06-19 23:00:34 +00:00
Sunny Goyal 4d113a5ff4 Using material style overscroll effect for workspace and folders
Bug: 21335369
Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
2015-06-19 19:53:34 +00:00
Adam Cohen 54c50bc08f Add extras required for compilation
-> Patching back from a future branch

Change-Id: I5127a82560e39bf391fe083d0eb8932cf2473562
2015-06-19 12:12:50 -07:00
Sunny Goyal e91a14c698 Merge "Cancelling launcher reload on mcc change" into ub-launcher3-burnaby 2015-06-18 22:09:50 +00:00
Hyunyoung Song c44de1adcf Merge "Revert resource name to what platform ui automator test defines. b/21923650" into ub-launcher3-burnaby 2015-06-18 22:07:09 +00:00
Hyunyoung Song 60331a9be7 Revert resource name to what platform ui automator test defines.
b/21923650

Change-Id: I26a9405ac0567f856a43d83886df4ece938c11a7
2015-06-18 15:05:56 -07:00
Winson Chung d3800208aa Merge "Moving predicted apps callbacks to use ComponentKey." into ub-launcher3-burnaby 2015-06-18 21:10:41 +00:00
Winson Chung 78564d4e2d Updating ComponentKey for compatibility with build.
Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690
2015-06-18 21:05:55 +00:00
Sunny Goyal 2003c75ac4 Cancelling launcher reload on mcc change
Bug: 21022833
Change-Id: Iccd477e7b1638d162e1a500cdb7a52b8d359c657
2015-06-18 14:04:00 -07:00
Sunny Goyal 230eade4a3 Converting folder name to string before applying it to folder info
> getText() returns Spannable which can contain text styling

Change-Id: Iacdf9da47b54b5cd290a355152383d75bf3e6836
2015-06-18 12:51:53 -07:00
Winson Chung 6b1c73f50a Moving predicted apps callbacks to use ComponentKey.
Bug: 21270185

Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
2015-06-18 12:39:24 -07:00
Hyunyoung Song 3ea5cd4311 Merge "Remove DEBUG flag inside WidgetsListAdapter" into ub-launcher3-burnaby 2015-06-18 18:33:19 +00:00
Hyunyoung Song 289ec3af9a Remove DEBUG flag inside WidgetsListAdapter
Change-Id: I7e5b3162f2b3768caff7ff79fd75567a793a1f45
2015-06-17 23:08:05 -07:00
Hyunyoung Song c1d53ef81c Merge "Widgets model should respect AppFilter." into ub-launcher3-burnaby 2015-06-18 04:29:52 +00:00
Hyunyoung Song eaf291b9fe Widgets model should respect AppFilter.
> This pattern is already used in AllAppsList
> mBgWidgetsModel variable cleanup inside LauncherModel.

b/21739736

Change-Id: I03a05064ce3c3e5effb09055af9f4d4de2811c95
2015-06-17 21:12:44 -07:00
Sunny Goyal 27f03251ea Merge "Deleting empty folders based on DB state" into ub-launcher3-burnaby 2015-06-18 03:06:30 +00:00
Jun Mukai e9819e6d5d Add null-check for workspace/hotseat.
I assumed that they are non-null, but reportedly it was wrong.
This method can be invoked before the views are fully initialized.
Also hotseat can be null as far as I see setupViews(), therefore
null-check and 'importance stored' flag check should be done
separately.

Bug: 21779078
Change-Id: I3f17226f887c38adf2b1fb7ee2a016e00ffc0eb4
2015-06-17 11:26:54 -07:00
Sunny Goyal 4919827990 Revert "Removing onInitialize method and creating searchManager in getView"
This reverts commit 6530017bb8.

Change-Id: I8ecfd21ec854cfe1774f16d2d50c7a0e45dd6865
2015-06-17 16:09:07 +00:00