2d648b057fa2d6410b1472c1b9dd5b65cd9c9414 |
|
11-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Refreshing widget list when a package containing a widget changes Bug: 20698931 Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
a2a039b66f05a1164f954387b1c12a8fb4063e92 |
|
05-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Using a reverse hashmap instead of indexOfValue in userManager Bug: 22980139 Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
233ee964a9ecf419a3e8330a67456d422879132d |
|
03-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Calculating widget minSpans and spans statically/independent of orientation > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding. Bug: 22541314 Bug: 22559137 Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
b9f932e08902c21020b6a98372c1a68548b8de59 |
|
31-Jul-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Prevent from widget cell preview image from being cut off. b/22541466 >TL;DR;; when introducing mProfileBadgeMargin to correctly place > work profile badge. Drawing origin of the preview image resulted > to the left of (0, 0). Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
b4cbea4ad4ce06b591603a47f86cfd9df838ccb1 |
|
17-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing nullpointer when creating new DB LauncherProvider is not ready until the DBHelper is created Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
ed717bcd611628ff961e0e9a7e7e11015fca4a33 |
|
16-Jun-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Merge "Fix last bit of WidgetTray jank issue b/21133230" into ub-launcher3-burnaby
|
e98f4a4d6dac0aa4fc6b35b46ab10aff06251ffc |
|
16-Jun-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Fix last bit of WidgetTray jank issue b/21133230 Change-Id: Ic198b8d21be1b0f3465cd4efc30a240e3ec4304a
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
383c507c47a5abf3258fc04220f37c366f983a97 |
|
13-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing ContentObserver in launcher > Using callback insted of using a content observer > Setting the listener in LauncherAppState to prevent resource leak Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
41e3369d5fffb2e8dfa33bfcb14386ad339b0f2f |
|
15-Jun-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Work profile badge alignment b/21336417 Change-Id: Icd54320fa0d0976cac0ae66d180cc2c99ddd0c1c
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
f00d02b254d94eeaf52742e0640e9eacd63fafca |
|
05-Jun-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Improve AyncTask throughput inside WidgetPreviewLoader b/21133230 > Synchronized block was creating a bottleneck for the AsyncTasks. > Remove calls that doesn't need to be synchronized outside synchronized block. > Also removed setAlpha call as after the bottleneck was removed, Inefficient alpha view usage alert started popping up in traceview. Due to less jankness, removing the fadein animation doesn't have any visible effect. Link to lock congestion visualization: https://x20web.corp.google.com/~hyunyoungs/no_crawl/traceview/traceview_lockcontention.html Result: gfx-avg-jank delta = "-1" Change-Id: If12817df0730f346cdba7e2f38f232eb9a4336c0
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
316490e636aad788fcfbfc2e04dd4f0e145bdd00 |
|
02-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some synthetic method creation > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
5f4e0fdd2e4edeb9211e2dcd1c99497f175731f8 |
|
22-May-2015 |
Winson Chung <winsonc@google.com> |
Moving all apps code into sub package. - Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
2e6da1539bc7286336b3c24d96ab76434939ce4d |
|
06-May-2015 |
Adam Cohen <adamcohen@google.com> |
Refactoring DeviceProfile -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
2bd3d7d1cb5e4d8d826982d11b456739fed6b817 |
|
21-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Load PackageItemInfo in background thread to prevent ANR - Decoupled widget model from widget view, and placed the creation to LauncherModel. - As a result packagemanager operation, iconcache retrieval is all done inside LauncherModel on background thread b/21311085 b/21325319 Change-Id: I294698527db58b89f3da558090a367530c058776
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
05304db9053b4794bd7e776ff6e80cd1ae653110 |
|
19-May-2015 |
Winson Chung <winsonc@google.com> |
Reducing delay in applying widget previews loaded in the background. - Push the writing of previews to the DB to the worker thread to ensure that we can apply the loaded preview as soon as possible. - Reducing additional bitmap allocations from cancelled tasks that did not re-add their bitmaps to the unused set (happens when the list is scrolling quickly). Change-Id: Ib7c2cfdfcc668c215b3a74271e1165235fbdf752
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
78b19667dad912ee6aadb9699c21e33c39ec550f |
|
15-May-2015 |
Winson Chung <winsonc@google.com> |
Removing some dead code and extra view creation. b/21133230
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
6babf2e27e6260f02751413b8f7a55e46659af27 |
|
15-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Place the work profile badge in the correct bottom right (left for RTL) location Also: - clean up of some code - remove requestLayout() method call that is not needed. b/20338602 Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
8821ca9a6a5bf34308f9b70c2cabf9da17330497 |
|
05-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray performance improvement (less sorting): Part 1 - No longer return sorted list from the package manager since, the only time the widget list requires to be sorted is when recycler view renders them. - Made getWidgetsAndShortcuts private to guarantee that widgets are being loaded in the worker thread. Change-Id: I2c35973c1226e831514380dd38fc2f88b1b91d02
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
559d90d0dafbac1d97a1e6f18062309831a25d51 |
|
29-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetPreviewLoader concurrency issue / Caching improvement 1) Concurrency issue: unused bitmap was not properly synchronized which caused concurrency issue. Hence, leading current widget tray implementation to not use it. (a.k.a. cancel(false)). Issue fixed and now using the unused bitmap pool. 2) Caching improvement: LoadedBitmap cache was a legacy support system for the old widget tray implementation. On our latest implementation, cache and recycled view is completely being managed by the recycler view. Hence removed. Change-Id: I843e6a286b676f283172f2c1ef5cbeed0a9fb17f
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
3f471440a8b6b71d4c15501a96befd3b715c9e8f |
|
09-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray revamp work - RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue: fixed height for the horizontal scroll view. - Shortcuts are added - Widget Preview loading should support shortPress for drop - UI tweaks left: overlay of arrow when there are more items to scroll - icons are added in the section header - Sorting of widget sections and widget horizontal list - Adding all the padding constants to dimen.xml file - RecyclerView should only support one view type For items to be addressed in follow up patches OR CLs, TODO is added to the comment. b/19897708 Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
5b0e669169ea2c951bf2f6f71faf793b24db3c23 |
|
19-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Rewrite: Widget preview loader logic > Widget previews are saved in data dir instead of cache dir > Expiring widget previews similar to IconCache > Removed support for setting thread priorities Bug: 19865031 Change-Id: Ib6033c2b1ff8ae61bba8762ca994ccd8217d3c75
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
091440a9cb9d4f42406631004aa484cbb79214ca |
|
18-Mar-2015 |
Adam Cohen <adamcohen@google.com> |
Reducing method count by eliminating synthetic accessors Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
4cad7538c9615303d291f5b52e960aaf0985828f |
|
18-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Cleaning up widget preview loader > Removing unnecessary canvas cache > Removing unnecessary new bitmap creation Change-Id: Ic9f45c5a204ea4d32dbf93c21a6a7fd6baea4b51
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
b745afbdd75157c73d581b345118cdaff99e912d |
|
02-Mar-2015 |
Winson Chung <winsonc@google.com> |
Initial changes to break out AllApps into its own view. - Moves launcher state-transition code into its own class - Moves all-apps related code into a separate view/set of classes - Implements a basic list view for all apps Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
30914ad14d16cfdc731b044ecd6d881fb0d44fd5 |
|
06-Dec-2014 |
Adam Cohen <adamcohen@google.com> |
Merge "Supporting custom widgets provided by launcher" into ub-now-master
|
5940042d39b576553c2499bcf3d0641281e6ad52 |
|
06-Mar-2014 |
Adam Cohen <adamcohen@google.com> |
Supporting custom widgets provided by launcher -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
0250945759f7ac58aab912448d62dc108b1770c5 |
|
04-Dec-2014 |
Adam Cohen <adamcohen@google.com> |
Avoid db exception on L and above Bug 18554839 Change-Id: I43f391b7cc376f697ce7b5b363e8be3aa85814b5
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
5f05913f71da68a6c406f905ec6979586e3ba27a |
|
02-Dec-2014 |
Winson Chung <winsonc@google.com> |
Ignoring specific db exception to workaround Bug. 18554839. Change-Id: I80f2dd62297eea671f2d129ae22263e72e506ae4
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
736f5af04cfb6f168c1f643874a7d3f82b5f51cc |
|
16-Oct-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing some IconCache methods not thread safe Bug: 17981568 Change-Id: I0d49604c2e38bc9017cba527d87e24e8b086f1da
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
4fbbb3e3e0e135bc5b304bc63637bbc8b54fb5d8 |
|
06-Oct-2014 |
Helena Josol <helenajosol@google.com> |
Create a central list of files the Launcher writes to the app directory Replace hardcoded Launcher filenames with the defined constants. Bug: 12753154 Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
8fd74831de067fbadad180c54f70fb4a5375a933 |
|
09-Sep-2014 |
Sameer Padala <sxp@google.com> |
Source change to get code compiling on google3 Change-Id: Ib16df8dd9caa04903a664d8cf92767107fe57628
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
ffe83f13319cdb833a25596d47cf1af098cc4c60 |
|
15-Aug-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for managed profiles in widget issue: 16892811 Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
fa9ffc28fd4d230cf38b55840238f5595716abc8 |
|
12-May-2014 |
Adrian Roos <roosa@google.com> |
Fix NPE in WidgetPreviewLoader Change-Id: Ic746f2a5e4237a9ea82abf5f9532307d40432ac1
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
1f375ab63339359e1f8cd44cede466adedcdcc62 |
|
28-Apr-2014 |
Adrian Roos <roosa@google.com> |
Dump open files if we run out of file descriptors Bug: 12782843 Change-Id: I7254c2cb6c3f721a06b9301d674c9560f86dfde6
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
65d60e21ec22e3bf03ba39f7a0be24df2cc914a2 |
|
15-Apr-2014 |
Adrian Roos <roosa@google.com> |
Fix skia crash in widget preview loading This fix works making sure all drawables are mutated before drawing them in the background. Mutation has to be executed on the main thread because that operation is not thread safe. Bug: 12525890 Change-Id: Id7bdf9cf48d3e7b7f31938bdea4a3bf1632cf337
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
fa4c799a9bc6b2eb55ce21609591d49f5c5ea9ba |
|
19-Mar-2014 |
Adrian Roos <roosa@google.com> |
Fix concurrent drawable usage resulting in native crash One of widget preview drawables was drawn concurrently from a thread pool, causing a native Skia crash. Bug: 12525890 Change-Id: I2dea7b86ba8b32237f40feff225657dcb2b0061b
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
5d2704fbb0a7bb4763d4e2ee031e16a8913ba003 |
|
18-Mar-2014 |
Adrian Roos <roosa@google.com> |
Clean up dead, ugly and wrong code in icon and widget preview loading Removed and fixed serveral instances of dead code and small bugs that grew in the widget preloading logic, discovered while chasing a bug. Bug: 12525890 Change-Id: I22e03eccecc07b73388cfd3c8462d947601c6e54
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
6e27f642ae66dd1920b25b527fced7268943d11a |
|
10-Dec-2013 |
Michael Jurka <mikejurka@google.com> |
Recover when widget preview database is deleted Bug: 12109621 Change-Id: I8d59700d31d6856d6151b965786c87585801317b
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
8ff02cac07a9c7fb0f321e93d67ad75cc588fbae |
|
01-Nov-2013 |
Michael Jurka <mikejurka@google.com> |
Clear widget preview cache when system is updated Bug: 11325218
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
fd13c714f412dfa8130fa7a664cb1692a565c539 |
|
27-Sep-2013 |
Chris Wren <cwren@android.com> |
backup widget assets. Bug: 10778984 Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
45cab39eea097bf622cd1ed67d91d2336d78663a |
|
03-Oct-2013 |
Winson Chung <winsonc@google.com> |
Tweaking the front cling to support more verbose languages. (Bug 11015051)
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
6706ed826600683cd66a7a2af79137d9fdda34f8 |
|
02-Oct-2013 |
Winson Chung <winsonc@google.com> |
Updating widget preview tile.
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
eb1bb920507fe7f27b2ecece5b67749dac7850f3 |
|
26-Sep-2013 |
Michael Jurka <mikejurka@google.com> |
Recover when reading corrupted widget previews Bug: 10785722
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
5f8afe6280eae34620067696173e71943e1a30a3 |
|
13-Aug-2013 |
Winson Chung <winsonc@google.com> |
Initial Changes for Dynamic Grid Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
e4f9891f01bdc10d8f96e4e2429e2f4d0558238b |
|
25-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Lazily instantiate LauncherAppState. The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
cc8befac3550c81d04ea206c170adae36c9a6c93 |
|
11-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Move LauncherApplication's state and code to LauncherAppState. This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|
325dc23624160689e59fbac708cf6f222b20d025 |
|
06-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Launcher2 is now Launcher3. Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/WidgetPreviewLoader.java
|