6bed350b75ad407ba85ae15d62551194dd0a69d4 |
|
19-Sep-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix bug where widgets are inflated in the wrong orientation. The bug is that in onResume, the context may tell us the wrong orientation. As a workaround, we store the orientation that the Launcher is created with, and we use that orientation to check whether we actually need to reinflate the widgets. Bug: 64916689 Change-Id: I5194debbd217a573d1f177c31d8c0abdf9da51b5
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
2b823f452b6c0b7c0bb5ef67f77510ce75800809 |
|
03-May-2017 |
Jon Miranda <jonmiranda@google.com> |
Show icon in PendingAppWidgetHostView immediately. Before this change, PendingAppWidgetHostView would appear 'blank' until they were loaded -- which could take a while depending on how many apps the user had, because the all apps icons are loaded first. Bug: 36815047 Change-Id: Ia7449cce4341ed9e9384fc8aaadeaae6c33bb262
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
5150d59603affa5104204b55920f16ee6425fba0 |
|
20-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Add padding to pending widget background. Bug: 36450202 Change-Id: I12c754d0ff1ac2f9a63d2e475bff5524fe51cb57
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
1f3f07d47c29cba3b70bcd15ebb65a077f55a558 |
|
11-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Simplifying some launcher themes > Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
d5d5e22715c19c361d264693929c15c4325e80fa |
|
07-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Updating widget tray theme Using standard theme attributes rather than custom color codes, so that it plays nice with system theme changes. Bug: 34819119 Bug: 34897402 Bug: 21446746 Change-Id: I265fba3ceae8873650fd09e4704838d313155e83
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
96ac68a481ce5b794b5227e09ace7c30d6dd5e7b |
|
03-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Updating the PreloadIconDrawable > The drawable gets the path from MaskIconDrawable path, instead of using a circle > The progress changes are animated as well Bug: 34831873 Change-Id: I4e7f0b610f4fd94de8e0cfcf8b179b775cf0b4d8
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
2d7cca1e052b982a1fd1d28c0174ad4e6f2d22d3 |
|
04-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Updating PendingAppWidgetHostView to load icon on the background thread Bug: 21325319 Change-Id: I0886eec5a3f36f5e1ac18020c54891a56bdb5ed2
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
a52ecb0390c85afb385371bb844bb496c59ddf87 |
|
17-Dec-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing all compatibility code below Lollipop Bug: 32745285 Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
621e2006473899c2047d66e3ef4b49c6d0db5a13 |
|
08-Dec-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Simplifyling widget inflation and addition flow." into ub-launcher3-master
|
55cb70bf70d6defe84fe44e0d942998adefbb71c |
|
12-Nov-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding an overridable DrawableFactory to allow creating custom icon drawables > Adding ItemInfo as a parameter for creating drawable Change-Id: I793acb0381d2b8df4db0a08317dddf1464788ebc
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
d5462aa31b53eb690a3f57c7c6c0cc4021271de6 |
|
22-Nov-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Simplifyling widget inflation and addition flow. > Removing insert parameter used to select the index of the view. ShortcutAndWidgetContainer no longet relies on the index and instead uses x and y to refer a particulat view. > Creating helper methods to easily insert the icon by passing ItemInfo directly. LauncherModel.addItemToDatabase synchronously updates the ItemInfo with proper postion information. So we can directly use the info instead of passing each parameter separately. Bug: 32904959 Change-Id: I021c1b818f2f42604b95a6970e06aacc7211292a
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
6b910a235db74b1965c5f5bb16c7fe44b1dc4cdd |
|
08-Nov-2016 |
Tony Wickham <twickham@google.com> |
Keep disabled FastBitmapDrawables disabled while fast scrolling. Previously, they were animating to be colored because they were set to have a FAST_SCROLL_UNLHIGHLIGHTED state. Now they retain their disabled color when changing fast scroll states. Specfically, we remove the DISABLED state and instead make it a property of the FastBitmapDrawable. Bug: 32642959 Change-Id: I6cb2da134a550c267eebfc756eff8c91a33f028c
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
a5c8a9eb666da16bc4c9ea4412868e22ace8d1f0 |
|
08-Jul-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding logic to pull in workspace data from another Launcher3 based provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package. Bug: 28536314 Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
d478c83fd6abebe6ce3f066d392a28f8ba9be100 |
|
01-Apr-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Showing a permission dialog when a restored widget is not yet bound, and launcher does not has the permission to bind the widget Change-Id: I51d32b9958f82671b928d559105129261fb8f268
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
5845bea514409ada1d5022c8a25fe175f6cac975 |
|
24-Feb-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Preventing crash when there is not enough width to show the pending text Bug: 26901856 Change-Id: I03c9631ce224cce76b2c896a5e6ce6b0ee741782
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
a682a5d8c747ac9cbbe10fb791a0548863422270 |
|
02-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Make sure that the dimensions are not negative when drawing pending widget Bug: 24585203 Change-Id: I3d328d0e1fe81d2704bb5b9d4b340a367bfb9249
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
c088049113c261331b5685e64050d14a31cd72df |
|
21-Aug-2015 |
Winson <winsonc@google.com> |
Highlighting sectioned apps on fast-scroll. - This CL fixes an old assumption we had about the height of rows in AllApps, and ensures that we account for the difference in height between the predictive icons and the normal icons. - In addition, we refactor FastBitmapDrawable to have multiple states, which it manages in drawing itself, including the press state and fast scroll focus states. And we also refactor some of the fast scroll logic in the all apps recycler view out to its own class. Change-Id: I1988159b2767df733bbbfc7dc601859cde6c9943
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
9fc953b94dbc6b99e6de08c9dcc80a0cb8e3e319 |
|
17-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Version code cleanup > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
ac36643be1fc6f7ef47090db73156bc4e57c68cc |
|
15-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Updating the UI for the pending widget view Bug: 23183034 Change-Id: I2b3f6f765a51edf75e666186650bbd3cf7b66a7a
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
53d7ee4285842732517edcccbdcaa92dccb1e107 |
|
22-May-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing different bitmap sizes in different orientations > Using a single bitmap icon size > Picking up appropriate density for satisfy the required icon size > Fixing some icon size assumptions during icon animations Bug: 19514688 Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.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/PendingAppWidgetHostView.java
|
9b4b0812fec41c40d81d507cfdb528ba87663f5f |
|
08-Oct-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Showing widgets in a disabled state, when running in safe mode Bug: 15172107 Change-Id: I7209836ca4ffacde7b7b232e230e9b9f1a0e54bb
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
e7b8cd9e4f8d38d0445f3a032fafd44332f70878 |
|
27-Aug-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Improving restored widget behavior > Clicking a broken widget install shows a dialog similar to an app icon > Clicking remove on the dialog removed all components for the corresponding package > Widget pending view shows 'Setup' text instead of icon, if there is enough space Change-Id: I82ec0a1ee9542c1e3b860e6e00798a80450dce3c
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
0fc1be164e982433e619bcbb16aa67e28ff681ef |
|
12-Aug-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Updating the ui for widget restore flow > Pending widget show a PreloadIconDrawable to indicate installation progress > Only the concerned widgets are reinflated on package install and not the whole workspace. > Adding support for storing default package icon in IconCache issue: 10779035 issue: 16737660 Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|
ff572277112ec3d6a6a8c1be274d6fa1019e3648 |
|
23-Jul-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support to restore widgets even for jelly beans. > Show 'widget-not-ready' until the widget app is installed > Once the app is installed, bind a new widget id (not required on L if id-remap was received). **Remove the widget if bind failed > If the widget has no configuration screen, show the widget, otherwise show 'setup-widget'. > Clicking 'setup-widget' shows the config screen, and updates the widget on RESULT_OK. issue: 10779035 Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
/packages/apps/Launcher3/src/com/android/launcher3/PendingAppWidgetHostView.java
|