summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Support package name specification for customized drawer.Matt Garnes2015-04-091-17/+69
| | | | | | | | | | | | | | When arrays of apps that make up the customized first and second pages of the app drawer are loaded, all a new syntax to specify the package name and class name for the Launcher Activity to be included: "<package name>/<fully qualified Activity class name>" Maintain backwards compatibility so that if only the Activity class name is specified, that will be matched as before. Change-Id: I8fb1464b448dc9addbda74558b3e323b008c8e90 (cherry picked from commit 85d5cc4bcdc74591b085e45796634f1cb7b49450)
* Filter apps for app drawer only after custom sorting.Matt Garnes2015-04-011-1/+1
| | | | | | | | | The custom sorting logic for CTAPP mode removes duplicate apps from mApps. This must complete before the call to filter mApps into mFilteredApps. Change-Id: I915b976bf77ed8714c3bdc7dfe0155feb97bf2b7 (cherry picked from commit a0db9234402fa85dab1a5ec408f96413f3a0a157)
* Trebuchet: Fix bad ui state when backing twice quicklyLinus Lee2015-03-311-0/+8
| | | | | | | | | If a user enters the widget add screen and quickly backs up twice, the widget panel stays around and captures touch, but the ui thinks it is in the homescreen. Change-Id: I52a920fd633f3ab690ca1c959fbc8935c2d0bb69 (cherry picked from commit e423f8abb9462d0063e4504ff1386b127875e23b)
* Merge branch 'github/staging/cm-12.1' into caf/cm-12.1.Matt Garnes2015-03-1718-47/+2603
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: WallpaperPicker/res/values-nodpi/wallpapers.xml res/layout/settings_pane.xml res/values-zh-rCN/cm_strings.xml res/values/preferences_defaults.xml src/com/android/launcher3/DynamicGrid.java Change-Id: I22eb2e38e8802985e0e0a8cb3e68d73189c2c1a4
| * App Drawer: respect drawer show/hide icon lablesRaj Yengisetty2015-03-101-0/+8
| | | | | | | | Change-Id: Id1d2b152dde3d1e3d89fca2e9e16bc2472f661bc
| * App Drawer: take dynamic grid updatesRaj Yengisetty2015-03-092-11/+12
| | | | | | | | | | | | - Also fix row length so icons aren't cut off when large icons are enabled Change-Id: Iae95dc2380abee211eeed72eae08cafa4ec354f7
| * App drawer: respect protected appsRaj Yengisetty2015-03-091-0/+36
| | | | | | | | Change-Id: I67d0af84cc8cad3d3e788280e34a9c2a95ab76a7
| * App Drawer: Disables specific settings for the paginated appHayden Schoen2015-03-062-9/+47
| | | | | | | | | | | | drawer while the vertical app drawer is selected Change-Id: I352bfd42f60d46c53ee74c4ecf6a6bb3f0b7ba90
| * App Drawer: fix drawer visibility after cancelling widget dropRaj Yengisetty2015-03-061-5/+0
| | | | | | | | | | | | | | | | | | | | | | Repro: - Open widgets - Try to add a widget with setup setp (cLock) - When setup activity is launched, press Home to cancel - Observe: legacy app dawer is visible on top of Workspace without a background Change-Id: I5e7d7d2166cc1cac193407ac9ec16643f52591ba
| * App Drawer: internationalizationRaj Yengisetty2015-03-065-35/+1071
| | | | | | | | Change-Id: Ib3976e0852aab4a2e78a90877c056ad3ecd3c448
| * App Drawer: Add toggle functionality to change back to legacy app drawerRaj Yengisetty2015-03-065-10/+95
| | | | | | | | Change-Id: I4a78832188e27ae0b5a25b6a81ce000b6ffcd1f1
| * App drawer smooth scrollingRaj Yengisetty2015-03-063-19/+7
| | | | | | | | | | | | Also fixes searchbar visibility when dragging icons from app drawer Change-Id: I418dc3210a95cc57c81979452def8240c27d2214
| * Trebuchet: App Drawer - clean up open/close animationsRaj Yengisetty2015-03-065-69/+128
| | | | | | | | Change-Id: Ia1bcaec9cf5bdcd9ca61137aa45f91819fb2e94d
| * Trebuchet: Implement new app drawer.Rajesh Yengisetty2015-03-068-40/+1336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 535c5e89c7484ae96f83af021487a8061f3e0b04 Author: Adnan <adnan@cyngn.com> Date: Tue Jul 22 17:21:09 2014 -0700 Trebuchet: Implement new app drawer. Change-Id: Ibf6152352520ece4dff201b8013378a1ad562894 commit d46c52032ef20d9f97409114e6efc34650245fb6 Author: Raj Yengisetty <rajesh@cyngn.com> Date: Fri Jul 25 09:13:38 2014 -0700 Fix: With the new App Drawer implementation AppsDrawerListAdapter should clone it's AppInfo ArrayList before removing elements from it, otherwise the AppsCustomizePagedView will not add any apps to it's instance variables and will never dispaly widgets. Repro: Long press on workspace to get to overview mode Click widgets button Observe no Widgets (empty page) Change-Id: I7574ae23dbf3298674585060d5da5e00a5852d46 commit b0c7e4fad041e492816a36e538a505983d996a75 Author: Adnan <adnan@cyngn.com> Date: Tue Jul 22 19:06:15 2014 -0700 Catapult: Allow elements to be draggable out of drawer. Change-Id: I711b42bad0fc6ae14399f3eb88ec60cd443f87d1 commit 00148d42288a7ee37e8aa05cccb121e9bcf6fbda Author: Danesh M <danesh@cyngn.com> Date: Wed Jul 23 10:37:19 2014 -0700 Catapult : Make flowlayout wrap_content Change-Id: I9db6d39274b71ee2750058fd65f4917701394ac0 commit 268e707d14be0c29448b9f5aee4f26a3180c75fd Author: Adnan <adnan@cyngn.com> Date: Wed Jul 23 13:27:06 2014 -0700 Catapult: Use recyclerview for side app drawer. Change-Id: Ie6f916792375f82a8f97a0369b98b813416216e8 commit efcbdc635e34511b73939639cbcf910728b1b3b2 Author: Adnan <adnan@cyngn.com> Date: Wed Jul 23 14:30:37 2014 -0700 Catapult: Handle app install and uninstall in drawer. Change-Id: Ia22876574e96b9ff0d4b4d93a853d7e92633376c commit 3fb7c6cb0b4bb9cfaf1d11c787df14c6767a72a9 Author: Danesh M <danesh@cyngn.com> Date: Thu Jul 24 10:19:57 2014 -0700 Catapult : Improve scroll performance Change-Id: I294beb9c9e1946724108bad2c0bca8839c5bf56b commit 85828036bd4af0a242f408ba18236b11920a0120 Author: Adnan <adnan@cyngn.com> Date: Thu Jul 24 10:46:58 2014 -0700 Catapult: Use setHasFixedSize on RecyclerView. Change-Id: Id06faa37d69f2d3ef533f829d991971ea2a32012 commit 4206cc348bb8aa788b0e4a0f2080deeb55a73d38 Author: Adnan <adnan@cyngn.com> Date: Thu Jul 24 10:49:15 2014 -0700 Catapult: Show App Info and Uninstall options on drag. Change-Id: Ica307eef4d2a086733f84704d129ac893f9bbb34 commit 283db64b47a5ec395e7ec07d5e34660c98cef91d Author: Adnan <adnan@cyngn.com> Date: Thu Jul 24 15:00:37 2014 -0700 Catapult: Properly handle install, remove, and update. Change-Id: I16138503bb5d31e999f293afc00e1adc2d574727 commit ca19c304fac9de8b97c0345b0c9a7cf3c3bdf155 Author: Adnan <adnan@cyngn.com> Date: Thu Jul 24 15:27:09 2014 -0700 Catapult: Ignore index 0 when added. Change-Id: Id00a41feb1813c419fda4425327024292d51e300 commit f595d415d3b8d9775d7448f1bbc4b542ea40c7a3 Author: Adnan <adnan@cyngn.com> Date: Thu Jul 24 15:51:32 2014 -0700 Catapult: Clean up after drag. Change-Id: I858c9aa5e30bc6ca13d4ca53397b769bb6b2b86b commit c337a69e43f213cacc0fe50a0d001f4cb3a5d9f4 Author: Adnan <adnan@cyngn.com> Date: Fri Jul 25 12:46:39 2014 -0700 Catapult: Fix app updates for new data structure. - Also fix line wrapping in class. Change-Id: I3c4f33d6e3e236952ea6d73f8402f32ac059f810 commit ef6b88c44f2c6c3372136773fa01821c4fc7ba62 Author: Danesh M <danesh@cyngn.com> Date: Thu Jul 24 23:26:41 2014 -0700 Catapult : Add scrubber Change-Id: Ied2e44e2d393bc5537f77c29a4b099da1e1f2a64 commit a96939b669f8adfad7bb633aa9acfa18fe72ff1e Author: Adnan <adnan@cyngn.com> Date: Mon Jul 28 11:01:37 2014 -0700 Catapult: Fix crashes for addition of next sections in list. Change-Id: I66d8e02523595655458d0f30d75ccfbe3b65e69d commit 48dd4872ba59499e7cea950fe4b1f8e4c6774a24 Author: Adnan <adnan@cyngn.com> Date: Mon Jul 28 11:59:20 2014 -0700 Catapult: Place all special or numerics in a single category. - Also implement AutoFitTextView for character resizing. Change-Id: Ida4e702b43dc934835021cbbf3e0b41d9cea0b16 commit 40ed85a3f518dcabfbf8533f534934e029cb3835 Author: Adnan <adnan@cyngn.com> Date: Mon Jul 28 13:22:14 2014 -0700 Catapult: Disable split touch events within drawer item. Change-Id: I990717140d5b420b9a658aede317206947e9fbce commit d76583a1a4e5dd0a5792ce6d39adc427934d7db9 Author: Adnan <adnan@cyngn.com> Date: Mon Jul 28 15:53:23 2014 -0700 Catapult: Add spacer to last item in list. Change-Id: Ia3f2d7d12c09886ab24e8976549518c1bb1a9a0b commit 467e9cb6428b33fd6846be8d30bb8dcfe127acdf Author: Adnan <adnan@cyngn.com> Date: Tue Jul 29 12:39:37 2014 -0700 Catapult: Group special characters together under section. Change-Id: Ic2508eb101e1604c9e1544bdc858c7487f426a44 commit 1f566b1b5b9bac71d0d79d07084f024ba67982e1 Author: Danesh M <danesh@cyngn.com> Date: Tue Jul 29 14:25:26 2014 -0700 Catapult : Fix scrubber - Make seekbar height of entire scrubber - Cancel viewproperty animator instead of Animation - Reduce scrubber animation duration - Ignore swipe events if in scrubber area Change-Id: I3a80b5bc392105bd1d5deff1defed8c083512029 commit b54ace6ee3ecca153f4c8fd2cda35366b205106f Author: Danesh M <danesh@cyngn.com> Date: Tue Jul 29 14:29:44 2014 -0700 Catapult : Check if appdrawer is null when intercepting Change-Id: I8d1b095acc8484d2ffb3f3ffc07608a639c9a3a3 commit 7a544638641e953aa2e75e6bc3f353906887440e Author: Adnan <adnan@cyngn.com> Date: Tue Jul 29 18:23:30 2014 -0700 Catapult: Use isLetter to fix locale issues in some languages. Change-Id: I253139ab3a93a9b48d3158f790e3975f776ce666 commit 96d1198ec28e5b858aa5cda268eecdf2335c6cf2 Author: Danesh Mondegarian <danesh@cyngn.com> Date: Fri Aug 8 23:30:15 2014 -0700 Catapult : Improve scrubber 9patch Change-Id: Ide249c0fe269d2f8966c753f6fdd9c1f673a0df9 commit 4920d0fdd94f7b0df6fccc3d16f5b98cbf4d19a2 Author: Danesh M <danesh@cyngn.com> Date: Fri Aug 8 15:44:20 2014 -0700 Catapult : Improve app drawer perf Change-Id: I78f699dbeac2618dceaa463940175e33ce685677 commit 10004f024b01029b2c137520407cefb5568b8c47 Author: Raj Yengisetty <rajesh@cyngn.com> Date: Thu Feb 26 11:42:17 2015 -0800 Remove scrubber swipe logic from Workspace Change-Id: I44d94a412ccdb60ce0f537fd6ddb71c2daffc906 Change-Id: Ibf6152352520ece4dff201b8013378a1ad562894
| * Fix: Dynamic Grid resizing for custom valuesRaj Yengisetty2015-03-021-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | Update the grid when the custom values are changed Repro: - Set custom grid to 7x7 - press home and observe grid is updated to 7x7 - Set custom grid to 2x3 - press home and observe that the grid isn't updated Change-Id: I8284eff08a96992b01b406ec1bff61f38d0ca683
| * Trebuchet: Live Settings - stop loader before reloading dynamic gridRaj Yengisetty2015-02-271-0/+1
| | | | | | | | Change-Id: Idcbbde7b7a5421ffffb5c130e2515e5305faddb8
| * Revert "Adding manage apps shortcut to Settings panel"stable/cm-12.0-YNG1IRajesh Yengisetty2015-02-192-24/+1
| | | | | | | | | | | | This reverts commit cc342519488d50d2f59f514940de6cf02bd53ab2. Change-Id: I8f5c593f93c4706127d2c0473f59abcd74776e47
| * Fix potential NPE handling TransitionEffectsFragmentemancebo2015-02-171-15/+17
| | | | | | | | | | | | | | | | Instead of holding a reference to transition effects fragment and attempting to keep it in sync with what the fragment manager holds, just get the fragment from the manager each time. Change-Id: Ifd92725c1731cc6677d6d2a06226e070fbc093e3
| * Trebuchet: Catch SQLiteReadOnlyException.Adnan Begovic2015-02-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | BUGDUMP-648580 android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:736) at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754) at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64) at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1499) at com.android.launcher3.WidgetPreviewLoader.clearDb(WidgetPreviewLoader.java:379) ... Change-Id: I5e3cbd85a2fba84263b1e6df25f00f98b1ef55c0
| * Filter apps for app drawer only after mApps is completely populated.Matt Garnes2015-02-091-4/+3
| | | | | | | | | | | | | | | | | | | | If mPreInstallConfig is set to true, apps will be added to mApps for display in the drawer after mFilteredApps is filtered from mApps. This results in applications being hidden from view that should not be. Filter mApps into mFilteredApps only after addPreInstallApps has been called. Change-Id: Ic426c5e530ffa61e0cbca211a6a32fcba38fc08b
| * Trebuchet: ensure preview animation is released after exiting ↵emancebo2015-02-032-0/+13
| | | | | | | | | | | | | | TransitionEffectsFragment Change-Id: Id6253a6162ee47dd1a46886026f09c3adbdc7027 (cherry picked from commit a426812f58b320c191ed8427d145966724949d67)
| * DynamicGrid: tuning the icon size for some deviceRaj Yengisetty2015-01-291-5/+5
| | | | | | | | Change-Id: I2cd5cdb8c7ab41edbc6baa80f04278a614aeac82
| * Update Larger icons setting for better usabilityRaj Yengisetty2015-01-231-19/+19
| | | | | | | | Change-Id: I6e4f0411dc860c7312952275ebcea2b516ecd172
| * Adding manage apps shortcut to Settings panelRaj Yengisetty2015-01-202-1/+24
| | | | | | | | Change-Id: I02b454072258d57e82c825417941382ea7807e83
| * Fix bug with toggling SearchBar off:Raj Yengisetty2015-01-191-1/+4
| | | | | | | | | | | | | | | | | | Precondition, have Search Bar turned on. 1) Open Settings pannel 2) Toggle Search Bar to off 3) Press "home" to return to Launcher Change-Id: Idda7ed44ee0d6d172845d1447893280569147f7c
| * Disable voice button proxy when there is no voice searchRaj Yengisetty2015-01-161-2/+2
| | | | | | | | Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551
* | Performance improvement for launch latencyRaj Yengisetty2015-02-192-4/+7
| | | | | | | | Change-Id: I8487f4e0a1a4a57f684454fd0492134602c01057
* | Fix potential NPE handling TransitionEffectsFragmentemancebo2015-02-171-15/+17
| | | | | | | | | | | | | | | | | | Instead of holding a reference to transition effects fragment and attempting to keep it in sync with what the fragment manager holds, just get the fragment from the manager each time. Change-Id: Ifd92725c1731cc6677d6d2a06226e070fbc093e3 (cherry picked from commit e169a31d480f9c0dafd9292540d42594daf68afe)
* | Trebuchet: Fix compile errorRaj Yengisetty2015-02-131-2/+0
| | | | | | | | | | | | Redundant declaration of fourByFourDefaultLayout in DynamicGrid Change-Id: I30277715f5a4a8a2b28888e90d5aa4f90e54485f
* | Trebuchet: Add small icon text featureRaj Yengisetty2015-02-124-18/+52
| | | | | | | | Change-Id: I3eac9dfddb0ff89ca084ebc62511deb84af07654
* | Filter apps for app drawer only after mApps is completely populated.Matt Garnes2015-02-091-4/+3
| | | | | | | | | | | | | | | | | | | | If mPreInstallConfig is set to true, apps will be added to mApps for display in the drawer after mFilteredApps is filtered from mApps. This results in applications being hidden from view that should not be. Filter mApps into mFilteredApps only after addPreInstallApps has been called. Change-Id: Ic426c5e530ffa61e0cbca211a6a32fcba38fc08b
* | Trebuchet: ensure preview animation is released after exiting ↵emancebo2015-02-032-0/+13
| | | | | | | | | | | | TransitionEffectsFragment Change-Id: Id6253a6162ee47dd1a46886026f09c3adbdc7027
* | Update Larger icons setting for better usabilityRaj Yengisetty2015-01-231-19/+19
| | | | | | | | Change-Id: I6e4f0411dc860c7312952275ebcea2b516ecd172
* | Adding manage apps shortcut to Settings panelRaj Yengisetty2015-01-212-1/+24
| | | | | | | | | | Change-Id: I02b454072258d57e82c825417941382ea7807e83 (cherry picked from commit cc342519488d50d2f59f514940de6cf02bd53ab2)
* | Fix bug with toggling SearchBar off:Raj Yengisetty2015-01-191-1/+4
| | | | | | | | | | | | | | | | | | | | Precondition, have Search Bar turned on. 1) Open Settings pannel 2) Toggle Search Bar to off 3) Press "home" to return to Launcher Change-Id: Idda7ed44ee0d6d172845d1447893280569147f7c (cherry picked from commit 3549b0c14220370f4b50867ff8d21d9b6513f641)
* | Disable voice button proxy when there is no voice searchRaj Yengisetty2015-01-161-2/+2
| | | | | | | | | | Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551 (cherry picked from commit 7900b8dc9c6119789cfcd374b3f18b67ac003605)
* | Rename carrier workspace files and config.Matt Garnes2015-01-162-4/+4
| | | | | | | | | | | | | | - Rename Micromax config and workspace. - Rename Smartfren config and workspace. Change-Id: Ic13191f11c325715eb5d6e97899e9cbc900778bd
* | Trebuchet: Customize features for regional packagekaiyiz2015-01-152-0/+10
| | | | | | | | | | | | | | | | | | - Customize default launcher workspace for India. - Add Smartfren customize workspace layout. - micromax_default_workspace.xml and smartfren_default_workspace.xml is - copied from res/xml/default_workspace.xml Change-Id: I6598869a6b6f29fbad05b4c470e980141e4cbf61
* | Trebuchet: Add Backup icon on main screenJing (Mia) Wang2015-01-152-3/+11
|/ | | | Change-Id: Idcfcabcba72ebdc96b22f7b50c0fdfbc2e7c922b
* Update workspace grid after toggling settings.Danny Baumann2015-01-102-5/+13
| | | | Change-Id: I851023e47fe12e434357962ee5f5b55b761da4c7
* Adding Large IconsRaj Yengisetty2014-12-291-15/+27
| | | | Change-Id: I85f11768a8dfa4f3df9be397d517686a1c72b9bf
* Trebuchet : Fix search bar icon/text disapearingDanesh Mondegarian2014-12-234-5/+11
| | | | | | | | | | | | | | | | Repro : 1. Uninstall an application from the app drawer 2. Press back to go to homescreen. 3. The search bar icon/text should be invisible now. Trebuchet : Avoid unecessary generatePressedFocusedStates When the drawable's state changes, don't generate state drawables until after the invalidate call, which takes care of this already, otherwise it gets drawn before measure/layout gets a chance to run. Change-Id: I49933e6d985aab9fff9f05092e007e46991a8edf
* Workspace: Custom default screenNebojsa Cvetkovic2014-12-232-7/+14
| | | | Change-Id: Ic90254f7758b9dbd4997a19474e455230355b772
* Trebuchet: Fix Scrolling Wallpaper toggleRaj Yengisetty2014-12-161-5/+17
| | | | Change-Id: I8c2cc294e1f3a9638023616d80f891ec9b98f3c4
* Delay reloading Dynamic grid after size change till onResume or settings ↵Raj Yengisetty2014-12-161-6/+9
| | | | | | panel collapses Change-Id: I1077921d8c59172d63a8fc5fb287ff26a38e3e93
* Fix invisible voice searchAbhisek Devkota2014-12-132-2/+2
| | | | | | | | | | | | | When 'show search bar' is disabled, you can still tap the voice search icon's position (even though view == gone) to launch search action. Partial fix borrowed from 10.2 http://review.cyanogenmod.org/#/c/21584 PS2: Use available variables instead of changing one to protected PS3: Fix mis-paste Change-Id: I268d0e1108992028fd324d42e7dc8b6e11c757eb
* Protected Apps: Fix launching from Hidden Folder FragmentRaj Yengisetty2014-12-021-1/+1
| | | | Change-Id: Ia6475f114d0ee9c76ebd5a277c66f90d8bbfe1e7
* Adjustments for Live Settings:Raj Yengisetty2014-12-022-2/+2
| | | | | | | - Fix view position of PageIndicators after settings update - Fix outlines on Workspace after settings update Change-Id: I2b24cc279e4a9c76ec0b532410c1388b26521b63
* Trebuchet : Add folder on folder checksDanesh M2014-12-022-1/+14
| | | | | | | - Check if the new folder can accomodate all items - Don't expand folder if trying to drop folder on folder Change-Id: I208e3afd4ee6aeeea01928fc77e136d6085c4fdc
* Folders: Merge FoldersDanesh M2014-12-021-0/+9
| | | | | | | This allows a folder A's contents to be merged into folder B when folder A is drag/dropped onto folder B. Change-Id: I41d62d04b6b4f0932cc68fb6d2a3be111b063d53