aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* CMFM: Use centercrop for preview imagesJorge Ruesga2013-11-293-3/+3
| | | | | Change-Id: I7fc344cafb5a9580af868fd247effb4fa8d26f15 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Some optimizations spotted during profiling.Danny Baumann2013-09-202-35/+22
| | | | Change-Id: Ice5cc24d2574894798370eaaae144713414eb6cf
* Implement showing of apk icon and image and video thumbs in listingJo De Boeck2013-09-203-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patchset 8: Move some stuff to MimeTypeHelper Add cache Add image and thumbail support Add setting for this (defaul false for improve performance) Patchset 9: Fixed icon derp display Same size for all drawables Patchset 10: Async drawable load Shrink cache Patchset 11: Use layout's width and height to scale the images Patchset 12: Music album thumbs Patchset 13: Added suggestions Fixed FC Patchset 14: Use content observer for icons Keep context in icon holder Fix scroll position being reset on thumbnail load Patchset 15: Additional fixes and optimizations Patchset 16: Do not saturate the ui with constants redrawing Do not send back events while changing to a new directory Fix FC on HistoryActivity (creation of a ContentObserver inside of a non-ui thread) Added normalized media paths Patchset 17: Use a HandlerThread to handle the preview loads Patchset 18: Optimizations Patchset 19: Fix deadlock Patchset 20: Remove debug leftover Patchset 21: Fix whitespace Patchset 22: Misc. cleanup Change-Id: I0a4ea801ff0cfbf31dda125b8925e7d35f4c3c99
* CMFM: Editor initial highlight support + props syntax processor + others ↵Jorge Ruesga2013-03-271-0/+30
| | | | | | | | | | | | | | | | | | | | | | | features - This change enables support of syntax highlight in editor. Adds also the next syntax processors: * PropertiesSyntaxHighlightProcessor - Option for toggle "no suggestion" in editor - CleanUp Patchset 2: Theme color scheme support Patchset 3: Hexdump binary editor preference No suggestions editor preference Syntax Highlight color scheme Add android-syntax-highlight (CMFM) and color-picker-view libraries ColorPickerDialog and ColorPickerPreference Separate preference to its own file Extract themes strings from dark_theme.xml to strings.xml Rebased Change-Id: I9df65e6193d46ebafadee5d545dcde1fc5ce20e9 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Use holo style progress barJorge Ruesga2013-03-221-8/+10
| | | | | Change-Id: I877e130cbba31f4f800fcc6c6b9510ae7a947ec6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Add word wrap supportJorge Ruesga2013-03-193-18/+66
| | | | | | | This changes adds support for toggle word wrap in editor Change-Id: Idd40d4d2b936fa1f3a4435df8c5ba35ede7d6041 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix checksum java commandJorge Ruesga2013-03-181-2/+2
| | | | | Change-Id: Icdda7cc7b5176ecac001087592fd404768ab97e6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: CYAN-285 - Add ability to calculate file checksumsJorge Ruesga2013-03-161-0/+132
| | | | | | | | | | | Added support for compute MD5 and SHA1 file checksums Patchset 2: Remove trailing whitespaces Change-Id: I46cbd0d451eea76e259bdddc485774bbfd34cdc0 JIRA: https://jira.cyanogenmod.org/browse/CYAN-285 Bugfix: CYAN-285 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Add ability to toggle .nomedia file in storage locationsNathan Grebowiec2013-01-111-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patchset 1) Initial commit Patchset 2) Fixed tabs and whitespace Patchset 3) Moved everything to the properties dialog Patchset 4) Clean up Patchset 5) Added check for .nomedia dir Patchset 6) Tab cleanup Patchset 7) Rebase Regorganize FsoPropertiesDialog Refresh navigation listview if a .nomedia file was created or deleted Use FileHelper.deleteFolder instead of DeleteDirCommand Mark/Unmark checkbox when user response no or an error occurs (let checkbox as his initial status) Internationalize error messages Fix nomedia layout id Use match_layout instead of fill_parent (deprecated) Ensure that the fso is a canonical path Use File.exists() to detect the present of .nomedia Theme nomedia label Format code and clean Up Remove W.I.P Patchset 8) Align .nomedia layout Split toggleNoMediaFile logic Ask user if .nomedia file is not empty Fix typos Patchset 9) Fix typo Change-Id: I048d1da75f24230380aa7503f2d2c9ad95f9b873
* CMFM: Display new fso datetimes propsJorge Ruesga2013-01-071-4/+54
| | | | | | | | | | | | Add to FsoPropertiesDialog the new fso datetimes properties: - Last accessed - Last modified - Last changed Remove old fso_properties_dialog_date string from translations. Change-Id: I881658ae0fbc6c935995ffb4ad7a02172d06bb2c Signed-off-by: jruesga <jorge@ruesga.com>
* CMFM: Fix filesystem and fso dialog layoutsJorge Ruesga2013-01-062-174/+192
| | | | | Change-Id: Ie48a897a1fdae74f34fb7f4ea004b95821ab177e Signed-off-by: jruesga <jorge@ruesga.com>
* CMFM: Fixes and ImprovementsJorge Ruesga2013-01-056-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Some performance improvements: - Use stat instead of ls. This allow improve listing of directories with symlinks. Symlinks are resolved by File.getCanonicalFile. - Simplify ls, fileinfo, find and readlink command - Simplify the parsing of FolderUsage (only type, size and category is required), and avoid to load a lot of on unused objects - Add new file datetime information from stat: access, change and modify - Improve list, find and resolvelink java commands * FadeEffect and symlink handling * Remove context from AIDHelper and add new helpful methods * New getAbsolutePath method * Use file separator for paths and ROOT_DIRECTORY for root directory path * Organize startup - Initialize variables prior to register receivers - Load AID data for improve performance through caching - Load the theme base used by AOSP widgets * Allow Editor to show zero-length files Allow the editor to load zero-length files (like /proc/mounts) and change the buffer type to no editable in binary files. * Invert allowed mount points detection. This change inverts the algorithm for prevent unmount needed rw filesystems. Now uses known restricted filesystems instead of known allowed filesystems. Now filesystems like yaffs2, fuse, and other linux filesystems are allowed by default. * Remove unused xliff namespace * Add flagNoFullscreen to EditText widgets * Fix listview selectors of history and bookmarks * Fix race condition When the command was executed prior to block the execution, the thread wait for the timeout. Add a sync access check to ensure that prior to lock and wait the program executed is not finished. * Fix for async programs When the partial buffer received for an async program is not complete (ends with a EOL), the partial buffer was discarded. Add a new buffer with this lost chars to complete this bytes next time * Fix list command Use -n1 for xargs in list command to prevent "argument line too long" * If parent is null then assume that it is the root folder * Use only name and parent for equals method on FileSystemObject A FileSystemObject is the same if his name and path are the same. * Increase performance of adapters Use argument data when possible to avoid call the adapter methods * Do not clear selection on some actions Actions like create new file/folder, show properties and other actions that explicit requires clear the active selection, shouldn't removed the active selection. * Add a new additional line to dialog messages to fill the dialog * Fix spanish translations * Fix theme roulette on tablets * Clean NLS and Override warnings * Fix parse size data with dots * Add listeners after set the values to avoid raising triggers * Increase performance of adapters. Notify the data changed at the end of the changes, and only to super adapters (the internal structure has already been updated) * Ensure that all the Cursor references were closed after used them. * Remove unused SuppressLint * Clean up Change-Id: I4326e97cbc942c767829f1a0ff6b380ad768cfef Signed-off-by: jruesga <jorge@ruesga.com>
* CMFileManager: Themes support + Dark themeJorge Ruesga2012-11-1116-38/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enabled the theme support, and added a new dark theme under the package CMFileManagerThemes. To compile under build system, it must be enabled in vendor/cm/config/common.mk or vendor/cm/config/themes_common.mk (this was requested in change http://review.cyanogenmod.org/#/c/26311/) Themes were enabled in a new settings option. Under this setting the application show the user the available themes installed in the system. -------------------- For build new themes, developers should: - Create a new package that contains an activity with: * Permission: com.cyanogenmod.filemanager.permissions.READ_THEME * Action: com.cyanogenmod.filemanager.actions.MAIN_THEME * Category: com.cyanogenmod.filemanager.categories.THEME - Define the themes_ids, themes_names and themes_descriptions arrays-strings definitions for the themes that the package support. - Create a xxx_theme.xml for every theme that the package support, where the xxx is the id of the theme. Put your resources in this file, prefixing the resource with the id of the theme (xxx_). For a list of all supported resources see theme.xml in res/values of CMFileManager project. ------------------- Other fixes: * Protect console buffers from NPE * Fix code style of xmls (layouts, drawables, ...) Patchset 2: Fixed code style and added Christian suggestion Patchset 3: Added forgotten READ_THEME permission check as described in the note above. Patchset 4: Use centerInside in theme preview for better image fit Change-Id: I4142da6d9ed1b06318e47ff9c05f9a874c62f3ae
* CMFileManager : Allow rotationJorge Ruesga2012-11-0443-1242/+1269
| | | | | | | | | | | | | Override onConfigurationChanged to help keep the state intact and allow orientation change. Patchset 2 : Override for other activities as well Patchset 3 : Fixed scrollbars dialogs Patchset 4 : Fixed landscape mode of picker activity Patchset 5 : New landscape layout for NavigationActivity Patchset 6 : Fix whitespace errors in copyright headers Change-Id: Ibe52f0a0ebf0ea88d79dab1c8a06fb262d63ecb1
* Better start effect (white action bar style)jruesga2012-10-292-4/+4
|
* CleanUpjruesga2012-10-281-1/+1
|
* Show changelog inside the application (issue #6)jruesga2012-10-281-0/+43
| | | Accessible from about preference setting
* Flinger gesture detection support (issue #8)jruesga2012-10-284-4/+6
| | | | | This allow the use of left to right swipe gesture to delete files or folders. Add a new setting to control this behaviour (active by default)
* CleanUp whitespacesjruesga2012-10-281-1/+0
|
* Prevent editor from receiving focus on startupjruesga2012-10-271-0/+8
|
* Replace 'arrows' actions icon with new '8-dot' icon (issue #23)jruesga2012-10-271-1/+1
|
* Delete confirmation dialog box title is wrong (Issue #18)jruesga2012-10-271-4/+2
| | | | | | | * New dialog title mode (no icons, except were they are needed [welcome and picker]) * Title text without allCaps * New title color * Remove unused drawables
* Use AsyncTasks to load bookmarks and historyjruesga2012-10-272-0/+18
|
* Remove console selection (Issue #17) - Part II (Settings & Code)jruesga2012-10-271-0/+1
|
* Fix lint advisejruesga2012-10-261-1/+0
|
* The overflow menu should not show as an icon on devices with a physicaljruesga2012-10-261-0/+7
| | | menu button (issue #14)
* Remove actions menu icon (issue #21)jruesga2012-10-264-39/+7
| | | | Remove the action menu icon and the default long-click action setting. Now, long-click always shows the action menu
* More focused drawablesjruesga2012-10-262-2/+2
|
* Change application name to 'File Manager' (issue #20)jruesga2012-10-2618-37/+37
| | | Full refactoring of package from explorer to filemanager
* Check size of assets to conform Android design guidelines (issues #12jruesga2012-10-262-4/+4
| | | and #15)
* Add smooth scrollbar to execution dialogjruesga2012-10-261-14/+19
|
* New image for the actions button (issue #11)jruesga2012-10-254-13/+11
| | | | | | | * Added a new image for actions menu item on navigation view and search results * Remove action menu from icons layout mode. Now the default long-click action is show actions menu (Default long-click setting doesn't apply to this layout)
* Support of Internal Editors (Issue #4)jruesga2012-10-251-0/+76
| | | | | | * This changes add a internal editor to view and edit root and non-root files. * Also add the logic to add internal editors to Associations Dialog without make persistent the user selection.
* New activity "Picker Activity"jruesga2012-10-217-20/+68
| | | | | | | | This activity allows third party application to browse and get the content using GET_CONTENT action and a mime/type. This activity used the NavigationView in jail room mode and it's only capable of pick a file (actions like open or others are not permitted) * CleanUp
* Remove obsolete resourcejruesga2012-10-201-29/+0
|
* New fso and global actions "Compress" and "Compress selection" + CleanUpjruesga2012-10-201-1/+1
|
* New action "Execute"jruesga2012-10-152-2/+108
| | | | | | | | | The new fso action "Execute" allow execute a shell in the new ExecutionDialog (a console like dialog), that display the ouput, time and exit code of the execution. It's only available for files with EXEC mime/type category. * Added a new method to the async callback to return the exit code to program caller. * CleanUp
* Add clear history to HistoryActivity menujruesga2012-10-141-4/+2
|
* Add file category to fso properties dialogjruesga2012-10-141-0/+24
|
* Restructure ActionsPolicy and other changesjruesga2012-10-093-2/+6
| | | | | | | | | | | | | | | | * Restructure ActionsPolicy to allow doing operation in background and with a progress dialog * New rename, create copy, copy, move, and remove methods * Fix add and remove commands to have force and recursive flags when apply * Fix readlink command because it exceeds the maximum arguments allowed * Redesign MessageProgressDialog for a multipurpose use * On refresh of navigation view, try to scroll to last position if possible * New dialog in DialogHelper * ExceptionUtil now passed the cause in onFailed in OnRelaunchCommandResult listener * New helper methods * Clean up
* A bunch of changes.jruesga2012-10-062-3/+2
| | | | | | | | | | | * Add send action for file * Add handler for open action on click in navigation, search and bookmarks * Allow file bookmarks * Upload AssociationsDialog * Fix root directory name in history * Add controls to navigation and history for deleted folders * Remove history of delete folders * Add open with action for onLongClickListener handler
* Open and Open with actionsjruesga2012-10-062-0/+83
| | | | | | | | Implementation of Open and Open with actions. This create a custom dialog that allow show all registered application even when only one application exists or has a preferred application. This change requires a platform signature to allow use addPreferredActivity or removePreferredActivity. For this is not working. Need be tested and checked inside CM.
* Lint warningsjruesga2012-10-061-26/+0
|
* Improve DiskUsageGraph layoutjruesga2012-10-031-8/+8
|
* Improve dialog layoutsjruesga2012-10-036-55/+16
|
* Fix commandsjruesga2012-09-302-1/+38
| | | | | | | | | * Fix cancelable commands * New pid_shell and pid_cmd command * New FolderUsage command * New compute folder statistics in fso properties * Add overlay file for device specific stuff * Fix invalid executable drawable * Clean up
* New: Setting preferencesjruesga2012-09-232-6/+21
| | | Initial development of settings preferences
* Make selection small than status barjruesga2012-09-234-15/+19
|
* New: Selection Viewjruesga2012-09-233-72/+99
| | | | Selection view with animation effect Clean up
* Some renamesjruesga2012-09-225-9/+9
|