OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoMerge "Adding viewId for the QSB" into ub-launcher3-burnaby
Sunny Goyal [Thu, 27 Aug 2015 21:12:55 +0000 (21:12 +0000)]
Merge "Adding viewId for the QSB" into ub-launcher3-burnaby

8 years agoAdding viewId for the QSB
Sunny Goyal [Thu, 27 Aug 2015 20:48:11 +0000 (13:48 -0700)]
Adding viewId for the QSB

Change-Id: I4ad6bc8c0d94e60a4d354dfc29f456ca561fc500

8 years agoMerge "Fixing an issue where you would inadvertently start fastscrolling." into ub...
Winson Chung [Thu, 27 Aug 2015 20:37:33 +0000 (20:37 +0000)]
Merge "Fixing an issue where you would inadvertently start fastscrolling." into ub-launcher3-burnaby

8 years agoMerge "Fixing issue with missing scroll bar after fast-scrolling and searching."...
Winson Chung [Thu, 27 Aug 2015 19:36:07 +0000 (19:36 +0000)]
Merge "Fixing issue with missing scroll bar after fast-scrolling and searching." into ub-launcher3-burnaby

8 years agoFixing issue with missing scroll bar after fast-scrolling and searching.
Winson [Thu, 27 Aug 2015 19:30:08 +0000 (12:30 -0700)]
Fixing issue with missing scroll bar after fast-scrolling and searching.

- This was due to us not re-attaching the thumb to the scrollbar after
  we scroll the view to the top explicitly without the user scrolling.

Bug: 23562489
Change-Id: I5932b9b3b9358e23c0ec23aa235644b4f27c43ea

8 years agoFixing an issue where you would inadvertently start fastscrolling.
Winson [Thu, 27 Aug 2015 17:19:48 +0000 (10:19 -0700)]
Fixing an issue where you would inadvertently start fastscrolling.

- This would happen when you scroll near the thumb and pass through the
  area where the scrollbar was when the gesture started, and this CL
  prevents gestures that move beyond a fixed distance from the original
  touch position that is not already a fastscroll.

Bug: 23561678
Change-Id: I66226777671456a8919503dae4e92164ee10dd6d

8 years agoPending bind callbacks should be cleared before starting the loader,
Sunny Goyal [Wed, 19 Aug 2015 23:24:27 +0000 (16:24 -0700)]
Pending bind callbacks should be cleared before starting the loader,
similar to startBinding

Bug: 23310446
Bug: 19422965
Bug: 23304651
Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a

8 years agoMerge "Fixing work folder addition logic > Showing animation when folder is added...
Sunny Goyal [Tue, 25 Aug 2015 23:58:07 +0000 (23:58 +0000)]
Merge "Fixing work folder addition logic   > Showing animation when folder is added   > Not showing animation while cling is visible   > Checking is loader completed from UI thread   > Running bind complete runnables when bind is completed" into ub-launcher3-burnaby

8 years agoMerge "Fixing widgets container inactive scroll bar color." into ub-launcher3-burnaby
Winson Chung [Mon, 24 Aug 2015 22:47:52 +0000 (22:47 +0000)]
Merge "Fixing widgets container inactive scroll bar color." into ub-launcher3-burnaby

8 years agoFixing widgets container inactive scroll bar color.
Winson [Mon, 24 Aug 2015 22:20:53 +0000 (15:20 -0700)]
Fixing widgets container inactive scroll bar color.

Bug: 20035978
Change-Id: Ia267ff8f171f7c4cde00593bd69cf69c1660c431

8 years agoMerge "Making the detached scrollbar catch up faster to the actual scroll position...
Winson Chung [Mon, 24 Aug 2015 20:30:09 +0000 (20:30 +0000)]
Merge "Making the detached scrollbar catch up faster to the actual scroll position." into ub-launcher3-burnaby

8 years agoMaking the detached scrollbar catch up faster to the actual scroll position.
Winson [Mon, 24 Aug 2015 19:28:16 +0000 (12:28 -0700)]
Making the detached scrollbar catch up faster to the actual scroll position.

Bug: 20035978
Change-Id: I4f9780e1c5c1d10a7956ece729163544d79d72c3

