summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet : Check if target is null for cancelled eventsDanesh Mondegarian2014-04-021-1/+1
| | | | | | | | | | | | | If a drag is cancelled on the workspace, ensure not to reference it in onDropCompleted since it will be null as per what DragController passes in. Reproduction steps : Long press a hotseat icon While dragging it, turn off screen. Change-Id: If587e7c9c37ea2e24b7f9cc85db8249ab34dd19f
* Merge "trebuchet: build headers from internal adapter instance" into cm-11.0Jorge Ruesga2014-03-101-3/+12
|\
| * trebuchet: build headers from internal adapter instanceJorge Ruesga2014-03-091-3/+12
| | | | | | | | | | | | | | | | | | | | Trebuchet will be killed if any of its settings changed, so if it is accessed from recents then the PreferencesActivity is rebuilt from its saved instance and the headers are not filled by onBuildHeaders, because this is not called. Just ensure we build the headers from the internal adapter. Change-Id: I3159daadd715d5cbc0d9bcd377d8bbe51f638d32 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "trebuchet: fix custom home transition effect" into cm-11.0Jorge Ruesga2014-03-091-2/+2
|\ \ | |/ |/|
| * trebuchet: fix custom home transition effectJorge Ruesga2014-02-241-2/+2
| | | | | | | | | | Change-Id: Ie9d24fd40a2c60834cd4e69564bbb59224b32cb9 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "Trebuchet: fix icons disappearing from the hotseat (dock)." into cm-11.0Abhisek Devkota2014-03-041-3/+4
|\ \
| * | Trebuchet: fix icons disappearing from the hotseat (dock).lee worrall2014-03-031-3/+4
| |/ | | | | | | | | | | | | | | | | The "occupied" array for the hotseat should be [numHotseatIcons][1], not [numColumns+1][numRows+1], because numHotseatIcons can be >1 more than numColumns; so the rightmost hotseat icon is lost on restart if, for example, the workspace is 5x5 but there are 7 hotseat icons. Change-Id: If68b5fa3d668302601320cd0cb96498afe4fc200
* | Merge "Trebuchet : Decouple iconMask and iconBack dependency" into cm-11.0Danesh Mondegarian2014-02-281-4/+4
|\ \ | |/ |/|
| * Trebuchet : Decouple iconMask and iconBack dependencyDanesh Mondegarian2014-02-161-4/+4
| | | | | | | | | | | | | | Allow them to function independently in the case where an icon pack only has one of them. Change-Id: I7b72bd689eac7e411f88cb5fbacea3604d45036b
* | Trebuchet : Avoid unecessary generatePressedFocusedStatesDanesh M2014-02-191-1/+0
|/ | | | | | | | 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: I1ce89fffaa535f5c47e42ec64801a70cbc3f7814
* Merge "Trebuchet : Fix appInfo crash for hotseat" into cm-11.0Danesh M2014-02-151-1/+1
|\
| * Trebuchet : Fix appInfo crash for hotseatDanesh M2014-02-131-1/+1
| | | | | | Change-Id: I070f9b3f490b3105a57126180c90aab1b4e7829b
* | Merge "Trebuchet : Add iconMask/iconBack/iconUpon/iconScale support" into ↵Danesh Mondegarian2014-02-143-11/+118
|\ \ | | | | | | | | | cm-11.0
| * | Trebuchet : Add iconMask/iconBack/iconUpon/iconScale supportDanesh Mondegarian2014-02-123-11/+118
| |/ | | | | | | Change-Id: I85ecee3b5c26f79918fe0c4d220e09c943eec3e6
* | Trebuchet : Avoid unecessary generatePressedFocusedStatesDanesh Mondegarian2014-02-141-1/+0
| | | | | | | | | | | | | | | | 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: I92543302730446abbb11e3c9c963bd12689cdc7b
* | Trebuchet : Avoid upgrade paths if ALL_APPS buttonDanesh M2014-02-131-2/+4
|/ | | Change-Id: I0632760f7c5869940711e711114177cc3e576453
* Trebuchet : default workspaceDanesh M2014-02-062-3/+3
| | | | | | | | | | | | | | | Change default screen to screen 0 (far left screen) to match Launcher3. Clean up default layouts for various device types. Also fix missing layouts for allAppsCling. Update: Replace Books with Hangouts Update: Clean and add non-GMS fallbacks Update: Fix MMS being in sw70-non-telephony Update: Cast checkitemplacement to long Update: Layouts and avoid rounding issues for sw600dp Change-Id: If0c3ad5ffcb8e2ee4b811251c0360f7512c31fdb
* Trebuchet : Wallpaper picker check if cursor nullDanesh M2014-02-051-5/+7
| | | | | | Check if media store has any images (cursor != null). Change-Id: Ib303b0ace9c4b834be0b61727b8512b5e326a949
* Trebuchet : Show allapps cling only if app drawerDanesh M2014-02-051-1/+3
| | | | Change-Id: I3f9a72fc020d2e0b4f57856bfcd6503581a3749e
* Trebuchet : Show cling for allapps overviewDanesh Mondegarian2014-02-052-9/+63
| | | | | | | | | This patchset adds a cling for the all apps indicator overview mode as by default it is not very discoverable. PS4: Strings + fixes Change-Id: If7e91a0e123c0fbc4d4f4ed6ef35c1ff7b1abfb1
* Fix invisible voice searchAbhisek Devkota2014-01-292-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
* Trebuchet : Layout fixesDanesh M2014-02-042-2/+11
| | | | | | | - Fixes excessive padding of searchbar on tablets - Ensures proper use of numCols regardless of screen width Change-Id: I42215db1ae328be16b0d996c26a25431442bcf97
* Trebuchet : Use consistent shared_prefsDanesh M2014-02-042-1/+7
| | | | | | | | | | PreferenceFragments by default use getDefaultSharedPreferences(), which is inconsistent with the rest of our settings. This patch ensures its consistent and renames SETTINGS_KEY away from package name space to avoid future confusion. Change-Id: Ic6323a6b392e01b27f7ba20cbd61ec9705bc5845
* Fix Settings not workingAbhisek Devkota2014-01-281-1/+1
| | | | | | | | | | As this is being shipped with and aapt flag rename, the settings is being constructed with our custom namespace instead of AOSP. Net result, without this patch, settings don't get read properly. Simple test, toggle Search Bar visibility (with and without this). Change-Id: I2683f713e04dda57f00c5e2b491e6b2498dae850
* Fix L3 and old Trebuchet migrationRicardo Cerqueira2014-02-011-1/+67
| | | | | | | | | There can only be one original-package tag. Go with com.android.launcher3 for now, and move Trebuchet back to com.cyanogenmod.trebuchet. This will allow for workspace migrations from both CM10.2 Trebuchet and from CM11 Launcher3 Change-Id: I7743954bffc55f503851038f800607947e20015e
* Launcher3 : checkItemPlacement fixesDanesh M2014-01-311-3/+8
| | | | | | | | | | | | This patchset addresses two bugs : 1) Incorrect casting of key causes mismatches 2) On hotseat items 2 and above, the occupied hashmap is populated with the CONTAINER_HOTSEAT key, however if its a new item and its required cell is not already been taken, the code falls through to the workspace checks. Make sure hotseat items are treated separately. Change-Id: I1898c6d688cc428a355fdf062218fcda40da98e4
* Trebuchet : Append packagenameDanesh M2014-01-311-2/+3
| | | | | | | Append package name to activity name to ensure more exact matches. Change-Id: I67e61c100503750cb2d7d443cf03c808f0604421
* Trebuchet : Default workspace improvementsDanesh M2014-01-302-64/+97
| | | | | | | | Ported from cm-10.2 Adds support for fallback in default_workspace Change-Id: I2590ae2d5e3c1b6124061581b9ffa206d611c608
* Trebuchet: Default workspace fixesJorge Ruesga2014-01-301-2/+13
| | | | | | | | | | | | * Replace AnalogClockWidget by cLock Widget * Add "no telephony" workspaces files. New favorites: - Phone -> Email - Contacts -> Calendar - Mms -> Contacts - Browser -> Browser * Add sw600dp and sw700dp update workspaces files Change-Id: I41e81f908339b68df8109611c88ee092b4ab7b9d
* Trebuchet : Improve iconpack selection UIDanesh M2014-01-292-3/+7
| | | | | | | - Switch to radio button - Dismiss overviewmode on selection Change-Id: If85e244e7aa887efe604f989bc1ad838efd557c5
* Merge "Trebuchet : Icon pack support" into cm-11.0nebkat2014-01-296-2/+642
|\
| * Trebuchet : Icon pack supportDanesh Mondegarian2014-01-296-2/+642
| | | | | | | | | | | | Icons courtesy of Asher Simonds Change-Id: If64811a5506022135ce772ab749a871dab00fc36
* | Don't forcefully disable haptic on hotseat itemsRicardo Cerqueira2014-01-261-1/+3
|/ | | | | | | | | This made Launcher.getHapticFeedbackTouchListener a no-op. Rely on the shortcut generation code to set (or not) an onTouch listener Fixes lack of feedback on migrated AllApps shortcuts Change-Id: I3ddda470ec7500a7d30097143edcdcf0daf82666
* Trebuchet : Finalize labellingDanesh M2014-01-251-1/+1
| | | | Change-Id: If09c4d7599ecbbe4adbf41def8fbd468d95377b4
* Workspace/AppsCustomizePagedView: Improved transition effect dialogNebojsa Cvetkovic2014-01-246-63/+167
| | | | Change-Id: I7c611ee9702c3a5b945644721948c4724f7639a7
* WallpaperPickerActivity: Move wallpaper scroll preference to menuNebojsa Cvetkovic2014-01-243-5/+49
| | | | Change-Id: I734260cb0c2f86ebe9d5dbbe7367520e9760008f
* PagedView: Transition EffectsNebojsa Cvetkovic2014-01-245-194/+616
| | | | Change-Id: Ib134705952877165c334181548d577b3dceece68
* FontStylePreference: Simplify using onPrepareDialogBuilder()Nebojsa Cvetkovic2014-01-241-18/+26
| | | | Change-Id: I26b0886564e863bdf8fe601003220e612ed95cbf
* Workspace: Don't allow folder creation on AllApps iconNebojsa Cvetkovic2014-01-241-1/+3
| | | | Change-Id: I5438ac81450450ba03c0f0cc6a33bd69dcbd0515
* Hotseat: Movable AllApps buttonNebojsa Cvetkovic2014-01-249-120/+176
| | | | Change-Id: I4273c460392c8329368a23ef6f0d9698f52adfea
* FontStylePreference: Initial preference with choice of font familyNebojsa Cvetkovic2014-01-2410-13/+182
| | | | Change-Id: Idbb400605e47cd4f64a7edd05ceea05504727efc
* Workspace: Don't remove icons if dragged to app info drop targetNebojsa Cvetkovic2014-01-241-1/+1
| | | | Change-Id: I9bfd0597e7dc88eff97d677aadb7eebc0e442b2c
* Workspace: Scroll wallpaperNebojsa Cvetkovic2014-01-242-6/+21
| | | | Change-Id: I6946df98ada04a3d1fb1da705154888d5cd6973d
* AppsCustomize: Overview panelNebojsa Cvetkovic2014-01-247-31/+572
| | | | Change-Id: I5cfd1183194ee15d8bb18dcd2536a644c9599978
* DynamicGrid: Use large iconsNebojsa Cvetkovic2014-01-243-9/+21
| | | | Change-Id: I4cdd15c82bbedd7b54051c3a79d63b6c1238a71a
* Launcher: Show system settings if on CyanogenModNebojsa Cvetkovic2014-01-241-3/+9
| | | | | | http://review.cyanogenmod.org/#/c/55923/ Change-Id: I7deb3f55aacda09777e0b39821a45971dad4f43a
* AppsCustomizeLayout: Set background colorNebojsa Cvetkovic2014-01-241-1/+5
| | | | Change-Id: I83236a93fee82677417859cf4f301aec838b6e28
* AndroidManifest: Version 1.0Nebojsa Cvetkovic2014-01-243-530/+0
| | | | Change-Id: I0fa64bbfc7e13715d7538f62acfffb7087b826ba
* AppsCustomize: Remove tabsNebojsa Cvetkovic2014-01-245-232/+273
| | | | Change-Id: I8c3b146b4f3a60f28b9bce16c37e57696cbe2944
* LauncherModel: Add launch count app comparatorNebojsa Cvetkovic2014-01-242-0/+30
| | | | Change-Id: Ie6481f8ae46a76086e187309bba3cdaafaf86977