summaryrefslogtreecommitdiffstats
path: root/res/layout/widgets_view.xml
Commit message (Collapse)AuthorAgeFilesLines
* Updating fast scrollbar UI in LandscapeSunny Goyal2017-06-261-9/+16
| | | | | | | | | | | Creating a separate view for FastScrollBar and moving all the relavant logic in the view. For protrait, the touch handling is delegated by the recycler view just like before. For landscape, the dcrollbar does not overlay with recyclerView and handles the touch itself Bug: 37015359 Change-Id: Ie1981326457ba739bdf0ac8063db1065f395f133
* Add dark widgets themeTony Wickham2017-06-261-1/+1
| | | | | Bug: 62907264 Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef
* Updating the fast scroll bar UISunny Goyal2017-06-161-1/+1
| | | | | Bug: 37015359 Change-Id: Iec0748f04ebe9a3eef13ff759da3cab6ff28c3a1
* Moving apps search related logic into a custom layout fileSunny Goyal2017-05-081-1/+0
| | | | | | | | This will allow derivative projects to easily change the search behavior by simply overriding the xml file Bug: 37616877 Change-Id: Ib8d6a2dab06819a52611e9a3d97c70c5a49bbf97
* Updating widget tray themeSunny Goyal2017-02-091-2/+1
| | | | | | | | | | 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
* Making the width of the fast scroller popup as wrap_contentSunny Goyal2016-10-111-10/+2
| | | | | | | Adding minWidth and width=wrap_content, so that the popup can grow for wider characters. Change-Id: I6e0c4087df51e37f696c47f20f146f32d41e8bc8
* Simplifying fast scroller logicSunny Goyal2016-10-101-0/+16
| | | | | | | | | | | > Using a separate view for drawing the popup. This allows us to use elevation property instead of drawing the shadow as bitmap. > During the thumb animation, invalidating the full track width, instead of invalidating the track and thumb separately. > The thumb path is calculated at 0,0 and drawn using canvas.translate(). This avoids recalculating the path on every scroll. Change-Id: I48741e5b4432df0d939016db284d7aaf52cc2aa6
* Initial changes to tweak layout.Winson2016-07-201-2/+0
| | | | | | | | | | | | | | | - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
* Use colorSecondary for darker bg color.Andrew Sapperstein2016-06-301-1/+1
| | | | | | | | | | | | Used for widget headers and a few other places. In order to support pre-API 25, an app-local version of colorSecondary is created and used throughout the app. A new WidgetContainerTheme sets colorSecondary to a canned value. On API 25+, colorSecondary is set to the platform value. Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00 Fixes: 28625102
* Update Launcher to use theme colors.Andrew Sapperstein2016-06-201-1/+2
| | | | | | | | | | | | | | | | | | | 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
* Adding a loading view for widgets listSunny Goyal2016-05-191-0/+6
| | | | | Bug: 28427096 Change-Id: Icdc5ceed0caa1fafc97452142e4b71aa3026ddf9
* Removing dependency on LauncherCallbacks for getting the search boundsSunny Goyal2016-03-171-0/+2
| | | | | | | | | | | > Instead of handling insets in BaseContainerView, directly applying them to margins, as that scpace can't be used for scroll handling > Appliying the top and bottom padding in xml > The left & right padding is defied in xml which is reused for scroll handling Bug: 27108154 Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9
* resolve merge conflicts of a6194d3d92 to ub-launcher3-calgarySunny Goyal2016-02-191-5/+12
|\ | | | | | | Change-Id: I29b3c3bb2c070e34c78c62b8f9086e6f3c8bd277
| * Wrapping thw widgetList inside a layout, so that it has the same view ↵Sunny Goyal2016-02-191-5/+12
| | | | | | | | | | | | structure as allApps Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
* | Separating out Launcher3 resources from Wallpaper resourcesSunny Goyal2016-02-101-1/+1
|/ | | | Change-Id: I7e33c83df8b16e8552fe588cadbcf3bf7881cb95
* Merging search bar with all appsSunny Goyal2016-02-081-23/+18
| | | | Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
* Working around overscroll issues in AllApps.Winson Chung2015-06-231-0/+1
| | | | | | | | | - For the time being, we are going to do custom drawing to ensure that we get the touch events in the right order, while still allowing the recycler view to draw the overscroll effect on top of the prediction bar. Bug: 21335369 Change-Id: I6bf64e5c1e9aa634a953223a5decf74942e4fb57
* Revert resource name to what platform ui automator test defines.Hyunyoung Song2015-06-181-0/+1
| | | | | | b/21923650 Change-Id: I26a9405ac0567f856a43d83886df4ece938c11a7
* Refactoring all apps search to support external search bar.Winson Chung2015-06-151-9/+13
| | | | | | | | | | | | | | | | | | | | | - Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
* Consistent scrolling experience for All apps and widget trayHyunyoung Song2015-06-041-1/+0
| | | | | | b/21375339 Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
* Decrease elevation for the reveal view.Sunny Goyal2015-05-221-1/+1
| | | | | | > During the end of allApps animation, the shadow suddenly changes from 15dp to 0 Change-Id: I93bcf1220396b2bda3efea7febc2195ef556938b
* Moving all apps code into sub package.Winson Chung2015-05-221-1/+1
| | | | | | | - Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
* Introduce scrollbar in widget trayHyunyoung Song2015-05-211-0/+1
| | | | | | b/21270754 Change-Id: I82dd87193f0ed5822f8cd75ef0c785057f949015
* Removing unnecessary linear layoutSunny Goyal2015-05-201-14/+7
| | | | Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
* Initially set the widget container view to GONE visibilityHyunyoung Song2015-05-151-0/+1
| | | | | | | | - Bitmap loading should not happen when Launcher3 is being loaded. b/21207643 Change-Id: I1b6a5f970d157d139e0e5021182048f752b67415
* Reodering some drawablesSunny Goyal2015-05-141-3/+5
| | | | | | | | | | | > quantum_panel_shape is xml rectangle with no margin > quantum_panel_bitmap is 9-patch drawable with inbuild shadow and margin > quantum_panel uses xml-shape for lollipop and 9-patch image for lower devices. It includes margin. For shadow, use elevation on lollipop > All drawables have _dark variant > Using #f5f5f5 for panel background, instead of #ffffff Change-Id: Ia7c6cea6d514ee3774fcf5fef6139650bdd53208
* Make drag and drop also work when the widget tray is still in scroll mode.Hyunyoung Song2015-05-061-1/+1
| | | | | | b/20698514 Change-Id: Ic075f0016d5e00bbdec193bbcd2e311da1957388
* WidgetTray UI tweakHyunyoung Song2015-04-191-5/+5
| | | | | | | | | | | - 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
* WidgetTray revamp workHyunyoung Song2015-04-081-0/+49
- 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