8 years agoMerge "Removing call to isButtonPressed as its only Lollipop and above" into ub-launc...
Sunny Goyal [Mon, 24 Aug 2015 17:15:01 +0000 (17:15 +0000)]
Merge "Removing call to isButtonPressed as its only Lollipop and above" into ub-launcher3-burnaby

8 years agoUpdating theme to use the light theme by default, instead of wallpaper theme
Sunny Goyal [Thu, 20 Aug 2015 23:17:36 +0000 (16:17 -0700)]
Updating theme to use the light theme by default, instead of wallpaper theme
  > This allows us to use all the goodness of material theme
  > Cursor in folder edit text is no longer 1px wide

Change-Id: I705f5472ff71969ae45747dd127a8ba5253df44d

8 years agoMerge "Using the usermanager api to get creation time" into ub-launcher3-burnaby
Sunny Goyal [Fri, 21 Aug 2015 16:41:50 +0000 (16:41 +0000)]
Merge "Using the usermanager api to get creation time" into ub-launcher3-burnaby

8 years agoUpdating the target sdk to launcher
Sunny Goyal [Fri, 21 Aug 2015 16:26:10 +0000 (09:26 -0700)]
Updating the target sdk to launcher

Change-Id: Icf8e22f6ceb57dcd4e101b8b1d3ae86c52d12b30

8 years agoUsing the usermanager api to get creation time
Sunny Goyal [Fri, 21 Aug 2015 16:23:44 +0000 (09:23 -0700)]
Using the usermanager api to get creation time

Bug: 22539048
Change-Id: I17647f2456434ca66a9778300e1a2910cec171d4

8 years agoFixing issue with search bar not being visible.
Winson [Thu, 20 Aug 2015 22:22:18 +0000 (15:22 -0700)]
Fixing issue with search bar not being visible.

- If you queue up two SearchBarDropTarget state transitions one right after
  another, the second animation will skip (since the values haven't started
  animating yet) and the first animation will complete instead, leaving the
  visibility of the search and drop target bars at odds with the current
  bar state.
- Instead, we should cancel all existing animators first, such that if we
  are already in the final state, no animations will run, and the correct
  bars will be visibile.

Bug: 23201830
Change-Id: I1f8e802821ef2b4904a3efa7edbea6ae615479b9

8 years agoUpdating the scrollbar to make the fastscroller more visible.
Winson [Thu, 20 Aug 2015 19:23:52 +0000 (12:23 -0700)]
Updating the scrollbar to make the fastscroller more visible.

Bug: 20035978
Change-Id: I56a865262cd07e6af11b4374a7e6354710116dcd

8 years agoMerge "Tweaking fast scroller to follow touch closer." into ub-launcher3-burnaby
Winson Chung [Thu, 20 Aug 2015 19:26:00 +0000 (19:26 +0000)]
Merge "Tweaking fast scroller to follow touch closer." into ub-launcher3-burnaby

8 years agoTweaking fast scroller to follow touch closer.
Winson [Wed, 19 Aug 2015 00:43:02 +0000 (17:43 -0700)]
Tweaking fast scroller to follow touch closer.

- 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

8 years agoFixing work folder addition logic
Sunny Goyal [Thu, 20 Aug 2015 02:17:06 +0000 (19:17 -0700)]
Fixing work folder addition logic
  > Showing animation when folder is added
  > Not showing animation while cling is visible
  > Checking is loader completed from UI thread
  > Running bind complete runnables when bind is completed

Bug: 21772992
Bug: 23181585
Change-Id: I50742850da8294a877478ce02b107a026f68b563

8 years agoMerge "Fixing empty screen created at the end, even when dragging the last item on...
Sunny Goyal [Wed, 19 Aug 2015 21:08:10 +0000 (21:08 +0000)]
Merge "Fixing empty screen created at the end, even when dragging the last item on the last screen." into ub-launcher3-burnaby

8 years agoMerge "Deferring the move to the default screen until after we callback to the callba...
Winson Chung [Wed, 19 Aug 2015 19:19:26 +0000 (19:19 +0000)]
Merge "Deferring the move to the default screen until after we callback to the callbacks." into ub-launcher3-burnaby

