<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages_apps_Trebuchet/src/com/android/launcher3/WidgetPreviewLoader.java, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/'/>
<entry>
<title>Prevent widget previews from showing empty images.</title>
<updated>2016-05-03T22:40:57+00:00</updated>
<author>
<name>Artem Shvadskiy</name>
<email>ashvadskiy@cyngn.com</email>
</author>
<published>2016-05-03T22:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=dd6f2a2891a8445591be3e9fa53db293d7fd880b'/>
<id>dd6f2a2891a8445591be3e9fa53db293d7fd880b</id>
<content type='text'>
When scrolling through the widget drawer, we submit multiple
AsyncTasks to load and display preview images. On certain
devices, attempting to load these images from
AppWidgetManagerCompat (when we are generating previews for
the first time) on a multi-threaded executor can cause us
to receive empty images. To avoid this, we allow preview
loading from the cache on a multi-threaded executor, but
defer preview generation to a single-threaded executor.

Additionally, the read and write db methods were not using
the same ComponentName output (flattenToString vs
flattenToSimpleString), which was resulting in consistent
cache misses that forced unnecessary preview regeneration.
This has been unified so we properly load from the cache.

Change-Id: I3a90cf88fed531713e5d2df876f4ede822f7d569
issue-id: FEIJ-346
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When scrolling through the widget drawer, we submit multiple
AsyncTasks to load and display preview images. On certain
devices, attempting to load these images from
AppWidgetManagerCompat (when we are generating previews for
the first time) on a multi-threaded executor can cause us
to receive empty images. To avoid this, we allow preview
loading from the cache on a multi-threaded executor, but
defer preview generation to a single-threaded executor.

Additionally, the read and write db methods were not using
the same ComponentName output (flattenToString vs
flattenToSimpleString), which was resulting in consistent
cache misses that forced unnecessary preview regeneration.
This has been unified so we properly load from the cache.

Change-Id: I3a90cf88fed531713e5d2df876f4ede822f7d569
issue-id: FEIJ-346
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle theme changes</title>
<updated>2015-12-17T00:23:02+00:00</updated>
<author>
<name>Clark Scheff</name>
<email>clark@cyngn.com</email>
</author>
<published>2014-06-10T22:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=a343529cc30489de6c78870277311720630f524d'/>
<id>a343529cc30489de6c78870277311720630f524d</id>
<content type='text'>
issue-id: CYNGNOS-1434 NIGHTLIES-2149

Change-Id: I85208f3d6b572fb7a161db79cd3b74c1102dbba2
(cherry picked from commit 50f78e36b079bbe14bcb50064d28940358d42544)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
issue-id: CYNGNOS-1434 NIGHTLIES-2149

Change-Id: I85208f3d6b572fb7a161db79cd3b74c1102dbba2
(cherry picked from commit 50f78e36b079bbe14bcb50064d28940358d42544)
</pre>
</div>
</content>
</entry>
<entry>
<title>Refreshing widget list when a package containing a widget changes</title>
<updated>2015-08-12T04:25:19+00:00</updated>
<author>
<name>Sunny Goyal</name>
<email>sunnygoyal@google.com</email>
</author>
<published>2015-08-11T20:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=2d648b057fa2d6410b1472c1b9dd5b65cd9c9414'/>
<id>2d648b057fa2d6410b1472c1b9dd5b65cd9c9414</id>
<content type='text'>
Bug: 20698931
Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 20698931
Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
</pre>
</div>
</content>
</entry>
<entry>
<title>Using a reverse hashmap instead of indexOfValue in userManager</title>
<updated>2015-08-05T20:23:25+00:00</updated>
<author>
<name>Sunny Goyal</name>
<email>sunnygoyal@google.com</email>
</author>
<published>2015-08-05T20:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=a2a039b66f05a1164f954387b1c12a8fb4063e92'/>
<id>a2a039b66f05a1164f954387b1c12a8fb4063e92</id>
<content type='text'>
Bug: 22980139
Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 22980139
Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207
</pre>
</div>
</content>
</entry>
<entry>
<title>Calculating widget minSpans and spans statically/independent of orientation</title>
<updated>2015-08-03T23:39:49+00:00</updated>
<author>
<name>Sunny Goyal</name>
<email>sunnygoyal@google.com</email>
</author>
<published>2015-08-03T20:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=233ee964a9ecf419a3e8330a67456d422879132d'/>
<id>233ee964a9ecf419a3e8330a67456d422879132d</id>
<content type='text'>
 &gt; Filtering the widget list and excluding widgets which dont fit the grid
 &gt; setting minSpans for the widget item when binding.

