Commit Graph

14174 Commits

Author SHA1 Message Date
Sunny Goyal de8a164e76 Merge "Fixing PinItemActivity not getting dismissed when starting drag-and-drop in multi-window mode" into ub-launcher3-dorval-polish
am: ce080e8fc0

Change-Id: Ia2130e1f70100e27e1aa1e8b189e0d67606577de
2017-06-22 17:58:03 +00:00
TreeHugger Robot ce080e8fc0 Merge "Fixing PinItemActivity not getting dismissed when starting drag-and-drop in multi-window mode" into ub-launcher3-dorval-polish 2017-06-22 17:53:24 +00:00
Sunny Goyal 3bf7eb61c5 Merge "Setting the callback for previewItems to folderIcon. This allows the FolderIcon to get updated without going through the child'draw pass. Also simplifying the draw code for the FolderIcon to remove any cycling invalidate calls" into ub-launcher3-dorval-polish
am: b9465eec45

Change-Id: I19b64c5523141181c85e912f3f847c6eda957986
2017-06-22 17:51:03 +00:00
Sunny Goyal 80fa41f00f Fixing PinItemActivity not getting dismissed when starting drag-and-drop in multi-window mode
Change-Id: Ic5a74dab7cc374efcd32d4c73faa9eb28e9327a4
2017-06-22 10:46:51 -07:00
Sunny Goyal b9465eec45 Merge "Setting the callback for previewItems to folderIcon. This allows the FolderIcon to get updated without going through the child'draw pass. Also simplifying the draw code for the FolderIcon to remove any cycling invalidate calls" into ub-launcher3-dorval-polish 2017-06-22 17:44:53 +00:00
Mario Bertschler 7e808a3a5f Merge "Removing view.isInTouchMode() because plaform returns false when using a mouse on long click." into ub-launcher3-dorval-polish
am: 451dc5df32

Change-Id: I16ce9093b020e93278b52469ff6c6c640e7179bf
2017-06-22 17:35:31 +00:00
Mario Bertschler 451dc5df32 Merge "Removing view.isInTouchMode() because plaform returns false when using a mouse on long click." into ub-launcher3-dorval-polish 2017-06-22 17:30:56 +00:00
Rajeev Kumar 16a45d12a1 Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in FolderPagedView class 2. Get rid of explicit type arguments that can be inferred" into ub-launcher3-dorval-polish
am: 0d52bca39e

Change-Id: Ib1afd48f8c35e0f33d80c1f8b8b595348d23ce8a
2017-06-22 17:27:05 +00:00
Rajeev Kumar 90e6bbed41 Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in LauncherAppsCompatVL class. 2. Fix Synchronization on a non-final field 'mCallbacks'. 3. Add missing @Override to the overriden methods. 4. Add missing @NonNull to the method parameters. Bug: 62466540" into ub-launcher3-dorval-polish
am: 50db3ad437

Change-Id: Idcbd22e350dab06bb15517b58f48e57ee31630a0
2017-06-22 17:26:50 +00:00
Rajeev Kumar 4d45cceb34 Merge "1. Get rid of unnecessary ; from VerticalPullDetector 2. Make an instance variable final" into ub-launcher3-dorval-polish
am: 2ed2bed963

Change-Id: I5822d7b82a393b87df6bd84ddad00d4c4e25062f
2017-06-22 17:26:30 +00:00
Sunny Goyal 828b11e5a9 Setting the callback for previewItems to folderIcon. This allows the FolderIcon to get updated
without going through the child'draw pass.
Also simplifying the draw code for the FolderIcon to remove any cycling invalidate calls

Bug: 62900800
Change-Id: I17009a5347a1c3c35426313ac759e0240ce6a395
2017-06-22 10:25:43 -07:00
Rajeev Kumar 0d52bca39e Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in FolderPagedView class 2. Get rid of explicit type arguments that can be inferred" into ub-launcher3-dorval-polish 2017-06-22 17:19:53 +00:00
Rajeev Kumar 50db3ad437 Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in LauncherAppsCompatVL class. 2. Fix Synchronization on a non-final field 'mCallbacks'. 3. Add missing @Override to the overriden methods. 4. Add missing @NonNull to the method parameters. Bug: 62466540" into ub-launcher3-dorval-polish 2017-06-22 17:19:24 +00:00
Rajeev Kumar 2ed2bed963 Merge "1. Get rid of unnecessary ; from VerticalPullDetector 2. Make an instance variable final" into ub-launcher3-dorval-polish 2017-06-22 17:18:51 +00:00
Sunny Goyal 9a0c7ef814 Merge "Properly desaturating the dragview if the icon is disabled" into ub-launcher3-dorval-polish
am: edfc0192ce

