summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherClings.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete all* references to launcher clings.Andrew Sapperstein2016-07-011-182/+2
| | | | | | | | | | | | Launcher clings are dead. Delete all the code and resources associated with them. * Did not delete the actual code the marks the cling as dismissed since it's used in db upgrade and backup/restore paths. Figured we probably want to keep that. Change-Id: I28841b4a430187b62b239afeb64bee81a798e259 Fixes: 29461092
* Adding some UI testsSunny Goyal2016-05-261-1/+1
| | | | | | | | > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7
* Removing logic for workspace migration from Launcher2Sunny Goyal2016-05-231-92/+19
| | | | Change-Id: I8a121d74862f665c58406f8d5c7eb1263e7ccff3
* Rearranging the provider checks to avoid packagemanager lookupsSunny Goyal2016-05-181-5/+4
| | | | | | | whenever launcher starts Bug: 28737985 Change-Id: I3ce3e2741b3224fa5419d7ceca496e1bb91f065c
* resolve merge conflicts of ffa1237698 to ub-launcher3-master.Sunny Goyal2015-12-181-4/+4
|\ | | | | | | Change-Id: I65beecb5bbbfe9c4b33d6ca639118cb615c4120a
| * Using SharedPrefenrece.apply instead of commit to prevent disk IO on main threadSunny Goyal2015-12-171-4/+4
| | | | | | | | | | Bug: 25903149 Change-Id: Ib1ee3fd27cca14f147f704aec768a330c4f03b33
* | resolve merge conflicts of fe3db428ab to ub-launcher3-master.Sunny Goyal2015-10-201-6/+2
|\| | | | | | | Change-Id: Icc60a61f621fefe9db67b178921e62f7d72d7e5a
| * Refactoring getPreferenceKey methodSunny Goyal2015-10-201-6/+2
| | | | | | | | | | | | This method was returnning a constant and getting inlined by proguard. Change-Id: I87348e25b21483adc1b27d16f99dec4b73205701
* | resolved conflicts for merge of 20884fdc to ub-launcher3-masterSunny Goyal2015-08-251-0/+8
|\| | | | | | | Change-Id: I31b49ed83bf6fa966ad68b587e6fa472e87bc0e3
| * Fixing work folder addition logicSunny Goyal2015-08-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | > Showing animation when folder is added > Not showing animation while cling is visible > Checking is loader completed from UI thread > Running bind complete runnables when bind is completed Bug: 21772992 Bug: 23181585 Change-Id: I50742850da8294a877478ce02b107a026f68b563
* | resolved conflicts for merge of 9fc953b9 to ub-launcher3-masterSunny Goyal2015-08-171-1/+1
|\| | | | | | | Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
| * Version code cleanupSunny Goyal2015-08-171-3/+2
| | | | | | | | | | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* | Add KeyEvent handler to LauncherClings.Jun Mukai2015-08-051-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | When the longpress clings such like welcome message appears, the key events should be limited as follows: - normal keys (generates printable glyphs) should be prevented, otherwise they come to the underlying searchbox. - it should be dismissed on Menu keys, which goes to the overview mode. Bug: 22982955 Change-Id: I7272b0809bfaa3c08ba77b01383cf54f19390d95
* | Suppress focusability of normal launcher descendants when a popup opens.Jun Mukai2015-08-051-3/+8
| | | | | | | | | | Bug: 22563223 Change-Id: Iebee7c0c858a4d48524b3d5415e4f6d39861c49a
* | am dc352761: Merge "Removing account manager calls" into ub-launcher3-burnabySunny Goyal2015-08-041-10/+1
|\| | | | | | | | | * commit 'dc352761ae542087825227d773ec0b039f0aaaf0': Removing account manager calls
| * Removing account manager callsSunny Goyal2015-08-041-10/+1
| | | | | | | | Change-Id: Ic88139f6ef34046eb3b551d8a75d5f97e1fe3d52
* | Several animation calls cleanupSunny Goyal2015-07-311-3/+3
|/ | | | | | | > Using View property instead of strings to avoid extra reflection step > Using ViewPropertyAnimator when several properties are being animated Change-Id: I41625643b38b70bac11e2c81d18058ec878d73bd
* Removing some thread priority management logicSunny Goyal2015-05-181-1/+1
| | | | | | > Not saving folder id in onSaveInstance as it is not used. Change-Id: I176beb77cafe27ec4b7500d65dc86287d2f2e0cb
* Various lint error fixes.Sunny Goyal2015-05-141-1/+3
| | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* Refactoring to single path for overview mode.Winson Chung2015-04-211-1/+1
| | | Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
* Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-201-3/+5
| | | | | | | | | | | Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
* Using DeviceDefault theme for Launcher and WallpaperPickerSunny Goyal2014-10-081-3/+1
| | | | Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
* Updating Clings UISunny Goyal2014-08-271-21/+13
| | | | | | issue: 16127412 Change-Id: Ie5885cabbef086e3b08811da72af88d01c4405e7
* Updating clings, removing ununsed clingsSunny Goyal2014-08-251-357/+165
| | | | | | issue: 16127412 Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
* Don't show clings in guest userAmith Yamasani2014-07-021-0/+8
| | | | | | | | If the SKIP_FIRST_USE_HINTS setting is ON, don't show clings. This is used for Guest users. Bug: 15873403 Change-Id: Icae713788c3ed26d55e8e713da7ec7d0d2b25fce
* Ensure that hotseat callout only occurs when appropriateAdam Cohen2014-05-191-15/+7
| | | | | | issue 13551957 Change-Id: I87bda7eef8047edbd41f066930ed156a17d042df
* Removing extra clear, load and bind of default workspaceAdam Cohen2014-05-161-5/+2
| | | | | | | | -> If the user clicks "start fresh" we don't need to reload the workspace since we've already loaded the default workspace from the primary load in onCreate. Change-Id: I43cb9e66fd49403ab6e0723cab1a03edd3dcac1b
* Disable the folder cling in two casesAdam Cohen2014-05-161-6/+9
| | | | | | | | | | | | | | | -> When the user creates a new folder -> When the user drags an existing folder -> The folder cling gets cut off in certain instances and until we make it more extensible (not worth it right now), we're disabling it in the problematic cases. Also, in the problematic cases, the user is demonstrating some advanced knowledge, so it's somewhat justifiable. issue 14491765 Change-Id: Ib15d2f097c51a9b755f04b95ed6ef468d3bacc60
* Disabling the focused hotseat app cling if GEL is not preinstalled on the ↵Winson Chung2014-04-041-6/+18
| | | | | | device. (Bug. 13551957) Change-Id: I24b25a0eada1ac9273a57b02d80a2451d08b02b0
* Disabling cling when the user moves the folder before launching it. (Bug ↵Winson Chung2014-03-061-1/+7
| | | | | | 12963868) Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
* Fix issue where clings didn't appear after set up wizard (issue 13077829)Adam Cohen2014-02-211-22/+11
| | | | | | | | | | | -> Also removed the db-created as a criteria for showing the clings (this was a bit problematic in some cases and going forward) -> Instead, we use database upgrade as a signal to not show the clings. This is used instead of the above criteria (to prevent old users from seeing the migration cling and losing their data.) -> Stripped some old code related to custom clings that's no longer used. Change-Id: Ib5e5285e5ddbc60e69eb998ee9fd092ae879150d
* Adding tighter first run checks for migration clings. (Bug 12626290)Winson Chung2014-01-211-1/+2
| | | | Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92
* Updating Tablet clings. (Bug 11973614)Winson Chung2014-01-161-17/+17
| | | | Change-Id: I6cb10424a345691d50c4fac7969e0b97bbee4b3c
* Tightening migration conditions. (Bug 11973614)Winson Chung2014-01-151-17/+29
| | | | Change-Id: I6d7417b705227472d035f428cbec933cc6dbf2ce
* Properly saving migration cling keys.Winson Chung2014-01-141-6/+5
| | | | Change-Id: Id52a12da6af0fc91463dae07bbeb355ee04873d0
* Updating assets and text for migration cling. (Bug 11973614)Winson Chung2014-01-101-7/+7
| | | | Change-Id: I69ffc1581cc43511b4f42ebb2735afe4c0b44131
* Adding migration Clings. (Bug 11973614)Winson Chung2014-01-101-0/+444
- Refactoring Launcher cling code out to LauncherClings. Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c