summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix hidden "Remove" and "App info" buttons in landscapeThomas Wendt2014-05-062-0/+14
| | | | | | | | | | | | | On grouper the "Remove" and "App info" buttons are not visible if the device is in landscape. Layout the children of the drag_target_bar vertically to fix this. Fixes: https://jira.cyanogenmod.org/browse/CYAN-3744 Before: http://i.imgur.com/SHMTUjK.png After: http://i.imgur.com/4JeJi8k.png Change-Id: Ie8a9a799fa89bf8ad233202da10c808ab65a66a9
* Fix NPE if a moved cell does not have a parentFlamefire2014-05-031-1/+3
| | | | | | | | | | This NPE should actually never happen. It did however and crashed Trebuchet. Symptom that will lead to this NPE: Drag Shortcut from homescreen to somewhere else. Old icon will not get removed while dragging. This should also be fixed! Change-Id: I5b5070c93077e69f0f63a26d337fb9aee83ec6d2
* Cleaning up references to mDragView after reordering WorkspacesRaj Yengisetty2014-05-021-0/+1
| | | | Change-Id: I480142b4714034c5579232a6a0d30f3aecb687ac
* Trebuchet: add lockscreen wallpaper pickerRoman Birg2014-04-289-50/+1701
| | | | | Change-Id: Ic4f2589924a3c61b676db907f08108286dc45c29 Signed-off-by: Roman Birg <roman@cyngn.com>
* Add options to hide icon labels from drawer and homescreenFlamefire2014-04-227-25/+66
| | | | | | | | | | | | | Forward port from CM 10.2 PS3: Fix typo PS4: Rebase and global defaults PS8: Rebase to head Issue: There is already an Icon section in general, move both settings there or leave separate in their categories? Change-Id: I90ae4d2357e5f45fa9261c4eaa0fcf287996e327
* Re-Add hidden-apps settingFlamefire2014-04-228-16/+669
| | | | | | | | | | | | Forward port from CM 10.2 PS3: Don't rename and incorporate changes from Devkota PS4: Update German translation PS5: Remove translations PS7: Hide widgets from widget list PS9: Remove debug output PS11: Rebase Change-Id: Ie06b288e22c2678fb09da1bf42d46922b8319e01
* Trebuchet : Don't hideoutlines if in small overview modeDanesh Mondegarian2014-04-221-1/+1
| | | | | | | | | | | Repro : Long press homescreen Observe the gradient backing of each panel Long press a panel/screen and drop it or rearrange it Notice the lack of gradient backing Change-Id: Icac625d8fa11f4751c8dbe775edc5e6093e1a4ed
* Fix displaying of the sort orderFlamefire2014-04-061-4/+11
| | | | | | | A bug(?) makes an option of a radio list be checked, once you call setChecked, even with false. This results in the wrong option beeing checked. Fix this with a switch-case. Change-Id: If5e0fd9a3f534fa29b8216ace216dad4e456ad53
* Trebuchet : Fix search bar icon/text disapearingDanesh Mondegarian2014-04-061-1/+1
| | | | | | | | | | 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. Change-Id: Ie21623cc57cd210a1b45320640bb21fddacb5e91
* 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