Commit Graph

4857 Commits

Author SHA1 Message Date
Tony Wickham
72c689a7a2 resolved conflicts for d70a4b7b to ub-launcher3-master
Change-Id: Ib04f80eeebf551fc026925830fc4739d1c620513
2015-10-08 18:32:22 -07:00
Tony Wickham
d70a4b7b78 am d6b4037b: Grid adjustments, specifically for Ryu.
* commit 'd6b4037b093445fefa7d036da339dd549fae7a9b':
  Grid adjustments, specifically for Ryu.
2015-10-09 00:38:29 +00:00
Sunny Goyal
e2722996e8 am 56c73604: Verify that the widget id is valid, before binding the widget
* commit '56c7360497823ed83d4eb04ef32c117e9c5608d6':
  Verify that the widget id is valid, before binding the widget
2015-10-08 21:52:26 +00:00
Sunny Goyal
bc7b6607d5 am 5802588d: Merge "Update the widget spans after the provider changes" into ub-launcher3-burnaby-polish
* commit '5802588dc067f69914a0adaaec1c15825f0e720d':
  Update the widget spans after the provider changes
2015-10-08 21:52:24 +00:00
Sunny Goyal
56c7360497 Verify that the widget id is valid, before binding the widget
Bug: 23820213
Bug: 24054205
Bug: 24582322
Change-Id: I25a09b0a2a706812a7d82729b5dc554ffba84a2a
2015-10-08 14:49:55 -07:00
Sunny Goyal
5802588dc0 Merge "Update the widget spans after the provider changes" into ub-launcher3-burnaby-polish 2015-10-08 20:57:51 +00:00
Tony Wickham
d6b4037b09 Grid adjustments, specifically for Ryu.
> Less than 14% of the screen is used for left/right workspace padding.
  (To be clear, this means 7% for the left and 7% for the right.)
> Hotseat icons are the same size as workspace icons.
> Far left and right hotseat edges line up with workspace edges.
> All Apps button is scaled down 8dp.

Bug: 24003478

Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
2015-10-08 09:23:10 -07:00
Sunny Goyal
8db49fde38 am bbf01846: Using 23 instead of Build.Versoin.M until the final SDK is available.
* commit 'bbf0184603ce9395173f5e412d8188b4b0910f9e':
  Using 23 instead of Build.Versoin.M until the final SDK is available.
2015-10-08 14:45:47 +00:00
Sunny Goyal
bbf0184603 Using 23 instead of Build.Versoin.M until the final SDK is available.
Change-Id: I9f8f6fe049afcd0ceb0797ddc803a2e77bab0437
2015-10-08 07:42:49 -07:00
Sunny Goyal
b5772c8b4f am 21d89fbf: Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish
* commit '21d89fbf8c444c64a4c85d25a25bbe3b79719de9':
  Fixing overscroll effect when the navigation bar is opaque
2015-10-07 20:45:51 +00:00
Sunny Goyal
6280893534 am 6fb929e0: Verifying that the table was successfully created during initialzation
* commit '6fb929e0038a9d03b60540fdbf6b6914146f7b21':
  Verifying that the table was successfully created during initialzation
2015-10-07 20:45:50 +00:00
Tony Wickham
439bc06dc0 am d47807d7: am 3a3517fb: Add widget size options for QSB.
* commit 'd47807d7a97d4ab555b2f9be882591c08955d699':
  Add widget size options for QSB.
2015-10-07 20:45:49 +00:00
Winson Chung
9ac21a6992 am bbb1aea1: Merge "Fixing regression when removing last item from folder." into ub-launcher3-burnaby-polish
* commit 'bbb1aea148270947cef90fe1c8d0ad5961ef392e':
  Fixing regression when removing last item from folder.
2015-10-07 20:40:32 +00:00
Sunny Goyal
8bc1a13e1b am 95bae9a4: am c84e6e19: Disabling widget debug
* commit '95bae9a43d5192c4f8c3282c56647c6446aa3f72':
  Disabling widget debug
2015-10-07 20:40:30 +00:00
Winson
cfd9bef6ee am 44818e07: Fixing regression in removing widgets via accessibility.
* commit '44818e07af5312fac0c97360929c62e599cfd164':
  Fixing regression in removing widgets via accessibility.
