OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoAdjust cropped bitmap bounds to correctly fit in original bitmap bounds.
Tony Wickham [Tue, 22 Sep 2015 20:21:20 +0000 (13:21 -0700)]
Adjust cropped bitmap bounds to correctly fit in original bitmap bounds.

Bug: 22631531

Change-Id: Ia0c1bccf4b8af3a8b335b865974c5d08f9836689

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

* commit 'b3fff9d98a3e3c886d4efa912d7ad6753dd7ec9c':
  Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide

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 agoam 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface...
Adam Cohen [Sat, 19 Sep 2015 00:35:57 +0000 (00:35 +0000)]
am 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby

* commit '36bde9a9e50412329237081e595d732b7da93e0b':
  Add fake CustomContent screen for testing Launcher interface

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 agoam 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.
Tony Wickham [Fri, 18 Sep 2015 20:41:14 +0000 (20:41 +0000)]
am 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.

* commit '6ed058cb6bfbb5756721e0d7f4a80a1c08ee665c':
  Wallpaper preview parallax matches the actual wallpaper's.

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 agoMerge "Requiring key chord to delete icons and folders on the workspace" into ub...
Winson Chung [Fri, 18 Sep 2015 18:49:25 +0000 (18:49 +0000)]
Merge "Requiring key chord to delete icons and folders on the workspace" into ub-launcher3-burnaby-polish

8 years agoam 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
Winson [Fri, 18 Sep 2015 17:23:11 +0000 (17:23 +0000)]
am 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.

* commit '605156bd87345beef31bf9164e85fbfc8a1cfc08':
  Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.

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 agoam 31860581: Catching RemoteExceptions when calling packagemanager to get list of...
Sunny Goyal [Fri, 18 Sep 2015 17:05:41 +0000 (17:05 +0000)]
am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts

* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
  Catching RemoteExceptions when calling packagemanager to get list of shortcuts

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 agoam 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launche...
Sunny Goyal [Thu, 17 Sep 2015 22:03:56 +0000 (22:03 +0000)]
am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby

* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
  Null check when getting list of widget receivers

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 agoam 79afe010: Throwing system api call exceptions in case of dogfood builds
Sunny Goyal [Thu, 17 Sep 2015 21:38:25 +0000 (21:38 +0000)]
am 79afe010: Throwing system api call exceptions in case of dogfood builds

* commit '79afe010d55af6b1753430a334bf6e24448e9375':
  Throwing system api call exceptions in case of dogfood builds

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 agoonDropChild() always marks the cell as occupied.
Tony Wickham [Thu, 17 Sep 2015 18:08:27 +0000 (11:08 -0700)]
onDropChild() always marks the cell as occupied.

Bug: 24164487
Change-Id: I11ef638a56b638ee82c3cd748340995970fc7e32

8 years agoam 3dc7beea: Catching DeadObjectException and TransactionTooLarge
Sunny Goyal [Tue, 15 Sep 2015 21:19:40 +0000 (21:19 +0000)]
am 3dc7beea: Catching DeadObjectException and TransactionTooLarge

* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
  Catching DeadObjectException and TransactionTooLarge

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 "Tweaking print_db script to take grid size directly." into ub-launcher3-burnab...
Winson Chung [Mon, 14 Sep 2015 20:32:04 +0000 (20:32 +0000)]
Merge "Tweaking print_db script to take grid size directly." into ub-launcher3-burnaby-polish

8 years agoRequiring key chord to delete icons and folders on the workspace
Winson [Mon, 14 Sep 2015 19:01:13 +0000 (12:01 -0700)]
Requiring key chord to delete icons and folders on the workspace

- Also fixing case where the all apps button to search for more apps
  was not focusable

Bug: 20639227
Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92

8 years agoTweaking print_db script to take grid size directly.
Winson [Mon, 14 Sep 2015 18:51:41 +0000 (11:51 -0700)]
Tweaking print_db script to take grid size directly.

Change-Id: Id274f6086a37adbbea4f86d01c55e38d6c616c00

8 years agoMerge "Wallpaper preview parallax matches the actual wallpaper's." into ub-launcher3...
Tony Wickham [Mon, 14 Sep 2015 18:39:56 +0000 (18:39 +0000)]
Merge "Wallpaper preview parallax matches the actual wallpaper's." into ub-launcher3-burnaby-polish

8 years agoRefactoring to ensure item deletion always removes from the DB.
Winson [Wed, 9 Sep 2015 23:38:15 +0000 (16:38 -0700)]
Refactoring to ensure item deletion always removes from the DB.

- Routing the various places where we call through to delete from
  LauncherModel through Launcher, which will delegate the removal
  of the icon from the workspace, and properly handle the removal
  of all items and their contents from the db.

Bug: 23944119

Change-Id: I022fe2b3e79da16b5af87505c4362490b8422686

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

8 years agoam 4abaf133: Merge "Removing items which are on invalid screen" into ub-launcher3...
Sunny Goyal [Wed, 9 Sep 2015 17:07:52 +0000 (17:07 +0000)]
am 4abaf133: Merge "Removing items which are on invalid screen" into ub-launcher3-burnaby

* commit '4abaf133546b0c950edc82594985e9da50d9c1dd':
  Removing items which are on invalid screen

