OSDN Git Service

android-x86/packages-apps-Trebuchet.git
8 years agoAutomatic translation import
Michael Bestas [Fri, 25 Dec 2015 17:37:09 +0000 (19:37 +0200)]
Automatic translation import

Change-Id: Ibac4507bf89c08b063c493af72f60607e774fd51

8 years agoTrebuchet: Don't resize BubbleTextView based on all apps pref
cretin45 [Tue, 22 Dec 2015 23:08:21 +0000 (15:08 -0800)]
Trebuchet: Don't resize BubbleTextView based on all apps pref

Issue-id: CYNGNOS-1427

Change-Id: I3bb5107fa24b85e5713d7f6403a332246609804b

8 years agoTrebuchet: Adjust device profiles and add one for bacon
cretin45 [Tue, 22 Dec 2015 23:04:28 +0000 (15:04 -0800)]
Trebuchet: Adjust device profiles and add one for bacon

Change-Id: Ib96af9891f08506e3f83e1fd21835665ae4be6c2

8 years agoTrebuchet: Add migration for new messaging app
cretin45 [Tue, 22 Dec 2015 21:58:09 +0000 (13:58 -0800)]
Trebuchet: Add migration for new messaging app

Issue-id: CYNGNOS-1422

Change-Id: Iaf64cdba4333703a73c72997c1ddc353ecdcd24b

8 years agoTrebuchet: Auto collapse settings panel
cretin45 [Tue, 22 Dec 2015 00:33:09 +0000 (16:33 -0800)]
Trebuchet: Auto collapse settings panel

Issue-id: CYNGNOS-1425

Change-Id: I26896332431eb42dc4727a4f2bb9c4c0a3cfbcc5

8 years agoTrebuchet: Fix some icon size and flush cache issues
cretin45 [Fri, 18 Dec 2015 22:54:09 +0000 (14:54 -0800)]
Trebuchet: Fix some icon size and flush cache issues

Change-Id: I6aa4bc09fd888559d3a1795f4f0968f9b89534d9

8 years agoTrebuchet: Fix hidden folder list text color
cretin45 [Fri, 18 Dec 2015 21:30:40 +0000 (13:30 -0800)]
Trebuchet: Fix hidden folder list text color

Issue-id: CYNGNOS-1464

Change-Id: I4bedab037c2e3adf4169152c53ce0beabcd0e255

8 years agoTrebuchet: Ignore mnc/mcc config changes
cretin45 [Thu, 17 Dec 2015 23:51:37 +0000 (15:51 -0800)]
Trebuchet: Ignore mnc/mcc config changes

issue-id: CYNGNOS-1417

Change-Id: Iac3eba6e6f9dc0bd2e60462bbe931233fff3e7b6
(cherry picked from commit d11a4f0aa1fccbae88efb3cde7d7a8ac8b806b7c)

8 years agoTrebuchet: Exclude from recents
cretin45 [Fri, 18 Dec 2015 19:24:29 +0000 (11:24 -0800)]
Trebuchet: Exclude from recents

Issue-id: CYNGNOS-1449

Change-Id: Iccbd953241886dbbda01e38225123dfd1761accc

8 years agoTrebuchet: Add ability to disable the scroller completely
Martin Herndl [Thu, 17 Dec 2015 16:08:27 +0000 (17:08 +0100)]
Trebuchet: Add ability to disable the scroller completely

This change adds another toggle to the drawer settings which disables
the app drawer scroller completely. There is already a setting which
toggles between horizontal and vertical scroller, but I like my
drawer if it's even cleaner and uses no scroller at all.

Change-Id: Iad3efdafee264852f52e728341fd86d60452b05b

8 years agoHandle theme changes
Clark Scheff [Tue, 10 Jun 2014 22:01:34 +0000 (15:01 -0700)]
Handle theme changes

issue-id: CYNGNOS-1434 NIGHTLIES-2149

Change-Id: I85208f3d6b572fb7a161db79cd3b74c1102dbba2
(cherry picked from commit 50f78e36b079bbe14bcb50064d28940358d42544)

8 years agoAdd app drawer search bar toggle to settings
Martin Herndl [Wed, 16 Dec 2015 14:37:11 +0000 (15:37 +0100)]
Add app drawer search bar toggle to settings