8 years agoDeferring the move to the default screen until after we callback to the callbacks.
Winson [Wed, 19 Aug 2015 18:02:39 +0000 (11:02 -0700)]
Deferring the move to the default screen until after we callback to the 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

8 years agoFixing empty screen created at the end, even when dragging the last item on the last...
Sunny Goyal [Wed, 19 Aug 2015 01:48:38 +0000 (18:48 -0700)]
Fixing empty screen created at the end, even when dragging the last item on the last screen.

Change-Id: If0d4faf0ca15e71facb6ed2fd81ed6a589527836

8 years agoVersion code cleanup
Sunny Goyal [Mon, 17 Aug 2015 19:24:25 +0000 (12:24 -0700)]
Version code cleanup

  > Renaming Lmp to Lollipop
  > Lollipop_MR1 instead of directly using 22
  > Using M APIs directly instead of reflection

Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b

8 years agoRemoving call to isButtonPressed as its only Lollipop and above
Sunny Goyal [Mon, 17 Aug 2015 20:04:40 +0000 (13:04 -0700)]
Removing call to isButtonPressed as its only Lollipop and above

Change-Id: I0d70befa25baf4864303833111652dbf1d19daa5

8 years agoMerge "Updating the UI for the pending widget view" into ub-launcher3-burnaby
Sunny Goyal [Mon, 17 Aug 2015 18:25:38 +0000 (18:25 +0000)]
Merge "Updating the UI for the pending widget view" into ub-launcher3-burnaby

8 years agoUpdating the UI for the pending widget view
Sunny Goyal [Sat, 15 Aug 2015 00:10:14 +0000 (17:10 -0700)]
Updating the UI for the pending widget view