8 years agoam c74e4197: Restoring provider behavior for reloading app on old devices > For...
Sunny Goyal [Wed, 9 Sep 2015 17:07:51 +0000 (17:07 +0000)]
am c74e4197: 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   > Chani

* commit 'c74e41973a74aa416e16aeadaa2f491153da26bc':
  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

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 agoFix typos caused by gerrit's inline editor.
Tony Wickham [Fri, 28 Aug 2015 23:33:11 +0000 (16:33 -0700)]
Fix typos caused by gerrit's inline editor.

Change-Id: Ie142f5c6b418ac775cc167787f8e372d5354b91a
(cherry picked from commit 1ea392f0bc30134a800be224d8fbcf1af63bb80b)

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 "Long-clicking workspace overlay buttons does the same thing as clicking them...
Tony Wickham [Fri, 4 Sep 2015 22:18:38 +0000 (22:18 +0000)]
Merge "Long-clicking workspace overlay buttons does the same thing as clicking them." into ub-launcher3-burnaby-polish

8 years agoMerge "Reuse existing temporary wallpaper tiles when selecting same photo." into...
Tony Wickham [Fri, 4 Sep 2015 22:18:16 +0000 (22:18 +0000)]
Merge "Reuse existing temporary wallpaper tiles when selecting same photo." into ub-launcher3-burnaby-polish

8 years agoReuse existing temporary wallpaper tiles when selecting same photo.
Tony Wickham [Fri, 28 Aug 2015 19:26:08 +0000 (12:26 -0700)]
Reuse existing temporary wallpaper tiles when selecting same photo.

Previously, if you selected a photo to set as the wallpaper multiple times, it
kept adding temporary wallpaper tiles that were all identical. Now it reuses the
same tile, updating the thumbnail and wallpaper if the Uri happens to point to a
new image (such as if a photo is renamed).

Change-Id: Ib05c9db4e1fd17226b503174f25add3368158b11
(cherry picked from commit f970ee5cdc0185fa5003ded178ef680813d8a259)

8 years agoDon't repeat ReorderPreviewAnimation for folders/widgets in power save mode.
Tony Wickham [Wed, 2 Sep 2015 21:45:39 +0000 (14:45 -0700)]
Don't repeat ReorderPreviewAnimation for folders/widgets in power save mode.

Since power save mode (introduced in Lollipop, also known as battery saver)
disables animations, the ReorderPreviewAnimation looks bad - instead of
displaced folders subtly and smoothly moving up and down, they violently jump
between up and down positions in rapid succession. Setting the animation to not
repeat in this case avoids this issue.

Bug: 23675090
Change-Id: I8149610af75e7023dca28a942b3447228083cd33
(cherry picked from commit 9e0702f4af33db569c9ed79bdf311204abe40dd5)

8 years agoLong-clicking workspace overlay buttons does the same thing as clicking them.
Tony Wickham [Wed, 2 Sep 2015 23:11:09 +0000 (16:11 -0700)]
Long-clicking workspace overlay buttons does the same thing as clicking them.

Bug: 15000525
Change-Id: I4123863de888989ad6171cb43001c3ad86c19edb
(cherry picked from commit c75917f12956734fbe93615f5ee27ecad1a46c63)

8 years agoCompressing Launcher resources.
Winson [Fri, 4 Sep 2015 15:52:36 +0000 (08:52 -0700)]
Compressing Launcher resources.

Bug: 23812987

Change-Id: I66452a321c3c48661387282ba782ba948e0aae6b

8 years agoam 606726ba: Merge "Preventing null pointer crash when opening a folder" into ub...
Sunny Goyal [Fri, 4 Sep 2015 17:14:46 +0000 (17:14 +0000)]
am 606726ba: Merge "Preventing null pointer crash when opening a folder" into ub-launcher3-burnaby

* commit '606726ba289583a67188d9448b220c2e3fae87d7':
  Preventing null pointer crash when opening a folder

8 years agoam 667d6888: Revert workaround for move to default screen on home intent.
Ivan Lee [Fri, 4 Sep 2015 17:14:46 +0000 (17:14 +0000)]
am 667d6888: Revert workaround for move to default screen on home intent.

* commit '667d6888f4a7f1a6267c1968f22fdb8ff3af8d34':
  Revert workaround for move to default screen on home intent.

8 years agoMerge "Disabling fast scroller when searching apps." into ub-launcher3-burnaby-polish
Winson Chung [Thu, 3 Sep 2015 21:07:24 +0000 (21:07 +0000)]
Merge "Disabling fast scroller when searching apps." into ub-launcher3-burnaby-polish

8 years agoFixing regression, reset AllApps when the screen turns off.
Winson [Thu, 3 Sep 2015 18:36:19 +0000 (11:36 -0700)]
Fixing regression, reset AllApps when the screen turns off.

- Now that we are debouncing the workspace state, we were no longer resetting
  the all apps view when the screen turns off when the user is already on the
  workspace.

Bug: 23759455
Change-Id: I996b595945de96ae6ff2344349027d4722921984

8 years agoDisabling fast scroller when searching apps.
Winson [Thu, 3 Sep 2015 18:46:11 +0000 (11:46 -0700)]
Disabling fast scroller when searching apps.

- There is no meaningful order for the app search results since they are ranked.

Bug: 23759082
Change-Id: I0aa4eea68136ea3ecef2a80b20ba7b0d46f0653b

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

9 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

9 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