Commit Graph

4425 Commits

Author SHA1 Message Date
Sunny Goyal 3a56edb0ea Merge "Refactoring ItemInfo" into ub-launcher3-master 2015-07-07 06:06:59 +00:00
Sunny Goyal 095504050f Merge "Moving prediction icons back into recycler view." into ub-launcher3-burnaby 2015-07-07 00:52:43 +00:00
Winson Chung 1ae7a5018b Moving prediction icons back into recycler view.
- Fixes two accessibility issues with the prediction bar being
  separate from the rest of the list of icons related to scrolling
  and switch access.

Bug: 21725276
Change-Id: Ibc48e5028cace9a77000e6646b951f021910465d
2015-07-06 17:46:32 -07:00
Sunny Goyal 8955190179 Merge "Hiding workspace from accessibility when its not visible" into ub-launcher3-burnaby 2015-07-07 00:46:09 +00:00
Sunny Goyal f89aa3579a Hiding workspace from accessibility when its not visible
Bug: 22234780
Change-Id: Ie91ec59c3c3abb26fdf40466ea8173c78acb320f
2015-07-06 17:20:24 -07:00
Sunny Goyal 821d22ea66 Merge "Using cellX and cellY for comparing position when rank is not available" into ub-launcher3-burnaby 2015-07-07 00:12:12 +00:00
Sunny Goyal 1406fd80d5 Merge "Using background outline provider as the final provider for reveal animation" into ub-launcher3-burnaby 2015-07-06 20:58:28 +00:00
Sunny Goyal 1dd0f8bf51 Using cellX and cellY for comparing position when rank is not available
Bug: 22059402
Change-Id: I69ec2b9b68610e171e76cd968de77aaed669672c
2015-07-06 13:04:32 -07:00
Sunny Goyal bccc43bd8b Merge "Adding item rank when parsing a folder" into ub-launcher3-burnaby 2015-07-06 19:50:35 +00:00
Sunny Goyal 8d59509f1a Using an empty error view for QSB
Bug: 21731323
Change-Id: I837b7bf9bac443cd2062ab2d4c24e081eb01732d
2015-07-06 12:22:39 -07:00
Sunny Goyal 2245fa2379 Using background outline provider as the final provider for reveal animation
> When two animations are running simultaneously, getOutlineProvider does not
give the correct provider

Bug: 22166935
Change-Id: I54c9bcd8cf42dd130949ea98e87c77389c02d00f
2015-07-06 11:48:46 -07:00
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
Sunny Goyal aa8ef119f1 Refactoring ItemInfo
> Changing dragObject to ItemInfo
> Removing dropPos which is always null
> Removing requiresDbUpdate which is only used in CellLayout

Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
2015-06-30 10:26:49 -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