Commit Graph
11704 Commits
Author SHA1 Message Date
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
Sunny Goyal d896ee43cd Protecting Icon normalization behind a feature flag
Change-Id: I91b7126765049372a3ffec3ad6f661715dc83bab
2015-12-17 11:24:46 -08:00
Sunny Goyal 6ef0f76939 Reverting the cache version change, so that users on release version do not get the cache reset
am: 2b84b652b3

* commit '2b84b652b33977d82e0af4ab9fdc7a97cb8d5a33':
  Reverting the cache version change, so that users on release version do not get the cache reset
2015-12-16 01:30:07 +00:00
Sunny Goyal 2b84b652b3 Reverting the cache version change, so that users on release version do not get the cache reset
Change-Id: I61b06ca001e6ae47693e8d6f467565314d66f1b4
2015-12-15 17:12:22 -08:00
Sunny Goyal 4a0380d17d Merge "Preserving the open folder state across rotation" into ub-launcher3-master 2015-12-14 22:56:51 +00:00
Sunny Goyal 38e7f28d3f resolve merge conflicts of a50a419b82 to ub-launcher3-master.
Change-Id: Ie0e233e22284b8ddd2dbb86204e042651b6dfae2
2015-12-11 14:18:16 -08:00
Sunny Goyal a50a419b82 Restarting launcher when on font scale change
Chaning the font scale affects the static device profile and may
affect various background threads and static constants. Killing
the process ensures that these states get invalidated properly.

Bug: 26131935
Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb
2015-12-11 10:55:20 -08:00
Sunny Goyal 258797318a Merge "Fixing All apps not respecting scaled icon size" into ub-launcher3-burnaby-polish
am: 49750ce75e

* commit '49750ce75e7413ad3c4fe4be31a2e1d73312794b':
  Fixing All apps not respecting scaled icon size
2015-12-10 17:52:01 -08:00
Sunny Goyal 49750ce75e Merge "Fixing All apps not respecting scaled icon size" into ub-launcher3-burnaby-polish 2015-12-11 01:49:02 +00:00
Sunny Goyal aefc0c4dd0 resolve merge conflicts of e5ef3d2e9b to ub-launcher3-master.
Change-Id: I37cbbe4f51cc0a8de8071434020ec1553241da85
2015-12-10 17:46:12 -08:00
Sunny Goyal e5ef3d2e9b Merge "Clearing DB instead of deleting the DB file." into ub-launcher3-burnaby-polish 2015-12-11 01:37:56 +00:00
Sunny Goyal 383e0a29ec Fixing All apps not respecting scaled icon size
Change-Id: I3d05c713939fd69d04f5896cdc5db91480b0d4d1
2015-12-10 13:02:01 -08:00
Sunny Goyal 08442b84a2 Preserving the open folder state across rotation
Bug: 24900496
Change-Id: Ie1318b82b497957b99603b11ec338dd50d51b962
2015-12-08 14:14:26 -08:00
Sunny Goyal 385b6e2c49 Merge "Moving DB creation to background thread" into ub-launcher3-master 2015-12-08 21:52:39 +00:00
Sunny Goyal edc7f46ae8 Merge "Verifying the install shortcut intent before casting the extras to various object types" into ub-launcher3-burnaby-polish
am: 06538a7784

* commit '06538a778485e920a651bf662a90c6a5dc3b0218':
  Verifying the install shortcut intent before casting the extras to various object types
2015-12-08 21:47:09 +00:00
Sunny Goyal 06538a7784 Merge "Verifying the install shortcut intent before casting the extras to various object types" into ub-launcher3-burnaby-polish 2015-12-08 21:43:10 +00:00
Sunny Goyal d3849d191b Moving DB creation to background thread
Change-Id: I5404edd8df7160108c230d245f34bf8e24173619
2015-12-08 13:38:28 -08:00