OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 19:08:36 +0000 (14:08 -0500)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 22482938
Change-Id: Id607b75f77fe89ee801336c8bc3e7d7db3ad59fa

8 years agoMerge "Adding size check when generating holographic outline" into ub-launcher3-burnaby
Sunny Goyal [Mon, 28 Sep 2015 19:17:25 +0000 (19:17 +0000)]
Merge "Adding size check when generating holographic outline" into ub-launcher3-burnaby

8 years agoAdding size check when generating holographic outline
Sunny Goyal [Mon, 28 Sep 2015 18:33:36 +0000 (11:33 -0700)]
Adding size check when generating holographic outline

Bug: 24426913
Change-Id: Ic7c9c767ea60ae4b25e064127105d94104233596

8 years agoAdding null check when creating icon bitmap
Sunny Goyal [Wed, 23 Sep 2015 19:56:51 +0000 (12:56 -0700)]
Adding null check when creating icon bitmap

Bug: 24299267
Change-Id: I596e4a8dbd4e45cffff75e6cf7bbbf7ec45c8ec9

8 years agoUsing custom threadpool executor instead of the one defined in AsyncTask
Sunny Goyal [Wed, 23 Sep 2015 22:38:09 +0000 (15:38 -0700)]
Using custom threadpool executor instead of the one defined in AsyncTask

Change-Id: I8fe95d932c5de14c74f0576bfc3d1f641d12b448

8 years agoMerge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
Sunny Goyal [Wed, 23 Sep 2015 18:34:56 +0000 (18:34 +0000)]
Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby

8 years agoUsing an executor with increased queue size for loading previews
Sunny Goyal [Wed, 23 Sep 2015 17:16:38 +0000 (10:16 -0700)]
Using an executor with increased queue size for loading previews

An async task can be in the queue even if it has been cancelled. It
is removed only after it gets executed once. So the executor can get
blocked if there are some tasks which are running, and we keep posting
and cancelling preview load tasks.

Bug: 24306650
Change-Id: I836c8d53258542cc6f31952dff84323cc057437c

8 years agoPreventing nullpointer exception when cloning rawList
Sunny Goyal [Tue, 22 Sep 2015 23:56:55 +0000 (16:56 -0700)]
Preventing nullpointer exception when cloning rawList

Bug: 24299525
Change-Id: I92018a3da7d75afc2c6997302f8e0492eb78e62f

8 years agoMerge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHid...
Adam Cohen [Mon, 21 Sep 2015 17:34:05 +0000 (17:34 +0000)]
Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby

8 years agoMerge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher...
Adam Cohen [Sat, 19 Sep 2015 00:32:53 +0000 (00:32 +0000)]
Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby

8 years agoCleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
Adam Cohen [Fri, 18 Sep 2015 19:15:19 +0000 (12:15 -0700)]
Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide

-> In some instances, onResume would incorrectly call onShow
-> When pressing Home from CustomContent, we'd get a sequence of onHide,
   onShow, and then onHide due to some deferred actions in onNewIntent.
   Got rid of the onShow.

issue 17629011

Change-Id: I9b4f2ef682f5a7060e68210866fa05452076e428

8 years agoWallpaper preview parallax matches the actual wallpaper's.
Tony Wickham [Thu, 10 Sep 2015 01:21:49 +0000 (18:21 -0700)]
Wallpaper preview parallax matches the actual wallpaper's.

Cherry picking the following changes from ub-launcher3-master:
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
Change-Id: I82b7ba506d51ee4b3812af5fbdf95d3303b37aef
Change-Id: Id7c2b5483c5535d59be2f8a459ce7788e3c8318a

Bug: 23568800
Change-Id: I343169b9fdc5ceaab3d4b39044627d78b7267868
(cherry picked from commit 3e776a87dc5178ab7d2c31a8db06fe5657db4e4a)

8 years agoAdd fake CustomContent screen for testing Launcher interface
Adam Cohen [Fri, 18 Sep 2015 19:11:16 +0000 (12:11 -0700)]
Add fake CustomContent screen for testing Launcher interface

Change-Id: I5f2aee1768fe59ee3079d069ff0be21cdf9282ea

8 years agoFixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
Winson [Fri, 18 Sep 2015 16:57:21 +0000 (09:57 -0700)]
Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.

Bug: 24173665
Change-Id: Ia59481dc7fb52454760c688ba49c90b8507d7900

8 years agoCatching RemoteExceptions when calling packagemanager to get list of shortcuts
Sunny Goyal [Fri, 18 Sep 2015 15:38:57 +0000 (08:38 -0700)]
Catching RemoteExceptions when calling packagemanager to get list of shortcuts

Bug: 23796963
Change-Id: I5486c2916e981e7135edd5df360536a362bc2795

8 years agoMerge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
Sunny Goyal [Thu, 17 Sep 2015 21:52:13 +0000 (21:52 +0000)]
Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby

8 years agoNull check when getting list of widget receivers
Sunny Goyal [Thu, 17 Sep 2015 21:09:07 +0000 (14:09 -0700)]
Null check when getting list of widget receivers

Bug: 23897605
Change-Id: Ib23b394828b0e5ec50bf7452b2ec2c905f4a6fbc

8 years agoThrowing system api call exceptions in case of dogfood builds
Sunny Goyal [Thu, 17 Sep 2015 19:50:11 +0000 (12:50 -0700)]
Throwing system api call exceptions in case of dogfood builds

Change-Id: I28bad663712a22360ceed095ceb54ce71b1449d5

8 years agoCatching DeadObjectException and TransactionTooLarge
Sunny Goyal [Tue, 15 Sep 2015 18:32:58 +0000 (11:32 -0700)]
Catching DeadObjectException and TransactionTooLarge

Bug: 23796965
Bug: 23796963
Change-Id: I4c6ed217b9925b2e6014adc374b8b21f1ba559bc

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