summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* General code refactoringSunny Goyal2015-08-2011-145/+86
| | | | | | | | | > Removing utility method for isAttachedToWindow > Moving logic to calculate cell size from workspace to DeviceProfile > Replacing some constants with xml resource variables > Saving the item info using content values for better compatibility with other methods Change-Id: Idd612633d97a6241cb31148df9466031374bd5a0
* am a67cce2c: Merge "Tweaking fast scroller to follow touch closer." into ↵Winson Chung2015-08-206-52/+160
|\ | | | | | | | | | | | | ub-launcher3-burnaby * commit 'a67cce2cb3b7d6fcf53ce1390238130194c393e5': Tweaking fast scroller to follow touch closer.
| * Merge "Tweaking fast scroller to follow touch closer." into ub-launcher3-burnabyWinson Chung2015-08-206-60/+160
| |\
| | * Tweaking fast scroller to follow touch closer.Winson2015-08-206-60/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Issue: The fast scroller currently does not follow the touch input because fundamentally, the fixed scrollbar height and the mapping of the scroll space to the scrollbar space is fundamentally incompatible. - This CL changes the fast scroller to allow it to detach when the user fast-scrolls, then re-attaches after the user scrolls the screen and the current scroll position for the scrollbar picks up the thumb position. - Since the scroll position and the fast scroller thumb is now detached, we can change the distribution of the fast scroll letters to make it independent of the rows for each section and instead uniformly distribute it along the scrollbar, which allows for more stability. - There are edge cases where this fails, especially when there are few apps, which we can investigate further. Bug: 20035978 Change-Id: I8322f862107e6f330deff692885233706564bffd
* | | Merge "Moving drag-drop related code into a separate package." into ↵Vadim Tryshev2015-08-2026-31/+98
|\ \ \ | | | | | | | | | | | | ub-launcher3-master
| * | | Moving drag-drop related code into a separate package.Vadim Tryshev2015-08-2026-31/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl". I'm not moving DragSource because it's referred from gsa code. Bug: 22609426 Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
* | | | resolved conflicts for merge of 63aa4653 to ub-launcher3-masterSunny Goyal2015-08-191-4/+4
|\ \ \ \ | | |/ / | |/| | | | | | Change-Id: I9fb7e452fdc646dc3d764d61d92755fa43edfa65
| * | | Merge "Fixing empty screen created at the end, even when dragging the last ↵Sunny Goyal2015-08-191-4/+4
| |\ \ \ | | | | | | | | | | | | | | | item on the last screen." into ub-launcher3-burnaby
| | * | | Fixing empty screen created at the end, even when dragging the last item on ↵Sunny Goyal2015-08-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the last screen. Change-Id: If0d4faf0ca15e71facb6ed2fd81ed6a589527836
* | | | | Merge "Updating logic for setting wallpaper desired size > Only setting ↵Sunny Goyal2015-08-194-69/+71
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | desired size on wallpaper change for pre kitkat > Removing wallpaper change receiver from manifest > Removing multi-process wallpaper shared prefs for kitkat+" into ub-launcher3-master
| * | | | | Updating logic for setting wallpaper desired sizeSunny Goyal2015-08-194-69/+71
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Only setting desired size on wallpaper change for pre kitkat > Removing wallpaper change receiver from manifest > Removing multi-process wallpaper shared prefs for kitkat+ Bug: 23353784 Change-Id: Iba72d32871ee50b75807e2284a73a691bcddc472
* | | | | am 1cd32a21: Merge "Deferring the move to the default screen until after we ↵Winson Chung2015-08-191-17/+27
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | callback to the callbacks." into ub-launcher3-burnaby * commit '1cd32a2144dc1a620e6a22e5a05b489ec86abb18': Deferring the move to the default screen until after we callback to the callbacks.
| * | | Merge "Deferring the move to the default screen until after we callback to ↵Winson Chung2015-08-191-17/+27
| |\ \ \ | | |/ / | |/| | | | | | the callbacks." into ub-launcher3-burnaby
| | * | Deferring the move to the default screen until after we callback to the ↵Winson2015-08-191-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | callbacks. - Since move to default screen starts the scroller immediately, any delays in handling onNewIntent and onHomeIntent in the callbacks will cause the scroller to skip frames the next time it updates. This change will defer updating the page to the default screen until after onNewIntent is called back (and all its posted runnables). Bug: 22929080 Change-Id: Ibab6106938721702d4da23faaca99039861e10dc
* | | | Merge "Bullet-proofing the drag window initial animation." into ↵Vadim Tryshev2015-08-182-46/+45
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-master
| * | | | Bullet-proofing the drag window initial animation.Vadim Tryshev2015-08-142-46/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It’s unlikely, but still possible that something interesting will happen during the 150 ms that DragWindows takes to slightly increase in size before it gets hidden and replaced by the framework DND drag shadow. This fix covers 2 possible events that can happen during that time: 1. The drag gets cancelled (for example because of an app uninstall). Here, we eliminate a crash. 2. The user starts dragging the shadow. Before, this would start scrolling the home page. Now, SystemDragDriver starts processing touch events exactly as the InternalDragDriver would, until the growing finishes. Afterwards, it switches to framework dragging. Bug: 22609426 Change-Id: I73cc09fea45fcdcc6b75b13be1347da3e7c95509
* | | | | resolved conflicts for merge of 9fc953b9 to ub-launcher3-masterSunny Goyal2015-08-1727-103/+82
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
| * | | | Version code cleanupSunny Goyal2015-08-1727-106/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* | | | | Merge "Removing some eclipse warnings" into ub-launcher3-masterSunny Goyal2015-08-1717-75/+9
|\ \ \ \ \
| * | | | | Removing some eclipse warningsSunny Goyal2015-08-1717-75/+9
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I160feaee81b262be02446885fae643c0be71b7af
* | | | | | am b62a9763: Merge "Updating the UI for the pending widget view" into ↵Sunny Goyal2015-08-171-79/+121
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | ub-launcher3-burnaby * commit 'b62a976346e1e9165bf3ab1c32e694caa0874dd2': Updating the UI for the pending widget view
| * | | | Updating the UI for the pending widget viewSunny Goyal2015-08-171-79/+121
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 23183034 Change-Id: I2b3f6f765a51edf75e666186650bbd3cf7b66a7a
* | | | | am d21f9404: Merge "Disabling auto restore of widgets. > Always show ↵Sunny Goyal2015-08-143-34/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Setup" button for a widget which has a config activity." into ub-launcher3-burnaby * commit 'd21f9404da5c8cdc959b483a40876b02ced35e43': Disabling auto restore of widgets. > Always show "Setup" button for a widget which has a config activity.
| * | | | Merge "Disabling auto restore of widgets. > Always show "Setup" button for ↵Sunny Goyal2015-08-143-34/+52
| |\ \ \ \ | | | | | | | | | | | | | | | | | | a widget which has a config activity." into ub-launcher3-burnaby
| | * | | | Disabling auto restore of widgets.Sunny Goyal2015-08-143-34/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Always show "Setup" button for a widget which has a config activity. Bug: 23155863 Change-Id: I60683889e76be830a76ac1245e079574aaf0ad10
* | | | | | Some cleanup around drag and dropSunny Goyal2015-08-134-78/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Instead of resizing the rect for dragoutline in onDrow, store the resized rect itself > Remove unnecessary inverse matrix calculation Change-Id: If13c3c5aaecba5a1d3a4f5d39199ed82e9662c62
* | | | | | am d468ee90: Merge "Reloading launcher whenever there is an external update ↵Sunny Goyal2015-08-131-13/+16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to contentprovider, irrespective of the uri" into ub-launcher3-burnaby * commit 'd468ee90911bee4d83e119500b52df1984107411': Reloading launcher whenever there is an external update to contentprovider, irrespective of the uri
| * | | | | Merge "Reloading launcher whenever there is an external update to ↵Sunny Goyal2015-08-131-13/+16
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | contentprovider, irrespective of the uri" into ub-launcher3-burnaby
| | * | | | Reloading launcher whenever there is an external update to contentprovider, ↵Sunny Goyal2015-08-131-13/+16
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | irrespective of the uri Change-Id: If1a06da57171be30adb74f09ac256a8b03ab8549
* | | / / Merge commit '97b0d08d' into manualmergeWinson2015-08-134-60/+35
|\| | | | | |_|/ / |/| | | | | | | Change-Id: Iac7e46fb2ac364c983beec6460f99ee1d6b11d32
| * | | Refactoring to ExtendedEditText.Winson2015-08-134-53/+28
| | |/ | |/|
* | | am 81056da1: Merge "Refreshing widget list when a package containing a ↵Sunny Goyal2015-08-133-14/+39
|\| | | | | | | | | | | | | | | | | | | | widget changes" into ub-launcher3-burnaby * commit '81056da1def5d872d26b6f8a4e4163f9d94871a3': Refreshing widget list when a package containing a widget changes
| * | Merge "Refreshing widget list when a package containing a widget changes" ↵Sunny Goyal2015-08-133-14/+39
| |\ \ | | |/ | |/| | | | into ub-launcher3-burnaby
| | * Refreshing widget list when a package containing a widget changesSunny Goyal2015-08-113-14/+39
| | | | | | | | | | | | | | | Bug: 20698931 Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
| * | Fixing crash upon cancellation of an accessible drag.Vadim Tryshev2015-08-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes perhaps an old bug. If we started an accessible drag for an only item on a page, then uninstalled the app while dragging, the page was removed without unsetting its accessibility delegate. Later, the system asks the delegate to do something, but the drag is over, and some pointers are null, so everything crashes. Fixing this. Bug: 22028725 Change-Id: I85adcd42ae896603634994e20a7790792f7e84b1 (cherry picked from commit de1e67c38856ab1253426bfb4f892895eeb5f6d9)
* | | Fixing dragging with mouse.Vadim Tryshev2015-08-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you click at the icon with mouse, then release without moving, the framework won't generate DRAG_LOCATION events, and we'll assume the the drag ended at (0,0) coordinate. Fixing by updating coords at any event that has coordinates. Bug: 22028725 Change-Id: I1872b479035e14aa9fece1532b05194fa86a4907
* | | Merge "Enabling accessibility dragging with the framework drag driver." into ↵Vadim Tryshev2015-08-121-10/+9
|\ \ \ | | | | | | | | | | | | ub-launcher3-master
| * | | Enabling accessibility dragging with the framework drag driver.Vadim Tryshev2015-08-111-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't want to start a framework DND (with drop shadow etc.) in the accessibility mode. Besides, framework DND fails to start and immediately cancels the DND operation if it's started in the accessibility mode. Presumably, this happens because the finger doesn't press the screen when this happens. The right solution is not to instantiate a drag driver at all when an accessible DND starts, which is what this CL does. Bug: 22028725 Change-Id: Ic743ba3f8de037c15d4e70e3b7687cdd3518b2a3
* | | | am a2917f6a: Merge "Ensuring that AllAppsGridAdapter is public." into ↵Winson Chung2015-08-112-2/+2
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | ub-launcher3-burnaby * commit 'a2917f6a0b9a24accaf21d75c0e80701bb07e2ed': Ensuring that AllAppsGridAdapter is public.
| * | Merge "Ensuring that AllAppsGridAdapter is public." into ub-launcher3-burnabyWinson Chung2015-08-112-2/+2
| |\ \
| | * | Ensuring that AllAppsGridAdapter is public.Winson2015-08-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Also show the search action when searching all apps Change-Id: I3470b0da565e6d1bce637ce09384d966215a4ca7
* | | | Merge "Fixing crash upon cancellation of an accessible drag." into ↵Vadim Tryshev2015-08-111-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-master
| * | | | Fixing crash upon cancellation of an accessible drag.Vadim Tryshev2015-08-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes perhaps an old bug. If we started an accessible drag for an only item on a page, then uninstalled the app while dragging, the page was removed without unsetting its accessibility delegate. Later, the system asks the delegate to do something, but the drag is over, and some pointers are null, so everything crashes. Fixing this. Bug: 22028725 Change-Id: I85adcd42ae896603634994e20a7790792f7e84b1
* | | | | am b0d868f7: Merge "Preventing zoom-in animation from running everytime the ↵Sunny Goyal2015-08-112-2/+7
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | app updates." into ub-launcher3-burnaby * commit 'b0d868f73037e0f732fa71d4bf557d4fcb1ed36c': Preventing zoom-in animation from running everytime the app updates.
| * | | | Merge "Preventing zoom-in animation from running everytime the app updates." ↵Sunny Goyal2015-08-112-2/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into ub-launcher3-burnaby
| | * | | | Preventing zoom-in animation from running everytime the app updates.Sunny Goyal2015-08-112-2/+7
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | Bug: 22557455 Change-Id: I3ac1212a2f319397cd18be8f4452047d974312b8
* | | | | am 6579e1ee: Disabling home screen migration logicSunny Goyal2015-08-114-4/+7
|\| | | | | |_|/ / |/| | | | | | | | | | | * commit '6579e1eee8a6fce44f020d40c3bbdbf245d6c12c': Disabling home screen migration logic
| * | | Disabling home screen migration logicSunny Goyal2015-08-114-4/+7
| |/ / | | | | | | | | | Change-Id: I506948852945bfb8ebd7a95fc951880ffe9a3e17
* | | Merge "Fixing drag view transition jump for scaled-down icons." into ↵Vadim Tryshev2015-08-111-2/+2
|\ \ \ | | | | | | | | | | | | ub-launcher3-master
| * | | Fixing drag view transition jump for scaled-down icons.Vadim Tryshev2015-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a jump upon a transition from DragView to the framework shadow for hotseat icons (which are scaled down). Bug: 22028725 Change-Id: If4f5ed4501836667ff3a8eaa9da4577bdf98e880