2015-10-07 20:40:29 +00:00
Sunny Goyal
ccc9a52e45 am 935eedad: Merge "Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway." into ub-launcher3-burnaby-polish
* commit '935eedad971d6d27521a16501768f06ebd9eb6a6':
  Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway.
2015-10-07 20:40:28 +00:00
Winson
e98bcdbb9c am 34ef93cc: am 058c21db: Ensure accessibility delegate is set on all apps icons.
* commit '34ef93ccd6e2cdb4b12cf7bf6bedf8216662e2b2':
  Ensure accessibility delegate is set on all apps icons.
2015-10-07 20:40:27 +00:00
Sunny Goyal
0d6021ae6d am a682a5d8: Make sure that the dimensions are not negative when drawing pending widget
* commit 'a682a5d8c747ac9cbbe10fb791a0548863422270':
  Make sure that the dimensions are not negative when drawing pending widget
2015-10-07 20:40:26 +00:00
Winson
722e85678a resolved conflicts for 1845049c to ub-launcher3-master
Change-Id: I25a01a0735be754f4c8daef5a4a04eaec651b95c
2015-10-07 13:04:30 -07:00
Sunny Goyal
d306055f2d Moving a few testing classes to a separate package
Change-Id: Ied1c063de3e938695493e4937f554686e0719dad
2015-10-07 11:12:38 -07:00
Sunny Goyal
21d89fbf8c Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish 2015-10-07 17:22:44 +00:00
Sunny Goyal
6fb929e003 Verifying that the table was successfully created during initialzation
Table creation sometimes fails scilently, which leads to a crash loop.
This way, we will try to create a table every time after crash, so
the device would eventually be able to recover.

Bug: 24263894
Change-Id: Ic0169d33f4092042423afa24320182786c544d47
2015-10-06 16:47:14 -07:00
Tony Wickham
d47807d7a9 am 3a3517fb: Add widget size options for QSB.
* commit '3a3517fb6c17120c6d11e5c95a0de4e81205d0ae':
  Add widget size options for QSB.
2015-10-06 20:53:46 +00:00
Tony Wickham
3a3517fb6c Add widget size options for QSB.
Bug: 24704753
Change-Id: I3e16c1f67a67b08b3843f7f38312447bdfa6a91e
2015-10-06 13:07:23 -07:00
Sunny Goyal
77ccb8d03c Removing some unused resources
Change-Id: I6aa8a2d7eb4599ed2351c54fe0885839b5ba4521
2015-10-05 14:14:19 -07:00
Sunny Goyal
8220d8afaa Merge "Adding some information in bug reports" into ub-launcher3-master 2015-10-05 21:06:46 +00:00
Sunny Goyal
ec88204389 Update the widget spans after the provider changes
Bug: 24003213
Change-Id: I51ad5919a808ef10385d62a48a94589eefcb06bc
2015-10-05 13:23:52 -07:00
Sunny Goyal
fd4264b2b5 Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-burnaby-polish 2015-10-05 18:26:19 +00:00
Sunny Goyal
d1a0e8b5c8 Jailing the saved instance state of all the dynamically generated views
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.

We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.

Bug: 16840760
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
2015-10-05 18:25:49 +00:00
Tony Wickham
9aae47f8a6 Added 'Cancel' drop target from all apps and widget picker.
- Reuse DeleteDropTarget since it's the same effect, but with "Cancel"
  instead of "Remove" if supportsDeleteDropTarget() returns false.
- Rename related strings (but not their values)

Bug: 24104015
Bug: 24099531
Change-Id: Ia9fbcaa17bb17f7aa31df1f830298da01544c178
2015-10-05 10:58:15 -07:00
Winson
6febe1f361 Fixing regression when removing last item from folder.
- The regression caused the folder and all its contents to be removed
  before the new item could be moved to the place of the folder.  In
  addition, in this case, the LauncherModel would get out of sync with 
  the db because we move the last item to the workspace, but don’t 
  remove it from the contents, so deleting the folder would remove the
  item’s mapping in sBgItemIdMap.

Bug: 24620815
Change-Id: I17137f28b0f1617a890488c7a9c5b8a9e8df0e91
2015-10-02 18:26:48 -07:00
Sunny Goyal
95bae9a43d am c84e6e19: Disabling widget debug
* commit 'c84e6e19363c590bbfbac17e9ab7cc61a04d552a':
  Disabling widget debug
