Rubin Xu
b34ef91dde
Merge "Grey out suspended applications." into ub-launcher3-calgary
2016-01-25 17:53:06 +00:00
Kenny Guy
44cba69638
Grey out suspended applications.
...
Grey out application shortcuts and all apps entries
for packages that are suspended.
Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
2016-01-25 11:28:06 +00:00
Tony Wickham
927050bc28
Fix broken tests.
...
am: a5cfbe8075
* commit 'a5cfbe807503bf4c2d5853f700191fef34fb3713':
Fix broken tests.
2016-01-22 23:03:30 +00:00
Tony Wickham
a5cfbe8075
Fix broken tests.
...
- Missing a comma in one of the focus logic test matrices
- Disable QuickAddwidgetTest, because it isn't that useful and is
flaky by nature.
Change-Id: Ia85fa578ea563ca525419b68ffcf90cfef8f86d0
2016-01-22 14:45:02 -08:00
Sunny Goyal
f076eae0ca
Adding support for migrating the grid between any two valid screens sizes.
...
The grid is migrated in steps where each step consists of at max one column change and at max one row change.
Adding some unit tests for GridMigrationLogic
Bug: 25958224
Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0
2016-01-20 11:58:09 -08:00
Sunny Goyal
5743d870bd
resolve merge conflicts of b56090af35 to ub-launcher3-master.
...
Change-Id: I2ef9a25b70815efe37109004517a7c3077ffa22e
2016-01-19 13:01:20 -08:00
Sunny Goyal
b56090af35
Merge "Removing some obsolete files" into ub-launcher3-burnaby-polish
2016-01-19 20:54:00 +00:00
Sunny Goyal
3c0adb0729
Removign \'final\' modifiers from FeatureFlags so that then can be overridden
...
am: c7a49f0574
* commit 'c7a49f05743f377d2299e4ecbc2e396e7afe87c3':
Removign 'final' modifiers from FeatureFlags so that then can be overridden
2016-01-19 19:41:00 +00:00
Sunny Goyal
2080603ca7
Removing some obsolete files
...
Change-Id: I45cc23afcecb67163da99a9b81ace0021f723c9b
2016-01-19 10:38:49 -08:00
Sunny Goyal
c7a49f0574
Removign 'final' modifiers from FeatureFlags so that then can be overridden
...
Change-Id: I07265eaeed883301787eb0ffd838f516d7c63d26
2016-01-19 10:36:23 -08:00
Sunny Goyal
fda9dead66
Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish
...
am: d42903b4f0
* commit 'd42903b4f093a6915c4001b1f1b46140b4fdcb35':
Disabling icon normalization
2016-01-13 18:38:58 +00:00
Sunny Goyal
d42903b4f0
Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish
2016-01-13 18:04:19 +00:00
Sunny Goyal
dde32e216c
Disabling icon normalization
...
Bug: 26537769
Change-Id: Ia1d7127a7c01fe98127e34440d1c003b669eaf75
2016-01-13 09:48:17 -08:00
Sunny Goyal
e3a593a025
Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish
...
am: 5255c87c6f
* commit '5255c87c6f215010aeeb690eed4eae28177b0a93':
Fixing icon badging being done on scaled bitmap size
2016-01-12 22:39:23 +00:00
Sunny Goyal
5255c87c6f
Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish
2016-01-12 22:35:16 +00:00
Sunny Goyal
92899800b7
Fixing custom content screen not aligned properly in landscape
...
am: ecdc24f6f6
* commit 'ecdc24f6f667319db56a16dd7d1efda16dfe662e':
Fixing custom content screen not aligned properly in landscape
2016-01-12 18:45:48 +00:00
Sunny Goyal
ecdc24f6f6
Fixing custom content screen not aligned properly in landscape
...
Bug: 26413100
Change-Id: I1a111c9d2b0dfdfbc3cbd566e5784a1ed2bb6719
2016-01-12 10:35:55 -08:00
Sunny Goyal
e1483fb1cd
Fixing icon badging being done on scaled bitmap size
...
Launcher already scales the bitmap during the icon creaiton. The
badging should be done based on the actual size
Bug: 26345646
Change-Id: I1b1f7ac736322ba10db9083d602eec221b99687a
2016-01-08 12:16:15 -08:00
Sunny Goyal
e72f1d1428
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
...
am: e70fb6f8ef
* commit 'e70fb6f8ef03561b7875b872d0efa4ae2a5926af':
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
2016-01-07 21:54:24 +00:00
Sunny Goyal
e70fb6f8ef
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
...
Bug: 25948877
Change-Id: I1d301a6169404a78881fa29da6d6bdf2fec8f146
2016-01-07 13:51:09 -08:00
Sunny Goyal
643b87af42
Merge "Extending the grid migration logic to handle density changes" into ub-launcher3-master
2016-01-07 19:38:32 +00:00
Sunny Goyal
926d6b3692
Removing lib proto util
...
am: 5e9ef1344d
* commit '5e9ef1344d2d24061c86cb9dae0cfcd59d551279':
Removing lib proto util
2016-01-06 23:41:38 +00:00
Sunny Goyal
5e9ef1344d
Removing lib proto util
...
Change-Id: Iebe6341a60a5e62bde97b5cca68f8abb93b04d36
2016-01-06 15:31:09 -08:00
Sunny Goyal
4f7ed2405a
Fixing syntax error
...
am: f82e547359
* commit 'f82e5473593ea8ce20f664dd639376f546619997':
Fixing syntax error
2016-01-06 23:12:17 +00:00
Sunny Goyal
f82e547359
Fixing syntax error
...
Change-Id: I8fbcd34d891b1d020436e9aa430fd26372910a63
2016-01-06 15:09:22 -08:00
Hyunyoung Song
43cef521ba
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415" am: 8363faf9a8 -s ours
...
am: e85138f662 -s ours
* commit 'e85138f6627a77928a96f5d6b3c544a737e87876':
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
2016-01-06 23:06:30 +00:00
Hyunyoung Song
e85138f662
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
...
am: 8363faf9a8 -s ours
* commit '8363faf9a885933aca2ced9bb1c6f9aa4a43c9f7':
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
2016-01-06 23:04:46 +00:00
Sunny Goyal
31af6f6637
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish
...
am: f7a263c437
* commit 'f7a263c4370d1e45bb53653de2ef0fb70061ecd5':
Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes.
2016-01-06 22:53:59 +00:00
Sunny Goyal
88065d1e5c
Adding a .nano prefix in the proto package name
...
am: a6164c5c9b
* commit 'a6164c5c9b48f84c10f4db47d20e7bdeaa98812f':
Adding a .nano prefix in the proto package name
2016-01-06 22:53:53 +00:00
Sunny Goyal
f7a263c437
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish
2016-01-06 22:51:43 +00:00
Hyunyoung Song
8363faf9a8
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
...
In branch ub-launcher3-burnaby,
libprotobuf-java-2.3.0-nano can be linked, because the protobuf project is tracking lmp tree
In branch ub-launcher3-burnaby-polish,
libprotobuf-java-nano can be linked, because the
protobuf project is tracking master tree.
Hence the original CL should be reverted in ub-launcher3-burnaby tree but should not be merged automatically
to downstream trees.
This reverts commit 4ae00b1b8e .
Change-Id: I137756b79e2c12d36408073bdd6cddc773a4f168
2016-01-06 22:47:16 +00:00
Sunny Goyal
a6164c5c9b
Adding a .nano prefix in the proto package name
...
Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf
2016-01-06 14:47:13 -08:00
Hyunyoung Song
d36f28c19c
Fix broken make target launcher_protoutil_lib Bug:26406415 am: 4ae00b1b8e
...
am: 56e6b478ff
* commit '56e6b478fff617000f1fb915cd772020432dc825':
Fix broken make target launcher_protoutil_lib Bug:26406415
2016-01-06 21:23:04 +00:00
Hyunyoung Song
56e6b478ff
Fix broken make target launcher_protoutil_lib Bug:26406415
...
am: 4ae00b1b8e
* commit '4ae00b1b8e853f45770c833085179eb382220d78':
Fix broken make target launcher_protoutil_lib Bug:26406415
2016-01-06 21:20:56 +00:00
Hyunyoung Song
4ae00b1b8e
Fix broken make target launcher_protoutil_lib
...
Bug:26406415
Change-Id: If3895b384feb9f2a6294fd76c043420851a37f49
2016-01-06 13:12:45 -08:00
Sunny Goyal
f862a26347
Extending the grid migration logic to handle density changes
...
For hotseat migratino, we simply drop the items with least weight
If the workspace row/column decreases by 2 or more, we clear the whole workspace
Bug: 25958224
Change-Id: I7131b955023d185ed10955f593184b9238546dc8
2016-01-06 10:16:44 -08:00
Ying Wang
52279f3bc3
Remove unnecessary use of ../.
...
am: baa5589f6d
* commit 'baa5589f6d8ecee282977b3eaad5086756ac9312':
Remove unnecessary use of ../.
2016-01-04 20:43:36 +00:00
Ying Wang
baa5589f6d
Remove unnecessary use of ../.
...
Change-Id: Ie747c305cbf1a6bf42f6c04c5c4d5ec3c6dad990
2016-01-04 12:19:01 -08:00
Sunny Goyal
96a0963c4a
Adding support for negative x and y in layout xml.
...
Fixing default configurations for some screen sizes.
> Negative values for x and y are parsed as distance from end
column and row respectively. e.g. (-1, -2) => (3, 2) in a
4x4 grid
Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
2015-12-18 17:17:08 -08:00
Sunny Goyal
d7d5bd878a
resolve merge conflicts of ffa1237698 to ub-launcher3-master.
...
Change-Id: I65beecb5bbbfe9c4b33d6ca639118cb615c4120a
2015-12-18 15:04:13 -08:00
Sunny Goyal
ffa1237698
Merge "Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread" into ub-launcher3-burnaby-polish
2015-12-18 22:38:52 +00:00
Sunny Goyal
d3b53c3fa4
Merge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby-polish
...
am: 60acb943c6
* commit '60acb943c68e2f949fc8ad4703c9156549263897':
Preventing launcher crashes due to low disk space.
2015-12-18 22:32:36 +00:00
Sunny Goyal
60acb943c6
Merge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby-polish
2015-12-18 22:29:47 +00:00
Tony Wickham
aff1a1df8a
resolve merge conflicts of ca656e3c69 to ub-launcher3-master.
...
Change-Id: Idbbf8caa041b2498b3a0a9d1a8f23bf163181972
2015-12-18 14:10:34 -08:00
Tony Wickham
ca656e3c69
Fix item count check in Folder#replaceFolderWithFinalItem()
...
Instead of checking the item count (number of views), check the number
of items in the model, since that is where the item is being removed.
This way, mInfo.contents.remove(0) will never be out of bounds.
Bug: 25666490
Change-Id: I0eb880b366157bddb5a8c342d538737722b7f0cd
2015-12-18 13:13:48 -08:00
Sunny Goyal
13f682f74e
Fixing some invalid checks and cleaning some redundant conditions
...
am: b740f59c7d
* commit 'b740f59c7d572d54402e3a74fb2a23c0f1b1af48':
Fixing some invalid checks and cleaning some redundant conditions
2015-12-18 11:20:41 -08:00
Sunny Goyal
b740f59c7d
Fixing some invalid checks and cleaning some redundant conditions
...
Change-Id: I770ce2cc2eccbee105958634e81bbc9bc2e4cc48
2015-12-18 11:00:14 -08:00
Sunny Goyal
6f70936f7f
Preventing launcher crashes due to low disk space.
...
In case of low disk space, all write operations to the IconCache are
silently ignored. This will not affect the Launcher behavior and
user will still see the latest icons, but in some cases, icon loading
would appear slow
Bug: 24585352
Change-Id: I85ccc519046fc3708403388bba89e019a3f2ce3d
2015-12-18 10:20:52 -08:00
Sunny Goyal
d804398755
Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread
...
Bug: 25903149
Change-Id: Ib1ee3fd27cca14f147f704aec768a330c4f03b33
2015-12-17 22:24:51 -08:00
Sunny Goyal
619c21e87b
resolve merge conflicts of d896ee43cd to ub-launcher3-master.
...
Change-Id: If09db8d99e7065c08fcb81b8d97a68a2557d53d7
2015-12-17 12:32:54 -08:00