Bug: 23183034
Change-Id: I2b3f6f765a51edf75e666186650bbd3cf7b66a7a

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Aug 2015 14:09:24 +0000 (07:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iedffa6e0a67907f0d86dfaf9b9863c4580cc3cf5
Auto-generated-cl: translation import

8 years agoMerge "Disabling auto restore of widgets. > Always show "Setup" button for a widget...
Sunny Goyal [Fri, 14 Aug 2015 19:23:57 +0000 (19:23 +0000)]
Merge "Disabling auto restore of widgets.   > Always show "Setup" button for a widget which has a config activity." into ub-launcher3-burnaby

8 years agoDisabling auto restore of widgets.
Sunny Goyal [Wed, 12 Aug 2015 22:12:16 +0000 (15:12 -0700)]
Disabling auto restore of widgets.
  > Always show "Setup" button for a widget which has a config activity.

Bug: 23155863
Change-Id: I60683889e76be830a76ac1245e079574aaf0ad10

8 years agoMerge "Reloading launcher whenever there is an external update to contentprovider...
Sunny Goyal [Thu, 13 Aug 2015 23:48:04 +0000 (23:48 +0000)]
Merge "Reloading launcher whenever there is an external update to contentprovider, irrespective of the uri" into ub-launcher3-burnaby

8 years agoRefactoring to ExtendedEditText.
Winson [Thu, 13 Aug 2015 22:18:25 +0000 (15:18 -0700)]
Refactoring to ExtendedEditText.

8 years agoReloading launcher whenever there is an external update to contentprovider, irrespect...
Sunny Goyal [Thu, 13 Aug 2015 19:08:30 +0000 (12:08 -0700)]
Reloading launcher whenever there is an external update to contentprovider, irrespective of the uri

Change-Id: If1a06da57171be30adb74f09ac256a8b03ab8549

8 years agoMerge "Refreshing widget list when a package containing a widget changes" into ub...
Sunny Goyal [Thu, 13 Aug 2015 20:05:11 +0000 (20:05 +0000)]
Merge "Refreshing widget list when a package containing a widget changes" into ub-launcher3-burnaby

8 years agoMerge "Ensure that crop view is loaded before applying a wallpaper" into ub-launcher3...
Sunny Goyal [Wed, 12 Aug 2015 23:58:05 +0000 (23:58 +0000)]
Merge "Ensure that crop view is loaded before applying a wallpaper" into ub-launcher3-burnaby

8 years agoEnsure that crop view is loaded before applying a wallpaper
Sunny Goyal [Wed, 12 Aug 2015 22:28:33 +0000 (15:28 -0700)]
Ensure that crop view is loaded before applying a wallpaper

Bug: 22293299
Change-Id: I64d5268cc263bbb6595a0b28bdd5ec73d540da41

8 years agoMerge "Fixing crash upon cancellation of an accessible drag." into ub-launcher3-burnaby
Vadim Tryshev [Wed, 12 Aug 2015 17:37:15 +0000 (17:37 +0000)]
Merge "Fixing crash upon cancellation of an accessible drag." into ub-launcher3-burnaby

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Aug 2015 13:52:24 +0000 (06:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6b0d7c6db67ef4de9a6ee0b7752cccf070223df4
Auto-generated-cl: translation import

8 years agoRefreshing widget list when a package containing a widget changes
Sunny Goyal [Tue, 11 Aug 2015 20:56:28 +0000 (13:56 -0700)]
Refreshing widget list when a package containing a widget changes

Bug: 20698931
Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e

8 years agoFixing crash upon cancellation of an accessible drag.
Vadim Tryshev [Tue, 11 Aug 2015 23:21:04 +0000 (16:21 -0700)]
Fixing crash upon cancellation of an accessible drag.

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)

8 years agoMerge "Ensuring that AllAppsGridAdapter is public." into ub-launcher3-burnaby
Winson Chung [Tue, 11 Aug 2015 23:33:55 +0000 (23:33 +0000)]
Merge "Ensuring that AllAppsGridAdapter is public." into ub-launcher3-burnaby

8 years agoEnsuring that AllAppsGridAdapter is public.
Winson [Tue, 11 Aug 2015 23:20:47 +0000 (16:20 -0700)]
Ensuring that AllAppsGridAdapter is public.

- Also show the search action when searching all apps

Change-Id: I3470b0da565e6d1bce637ce09384d966215a4ca7

8 years agoMerge "Preventing zoom-in animation from running everytime the app updates." into...
Sunny Goyal [Tue, 11 Aug 2015 22:42:03 +0000 (22:42 +0000)]
Merge "Preventing zoom-in animation from running everytime the app updates." into ub-launcher3-burnaby

8 years agoPreventing zoom-in animation from running everytime the app updates.
Sunny Goyal [Tue, 11 Aug 2015 22:17:30 +0000 (15:17 -0700)]
Preventing zoom-in animation from running everytime the app updates.

Bug: 22557455
Change-Id: I3ac1212a2f319397cd18be8f4452047d974312b8

8 years agoDisabling home screen migration logic
Sunny Goyal [Tue, 11 Aug 2015 19:10:34 +0000 (12:10 -0700)]
Disabling home screen migration logic

Change-Id: I506948852945bfb8ebd7a95fc951880ffe9a3e17

8 years agoMerge "Adding market search." into ub-launcher3-burnaby
Winson Chung [Mon, 10 Aug 2015 22:55:40 +0000 (22:55 +0000)]
Merge "Adding market search." into ub-launcher3-burnaby

8 years agoPreventing user from selecting any new time, when a tile is already being applied
Sunny Goyal [Mon, 10 Aug 2015 18:53:23 +0000 (11:53 -0700)]
Preventing user from selecting any new time, when a tile is already being applied

Bug: 22293299
Change-Id: I6b9bf2b777d33ca23f291c7872ce1f338d41e516

8 years agoMerge "Fixing issue with miscalculation in updating container bounds." into ub-launch...
Winson Chung [Thu, 6 Aug 2015 23:06:16 +0000 (23:06 +0000)]
Merge "Fixing issue with miscalculation in updating container bounds." into ub-launcher3-burnaby

8 years agoFixing issue with miscalculation in updating container bounds.
Winson [Thu, 6 Aug 2015 21:42:50 +0000 (14:42 -0700)]
Fixing issue with miscalculation in updating container bounds.

- There was an issue with the previous logic where the test of whether
  the search bounds changed would always be false if valid search bounds
  were given.  This in conjunction with the fact that the padding was
  changed to only take the bounds left/right into account, meant that
  the container bounds would not be updated if the search bar bounds
  shifted via the insets.

Bug: 22918919
Change-Id: Ia810ddc7a56eae4afc0c7cd558fa6dc9e8e7a95b

8 years agoAlways log if Package is missing while loading default workspace
Adam Cohen [Thu, 6 Aug 2015 21:02:23 +0000 (14:02 -0700)]
Always log if Package is missing while loading default workspace

Change-Id: I7f2e5a9aabdf1fc192ad7912aaefa3f41c059ff1

8 years agoAdding market search.
Winson Chung [Fri, 10 Jul 2015 19:38:30 +0000 (12:38 -0700)]
Adding market search.

Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852

8 years agoMerge "Fixing invisible search bar" into ub-launcher3-burnaby
Winson Chung [Wed, 5 Aug 2015 21:19:04 +0000 (21:19 +0000)]
Merge "Fixing invisible search bar" into ub-launcher3-burnaby

8 years agoFixing invisible search bar
Winson [Wed, 5 Aug 2015 21:00:45 +0000 (14:00 -0700)]
Fixing invisible search bar

- We used to rely on the state transition to inflate the search
  widget after the permission to bind widgets was granted, which
  is fragile.  Now we try and inflate the search widget after
  user grants the permission if necessary.

Bug: 22515084
Bug: 22980143
Change-Id: Id111d263bc8a864e0fa652cfd0e07e66ec690fe7

8 years agoUsing a reverse hashmap instead of indexOfValue in userManager
Sunny Goyal [Wed, 5 Aug 2015 20:22:21 +0000 (13:22 -0700)]
Using a reverse hashmap instead of indexOfValue in userManager

Bug: 22980139
Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207

8 years agoRemoving some synthetic method creation
Sunny Goyal [Wed, 5 Aug 2015 19:32:47 +0000 (12:32 -0700)]
Removing some synthetic method creation

Change-Id: Icb6b38f78aa56ad2c11e2ccc8005994ac4b86a91

8 years agoMerge "Creating a cache of users to avoid multiple calls to UserManager" into ub...
Sunny Goyal [Wed, 5 Aug 2015 19:22:56 +0000 (19:22 +0000)]
Merge "Creating a cache of users to avoid multiple calls to UserManager" into ub-launcher3-burnaby

8 years agoMerge "Refactoring search bar animations." into ub-launcher3-burnaby
Winson Chung [Wed, 5 Aug 2015 19:21:03 +0000 (19:21 +0000)]
Merge "Refactoring search bar animations." into ub-launcher3-burnaby

8 years agoRefactoring search bar animations.
Winson Chung [Mon, 3 Aug 2015 21:40:11 +0000 (14:40 -0700)]
Refactoring search bar animations.

- This refactoring ensures that LauncherStateTransition does not
  do its own animation on the QSB, and that all animations to the
  SearchDropTargetBar go through its own animators.

Bug: 22515084

Change-Id: Ia7d13c44d861eac7517076b52a9651a90911ed0a

8 years agoMerge "Removing account manager calls" into ub-launcher3-burnaby
Sunny Goyal [Tue, 4 Aug 2015 23:24:43 +0000 (23:24 +0000)]
Merge "Removing account manager calls" into ub-launcher3-burnaby

8 years agoUpdating the default layouts for launcher3
Sunny Goyal [Tue, 4 Aug 2015 23:02:52 +0000 (16:02 -0700)]
Updating the default layouts for launcher3

Change-Id: I088c7195ae1985788e845900463d22973a0f61d4

8 years agoRemoving account manager calls
Sunny Goyal [Tue, 4 Aug 2015 22:09:58 +0000 (15:09 -0700)]
Removing account manager calls

Change-Id: Ic88139f6ef34046eb3b551d8a75d5f97e1fe3d52

8 years agoCreating a cache of users to avoid multiple calls to UserManager
Sunny Goyal [Tue, 4 Aug 2015 18:40:13 +0000 (11:40 -0700)]
Creating a cache of users to avoid multiple calls to UserManager

Bug: 22805101
Change-Id: I9cd270efd74fdd34a7eb738fc25797e6f1bf2487

8 years agoLoading high resolution icons for first 3 items in a folder
Sunny Goyal [Wed, 29 Jul 2015 18:45:41 +0000 (11:45 -0700)]
Loading high resolution icons for first 3 items in a folder

 > Sometimes a folder gets rearranged, without updating the model,
   like when an app in uninstalled. In that case, we need to update
   the icons for folder items, which were previously hidden

Bug: 22813360
Change-Id: I99754911c969bf2153efb2948c226c1c69219b88

8 years agoMerge "Calculating widget minSpans and spans statically/independent of orientation...
Sunny Goyal [Tue, 4 Aug 2015 17:27:48 +0000 (17:27 +0000)]
Merge "Calculating widget minSpans and spans statically/independent of orientation  > Filtering the widget list and excluding widgets which dont fit the grid  > setting minSpans for the widget item when binding." into ub-launcher3-burnaby

8 years agoMerge "Replacing exception with a log, when uninstalling an app leads to an illegal...
Sunny Goyal [Tue, 4 Aug 2015 02:32:57 +0000 (02:32 +0000)]
Merge "Replacing exception with a log, when uninstalling an app leads to an illegal state" into ub-launcher3-burnaby

8 years agoReplacing exception with a log, when uninstalling an app leads to an illegal state
Sunny Goyal [Tue, 4 Aug 2015 02:09:55 +0000 (19:09 -0700)]
Replacing exception with a log, when uninstalling an app leads to an illegal state

Bug: 22491055
Change-Id: Iaf5fe20b717102bdb0a5442dcc33efea30c50d47

8 years agoFix issue where scroll container shadow didn't fade out
Adam Cohen [Mon, 3 Aug 2015 23:59:10 +0000 (16:59 -0700)]
Fix issue where scroll container shadow didn't fade out

Change-Id: I3b0104dea04009819db0375c381b8ff445b76baa

8 years agoCalculating widget minSpans and spans statically/independent of orientation
Sunny Goyal [Mon, 3 Aug 2015 20:05:01 +0000 (13:05 -0700)]
Calculating widget minSpans and spans statically/independent of orientation
 > Filtering the widget list and excluding widgets which dont fit the grid
 > setting minSpans for the widget item when binding.

Bug: 22541314
Bug: 22559137
Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6

8 years agoMerge "Remove handler for searchables changed broadcast." into ub-launcher3-burnaby
Winson Chung [Mon, 3 Aug 2015 22:14:53 +0000 (22:14 +0000)]
Merge "Remove handler for searchables changed broadcast." into ub-launcher3-burnaby

8 years agoRemove handler for searchables changed broadcast.
Winson Chung [Mon, 3 Aug 2015 21:25:28 +0000 (14:25 -0700)]
Remove handler for searchables changed broadcast.

Bug: 22515084

8 years agoFixing drag outline positions for folder over hotseat
Sunny Goyal [Thu, 16 Jul 2015 19:21:00 +0000 (12:21 -0700)]
Fixing drag outline positions for folder over hotseat

Bug: 22506247
Change-Id: Ia2508307554089205fd678987454e81cb811a59b
(cherry picked from commit 92bce4316422c69ee26e6ece204fbf1499753086)

8 years agoMerge "Enabling logging for migration task" into ub-launcher3-burnaby
Sunny Goyal [Fri, 31 Jul 2015 22:01:31 +0000 (22:01 +0000)]
Merge "Enabling logging for migration task" into ub-launcher3-burnaby

8 years agoam a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to avoid build...
Adam Cohen [Fri, 31 Jul 2015 21:10:14 +0000 (21:10 +0000)]
am a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"

* commit 'a547c4516c1a2dfd87f3466fccffd5ca6c5cab8c':
  Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"

8 years agoRevert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
Adam Cohen [Fri, 31 Jul 2015 21:06:10 +0000 (21:06 +0000)]
Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"

This reverts commit cb7674118c6fa6849e657fb8fea25c8fd93477cc.

Change-Id: I831abe3746be49fd164046655e8c5e059bae074f

8 years agoMerge "Fixing minor memory leak with name comparator." into ub-launcher3-burnaby
Winson Chung [Fri, 31 Jul 2015 20:08:57 +0000 (20:08 +0000)]
Merge "Fixing minor memory leak with name comparator." into ub-launcher3-burnaby

8 years agoMerge "Fixing issue with flash during overview transition." into ub-launcher3-burnaby
Winson Chung [Fri, 31 Jul 2015 20:04:08 +0000 (20:04 +0000)]
Merge "Fixing issue with flash during overview transition." into ub-launcher3-burnaby

8 years agoEnabling logging for migration task
Sunny Goyal [Fri, 31 Jul 2015 19:40:57 +0000 (12:40 -0700)]
Enabling logging for migration task

Bug: 22353460
Change-Id: I8a9a8ea0d5523acb6d2376920535a9f4f519525d

8 years agoFixing issue with flash during overview transition.
Winson Chung [Fri, 31 Jul 2015 19:39:57 +0000 (12:39 -0700)]
Fixing issue with flash during overview transition.

- This is due to the TransitionDrawable which does not actually
  start an animation until it is first drawn.  This workaround
  will just immediately reset the transition if it is not currently
  visible instead of animating (which is actually deferred until
  the next animation into overview mode).

Bug: 22414257
Change-Id: Id481303d0c99a20c1d16396c024ab50303f45576

8 years agoHomescreen migration from a larger grid to a smaller grid.
Sunny Goyal [Mon, 27 Jul 2015 21:36:07 +0000 (14:36 -0700)]
Homescreen migration from a larger grid to a smaller grid.

Adding support for restoring from a larger device, if the grid size
difference is not more that 1.
During restore add all the items in the DB, and run a one-time migration
the next time launcher starts.

The migration strategy is defined in ShrinkWorkspaceTask.java which involves
resizing, moving and removing some items.

Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97

8 years agoam cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build breakage
Adam Cohen [Fri, 31 Jul 2015 18:49:57 +0000 (18:49 +0000)]
am cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build breakage

* commit 'cb7674118c6fa6849e657fb8fea25c8fd93477cc':
  Add proto flag "javanano_use_deprecated_package" to avoid build breakage

8 years agoam 0ff535ea: (-s ours) Remove references to FloatMath, deprecated in M
Adam Cohen [Fri, 31 Jul 2015 18:49:57 +0000 (18:49 +0000)]
am 0ff535ea: (-s ours) Remove references to FloatMath, deprecated in M

* commit '0ff535eabbdf27ec5a790adbc64f27f8c63e7399':
  Remove references to FloatMath, deprecated in M

8 years agoAdd proto flag "javanano_use_deprecated_package" to avoid build breakage
Adam Cohen [Fri, 31 Jul 2015 17:58:44 +0000 (10:58 -0700)]
Add proto flag "javanano_use_deprecated_package" to avoid build breakage

Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894

8 years agoMerge "Fixing issue with accessibility falsely reporting app count when there are...
Winson Chung [Thu, 30 Jul 2015 23:57:08 +0000 (23:57 +0000)]
Merge "Fixing issue with accessibility falsely reporting app count when there are no search results." into ub-launcher3-burnaby

8 years agoMerge "Prevent crash when flattening ComponentKey to string with invalid user." into...
Winson Chung [Thu, 30 Jul 2015 23:46:11 +0000 (23:46 +0000)]
Merge "Prevent crash when flattening ComponentKey to string with invalid user." into ub-launcher3-burnaby

8 years agoMerge "Prevent from widget cell preview image from being cut off." into ub-launcher3...
Hyunyoung Song [Thu, 30 Jul 2015 22:19:49 +0000 (22:19 +0000)]
Merge "Prevent from widget cell preview image from being cut off." into ub-launcher3-burnaby

8 years agoPrevent from widget cell preview image from being cut off.
Hyunyoung Song [Thu, 30 Jul 2015 22:04:59 +0000 (15:04 -0700)]
Prevent from widget cell preview image from being cut off.

b/22541466

>TL;DR;; when introducing mProfileBadgeMargin to correctly place
> work profile badge. Drawing origin of the preview image resulted
> to the left of (0, 0).

Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09

8 years agoRemove references to FloatMath, deprecated in M
Adam Cohen [Thu, 30 Jul 2015 20:03:56 +0000 (13:03 -0700)]
Remove references to FloatMath, deprecated in M

-> Allows us to build against M SDK

issue 22822360

Change-Id: I1178eb6bafc348699c5be8c29858eb3dff093e11

8 years agoFixing issue with accessibility falsely reporting app count when there are no search...
Winson Chung [Thu, 30 Jul 2015 19:53:33 +0000 (12:53 -0700)]
Fixing issue with accessibility falsely reporting app count when there are no search results.

Bug: 22672783
Change-Id: Ie40acc592e59699eac2a4ff2045a7f8ba029d33a

8 years agoPrevent crash when flattening ComponentKey to string with invalid user.
Winson Chung [Thu, 30 Jul 2015 19:03:28 +0000 (12:03 -0700)]
Prevent crash when flattening ComponentKey to string with invalid user.

Bug: 22658306
Change-Id: I213d44e0bb22ac0617d46c80ab8cfec8f750a2cc

8 years agoMerge "Adding rank column in backup" into ub-launcher3-burnaby
Sunny Goyal [Thu, 30 Jul 2015 18:01:49 +0000 (18:01 +0000)]
Merge "Adding rank column in backup" into ub-launcher3-burnaby

8 years agoMerge "Fixing overview mode scale calculations." into ub-launcher3-burnaby
Winson Chung [Tue, 28 Jul 2015 22:38:14 +0000 (22:38 +0000)]
Merge "Fixing overview mode scale calculations." into ub-launcher3-burnaby

8 years agoFixing minor memory leak with name comparator.
Winson Chung [Tue, 28 Jul 2015 00:50:13 +0000 (17:50 -0700)]
Fixing minor memory leak with name comparator.

- WidgetsAndShortcutNameComparator was using the actual widget and shortcut resolve
  infos as the key to the label cache.  Neither of these classes override hashCode()
  and we were retrieving a new set of widgets and shortcuts whenever packages changed
  so we would end up creating more and more entries in the cache.  This isn't a huge
  leak, but could lead to problems if Launcher is used for long periods without being
  killed.
- Now, we use a ComponentKey as the key, so that we don't keep a reference to the
  widget/shortcut infos and also ensures that they should hash to the same labels.

Change-Id: I91347ee72363adbc2b075b67dba331e35ab1fe34

8 years agoOverlay support lib RV resources in Android.mk
Hyunyoung Song [Tue, 28 Jul 2015 01:24:45 +0000 (18:24 -0700)]
Overlay support lib RV resources in Android.mk

Note: after this change, ag/735298 can be reverted.

b/22719084

Change-Id: I83caf8832790b1df0a90a1339f6b24f481c51661

8 years agoRemove NPE inside WidgetsListAdapter during monkey actor test
Hyunyoung Song [Mon, 27 Jul 2015 20:35:33 +0000 (13:35 -0700)]
Remove NPE inside WidgetsListAdapter during monkey actor test
b/22518383

Change-Id: I1a683c49be93af150f7873390b723cee0d4ac5df

8 years agoMerge "Don't obfuscate Launcher3" into ub-launcher3-burnaby
Adam Cohen [Sat, 25 Jul 2015 00:26:34 +0000 (00:26 +0000)]
Merge "Don't obfuscate Launcher3" into ub-launcher3-burnaby

8 years agoDon't obfuscate Launcher3
Adam Cohen [Fri, 24 Jul 2015 22:56:33 +0000 (15:56 -0700)]
Don't obfuscate Launcher3

Change-Id: I86ac745602c0d3c09842ed9553f7589c232f5d23

8 years agoAdding rank column in backup
Sunny Goyal [Mon, 20 Jul 2015 19:59:39 +0000 (12:59 -0700)]
Adding rank column in backup

> targetType was only added for M builds, so it can also be considered
  as v4 change. V3 which introduced minSpanX and minSpanY didn't
  contain targetType

Bug: 22417713
Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd