summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge "Refactor DeepShortcutsContainer to PopupContainerWithArrow" into ↵Tony Wickham2017-01-251-14/+17
| |\ | | | | | | | | | ub-launcher3-master
| | * Refactor DeepShortcutsContainer to PopupContainerWithArrowTony Wickham2017-01-251-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | Fixing loadWorkspaceSunny Goyal2017-01-241-1/+2
| |/ | | | | | | | | | | | | | | > Adding checks on legacy shortcuts > Checking restore status based on package and not componentName Bug: 34123342 Change-Id: I442699e4ebb34ae66aa25c512bfcdc1b4fd5ae2a
| * Adding some widget addition flow testsSunny Goyal2017-01-2314-53/+554
| | | | | | | | | | | | | | > Added two dummy widget providers: with config and without config > Added tests for verify widget config flow Change-Id: I4577f085abe8f8b82047b644c71cc9065358153a
| * Only marking items not already restored as restoreSunny Goyal2017-01-131-1/+2
| | | | | | | | | | | | | | > Moving the restore property to LoaderCursor Bug: 34123089 Change-Id: I1f992ef086d65e0b3cf18d3b2cf37a4f254c97d2
| * No more LauncherActivityInfoCompatSunny Goyal2017-01-115-10/+10
| | | | | | | | | | Bug: 32745285 Change-Id: I00f13794d5dc0a2b1fe03ec74de36018f22eb386
| * Removing static Context access using LauncherAppStateSunny Goyal2017-01-114-27/+21
| | | | | | | | | | | | | | | | > This ensures that LauncherAppState is only accessed in the presence of a valid context Bug: 33032833 Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
| * Enforcing background thread when accessing iconCacheDb.Sunny Goyal2017-01-103-6/+17
| | | | | | | | | | | | | | | | > Moving any icon cache access to background thread > Updating Apps list to avoid loading icons for ignored apps Bug: 21325319 Change-Id: Id72755100f1176ccfcc99249c5e02873cc249a13
| * Refactoring some loadWorkspace logic in a separate classSunny Goyal2017-01-101-0/+234
| | | | | | | | | | Bug: 34112546 Change-Id: I8a43ed1646056aa1957ac3d6ea82018691df6386
| * Revert "Build empty test apk until junit dependency issue is sorted out."Hyunyoung Song2017-01-052-5/+8
| | | | | | | | | | | | This reverts commit 4c82c33a64b9f6719a0a1457361362cf70e2c9ac. Change-Id: I39c142e2b0e882245a6928264465578e4ddc12c9
| * Removing all compatibility code below LollipopSunny Goyal2016-12-161-5/+2
| | | | | | | | | | Bug: 32745285 Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
| * No more UserHandleCompatSunny Goyal2016-12-155-14/+15
| | | | | | | | | | Bug: 32745285 Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
| * Ensuring that ShortcutInfo always has an iconSunny Goyal2016-12-131-6/+2
| | | | | | | | | | | | | | | | | | > Making iconBitmap public instead of a getter (similar to AppInfo) > Removing getIcon() which can lead to IO on UI thread > Removing updateIcon and handling the update at the caller Bug: 21325319 Change-Id: I6a49b9043f974e9629ea25e77012d97cc04c0594
| * Build empty test apk until junit dependency issue is sorted out.Hyunyoung Song2016-12-081-2/+2
| | | | | | | | Change-Id: Ib63a654139e43c433011d0f7b761905426aff24d
| * Merge "Moving ShortcutInfo creation in InstallShortcutReceiver to background ↵Sunny Goyal2016-11-301-2/+3
| |\ | | | | | | | | | thread" into ub-launcher3-master
| | * Moving ShortcutInfo creation in InstallShortcutReceiver to background threadSunny Goyal2016-11-301-2/+3
| | | | | | | | | | | | | | | | | | | | | > Creating shortcut info requires iconCache access Bug: 21325319 Change-Id: I3317d8b6824aa05b836f3ed3626f169d4d34f783
| * | Merge "Adding a utility class to enforce that icons are always flattened on ↵Sunny Goyal2016-11-211-4/+5
| |\ \ | | |/ | |/| | | | the background thread." into ub-launcher3-master
| | * Adding a utility class to enforce that icons are always flattened onSunny Goyal2016-11-191-4/+5
| | | | | | | | | | | | | | | | | | | | | the background thread. Bug: 21325319 Change-Id: I4d0f02557cdbf70cfa86750ac047faf2917e39bf
| * | Add ShortcutsLaunchTest and ShortcutsToHomeTest.Tony Wickham2016-11-143-1/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | - ShortcutsLaunchTest verifies that launching shortcut from the deep shortcuts container works. - ShortcutsToHomeTest verifies that shortcuts can be dragged from the deep shortcuts container. Change-Id: I6919b69d4ea1c9e0f13a8f236266745c12ef0715
| * | Fix drag and drop test by moving a bit if there are shortcuts.Tony Wickham2016-11-143-11/+33
| |/ | | | | | | Change-Id: Icd023f5d095610b6d1aadbf455d068ce7d700768
| * Moving various runnables in LauncherModel to individual tasksSunny Goyal2016-11-097-1/+594
| | | | | | | | | | | | > Adding tests for some of the runnable Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a
| * Fixing text search where a word starting with lower case was not being matchedSunny Goyal2016-10-201-0/+4
| |\ | | | | | | | | | | | | | | | am: 28a64381b6 Change-Id: Ib5158d42219478c97d6bec5049e3354ee1087094
| * | Exposing custom actions using keyboard shortcutSunny Goyal2016-09-231-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keyboard shortcuts: ctrl+A => Open all apps ctrl+S => shows deep shortcuts ctrl+O => shows custom actions popup This also removes the direct delete/uninstall key shortcuts, making actidental icon removal less likely Bug: 24065447 Change-Id: Iae63370c0f33620628567cffd4df024064d4d02e
| * | Adding support for searching word segments when camelcase is used in the titleSunny Goyal2016-09-121-0/+78
| |\ \ | | | | | | | | | | | | | | | | | | | | am: e4a3e0cfaf Change-Id: I98380419701f598ac87bf81d3c173bf26b5281e6
| * | | Moving some image handling classes to .graphics packageSunny Goyal2016-09-022-3/+0
| | | | | | | | | | | | | | | | Change-Id: Id6d3d0b9c345a503ff2e09f073eb4b6449e21c7e
* | | | Prepare for removal of junit and android.test classes from Android API (step 1)Paul Duffin2017-05-031-1/+4
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation for removing junit and android.test classes from the Android API this change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Care was taken to ensure that any targets that depended, directly or indirectly, on android-support-test did not also depend on junit or hamcrest as they conflict with the versions embedded within android-support-test. Bug: 30188076 Test: make checkbuild Change-Id: I108a16e1826f3124dce00b384f9cb34d401d9bb4
* | | Fixing text search where a word starting with lower case wasSunny Goyal2016-10-191-0/+4
| |/ |/| | | | | | | | | | | not being matched Bug: 32249413 Change-Id: I0f5e24052759a734fe0df3bd3d0bf2e7ef7f2713
* | Adding support for searching word segments when camelcase is used in the titleSunny Goyal2016-09-091-0/+78
|/ | | | | Bug: 30880421 Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
* Bug fix in Alarm where it was not getting called correctly if theSunny Goyal2016-08-301-0/+9
| | | | | | | | | | | new timeout was set that was smaller than the previously set timeout > Using uptimeMillis in Alarm to avoid errors due to system time changes > Adding an extra check in Wait in case Thread.sleep eats up all the timeout Change-Id: Id1fac5e8fdb81a0c3c7a6a5e50586b2a2f180d06
* Build fix: Updating SDK for testsSunny Goyal2016-08-011-1/+1
| | | | Change-Id: I1377dce808335f65eb0799b7053c84853f57980a
* Filter shortcuts down to 4 if there are more.Tony Wickham2016-07-291-0/+139
| | | | | | | | | | | | - We take the first 4 in sorted order, except we remove up to 2 static shortcuts to make room for dynamic ones if they exist. - Added ShortcutFilterTest with testSortAndFilterShortcuts(). This asserts that the filtered list is sorted and has the expected number of static and dynamic shortcuts based on inputs with various amounts of each. Bug: 28980830 Change-Id: I832b6b21144f17c74bb8b90a840d6620e99911b8
* Merge "Adding logic to pull in workspace data from another Launcher3 based ↵Sunny Goyal2016-07-131-1/+53
|\ | | | | | | provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package." into ub-launcher3-calgary
| * Adding logic to pull in workspace data from another Launcher3 basedSunny Goyal2016-07-091-1/+53
| | | | | | | | | | | | | | | | provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package. Bug: 28536314 Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
* | Merge "Defining the list of predefined device profiles in xml. This allows ↵Sunny Goyal2016-07-111-1/+1
|\ \ | |/ |/| | | the profiles to be easily customized by derivatives." into ub-launcher3-calgary
| * Defining the list of predefined device profiles in xml.Sunny Goyal2016-07-071-1/+1
| | | | | | | | | | | | This allows the profiles to be easily customized by derivatives. Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe
* | Build fix.Sunny Goyal2016-07-091-3/+2
| | | | | | | | | | | | Missed some traces of key-value backup Change-Id: Ifda94aa27aa53625bfb7ca173c6750c1b2433669
* | Removing Key-Value pair backup logic as Launcher now uses full-data backupSunny Goyal2016-06-231-4/+4
|/ | | | Change-Id: I3bbaec2b33afe8c1da3ca1468c7c733cc3194604
* Merge "Fix LauncherInstrumentationTestCase#openAllApps() method. b/29535532" ↵Hyunyoung Song2016-06-221-2/+9
|\ | | | | | | into ub-launcher3-calgary
| * Fix LauncherInstrumentationTestCase#openAllApps() method.Hyunyoung Song2016-06-221-2/+9
| | | | | | | | | | | | b/29535532 Change-Id: Iebf20c2fe66ad244b04658b15ade21d579fb2c12
* | Fixing bug in GridSizeMigrationTask, where it was not accounting forSunny Goyal2016-06-221-4/+15
|/ | | | | | | an extra space when there is no all-apps icon Bug: 29569843 Change-Id: Ib768f0d069aed413bd8f4c2aa86ab1d3d657680e
* Adding a flag (enabled by default) to remove the all-apps button.Sunny Goyal2016-06-171-2/+4
| | | | | | | All apps can still be opened by clicking the caret. Bug: 29398447 Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
* Executing the DB migration during startup instead of restore.Sunny Goyal2016-06-082-6/+6
| | | | | | | This allows proper execution of DB.onUpgrade task if the app updates after the restore Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
* Removing the SearchDropTarget bar as it no longer contains the QSBSunny Goyal2016-06-061-71/+0
| | | | | | | | | | | | > Renaming it to simply DropTargetBar > Moving AppInfo to the top bar as well > The workspace pages will extend to the top edge (minus some padding). Since the QSB is no longer displayed on top of every page, there is no reason to reserve the space. > In spring-loaded mode, the workspace cell layout will scale enough to make room for the drop target bar at the top Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
* Moving the QSB to the workspace grid.Sunny Goyal2016-05-272-11/+70
| | | | | | | | | | | | The QSB will only be resent on the first screen of the workspace covering the full width of the first row. If will not be movable. The first screen of the workspace will not be movable. The searchDropTargetBar no longer contains the QSB (it can be renamed in aseparate cl). Refactoring all QSB related logic by moving it to a custom view inflated only using xml. Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
* Fixing commentsSunny Goyal2016-05-271-1/+1
| | | | Change-Id: I412fef8e07d91548beb8a5431d6aa86611237f69
* Merge "Adding some UI tests > Launcher app from all-apps > Drag icon to ↵Sunny Goyal2016-05-279-204/+535
|\ | | | | | | all-apps and launch it > Add widget from widget tray" into ub-launcher3-calgary
| * Adding some UI testsSunny Goyal2016-05-269-204/+535
| | | | | | | | | | | | | | | | > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7
* | Refactoring out grid occupancy management in a separate classSunny Goyal2016-05-272-1/+62
|/ | | | Change-Id: I37a830c0f2eb0a0dd4f5fc78fa29127cb18cb3c2
* build fixSunny Goyal2016-05-101-1/+1
| | | | Change-Id: Ib31b7b4efa96897e7ea04412a9deae14a432b6c0
* Adding full backup handler for launcher3Sunny Goyal2016-05-101-0/+74
| | | | | | Bug: 28302573 Change-Id: If0889a3b00b88b134b19d7f790159dfafdcdb004