Commit Graph

10334 Commits

Author SHA1 Message Date
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 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
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
Sunny Goyal a6164c5c9b Adding a .nano prefix in the proto package name
Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf
2016-01-06 14:47:13 -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
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
Sunny Goyal 5ad0cd5e89 Recreating QSB when the widget host gets reset
am: 655daaed3e

* commit '655daaed3ef8a68deaae5f72acbc1fc444cc54d6':
  Recreating QSB when the widget host gets reset
2015-12-08 20:56:53 +00:00
Sunny Goyal 655daaed3e Recreating QSB when the widget host gets reset
Bug: 25073414
Change-Id: Ibdaa2b330ef7989cb7c93d64a05c8f6e5b26594a
2015-12-08 09:29:03 -08:00
Sunny Goyal 8142082389 Merge "Adding FeatureFlags.java file to aggregate various feature definitions" into ub-launcher3-burnaby-polish
am: f3b13b55df

* commit 'f3b13b55df44ff23fdb184cd467dfd2b6d89074f':
  Adding FeatureFlags.java file to aggregate various feature definitions
2015-12-08 01:48:59 +00:00
Sunny Goyal f3b13b55df Merge "Adding FeatureFlags.java file to aggregate various feature definitions" into ub-launcher3-burnaby-polish 2015-12-08 01:44:40 +00:00
Sunny Goyal bdcabf0515 Adding FeatureFlags.java file to aggregate various feature definitions
Change-Id: I52d04ab979329d1afd42fd74ec0a533dd819fd23
2015-12-07 15:04:13 -08:00
Sunny Goyal 7606a412c5 Verifying the install shortcut intent before casting the extras to various object types
Bug: 26043109
Change-Id: I95f127d62a6a508a850e11d6728afc7509fb07d1
2015-12-07 14:52:07 -08:00
Tony Wickham 0f97b7874f Added config_springLoadWorkspace to enable/disable spring-loaded workspace.
- Added side hints back
- Only scale down icons if spring-loaded
- Only show App Info drop target if spring-loaded

Change-Id: I4b0dddccbe0e80b7ceb6b7266fc527f757744148
2015-12-04 14:56:54 -08:00
Tony Wickham 11c45f1141 Merge "Add appropriate (tiny) offset to widget drops so they land correctly." into ub-launcher3-burnaby-polish
am: 8db5d7ca60

* commit '8db5d7ca60e79f007bfce7952c15c74d0ee44bc0':
  Add appropriate (tiny) offset to widget drops so they land correctly.
2015-12-04 14:21:19 -08:00
Tony Wickham 8db5d7ca60 Merge "Add appropriate (tiny) offset to widget drops so they land correctly." into ub-launcher3-burnaby-polish 2015-12-04 22:14:36 +00:00
Sunny Goyal 2d2b42ba3c resolve merge conflicts of 39b700fcc5 to ub-launcher3-master.
Change-Id: I394258be0c75289cab2f5141c0fb765504527420
2015-12-04 10:04:54 -08:00
Tony Wickham 9ec6d402fa Merge "Cleanup keyboard code." into ub-launcher3-burnaby-polish
am: b88d0bccbe

* commit 'b88d0bccbe997e5c45c930698e37f52865bd9210':
  Cleanup keyboard code.
2015-12-04 18:01:51 +00:00
Sunny Goyal 39b700fcc5 Merge "Normalizing app icons based on the standard icon guidelines" into ub-launcher3-burnaby-polish 2015-12-04 17:56:04 +00:00