Commit Graph

11777 Commits

Author SHA1 Message Date
Baligh Uddin 522d4ac6fe am 68207e25: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop am: 6317598a19 -s ours am: bfe4347964 -s ours am: 669ef65afb -s ours am: 03937ac5d7 -s ours
am: 909bcceeb4  -s ours

* commit '909bcceeb449284823d8fdbe4556f89b96577d75':
2015-10-20 01:48:55 +00:00
Baligh Uddin 909bcceeb4 am 68207e25: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop am: 6317598a19 -s ours am: bfe4347964 -s ours am: 669ef65afb -s ours
am: 03937ac5d7  -s ours

* commit '03937ac5d7c2dae4d730bc6cea6d42c63ad13181':
2015-10-20 01:30:31 +00:00
Baligh Uddin 03937ac5d7 am 68207e25: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop am: 6317598a19 -s ours am: bfe4347964 -s ours
am: 669ef65afb  -s ours

* commit '669ef65afbb3799333b4e961371b920653ec870f':
2015-10-20 01:12:12 +00:00
Baligh Uddin 669ef65afb am 68207e25: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop am: 6317598a19 -s ours
am: bfe4347964  -s ours

* commit 'bfe43479643fece25c8aeabb64b90ca9d6c028be':
2015-10-20 00:53:58 +00:00
Baligh Uddin bfe4347964 am 68207e25: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
am: 6317598a19  -s ours

* commit '6317598a196ada3f32950c7f4a8d5cfe005acf42':
2015-10-20 00:28:00 +00:00
Sunny Goyal 5fcaab43e6 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
  ...
2015-09-14 21:40:15 +00:00
Sunny Goyal ea9ad5cead Merge remote-tracking branch 'origin/ub-launcher3-burnaby' into mnc-dev
Conflicts:
	Android.mk

Change-Id: I05429e418a25b94e7669e002d39bc70806396b8e
2015-09-10 17:22:17 -07:00
Sunny Goyal 4abaf13354 Merge "Removing items which are on invalid screen" into ub-launcher3-burnaby 2015-09-09 17:05:11 +00:00
Sunny Goyal c74e41973a 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
2015-09-09 09:38:52 -07:00
Sunny Goyal 41cdc8d20a Removing items which are on invalid screen
Bug: 23804751
Change-Id: If26a6b201aa6127cfd2a08fc4b408a27d6329bad
2015-09-04 15:26:17 -07:00
Sunny Goyal 606726ba28 Merge "Preventing null pointer crash when opening a folder" into ub-launcher3-burnaby 2015-09-03 17:12:36 +00:00
Sunny Goyal a75053f5f9 Preventing null pointer crash when opening a folder
Bug: 23770713
Change-Id: I3ce82450358f1493f70639d594e1e3f391945437
2015-09-03 09:48:50 -07:00
Ivan Lee 667d6888f4 Revert workaround for move to default screen on home intent.
BUG=23556755

Change-Id: Ia268a58389b90fd0503e474f02f33a312c051c0e
2015-09-03 10:16:07 -06:00
Sunny Goyal 7412c3cb00 Merge "Adding gradle script for Android Studio" into ub-launcher3-burnaby 2015-09-01 00:15:53 +00:00
Winson Chung fdc8eb61a4 Merge "Fixing NPE in recycler view scroll bar." into ub-launcher3-burnaby 2015-08-31 22:08:41 +00:00
Winson 23c8f48f43 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
2015-08-31 15:02:26 -07:00
Winson Chung 1b247d9f37 Merge "Adding workaround for regression caused by ag/752175" into ub-launcher3-burnaby 2015-08-31 18:40:41 +00:00
Winson 16615f29f6 Adding workaround for regression caused by ag/752175
Change-Id: I92617c88f17a5827454e147f93d822975587d5b4
2015-08-31 11:32:38 -07:00
Sunny Goyal edf329a5c3 Adding gradle script for Android Studio
Change-Id: I640c63e2981337eb8c8ed191b40c0649a986361e
2015-08-30 21:04:44 -07:00
Winson Chung 8b0af4c635 Merge "Override the overscroll color for the widget rows." into ub-launcher3-burnaby 2015-08-28 21:17:36 +00:00
Sunny Goyal 066bcc05fb Merge "Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app" into ub-launcher3-burnaby 2015-08-28 21:16:03 +00:00
Winson Chung 0947f5c268 Merge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby 2015-08-28 21:08:49 +00:00
Winson a9f483b9ec Override the overscroll color for the widget rows.
Change-Id: I249e13f511736ad9e874800a1b9ee1f8602434f4
2015-08-28 14:05:07 -07:00
Winson fee206f241 Adding graphic for all apps empty search screen.
Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c
2015-08-28 12:34:55 -07:00
Sunny Goyal a8b244e5b8 Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app
Bug: 23515512
Change-Id: I60678eccd4b60225ff30960f7197d633f72c7659
2015-08-28 10:27:41 -07:00
Sunny Goyal ebfae6e266 Revert "Adding viewId for the QSB"
Using QSB widget id from xml

