summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Design adjustments for transition from workspace toMario Bertschler2017-05-161-1/+1
| | | | | | | | | | | | | | | | | | All apps. Change-Id: I0aeb8da7f0eebdf677ca7bda06fb538f08a6ee51
* | | Merge "Minor polishment on app discovery UI." into ub-launcher3-dorvalMario Bertschler2017-05-162-4/+5
|\| | | | | | | | | | | | | | | | | am: 8ffddbb7c2 Change-Id: I611a4707882a0fb5c78c223ebd9f5c8e0e67d411
| * | Minor polishment on app discovery UI.Mario Bertschler2017-05-162-4/+5
| |/ | | | | | | | | | | | | | | b/38341964 b/38342208 b/38341681 Change-Id: I8dfe4f5431cbfa96573c0461fddd410367c9ad13
* | Merge "Adding listener support for color extraction changes Changing the ↵TreeHugger Robot2017-05-112-5/+7
|\ \ | | | | | | | | | apps-search layout to use theme attribute instead of hard coded layout id" into ub-launcher3-dorval-polish
| * | Adding listener support for color extraction changesSunny Goyal2017-05-092-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Changing the apps-search layout to use theme attribute instead of hard coded layout id Bug: 37616877 Change-Id: Iae601758303f83a2774635f0d88f74d99fc643c3
* | | Merge "Visual updates for popup" into ub-launcher3-dorvalTony2017-05-106-7/+9
|\ \ \ | |/ / |/| / | |/ | | | | am: 5cfde85cb6 Change-Id: I4e97cb52054b5c5ff467f3481b92730f6f9a3e8e
| * Visual updates for popupTony2017-05-096-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update some dimens - Increase left padding for shortcuts - Adjust arrow and notification ellipsis offset accordingly - Align shortcut dividers to be same width as text - Notification text 14sp instead of 15sp - Increase width of popup by 12dp - Shortcuts text 87% black instead of 54% - Arrow has same color as attached side, so takes on header gray instead of white when appropriate Bug: 37753827 Change-Id: I0844b85995f22218a3b7e605e1653cceaed6cda1
* | Moving apps search related logic into a custom layout fileSunny Goyal2017-05-083-28/+45
| | | | | | | | | | | | | | | | This will allow derivative projects to easily change the search behavior by simply overriding the xml file Bug: 37616877 Change-Id: Ib8d6a2dab06819a52611e9a3d97c70c5a49bbf97
* | Merge "Fix center-align issue in widgets bottom sheet" into ub-launcher3-dorvalTony2017-05-041-1/+0
|\| | | | | | | | | | | am: b77aa69eee Change-Id: Ie206f8f66b45ad9dfe2c085b5087a4600c0d41b0
| * Fix center-align issue in widgets bottom sheetTony2017-05-041-1/+0
| | | | | | | | | | | | | | | | - Remove paddingStart - To add padding for multiple widgets, add empty view to scrollview Bug: 37918677 Change-Id: I5ec1208765874dda1c4439f60aaeb989c06ccd63
* | All Apps transition with gradient and scrim.Mario Bertschler2017-05-031-0/+31
| | | | | | | | | | | | | | The transition is behind a feature flag and turned off by default. Change-Id: I155840ba82b5a573d874376797db5f739a52d706
* | Fix bug where system shortcuts text size is set to 0 in MW mode.Jon Miranda2017-05-021-0/+1
|\| | | | | | | | | | | am: da8261cce3 Change-Id: I1dfb3d6b655ebba8b8a9637a8e3a61fe7e0355e5
| * Fix bug where system shortcuts text size is set to 0 in MW mode.Jon Miranda2017-05-021-0/+1
| | | | | | | | | | | | | | | | By default, the BubbleTextView sets the display to Workspace mode, which sets the text size to be 0 in MW mode. Bug: 37898830 Change-Id: I665611b9986f1025d54b7ddb80746d4016003313
* | Creating a custom drawable to customize shadow.Sunny Goyal2017-04-272-0/+2
| | | | | | | | | | | | | | | | > Fixing DrapTargetBar set to visible (with alpha = 0) in the start causing unnecessary draw Bug: 37616877 Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
* | Rename WidgetsAndMore to WidgetsBottomSheetTony Wickham2017-04-171-2/+2
|\| | | | | | | | | | | am: 343a77e609 Change-Id: I3d0c3e3a4ec1225781421567cfd9f2ea1d676bc0
| * Rename WidgetsAndMore to WidgetsBottomSheetTony Wickham2017-04-171-2/+2
| | | | | | | | | | | | | | (It only contains widgets now.) Bug: 35766387 Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
* | Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorvalTony Wickham2017-04-131-38/+12
|\| | | | | | | | | | | am: 3741f8d9da Change-Id: If6fbb0dcd5ea8a947c586bddc624b98436863f92
| * Update widgets bottom sheet to match redlinesTony Wickham2017-04-131-38/+12
| | | | | | | | | | | | | | | | | | - Remove "Configurable shortcuts" row, and put all widgets in one row - Update some sizes and colors and text - Center widget row if only one widget Bug: 35766387 Change-Id: Ic3850feadee1cbbbdd68a772f597741d54949703
* | Fix build - move system shortcut icon colors to themeTony Wickham2017-04-132-0/+2
| | | | | | | | Change-Id: Iae248e5fdd57310adeb898305deee4c0eaee5318
* | resolve merge conflicts of ce44516dd to ub-launcher3-masterTony Wickham2017-04-116-29/+30
|\| | | | | | | Change-Id: I6f4455c1d4bedf778850acbb1e1c7372d532e13a
| * Update popup to match redlinesTony Wickham2017-04-116-29/+30
| | | | | | | | | | | | | | | | | | | | | | - Update specs in dimens.xml and colors.xml - Move notification count to top right, and keep "Notifications" in left - Also removed NotificationHeaderView and instead use FrameLayout - Limit to 2 shortcuts instead of 3 if there are notifications - Use SP instead of DP for text (b/35869307) Bug: 35766387 Change-Id: I892640933ad6351946af3df6c805b98bb4e7cb50
* | resolve merge conflicts of 26b174659 to ub-launcher3-masterTony2017-03-305-18/+101
|\| | | | | | | | | Test: I solemnly swear I tested this conflict resolution. Change-Id: Ifb24f291b096b979044e5c87ec58c24e9c479728
| * Add support for system shortcuts in popup containerTony Wickham2017-03-305-18/+101
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorvalTony Wickham2017-03-302-0/+112
|\| | | | | | | | | | | am: d73fbb5f97 Change-Id: I5d1bad3ea83e672076dbd3b6f2d80d5149f3921c
| * Add WidgetsAndMore bottom sheetTony Wickham2017-03-302-0/+112
| | | | | | | | | | | | | | | | | | | | | | - 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
* | Show recently used instant apps provided by the app discovery service in the ↵Mario Bertschler2017-03-231-12/+0
|\| | | | | | | | | | | | | | | same section as installed apps. am: 853c13d427 Change-Id: I852e85f5b715d7f9ecc903bb0b9020e87c19cd99
| * Show recently used instant apps provided by the app discovery serviceMario Bertschler2017-03-231-12/+0
| | | | | | | | | | | | in the same section as installed apps. Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
* | Adding support for showing the widget preview based on the provided RemoteViewsSunny Goyal2017-03-173-48/+78
|\| | | | | | | | | | | am: c65a0085d7 Change-Id: Iabea96bb74294e2775a08427c17e154020d9bc40
| * Adding support for showing the widget preview based on the provided RemoteViewsSunny Goyal2017-03-173-48/+78
| | | | | | | | | | Bug: 35811129 Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
* | Allow TalkBack to read sectional headings on Widgets screen.Jon Miranda2017-03-161-1/+0
|\| | | | | | | | | | | am: efd5cbf55c Change-Id: Ib0bd61b94739ff4fd3b9ce866e33f4b7088a6846
| * Allow TalkBack to read sectional headings on Widgets screen.Jon Miranda2017-03-161-1/+0
| | | | | | | | | | Bug: 35027834 Change-Id: Ice512bac83d818a4f8dca6d5f4b041a6bfa4df67
* | Merge "Defining HomeScreenElementTheme for elements which appear on top of ↵Sunny Goyal2017-03-135-1/+7
|\ \ | |/ |/| | | wallpaper" into ub-launcher3-master
| * Defining HomeScreenElementTheme for elements which appear on top ofSunny Goyal2017-02-175-1/+7
| | | | | | | | | | | | | | | | | | wallpaper > Using HomeScreenElementTheme for workspace items > Fixing view inflation where wrong layout inflater was being used Change-Id: I92e278dbfb609ad7af9c2f47351f23f03cf12049
* | App discovery integration in All Apps searchMario Bertschler2017-03-032-0/+151
| | | | | | | | | | | | | | | | | | This is the basis for app discovery integration while searching in all apps. This does NOT include binding to the actual service and retrieving results, but instead provides all the UI to show suggested instant apps and apps from a store with star rating and pricing. Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
* | Update notification visuals (part 2)Tony Wickham2017-03-023-27/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Background is now white, and color beneath and divider color updated accordingly (not from color extraction) - Removed overflow text ("+6") and added it to a header ("6 Notifications"). Use "..." instead if there is an overflow. - Even spaced out icons in notification footer between the far right icon and the ellipsis - Remove code to change arrow tint, since it is always white now. This also fixes the issue where it was drawn as a rect. Bug: 35766387 Change-Id: I03bfda4ff029f23dd8b3dd1b72f534ea0e2c0816
* | Merge deep shortcuts in rounded rectTony Wickham2017-03-014-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - DeepShortcutViews are added to ShortcutsItemView, which is in PopupContainerWithArrow - Moved some shortcut-specific logic to ShortcutsItemView (namely, touch/long-click handling for draggin shortcuts) - Moved round-rect clipping to PopupItemView - Removed collapseToIcon() logic, including PillWidthRevealOutlineProvider, which was only used for that purpose. It isn't necessary now that the deep shortcuts have no background themselves. - Replaced focus pill drawable with ripple effect on shortcuts and notification view. Bug: 35766387 Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c
* | Update notification view to match newer specsTony Wickham2017-02-243-28/+12
| | | | | | | | | | | | | | | | | | | | | | - Use smaller radius for notifications round rect background - Remove "Notifications" header, and clip children to round rect path - Flip main notification so that icon shows on the right instead of left; footer is also flipped so animation makes sense - Clean up animations to animate view outline instead of height Bug: 32410600 Change-Id: I6bd1e1f8395b3703f28c3b0056a89e67672368ab
* | Removing custom state definition from FastBitmapDrawableSunny Goyal2017-02-231-0/+1
|/ | | | | | | > For Fast scrolling, using state list animator defined in xml > For Pressed state, using onState change method in a drawable Change-Id: Ia608690f593938cf0f77e00afcc2a3076e48d8f4
* Simplifying some launcher themesSunny Goyal2017-02-1612-44/+59
| | | | | | | > Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
* Updating widget tray themeSunny Goyal2017-02-097-23/+38
| | | | | | | | | | 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
* Add swipe-to-dismiss notifications in popup menu.Tony Wickham2017-01-253-0/+157
| | | | | | | | | | | | | | - Next secondary icon animates up to replace dismissed main notification - Add padding around main notification so it always aligns with the straight edges of the view (not the rounded corners); looks more dismissable - Notification view collapses as notifications are dismissed - To mimic system notification behavior, we copy SwipeHelper, FlingAnimationUtils, and Interpolators. We also apply elevation to notifications and reveal a darker color beneath when dismissing. Bug: 32410600 Change-Id: I9fbf10e73bb4996f17ef061c856efb013967d972
* Refactor DeepShortcutsContainer to PopupContainerWithArrowTony Wickham2017-01-252-3/+3
| | | | | | | | | | | - Also added PopupItemView, which takes animation logic from DeepShortcutView, and which DeepShortcutView now extends. - Renamed ShortcutFilter to PopupPopulator, which has support for new item types (not yet used). Also moved populating logic (e.g. UpdateShortcutChild Runnable) to PopupPopulator. Bug: 32410600 Change-Id: Ib6e444ac7ca99c80ba438801c26e62d9542e0ad9
* Fix color for widget tray to match Default.Settings themeFan Zhang2017-01-241-1/+1
| | | | | | Change-Id: Ief4079853a8275a75c27d3c22b57a72a35274307 Fix: 34672511 Test: visual
* Using WidgetCell in the Pin Item confirmation prompt for a consistent UISunny Goyal2017-01-201-7/+17
| | | | | | | Also fixing some platform API changes in PinItemRequestCompat Bug: 33584624 Change-Id: I255829f0079f1a3967bf8d6a337da12c890eb7ec
* Updating widget preview generation to not embed any badge.Sunny Goyal2017-01-191-3/+2
| | | | | | | | | 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
* Adding support for requesting addition of shortcut/widgetSunny Goyal2017-01-181-0/+55
| | | | | | | on the workspace. Bug: 33584624 Change-Id: I664366822fe8088742faff2cce006239ab0771bc
* Defining various modes for CellLayout: Workspace, Hotseat & FolderSunny Goyal2016-11-213-2/+28
| | | | | | | > Moving the definition of modes to xml > Defining attributes in xml Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
* Merge "Catching TransactionTooLargeException when binding widget." into ↵Sunny Goyal2016-11-151-0/+1
|\ | | | | | | ub-launcher3-master
| * Catching TransactionTooLargeException when binding widget.Sunny Goyal2016-11-091-0/+1
| | | | | | | | | | | | | | | | | | A widget can potentially bypass binder size limit with remote views when using partual updates (as the merging happens on the system service). In such a case, show the widget in error state. Bug: 32365088 Change-Id: Id1c4425958a06463273731464e31f05908c35ec7
* | Match AllApps start and end paddings.Jon Miranda2016-11-031-0/+1
|/ | | | | | | | | Padding was only on the end to account for the scrollbar. Adding padding to the left allows the icons on AllApps to align with the icons on the workspace. Bug: 32640697 Change-Id: Iced9287979a11afda98bc6bfc926fe87182bee68