Change-Id: Id410d171b08ee7c3a165171b5fb10793cd4d621f
2017-06-22 17:06:59 +00:00
TreeHugger Robot edfc0192ce Merge "Properly desaturating the dragview if the icon is disabled" into ub-launcher3-dorval-polish 2017-06-22 16:59:42 +00:00
Mario Bertschler cd04c89f89 Removing view.isInTouchMode() because plaform returns false when
using a mouse on long click.

Bug: 38204847

Change-Id: I5b10e8251f4f0a7b148c0404d5939a0fa8325a46
2017-06-22 09:29:46 -07:00
Sunny Goyal 2814112998 Properly desaturating the dragview if the icon is disabled
Change-Id: Ic53078750fab013ed07999c6e9a6bf5d9b4c2554
2017-06-21 17:29:04 -07:00
Sunny Goyal 8fcb23a765 Merge "Removing some support lib dependencies" into ub-launcher3-dorval-polish
am: bef710114c

Change-Id: I2c1249d6f40e90f26a83a45b1e361658f8a1ffc1
2017-06-22 00:25:46 +00:00
TreeHugger Robot bef710114c Merge "Removing some support lib dependencies" into ub-launcher3-dorval-polish 2017-06-22 00:22:58 +00:00
Jon Miranda 194ae33e77 Merge "Set clipToPadding false for FolderPagedView." into ub-launcher3-dorval-polish
am: 051f469acc

Change-Id: I8901b4cb1b313ef15a1cd8b380f21ce54790b604
2017-06-21 23:43:43 +00:00
TreeHugger Robot 051f469acc Merge "Set clipToPadding false for FolderPagedView." into ub-launcher3-dorval-polish 2017-06-21 23:39:50 +00:00
Jon Miranda 48b77ee2fc Merge "Set mDragInProcess to false in onDragEnd." into ub-launcher3-dorval-polish
am: fa544965f3

Change-Id: Icc3bb9680d977f5d4cc4d435d37a87b7f7fa174f
2017-06-21 23:37:12 +00:00
Sunny Goyal 00e610f93c Prevent recursive draw-invalidate cycle when drawing folder
am: 318f567a84

Change-Id: If30399d1acaff09239d9a7a6d0bf76891bf43144
2017-06-21 23:34:13 +00:00
TreeHugger Robot fa544965f3 Merge "Set mDragInProcess to false in onDragEnd." into ub-launcher3-dorval-polish 2017-06-21 23:33:32 +00:00
Sunny Goyal 318f567a84 Prevent recursive draw-invalidate cycle when drawing folder
Change-Id: I4d3e680ee0cd1af9da997ac92c505ca38ee4e810
2017-06-21 16:11:17 -07:00
Sunny Goyal 9ef87227c6 Enabling spring effect during drag-n-drop on deep shortcuts
am: a2fde430b5

Change-Id: I29320a0d84f6b38c82b536b3f778ef6dfb792ead
2017-06-21 21:56:34 +00:00
Sunny Goyal a2fde430b5 Enabling spring effect during drag-n-drop on deep shortcuts
Change-Id: Iac128e850c41c0946d28e1ee8824ce8a62b4c395
2017-06-21 14:42:38 -07:00
Sunny Goyal db595a5947 Fixing scale calculation for spring effect on drag view
am: 03a38a669c

Change-Id: I3f03bd585717b2b6be5ce633637f0c86c02ec87a
2017-06-21 20:50:59 +00:00
Sunny Goyal 03a38a669c Fixing scale calculation for spring effect on drag view
Bug: 62823315
> Using the scale value from IconNormalizer
> Using the badge from packageManager (similar to launcher icons)

Change-Id: I7cc65be8619281986c2c26a66c6de40636f12256
2017-06-21 20:36:45 +00:00
Jon Miranda 7efd29ad85 Set clipToPadding false for FolderPagedView.
Bug: 62867021
Change-Id: I2d897f4c0e4d844f6dd3c2aab97450637796ad02
2017-06-21 12:12:27 -07:00
Jon Miranda 544946ae80 Set mDragInProcess to false in onDragEnd.
Before this change, it was possible to touch (not drag and drop)
a Folder and have it open to a non-first page.

With this change, the Folder always opens to the first page on touch.
For drag and drop, it will still open to the last page.

Bug: 36022592
Change-Id: Ib0417eaf7e4866e874369b3b35248231a54cba06
2017-06-21 12:00:19 -07:00
Sunny Goyal 2b90f11639 Merge "Adding utility method to find an app from a component key" into ub-launcher3-dorval-polish
am: 9abbd86e29

