26b1746593851e239bfff65ae7a69b809ad87b99 |
|
21-Mar-2017 |
Tony Wickham <twickham@google.com> |
Add support for system shortcuts in popup container - Currently the system shortcuts are just widgets and app info - As shortcuts, they live in ShortcutsItemView - They are populated either as icons only (if there are deep shortcuts) or as icons + text - Widgets are disabled until binding them is complete (we request for them to be bound on long-press now). We should revisit this. Bug: 34940468 Change-Id: Ia51d002c3b3ede87658bdab57abfc3eeca1ed242
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
50e5165b78c75ccb022f0954699f49c579547115 |
|
21-Mar-2017 |
Tony Wickham <twickham@google.com> |
Add WidgetsAndMore bottom sheet - Contains two rows, one for widgets, and one for "configurable shortcuts" that have customization activities - Extends AbstractFloatingView and uses VerticalPullDetector for touch interactions - No way to show this currently; will add options to popup in followup Bug: 34940468 Change-Id: Iab62c2cb89428f91119c9c86f9db886496c321fd
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
c65a0085d77edd8e8821254f081eb94e9dcc5e75 |
|
08-Mar-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for showing the widget preview based on the provided RemoteViews Bug: 35811129 Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
b38fab75735c601b61765ecae61494c8637aaef4 |
|
21-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for drag and drop for requestPinItem. On long pressing, the confirmation activity starts a system drag-n-drop and focuses the launcher activity. We then drive the launcher drag controller using the system drag event Caveats: > We use a transparent preview for system drag and drop and use a view inside launcher for actual preview. This gives us better control over various animations. > The parameters for drag operation are passed to the Launcher activity using the intent. Since onNewIntent and onDragEvent come at different times and are not associated, a random uuid is used as mime-type to match the drag event with intent params > If the workspace is locked (eg, loader is running) the drag operation is simply dropped. Will be imporved in follow up cls Bug: 33584624 Change-Id: I0bb5b25b690f86b6af31a14e11beb669fcb3a281
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
65513ba58c7d22bae2db82be6a2bfd243d844be9 |
|
20-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Using WidgetCell in the Pin Item confirmation prompt for a consistent UI Also fixing some platform API changes in PinItemRequestCompat Bug: 33584624 Change-Id: I255829f0079f1a3967bf8d6a337da12c890eb7ec
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
a2441e88ff862714d823d6c786b2d563047f75fc |
|
14-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Updating widget preview generation to not embed any badge. Instead drawing badge in the view directly. This will allow us to reuse the same preview when we do not want to draw badges. This also simplified badging of shortcut config activities. Change-Id: I9c07c33bf9c2b8ef81a00026b1d42587868c906f
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
278359539c02ca160caf1df54ce96053a2a2ef59 |
|
13-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for requesting addition of shortcut/widget on the workspace. Bug: 33584624 Change-Id: I664366822fe8088742faff2cce006239ab0771bc
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.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/widget/WidgetCell.java
|
c13403c612748bfdf06436510600230c4c4b55ec |
|
19-Nov-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Defining various modes for CellLayout: Workspace, Hotseat & Folder > Moving the definition of modes to xml > Defining attributes in xml Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
6c61323998edccbc28dc9f31602594e4f32e1215 |
|
19-Sep-2016 |
Jon Miranda <jonmiranda@google.com> |
Add context to widget dimensions for accessibility. Bug: 19085860 Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
abef55a1c1f1fda4f42e4b4223534dd21f3dc19f |
|
19-Jun-2016 |
Andrew Sapperstein <asapperstein@google.com> |
Update Launcher to use theme colors. Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
ae50284e0a838139c67caf0064a0977c871497fa |
|
17-Jun-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Moving LauncherAccessibilityDelegate to Launcher to associate it with activity lifecycle. Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
6d02c7a0337d37e5b1c596a4acec0c292a9b7f93 |
|
19-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
4ddc40130aa0460924364eab3557088421eebe0c |
|
10-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Creating WidgetCellItem to wrap LauncherAppWidgetProviderInfo and resolveInfo In PackageItemInfo,, using the user of the first item in the sub-list Bug: 27585511 Change-Id: I8243f0e5c831af65661ae815489e53e9fcade837
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
dfaeff757d6cefb2ed360e0f588117021b06b3f4 |
|
23-Feb-2016 |
Hyunyoung Song <hyunyoungs@google.com> |
Manual revert due to conflict: am: d31dcbcc7c * commit 'd31dcbcc7c7901959c65c4e635e59274a1d4c334': Manual revert due to conflict:
|
d31dcbcc7c7901959c65c4e635e59274a1d4c334 |
|
23-Feb-2016 |
Hyunyoung Song <hyunyoungs@google.com> |
Manual revert due to conflict: Revert "Load label in bg thread to prevent ANR b/27238970" This reverts commit b62fd0957607ae54c7bca7ce64eed288a11f0f2f. Change-Id: Ia751e3414fb24a18bb8bb9ca09dcd93d0e4249f6
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
b62fd0957607ae54c7bca7ce64eed288a11f0f2f |
|
23-Feb-2016 |
Hyunyoung Song <hyunyoungs@google.com> |
Load label in bg thread to prevent ANR b/27238970 Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c (cherry picked from commit 72a9953cf463e0e7a8d24903f1692828ffe5b017)
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
72a9953cf463e0e7a8d24903f1692828ffe5b017 |
|
23-Feb-2016 |
Hyunyoung Song <hyunyoungs@google.com> |
Load label in bg thread to prevent ANR b/27238970 Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
bb83520a620919a8f19472ba4426585d007d1aba |
|
16-Jul-2015 |
Mady Mellor <madym@google.com> |
Refactor StylusEventHelper to provide onButtonPress/Release methods This will enable an easier migration to the new M APIs for identifying button presses from stylus / other tools. Bug: 20430722 Change-Id: I41cfa6eff8d76bb83cf1bdaf6623ec1092ed554c
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.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/widget/WidgetCell.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/widget/WidgetCell.java
|
ef044dd380ac3abf354027750efdc16d5d48ac70 |
|
03-Jun-2015 |
Mady Mellor <madym@google.com> |
Stylus support: creating and setting listeners for stylus button press This updates almost(*) all locations that use a long press listener to also set a custom touch listener that recognizes the stylus button press action. The stylus button press action is: when a stylus touches a view while the primary stylus button is pressed which may occur on a DOWN or MOVE event. *The location this is *not* enabled for is: Longpress to enter "overview" mode -- this isn't really a selection or drag n drop action; it is also easy to accidentally do this while using the stylus gesture to drag n drop items which is not an ideal interaction. Also not set for the "cling" that demonstrates this. Bug: 20430722 Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.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/widget/WidgetCell.java
|
f52abd7758b8f245522936e941336e574debabf5 |
|
16-May-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Widget cell improvement > Using a custom view for preview, instead of extensing image view > Preventing relayout when applying preview > Removing unnecessary method calls Bug: 21133230 Change-Id: Iab12fa1e5c871ee43a9fb0e6b6af897fecfb345f
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
2d58471e8d3da621e209cec58a43d159778f8a0e |
|
16-May-2015 |
Winson Chung <winsonc@google.com> |
Reducing calls to onCreateViewHolder due to animating children. Bug 21133230 Change-Id: Ib5be0766d1ea56976195e33526d7595a16672eef
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.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/widget/WidgetCell.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/widget/WidgetCell.java
|
5cd1d92f6c40b47eff12859d4e13b6431aa778c0 |
|
13-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Fixing several layout issues. - N7/N9 indented area should not block scroll view - separator at the end of the widget cell should not show up on the last item. Not covered in this CL: - Guarantee that last item is showing only 20~40%. Right now, the hand picked constant works for N5,6,7,9 b/20338324 b/20763871 Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
f385e3c058f052073af5ac559c8fd5627046870c |
|
12-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Merge "Ensure that clipping widget size is 20~40% of its width on every devices" into ub-launcher3-burnaby
|
4b69f2ca91d63a59dfa921ba965b92de7f604f5a |
|
11-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Ensure that clipping widget size is 20~40% of its width on every devices b/20338324 b/20763871 Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
82b016cb56540fe26213e817dd0dd668099c8e20 |
|
09-May-2015 |
Winson Chung <winsonc@google.com> |
Trim all whitespace from titles and labels. Bug: 20953160 Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.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/widget/WidgetCell.java
|
f17a1c9ad99d46a65de797422fd439382114b348 |
|
28-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Widget tray alignment according to UX spec - Fixing an issue where widget preview is not loaded do to faulty canceling of loading async task when view is detached from the window. b/20338334 Change-Id: I1e3bd6b6cdafda8d1e0a7a0e87c8089100c341a7
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
b99ff3e83270e113f6182e337c4f7b0223bad92b |
|
24-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Add drop animation / Toast to widgettray - show instruction toast on clicking the widget - Add animation when widget drops on the workspace. Added WidgetHostViewLoader to handle short press and assign widget host view to enable animation b/19897708 Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
4cea4c830283e017fc36197cfe9d7ce713aec49d |
|
18-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray UI tweak - set fixed image view width - fade in when widget bitmap populates - widget dimension is next to the widget name text. - elevation of the widgets content and the reveal view is the same b/19897708 Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
4e8fb91cf19b7d621de8cbed2bde2c8dac734121 |
|
12-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray improvement UI - Fixing the issue of widget row not rendering - Moved the resetting of previous bitmap to the start of onBind instead of the onDetachedWindow. Performance - WidgetModel do not have to keep packageName list around. Will com in immediate follow up CLs - use lowRes widgets bitmap before fully loading the fullRes one. - application icons are fully loaded in background thread. b/19897708 Change-Id: I5b3b43a5c543a5135c395f90df32e66d57dc86e0
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.java
|
a23dab9c646f2f59b503bc4436183d477b8ad492 |
|
10-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray UI improvement - Long application title should be ellipsized - Disable the drawable when the view is no longer attached to the window - Save the PackageItemInfo to the WidgetModel once full res icon bitmap is loaded b/19897708 Change-Id: I96f260f9d165b206905a127fcee9879556c3d0c4
/packages/apps/Launcher3/src/com/android/launcher3/widget/WidgetCell.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/widget/WidgetCell.java
|