summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Adding support for showing the widget preview based on the provided RemoteViewsSunny Goyal2017-03-177-53/+182
|\ | | | | | | | | | | am: c65a0085d7 Change-Id: Iabea96bb74294e2775a08427c17e154020d9bc40
| * Adding support for showing the widget preview based on the provided RemoteViewsSunny Goyal2017-03-177-53/+182
| | | | | | | | | | Bug: 35811129 Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
* | Merge "Show promise app icon in All Apps while installation process." into ↵Mario Bertschler2017-03-177-44/+238
|\ \ | | | | | | | | | ub-launcher3-master
| * | Show promise app icon in All Apps while installation process.Mario Bertschler2017-03-177-44/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL only modifies the model and is behind a feature flag which per default is set to false. The app icon will appear as a promise icon, it reacts on icon or label changes and the icon will be remove on finishing the installation process. With this CL the progress of the installation process is not visible. Bug: 23952570 Change-Id: I510825d0b0b1b01eb14f7e50f0a2358b0d8b99b5
* | | Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ↵Jonathan Miranda2017-03-161-6/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | ub-launcher3-dorval am: d8ea01ccf0 Change-Id: I8592ea63a61b284c5b740b6d9898c43bcbe44747
| * | Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ↵Jonathan Miranda2017-03-161-6/+0
| |\ \ | | | | | | | | | | | | ub-launcher3-dorval
| | * | Revert "Temporary fix for Widgets in battery saver mode."Jonathan Miranda2017-03-161-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: b/36157561 has been properly fixed. This reverts commit 08d8bb9cde705ef66561fb2dbed0af7af2632812. Change-Id: I55e04283d2013f965afc17bcb0482a50440a96ee
* | | | Merge "Revert "Temporary fix for Folders in battery saver mode."" into ↵Jonathan Miranda2017-03-161-6/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: 3345f133a0 Change-Id: If2c4fa92842c08501b90f3da6bc972e4ba32c6a8
| * | | Merge "Revert "Temporary fix for Folders in battery saver mode."" into ↵Jonathan Miranda2017-03-161-6/+0
| |\ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval
| | * | | Revert "Temporary fix for Folders in battery saver mode."Jonathan Miranda2017-03-161-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: b/36157561 has been properly fixed. This reverts commit 715a322e9ad62b4f0fc0ddca17c98a0ed6d048de. Change-Id: I267db053a45a75fdef71c6d178f140c7abcb8616
* | | | | Merge "Small cleanup for notifications" into ub-launcher3-dorvalTony Wickham2017-03-163-21/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 904166fd1e Change-Id: I1f7eecf94ca6dd495e8ebdb3f0a98354a833678d
| * | | | Merge "Small cleanup for notifications" into ub-launcher3-dorvalTony Wickham2017-03-163-21/+17
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Small cleanup for notificationsTony Wickham2017-03-153-21/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add null check when collapsing footer, as container could be null if the app is opened - Remove redundant method that always passed mNotificationItemView - Set mNotificationItemView to null when it is removed Change-Id: Ia329815224b213fc688733eaaf6f29ee6888caaf
* | | | | Refactor Folder/FolderAnimationManager code.Jon Miranda2017-03-162-105/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * FolderAnimationManager is now lazy loaded. * Extract methods to simplify code. Bug: 35064148 Change-Id: I08a72ef19a1f21637f033059d5e228ef67135ccd
* | | | | Temporary fix for Widgets in battery saver mode.Jon Miranda2017-03-151-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 08d8bb9cde Change-Id: If816544f1a115f5d3882b4335b747cae29a0205a
| * | | | Temporary fix for Widgets in battery saver mode.Jon Miranda2017-03-151-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | Bug: 36246234 Bug: 36240579 Change-Id: Iced0ea87333011aef1dbdadd0036427207e377d9
* | | | Merge "Use default icon if notification icon is null." into ub-launcher3-dorvalTony Wickham2017-03-151-2/+10
|\| | | | | | | | | | | | | | | | | | | | | | | am: a431fbb850 Change-Id: I493ea6c4248c81f33e5267e2450e646cff23c955
| * | | Merge "Use default icon if notification icon is null." into ub-launcher3-dorvalTony Wickham2017-03-151-2/+10
| |\ \ \
| | * | | Use default icon if notification icon is null.Tony Wickham2017-03-151-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could happen, for instance, if there is a ResourcesNotFoundException when loading the icon. Bug: 36134256 Change-Id: If2d13207252a2ec46f581455f5709a95d68f29c1
* | | | | Merge "Temporary fix for Folders in battery saver mode." into ↵Jon Miranda2017-03-151-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: 29318b1aa6 Change-Id: Ib69faba80d7dcba68f5b92c2db9defd09a209569
| * | | | Merge "Temporary fix for Folders in battery saver mode." into ↵TreeHugger Robot2017-03-151-0/+6
| |\ \ \ \ | | | |/ / | | |/| | | | | | | ub-launcher3-dorval
| | * | | Temporary fix for Folders in battery saver mode.Jon Miranda2017-03-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In battery saver mode, the Folder opens where it appears the final values of the Animators are not being set. Bug: 36157561 Bug: 36246234 Change-Id: I8dd58044f5f5ac66f8a8476a77d9899447a973eb
* | | | | Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ↵Jonathan Miranda2017-03-151-4/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: aa8780a00c Change-Id: Ia4c3479d61d6d9ed599b40c468a7f697b0024a49
| * | | | Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ↵Jonathan Miranda2017-03-151-4/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-dorval
| | * | | | Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED.Jon Miranda2017-03-091-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original Change-Id: I897063dc803b58e1f3b6ad16c6a721f808a2798a Bug: 36078152 Change-Id: I7a7e8ffce088694e01e49b6e9b4aa2e551da91f8
* | | | | | Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per defaultMario Bertschler2017-03-151-1/+1
|\| | | | | | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | am: e44251247f Change-Id: Ifae625d7e54905448e3a971a5c698af6d63452b2
| * | | | Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per defaultMario Bertschler2017-03-141-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | It's wrongly set to ITEM_TYPE_SHORTCUT, changing it to ITEM_TYPE_APPLICATION in the constructor. Change-Id: I51383d09d50ac90cea15fce816503648d2cb690e
* | | | Merge "Remove badge info from map when count is 0." into ub-launcher3-dorvalTony Wickham2017-03-131-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | am: 0402efbad8 Change-Id: I4134b0df23339d5c376a31b9e0f9cd8518e62f0e
| * | | Merge "Remove badge info from map when count is 0." into ub-launcher3-dorvalTony Wickham2017-03-131-0/+3
| |\ \ \
| | * | | Remove badge info from map when count is 0.Tony2017-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 35803112 Change-Id: I680b92aac24bf5d083d64e9a4cd35471637a3809
* | | | | Merge "Defining HomeScreenElementTheme for elements which appear on top of ↵Sunny Goyal2017-03-138-21/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | wallpaper" into ub-launcher3-master
| * | | | | Defining HomeScreenElementTheme for elements which appear on top ofSunny Goyal2017-02-178-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wallpaper > Using HomeScreenElementTheme for workspace items > Fixing view inflation where wrong layout inflater was being used Change-Id: I92e278dbfb609ad7af9c2f47351f23f03cf12049
* | | | | | Adding broadcast receiver to handle SESSION_COMMIT broadcastSunny Goyal2017-03-105-4/+99
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | am: 4179e9b88f Change-Id: Ida895e5723b5d6d02b72ce7b04666b529eabb1cc
| * | | | | Adding broadcast receiver to handle SESSION_COMMIT broadcastSunny Goyal2017-03-095-4/+99
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Disabling Install shortcut broadcast for O and above > Adding a preference to control automatic icon addition on homescreen > Adding icons on homescreen for new installs based on the above preference Bug: 32920609 Bug: 27967412 Change-Id: I92e5cb7c841fb445dc8bc058d975f212ee54f8d1
* | | | | Add checks for FeatureFlags.QSB_ON_FIRST_SCREENLouis Begin2017-03-093-6/+21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b07a355fe2 Change-Id: Iae464c9acf99f8f66eb7c6a6b7f0567c79b447be
| * | | | Add checks for FeatureFlags.QSB_ON_FIRST_SCREENLouis Begin2017-03-083-6/+21
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When false, it correctly does not show the QSB but leaves a default style search bar which cannot be removed. Add checks to control default view visibility in device profile layout & re-layout, QSB container and in Workspace's onMeasure Bug: 35967694 Change-Id: I3d0f89e1022d838eeb95762fd1fb3f7257956c41
* | | | Added new interpolators for preview items in large folders.Jon Miranda2017-03-081-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With larger folders, we want the preview items to reach their final positions faster (when opening) and later (when closing) so that they appear aligned with the rest of the folder items when they are both visible. Bug: 35064148 Change-Id: I170ac2db36a3a20ebe5505711ea59e625050bc1b
* | | | Merge "Separating the config and flags in different directories so that it ↵TreeHugger Robot2017-03-0721-67/+52
|\ \ \ \ | | | | | | | | | | | | | | | is easier to override one or the other" into ub-launcher3-master
| * | | | Separating the config and flags in different directories so thatSunny Goyal2017-03-0721-67/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it is easier to override one or the other Bug: 36001650 Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
* | | | | Removing DeferredHandler and using a simple Handler to post callbacksSunny Goyal2017-03-077-226/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DeferredHandler was added when we were posting each icon separately, to prevent starvation. But since then we have moved to binding batct items during bind. Also fixing waitForIdle not waiting the second time. waitForIdle was using a global variable to maintain state, and was not waiting properly when its called the second time before binding deep shortcuts Original Change-Id: I9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d Change-Id: I9e6b3ae65fbd3aec3a46092efc5249c4525efedf
* | | | | Fix bug where FolderIcon is invisible when closing Folder with no animation.Jon Miranda2017-03-072-8/+6
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we open the Folder, we set the FolderIcon to View.INVISIBLE. It is possible to close the Folder without animating it (ie. when apps are being auto added / auto closed to Work Profile Folder), and so the FolderIcon is never set to View.VISIBLE. Bug: 35064148 Change-Id: I2fc5b7ecaceffde0a3f3875870897c18e6e8dadf
* | | | Fix bug where first page Folder text stays transparent.Jon Miranda2017-03-071-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can happen where you drag a new item to a Folder that has a full first page. Bug: 36022385 Bug: 35064148 Change-Id: I092a79a13b7f779f09ee7a79488a16fe8bfbc2fd
* | | | New folder animations.Jon Miranda2017-03-065-14/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added FolderAnimationManager, which manages the opening and closing animations. All of the animations are done in the Folder. ie. When the users taps on the FolderIcon, we immediately hide the FolderIcon and show the Folder inits place before starting the animation. Bug: 35064148 Change-Id: Icacdbbf78a25489f2eab4fd352f2c6ed71eb710b
* | | | Merge "Updating FolderIcon drawing to avoid dependency on software layer." ↵Sunny Goyal2017-03-062-77/+132
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-dorval am: 3ba48fa019 Change-Id: Id18f5a34264411582115cde8cddd0dc8ecded8df
| * | | Merge "Updating FolderIcon drawing to avoid dependency on software layer." ↵Sunny Goyal2017-03-062-77/+132
| |\ \ \ | | | | | | | | | | | | | | | into ub-launcher3-dorval
| | * | | Updating FolderIcon drawing to avoid dependency on software layer.Sunny Goyal2017-03-032-77/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of cliping using clipPath, using PorterDuffXfermode to clear area outside the bounds. This provides much better support for antialiasing. Software layer was also being used for drawing shadow. But since the paint color was set to transparent, no shadow was being drawn in O. Instead drawing the shadow using radial gradient. Bug: 35680116 Bug: 35428783 Change-Id: I0431664400628d5d01675fe72fe7ade01b64d611
* | | | | Merge "App discovery integration in All Apps search" into ub-launcher3-dorvalMario Bertschler2017-03-0414-86/+576
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 86515dd148 Change-Id: I9c912d0ccec6c999547b1bce1f3e3b0b430a147f
| * | | | Merge "App discovery integration in All Apps search" into ub-launcher3-dorvalMario Bertschler2017-03-0414-86/+576
| |\ \ \ \
| | * | | | App discovery integration in All Apps searchMario Bertschler2017-03-0315-87/+576
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Added RoundedRectRevealOutlineProvider.Jon Miranda2017-03-031-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used in the new Folder animation. In the opening animation, the reveal starts out as a circle and progessively turns into a rounded rectangle. The closing animation is the reverse. Bug: 35064148 Change-Id: I8accbaa83abee881bc3e16119c7602796c9963cb