This adds the possibility to enable or disable the search bar on top
of the app drawer. In the Launcher class it will be created with the
View.GONE visibility to avoid taking up space if disabled. Per
default it behaves like before and is enabled.

PS3: Make sure the hasSearchBar boolean is set.

Change-Id: I48711aea2b15bf535815d0e453ac33079af26eca

8 years agoFix: Restore workspace gradients when returning from Widget drop
Raj Yengisetty [Fri, 21 Nov 2014 19:17:20 +0000 (11:17 -0800)]
Fix: Restore workspace gradients when returning from Widget drop

Change-Id: I08927ea359460f60cebe1b942273a24eea8f86d5

8 years agoFix: Workspace background gradient
Raj Yengisetty [Thu, 28 Aug 2014 00:18:26 +0000 (17:18 -0700)]
Fix: Workspace background gradient

Repro:
 - Open App Drawer
 - Launcher any app
 - Press back (User should be returned to the App Drawer)
 - Press back again (User should be returned to the Home Screen)
 - Note gradient near status bar (Home Screen gradient is missing!)
 - Press home
 - Note Home Screen gradient reappears

Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731

8 years agoTrebuchet: Add scrubber to widget view
cretin45 [Thu, 10 Dec 2015 23:39:19 +0000 (15:39 -0800)]
Trebuchet: Add scrubber to widget view

Change-Id: I68711e95ed31a962b47e995e979e32de37570b44

8 years agoReimplement CM Settings Overview Panel Part 5
Yvonne Wong [Wed, 9 Dec 2015 00:54:40 +0000 (16:54 -0800)]
Reimplement CM Settings Overview Panel Part 5

- Enable default screen button
- Make UI changes to settings panel
- Add a broadcast receiver for hide/unhide search bar setting

Change-Id: I849dd412231795b894e7af7ee575e60feb618c70

8 years agoTrebuchet: Add DB migration
cretin45 [Tue, 8 Dec 2015 19:03:27 +0000 (11:03 -0800)]
Trebuchet: Add DB migration

Change-Id: Ic470848380ede33ba52e71d453d5328a23160b48

8 years agoReimplement CM Settings Overview Panel Part 4
Yvonne Wong [Tue, 8 Dec 2015 01:41:38 +0000 (17:41 -0800)]
Reimplement CM Settings Overview Panel Part 4

- Enable protected apps and update workspace/app drawer/widgets view when protected apps change
- Change reload launcher to happen after each setting toggle to reduce UI lag

Change-Id: I0a4a4a077c3cb94eaccfb4e8c4213135cb99d57e

8 years agoTrebuchet: Fix landscape NPE
cretin45 [Mon, 7 Dec 2015 23:13:11 +0000 (15:13 -0800)]
Trebuchet: Fix landscape NPE

Change-Id: Ice27a7d88398bbffe99c9689feafd6c4aa4e0191

8 years agoTrebuchet: Add app drawer settings
cretin45 [Tue, 1 Dec 2015 00:38:47 +0000 (16:38 -0800)]
Trebuchet: Add app drawer settings

Change-Id: I040420608de64bedc6e9832268796cdf801f5c21

8 years agoReimplement CM Settings Overview Panel Part 3
Yvonne Wong [Wed, 2 Dec 2015 01:04:07 +0000 (17:04 -0800)]
Reimplement CM Settings Overview Panel Part 3
- Enable dynamic grid resizing

Change-Id: I95a7f20da48e037a94ce5b6191c5597490d91d9d

8 years agoRe-Implementation of hidden folders
Vineet Patil [Tue, 24 Nov 2015 23:43:37 +0000 (15:43 -0800)]
Re-Implementation of hidden folders

Change-Id: I2cdb881eb6a2608279d30a1cdfc1327a89ae7693

8 years agoReimplement CM Settings Overview Panel in the new Launcher Part 2
Yvonne Wong [Mon, 30 Nov 2015 23:32:16 +0000 (15:32 -0800)]
Reimplement CM Settings Overview Panel in the new Launcher Part 2
- Enables hiding the search bar from the workspace
- Adds a reload launcher flag to reload only during onResume or newIntent if needed

Change-Id: I0feb279f9003b268b5a129cef40d3665787ee451

