OSDN Git Service

android-x86/packages-apps-Launcher3.git
7 years agoGet permission from users to collect anonymous data marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3
Chih-Wei Huang [Mon, 8 Aug 2016 13:46:14 +0000 (21:46 +0800)]
Get permission from users to collect anonymous data

To improve the Android-x86 project, we'd like to collect some
anonymous data from the users. We need to ask the permission
from the uses to do these.

If you want to stop collecting the data, set the properties

* persist.sys.hw_statistics=false
* persist.sys.apps_statistics=false

8 years agoam ea9ad5ce: Merge remote-tracking branch \'origin/ub-launcher3-burnaby\' into mnc-dev
Sunny Goyal [Mon, 14 Sep 2015 21:40:15 +0000 (21:40 +0000)]
am ea9ad5ce: Merge remote-tracking branch \'origin/ub-launcher3-burnaby\' into mnc-dev

* commit 'ea9ad5cead9ad894fb670476bb5381198cdcf2de': (76 commits)
  Restoring provider behavior for reloading app on old devices   > For older devices, launcher will only reload in case of inserts with specific query parameters   > For older devices, launcehr will notify content observers of any internal inserts   > Chaning TAG for Launcher provider as max logging tag is only 23 characters
  Removing items which are on invalid screen
  Preventing null pointer crash when opening a folder
  Revert workaround for move to default screen on home intent.
  Fixing NPE in recycler view scroll bar.
  Adding workaround for regression caused by ag/752175
  Adding gradle script for Android Studio
  Override the overscroll color for the widget rows.
  Adding graphic for all apps empty search screen.
  Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app
  Revert "Adding viewId for the QSB"
  Adding viewId for the QSB
  Fixing issue with missing scroll bar after fast-scrolling and searching.
  Fixing an issue where you would inadvertently start fastscrolling.
  Pending bind callbacks should be cleared before starting the loader, similar to startBinding
  Fixing widgets container inactive scroll bar color.
  Making the detached scrollbar catch up faster to the actual scroll position.
  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
  Updating the target sdk to launcher
  Using the usermanager api to get creation time
  ...

8 years agoMerge remote-tracking branch 'origin/ub-launcher3-burnaby' into mnc-dev
Sunny Goyal [Thu, 10 Sep 2015 23:34:09 +0000 (16:34 -0700)]
Merge remote-tracking branch 'origin/ub-launcher3-burnaby' into mnc-dev

Conflicts:
Android.mk

Change-Id: I05429e418a25b94e7669e002d39bc70806396b8e

8 years agoMerge "Removing items which are on invalid screen" into ub-launcher3-burnaby
Sunny Goyal [Wed, 9 Sep 2015 17:05:11 +0000 (17:05 +0000)]
Merge "Removing items which are on invalid screen" into ub-launcher3-burnaby

8 years agoRestoring provider behavior for reloading app on old devices
Sunny Goyal [Tue, 8 Sep 2015 21:01:03 +0000 (14:01 -0700)]
Restoring provider behavior for reloading app on old devices
  > For older devices, launcher will only reload in case of inserts with specific query parameters
  > For older devices, launcehr will notify content observers of any internal inserts
  > Chaning TAG for Launcher provider as max logging tag is only 23 characters

Bug: 23821706
Change-Id: I32891387612d967c41ddae848c43dc4b1de1b0e9

8 years agoRemoving items which are on invalid screen
Sunny Goyal [Fri, 4 Sep 2015 19:53:04 +0000 (12:53 -0700)]
Removing items which are on invalid screen

Bug: 23804751
Change-Id: If26a6b201aa6127cfd2a08fc4b408a27d6329bad

8 years agoMerge "Preventing null pointer crash when opening a folder" into ub-launcher3-burnaby
Sunny Goyal [Thu, 3 Sep 2015 17:12:36 +0000 (17:12 +0000)]
Merge "Preventing null pointer crash when opening a folder" into ub-launcher3-burnaby