2015-10-02 20:23:05 +00:00
Sunny Goyal
c84e6e1936 Disabling widget debug
Change-Id: I876a904358ce455c97a7a25a34c66af5e9316469
2015-10-02 12:48:37 -07:00
Winson
44818e07af Fixing regression in removing widgets via accessibility.
- Regression was introduced in ag/765323, but not visible in normal 
  drag and drop because the view is already removed from the parent.
  However, when accessibility is enabled, it was only removing it from
  the db, but not from the parents.

Change-Id: I37483d0cd6306d270441b11e6f05247d58b88521
2015-10-02 18:44:18 +00:00
Sunny Goyal
935eedad97 Merge "Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway." into ub-launcher3-burnaby-polish 2015-10-02 17:40:35 +00:00
Winson
34ef93ccd6 am 058c21db: Ensure accessibility delegate is set on all apps icons.
* commit '058c21db49f4f058b7d84c8de55d3c649918ab70':
  Ensure accessibility delegate is set on all apps icons.
2015-10-02 17:21:59 +00:00
Winson
058c21db49 Ensure accessibility delegate is set on all apps icons.
Bug: 24605237
Change-Id: I801e2aca1732c021b06d996d907f368f97277cf9
2015-10-02 17:16:15 +00:00
Sunny Goyal
a682a5d8c7 Make sure that the dimensions are not negative when drawing pending widget
Bug: 24585203
Change-Id: I3d328d0e1fe81d2704bb5b9d4b340a367bfb9249
2015-10-01 19:36:59 -07:00
Sunny Goyal
6bec75fe70 Do not reinflate/rebind widgets if we are going the rebind the full
workspace anyway.

Bug: 23820213
Bug: 24582781
Change-Id: I2cb4927916fed64a69100beb41ee14653ea1d70a
2015-10-01 18:51:50 -07:00
Winson Chung
1845049c66 Merge "Replace Long.compare() with implementation." into ub-launcher3-burnaby-polish 2015-10-01 22:53:15 +00:00
Sunny Goyal
a13654529c Adding some information in bug reports
> Dumping workspace items
  > Dumping loader logs for crashes and data deletion
  > Removing unnecessary log dumps

Change-Id: Ia320988c2e3665e4d605d6e88bca77738e749273
2015-10-01 15:48:35 -07:00
Winson
12fb9fc3c3 Replace Long.compare() with implementation.
- Long.compare() was added in API level 19.

Change-Id: Ic7020c941403c10daa6feacdc737c6a82676ada0
2015-10-01 15:34:08 -07:00
Winson Chung
b99d74bb05 am 0e32c14a: Merge "Fixing regression in search bar animation." into ub-launcher3-burnaby-polish
* commit '0e32c14ada3fae610ece912dcfd426a4a397d9ca':
  Fixing regression in search bar animation.
2015-10-01 19:37:04 +00:00
Winson Chung
0e32c14ada Merge "Fixing regression in search bar animation." into ub-launcher3-burnaby-polish 2015-10-01 19:33:58 +00:00
Winson
a2dc7c351d Fixing regression in search bar animation.
- The other case should fall through to the animation even 
  when there is no search bar overlay.

Change-Id: Id91bea78b56934cc1c3379777068adc100f11dba
2015-10-01 12:19:23 -07:00
Sunny Goyal
5a87313591 am eaaed098: Merge "Adding progress information for preload icons in content description" into ub-launcher3-burnaby-polish
* commit 'eaaed098a633eb5a5759778d5b015e11373a5e3d':
  Adding progress information for preload icons in content description
2015-10-01 18:39:10 +00:00
Sunny Goyal
eaaed098a6 Merge "Adding progress information for preload icons in content description" into ub-launcher3-burnaby-polish 2015-10-01 18:36:29 +00:00
Sunny Goyal
dab7da510f Merge "Scale down drag views in spring-loaded workspace." into ub-launcher3-master 2015-10-01 18:34:59 +00:00
Sunny Goyal
93809cc316 am 9ccacb54: Merge "Fixing \'Item removed\' announced twice when using accessible DnD" into ub-launcher3-burnaby-polish
* commit '9ccacb544bfcb6b444edf09b1b37f955ae57168c':
  Fixing 'Item removed' announced twice when using accessible DnD
2015-10-01 18:28:51 +00:00
Sunny Goyal
9ccacb544b Merge "Fixing 'Item removed' announced twice when using accessible DnD" into ub-launcher3-burnaby-polish 2015-10-01 18:25:28 +00:00