8 years agoReimplement CM Settings Overview Panel in the new Launcher Part 1
Yvonne Wong [Fri, 20 Nov 2015 18:49:59 +0000 (10:49 -0800)]
Reimplement CM Settings Overview Panel in the new Launcher Part 1
- Adds vertical sliding panel and animations associated with opening and closing the panel
- Adds the views for settings and animation for the drawer arrow
- Enables hiding workspace icon labels, hiding drawer icon labels, scrolling wallpaper, and larger icons
- Changes how ragged grid custom icon sizes gets defined

Change-Id: I1a82215a09486b4770494e665e598efdbabd1d3e

8 years agoPartially revert "Trebuchet: Update default workspace"
Michael Bestas [Thu, 19 Nov 2015 00:23:11 +0000 (02:23 +0200)]
Partially revert "Trebuchet: Update default workspace"

* Bring back LockClock to a sane position

This reverts commit b31f1cc9e7827bf59571621295e32b2091056faa.

Change-Id: Ia688b75028d5e94eb225b11fd703c143ec9fa216

8 years agoTrebuchet: Update default workspace
Aaahh Ahh [Fri, 6 Nov 2015 00:32:25 +0000 (19:32 -0500)]
Trebuchet: Update default workspace

Change-Id: I429953c42c1706b5a616f7725706dcc208617822

8 years agoGMS 3.0 : Update optional apps and folders
Abhisek Devkota [Mon, 2 Nov 2015 23:31:32 +0000 (15:31 -0800)]
GMS 3.0 : Update optional apps and folders

CYNGNOS-1284

Change-Id: I62550df160cd40d77692d42f01ab11e27823b217
(cherry picked from commit 2d723e272e080f0ea63ebb1c6c139c1ae05513c2)

8 years agoUpdate default workspace to GMS 3.0 req
Abhisek Devkota [Mon, 2 Nov 2015 19:09:34 +0000 (11:09 -0800)]
Update default workspace to GMS 3.0 req

CYNGNOS-1284

Change-Id: If74f7dc1b81e48d00c80b71cef4994d6f5172b59

8 years agoWe shall call it Trebuchet
cretin45 [Tue, 24 Nov 2015 22:39:53 +0000 (14:39 -0800)]
We shall call it Trebuchet

Change-Id: I068d7e025bb01fd4216be3ffcf3cdfd3285be9da

8 years agoTrebuchet: Use full res app icon on icon cache init
cretin45 [Mon, 23 Nov 2015 22:18:44 +0000 (14:18 -0800)]
Trebuchet: Use full res app icon on icon cache init

Change-Id: I77400641d561de9b012b4fadd088fb62c9dbdcdd

8 years ago Reimplement the CM scrubber against the new Launcher
cretin45 [Sat, 14 Nov 2015 00:51:43 +0000 (16:51 -0800)]
 Reimplement the CM scrubber against the new Launcher

PS4: Implement RTL support

Change-Id: I4456d54b5924913d1b36e1cfa9a2269150f6fb3e

8 years agoImplementation of folder animation changes as per cm-13.0
Vineet Patil [Tue, 17 Nov 2015 22:23:05 +0000 (14:23 -0800)]
Implementation of folder animation changes as per cm-13.0
Folder animations in parity with cm.

Folder Layout Revision

Updated the folder layout to reflect design revisions based on community feedback

Change-Id: Ica1bb796dfccf779a954cf0903a1ae94a010ea1a

Conflicts:
res/drawable-hdpi/folder_bg.9.png
res/drawable-hdpi/folder_fill_highlight.9.png
res/drawable-mdpi/folder_bg.9.png
res/drawable-mdpi/folder_fill_highlight.9.png
res/drawable-xhdpi/folder_bg.9.png
res/drawable-xhdpi/folder_fill_highlight.9.png
res/drawable-xxhdpi/folder_bg.9.png
res/drawable-xxhdpi/folder_fill_highlight.9.png
res/layout-land/launcher.xml
res/layout-port/launcher.xml
res/layout-sw720dp/launcher.xml
res/layout/user_folder.xml
res/values/dimens.xml
src/com/android/launcher3/Folder.java
src/com/android/launcher3/FolderIcon.java
src/com/android/launcher3/Launcher.java

Folder animation changes as per cm-13.0

Change-Id: I019511a58bd9f6a60a3c9b68c826726881cec83f

Implementing folder animations

Change-Id: I83f17c996ecc894ce22fd195b9b33caf58e2e822

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