8 years agoPreventing null pointer crash when opening a folder
Sunny Goyal [Thu, 3 Sep 2015 16:48:50 +0000 (09:48 -0700)]
Preventing null pointer crash when opening a folder

Bug: 23770713
Change-Id: I3ce82450358f1493f70639d594e1e3f391945437

8 years agoRevert workaround for move to default screen on home intent.
Ivan Lee [Thu, 3 Sep 2015 16:16:07 +0000 (10:16 -0600)]
Revert workaround for move to default screen on home intent.

BUG=23556755

Change-Id: Ia268a58389b90fd0503e474f02f33a312c051c0e

8 years agoMerge "Adding gradle script for Android Studio" into ub-launcher3-burnaby
Sunny Goyal [Tue, 1 Sep 2015 00:15:53 +0000 (00:15 +0000)]
Merge "Adding gradle script for Android Studio" into ub-launcher3-burnaby

8 years agoMerge "Fixing NPE in recycler view scroll bar." into ub-launcher3-burnaby
Winson Chung [Mon, 31 Aug 2015 22:08:41 +0000 (22:08 +0000)]
Merge "Fixing NPE in recycler view scroll bar." into ub-launcher3-burnaby

8 years agoFixing NPE in recycler view scroll bar.
Winson [Mon, 31 Aug 2015 22:02:26 +0000 (15:02 -0700)]
Fixing NPE in recycler view scroll bar.

- The regression was introduced in scroll bar changes ag/751628, but
  unlike AllApps, the WidgetsRecyclerView can have an unbound model.

Bug: 23689784
Change-Id: Ibd3d5bcbafab0ada9a372fa00acaa45809ce720d

8 years agoMerge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby
Winson Chung [Mon, 31 Aug 2015 18:40:41 +0000 (18:40 +0000)]
Merge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby

8 years agoAdding workaround for regression caused by ag/752175
Winson [Mon, 31 Aug 2015 18:32:38 +0000 (11:32 -0700)]
Adding workaround for regression caused by ag/752175

Change-Id: I92617c88f17a5827454e147f93d822975587d5b4

8 years agoAdding gradle script for Android Studio
Sunny Goyal [Sun, 30 Aug 2015 06:16:27 +0000 (23:16 -0700)]
Adding gradle script for Android Studio

Change-Id: I640c63e2981337eb8c8ed191b40c0649a986361e

8 years agoMerge "Override the overscroll color for the widget rows." into ub-launcher3-burnaby
Winson Chung [Fri, 28 Aug 2015 21:17:36 +0000 (21:17 +0000)]
Merge "Override the overscroll color for the widget rows." into ub-launcher3-burnaby

8 years agoMerge "Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed...
Sunny Goyal [Fri, 28 Aug 2015 21:16:03 +0000 (21:16 +0000)]
Merge "Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app" into ub-launcher3-burnaby

8 years agoMerge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby
Winson Chung [Fri, 28 Aug 2015 21:08:49 +0000 (21:08 +0000)]
Merge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby

8 years agoOverride the overscroll color for the widget rows.
Winson [Fri, 28 Aug 2015 21:05:07 +0000 (14:05 -0700)]
Override the overscroll color for the widget rows.

Change-Id: I249e13f511736ad9e874800a1b9ee1f8602434f4

8 years agoAdding graphic for all apps empty search screen.
Winson [Thu, 20 Aug 2015 00:26:21 +0000 (17:26 -0700)]
Adding graphic for all apps empty search screen.

Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c

8 years agoUsing GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app
Sunny Goyal [Fri, 28 Aug 2015 17:26:48 +0000 (10:26 -0700)]
Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app

Bug: 23515512
Change-Id: I60678eccd4b60225ff30960f7197d633f72c7659

8 years agoRevert "Adding viewId for the QSB"
Sunny Goyal [Thu, 27 Aug 2015 22:30:25 +0000 (15:30 -0700)]
Revert "Adding viewId for the QSB"

Using QSB widget id from xml

This reverts commit 995685913955f33b05fdc0b473df901f2b0652c0.

Change-Id: I33c48cf074f2dc1cf509c2d9f1f19b40b91f6a22

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