Commit Graph

1613 Commits

Author SHA1 Message Date
Sunny Goyal f725824fa2 Refactoring getPreferenceKey method
This method was returnning a constant and getting inlined by proguard.

Change-Id: I87348e25b21483adc1b27d16f99dec4b73205701
2015-10-20 09:41:04 -07:00
Sunny Goyal ead4ab9655 Using UiSelector instead of BySelector
Change-Id: Ie912cc7291a2533f6686bdb34e108be15ce244ac
2015-10-19 17:32:10 -07:00
Sunny Goyal 3d1c0ffba7 Adding tests for rotation preference
Updating the gradle file to run tests directly from AndroidStudio

Change-Id: Iac23dfc6f995477f2406071fbfab3a16ee58ce6f
2015-10-16 17:19:36 -07:00
Hyunyoung Song 35c3c7f517 Start adding unit tests for the invariant device profile / Refactor
- removed redundant code to sort the device profiles
- removed DeviceProfileQuery class
- Added a helper method inside the test to easily generate
interpolation graph looks like:
https://docs.google.com/a/google.com/spreadsheets/d/1a1fdemrOqIDixiql77h0anWzUD3GlYfGsbP2FfIhyPM/edit?usp=sharing

Change-Id: Ia4c54a8d59a049c418c08d1b766f07ac6e1d0944
2015-05-28 15:33:40 -07:00
Hyunyoung Song 61e3a972e7 Add dummy string to Launcher3Tests resources to fix build error.
TL;DR;; since ag/656186 which moved the all-makefiles-under call to the bottom
of the launcher's Android.mk file, resources for test package
will not build without a dummy file. This change is necessary for the
test team to continuously run the android tests.

b/19566571

Change-Id: I4ff422ac019df4447348d953c5dd606d2a0dcc58
2015-03-16 17:23:58 -07:00
Hyunyoung Song 3853171963 [key event focus] DPAD navigates to the nearest item on next/previous page
b/19381790
b/16351792

TL;DR;; Previously, when RIGHT is handled on the right most column of the
current page or when LEFT is handled on the left most column, the next
icon of focus is next page 'first' icon or the previous page 'last icon'.
With this change, the row information is preserved when trying to locate
an icon to give focus in the next/previous page.

Next CL: long awaited unit tests that capture corner cases for different
orientation/ device configuration.

Change-Id: I5278bed45275b3e4cb39fb698df35f90bb45a415
2015-03-03 19:25:16 -08:00
Hyunyoung Song 170a9f3a1c [unit tests] Setup instrument target for the launcher3 unit test
b/19566571

Change-Id: I47da40aa13a3e7c5ec8531e7ef6a9e52f764c565
2015-03-02 11:55:42 -08:00
Hyunyoung Song 53fca52d3b [unit tests] Delete stress package
b/19566571

TL;DR;; no longer working AND also the one test that is
set up is useless to keep.

Change-Id: If44457c7bc19a973450edf5aad3e744daf20624a
2015-03-02 10:55:45 -08:00
John Spurlock 2c38e70acd Fix launcher3 standalone build.
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Tsu Chiang Chuang ee8caea24b changing test to use hidden test api annotations.
Change-Id: If1002c80fdfdc87694890215201314e2372bbe4a
2011-08-05 17:58:58 -07:00
Tsu Chiang Chuang 923aa62463 rectify build files.
Change-Id: I138ac7805cb045f960e32193bad95a73cd8b063e
2011-06-17 12:11:23 -07:00
Tsu Chiang Chuang 8c7a2b7d02 Adding stress test for launcher2 rotation.
Change-Id: I03b7dbdd025af39fc733a91f54633a548225e140
2011-05-25 15:32:00 -07:00