Bug: 22541314
Bug: 22559137
Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 &gt; Filtering the widget list and excluding widgets which dont fit the grid
 &gt; setting minSpans for the widget item when binding.

Bug: 22541314
Bug: 22559137
Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent from widget cell preview image from being cut off.</title>
<updated>2015-07-30T22:04:59+00:00</updated>
<author>
<name>Hyunyoung Song</name>
<email>hyunyoungs@google.com</email>
</author>
<published>2015-07-30T22:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=b9f932e08902c21020b6a98372c1a68548b8de59'/>
<id>b9f932e08902c21020b6a98372c1a68548b8de59</id>
<content type='text'>
b/22541466

&gt;TL;DR;; when introducing mProfileBadgeMargin to correctly place
&gt; work profile badge. Drawing origin of the preview image resulted
&gt; to the left of (0, 0).

Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
b/22541466

&gt;TL;DR;; when introducing mProfileBadgeMargin to correctly place
&gt; work profile badge. Drawing origin of the preview image resulted
&gt; to the left of (0, 0).

Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing nullpointer when creating new DB</title>
<updated>2015-06-16T22:18:41+00:00</updated>
<author>
<name>Sunny Goyal</name>
<email>sunnygoyal@google.com</email>
</author>
<published>2015-06-16T22:10:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=b4cbea4ad4ce06b591603a47f86cfd9df838ccb1'/>
<id>b4cbea4ad4ce06b591603a47f86cfd9df838ccb1</id>
<content type='text'>
LauncherProvider is not ready until the DBHelper is created
Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LauncherProvider is not ready until the DBHelper is created
Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix last bit of WidgetTray jank issue b/21133230" into ub-launcher3-burnaby</title>
<updated>2015-06-16T18:08:14+00:00</updated>
<author>
<name>Hyunyoung Song</name>
<email>hyunyoungs@google.com</email>
</author>
<published>2015-06-16T18:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=ed717bcd611628ff961e0e9a7e7e11015fca4a33'/>
<id>ed717bcd611628ff961e0e9a7e7e11015fca4a33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix last bit of WidgetTray jank issue</title>
<updated>2015-06-16T17:45:24+00:00</updated>
<author>
<name>Hyunyoung Song</name>
<email>hyunyoungs@google.com</email>
</author>
<published>2015-06-16T17:45:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=e98f4a4d6dac0aa4fc6b35b46ab10aff06251ffc'/>
<id>e98f4a4d6dac0aa4fc6b35b46ab10aff06251ffc</id>
<content type='text'>
b/21133230

Change-Id: Ic198b8d21be1b0f3465cd4efc30a240e3ec4304a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
b/21133230

Change-Id: Ic198b8d21be1b0f3465cd4efc30a240e3ec4304a
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing ContentObserver in launcher</title>
<updated>2015-06-16T17:31:43+00:00</updated>
<author>
<name>Sunny Goyal</name>
<email>sunnygoyal@google.com</email>
</author>
<published>2015-06-13T04:18:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Trebuchet/commit/?id=383c507c47a5abf3258fc04220f37c366f983a97'/>
<id>383c507c47a5abf3258fc04220f37c366f983a97</id>
<content type='text'>
&gt; Using callback insted of using a content observer
&gt; Setting the listener in LauncherAppState to prevent resource leak

Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&gt; Using callback insted of using a content observer
&gt; Setting the listener in LauncherAppState to prevent resource leak

Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
</pre>
</div>
</content>
</entry>
</feed>