Change-Id: I41b50e1c938bda05d85300b9fc7da8cd9b35530b
2017-06-21 18:10:17 +00:00
Sunny Goyal 9abbd86e29 Merge "Adding utility method to find an app from a component key" into ub-launcher3-dorval-polish 2017-06-21 18:05:18 +00:00
Hyunyoung Song 5a1d16c919 Merge "Adaptive icon fetched from icon provider and/or work profile icon should not change during DnD Bug: 62806605 Bug: 62823315" into ub-launcher3-dorval-polish
am: 6fa699902f

Change-Id: Id8be07a27798fb1c6308a7607658f5939fbca27e
2017-06-21 17:47:45 +00:00
TreeHugger Robot 6fa699902f Merge "Adaptive icon fetched from icon provider and/or work profile icon should not change during DnD Bug: 62806605 Bug: 62823315" into ub-launcher3-dorval-polish 2017-06-21 17:43:52 +00:00
Hyunyoung Song 654bf3141b Adaptive icon fetched from icon provider and/or work profile icon should not change during DnD
Bug: 62806605
Bug: 62823315

Change-Id: I2bf7c64df101e1293a2b4b416333e36244406a62
2017-06-21 10:38:11 -07:00
Sunny Goyal d36ed7d982 Adding utility method to find an app from a component key
Change-Id: I445b512f29a0a45910c523f2f905c0a9e3c241f1
2017-06-20 21:03:36 -07:00
Sunny Goyal c018cb6bc1 Merge "Rafactoring shadow generator logic to allow customizing various parameters" into ub-launcher3-dorval-polish
am: 990b319bf7

Change-Id: I6e739d643c2371d6e5edd307b143b16ca257794a
2017-06-20 22:44:11 +00:00
TreeHugger Robot 990b319bf7 Merge "Rafactoring shadow generator logic to allow customizing various parameters" into ub-launcher3-dorval-polish 2017-06-20 22:33:27 +00:00
Sunny Goyal 9bce1a13d5 Merge "Refactoring PinItemDragListener into a base class to allow diffenret implementations of multi-window drag and drop" into ub-launcher3-dorval-polish
am: 7a4d1f4383

Change-Id: Ib231fdd398c14e7fd7dae4bfc0151f27344f6d74
2017-06-20 21:23:52 +00:00
Tony Wickham e7f3667c08 Merge "Round some more icons" into ub-launcher3-dorval-polish
am: f763f61e96

Change-Id: I8b4f7676bbfc7f657a6ae2250e91b50f2e6bc6b8
2017-06-20 21:23:32 +00:00
TreeHugger Robot 7a4d1f4383 Merge "Refactoring PinItemDragListener into a base class to allow diffenret implementations of multi-window drag and drop" into ub-launcher3-dorval-polish 2017-06-20 21:14:24 +00:00
Tony Wickham f763f61e96 Merge "Round some more icons" into ub-launcher3-dorval-polish 2017-06-20 21:13:32 +00:00
Sunny Goyal 027fba3527 Refactoring PinItemDragListener into a base class to allow diffenret implementations
of multi-window drag and drop

Bug: 62702235
Change-Id: Ie87e0f7d131575bac1cb1099b0a70b230560be9a
2017-06-20 13:48:38 -07:00
Sunny Goyal e463c8f191 Rafactoring shadow generator logic to allow customizing various parameters
Change-Id: I38f8ac4352cb9e23d377832ffe2f4923a4df7a70
2017-06-20 13:37:05 -07:00
Sunny Goyal 74b3e84bcf Merge "Fixing various system UI flags not getting updated properly on theme changes." into ub-launcher3-dorval-polish
am: 50b4ae3c72

Change-Id: I54c53d47184d7a2bc04f2b1d16b74ff0761ce605
2017-06-20 20:11:25 +00:00
TreeHugger Robot 50b4ae3c72 Merge "Fixing various system UI flags not getting updated properly on theme changes." into ub-launcher3-dorval-polish 2017-06-20 20:04:15 +00:00
Jon Miranda bf707d6a29 Merge "Show and update preload icons when they are in a FolderIcon preview." into ub-launcher3-dorval-polish
am: 7518fa2d40

Change-Id: I025e7fd2cfa833fbb0875cdf64819438c62eb93f
2017-06-20 18:16:16 +00:00
TreeHugger Robot 7518fa2d40 Merge "Show and update preload icons when they are in a FolderIcon preview." into ub-launcher3-dorval-polish 2017-06-20 18:13:52 +00:00