This reverts commit 9956859139.

Change-Id: I33c48cf074f2dc1cf509c2d9f1f19b40b91f6a22
2015-08-27 15:32:05 -07:00
Sunny Goyal 195a29834f Merge "Adding viewId for the QSB" into ub-launcher3-burnaby 2015-08-27 21:12:55 +00:00
Sunny Goyal 9956859139 Adding viewId for the QSB
Change-Id: I4ad6bc8c0d94e60a4d354dfc29f456ca561fc500
2015-08-27 13:48:30 -07:00
Winson Chung 027d30007d Merge "Fixing an issue where you would inadvertently start fastscrolling." into ub-launcher3-burnaby 2015-08-27 20:37:33 +00:00
Winson Chung 0fd3e545a7 Merge "Fixing issue with missing scroll bar after fast-scrolling and searching." into ub-launcher3-burnaby 2015-08-27 19:36:07 +00:00
Winson 2605900854 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
2015-08-27 12:30:08 -07:00
Winson ec4845b3b1 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
2015-08-27 10:19:48 -07:00
Sunny Goyal 22aa3813f8 Pending bind callbacks should be cleared before starting the loader,
similar to startBinding

Bug: 23310446
Bug: 19422965
Bug: 23304651
Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a
2015-08-27 09:54:07 -07:00
Sunny Goyal 20884fdc8d 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 2015-08-25 23:58:07 +00:00
Winson Chung a79b18ad36 Merge "Fixing widgets container inactive scroll bar color." into ub-launcher3-burnaby 2015-08-24 22:47:52 +00:00
Winson 08d627566c Fixing widgets container inactive scroll bar color.
Bug: 20035978
Change-Id: Ia267ff8f171f7c4cde00593bd69cf69c1660c431
2015-08-24 15:24:17 -07:00
Winson Chung 944bfab018 Merge "Making the detached scrollbar catch up faster to the actual scroll position." into ub-launcher3-burnaby 2015-08-24 20:30:09 +00:00
Winson 51a7d96544 Making the detached scrollbar catch up faster to the actual scroll position.
Bug: 20035978
Change-Id: I4f9780e1c5c1d10a7956ece729163544d79d72c3
2015-08-24 12:28:16 -07:00
Sunny Goyal bcbc2ec2cd Merge "Removing call to isButtonPressed as its only Lollipop and above" into ub-launcher3-burnaby 2015-08-24 17:15:01 +00:00
Sunny Goyal dd306188a6 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
2015-08-21 10:03:15 -07:00
Sunny Goyal 93adff28ed Merge "Using the usermanager api to get creation time" into ub-launcher3-burnaby 2015-08-21 16:41:50 +00:00
Sunny Goyal 830b5e08ef Updating the target sdk to launcher
Change-Id: Icf8e22f6ceb57dcd4e101b8b1d3ae86c52d12b30
2015-08-21 09:26:10 -07:00
Sunny Goyal ad0c2f28ce Using the usermanager api to get creation time
Bug: 22539048
Change-Id: I17647f2456434ca66a9778300e1a2910cec171d4
2015-08-21 09:24:01 -07:00
Winson 81c5f7e397 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
2015-08-20 22:29:49 +00:00
Winson 6779595bec Updating the scrollbar to make the fastscroller more visible.
Bug: 20035978
Change-Id: I56a865262cd07e6af11b4374a7e6354710116dcd
2015-08-20 19:51:08 +00:00
Winson Chung a67cce2cb3 Merge "Tweaking fast scroller to follow touch closer." into ub-launcher3-burnaby 2015-08-20 19:26:00 +00:00
Winson d2eb49e4c3 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
2015-08-20 19:25:48 +00:00
Sunny Goyal 639e906a0f 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
2015-08-20 11:25:02 -07:00
Sunny Goyal 63aa46531a Merge "Fixing empty screen created at the end, even when dragging the last item on the last screen." into ub-launcher3-burnaby 2015-08-19 21:08:10 +00:00
Winson Chung 1cd32a2144 Merge "Deferring the move to the default screen until after we callback to the callbacks." into ub-launcher3-burnaby 2015-08-19 19:19:26 +00:00