summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importcm-12.1-oldMichael Bestas2015-09-245-1/+40
| | | | Change-Id: I65e314e25767461ab1a6cf76e4a6c256ae382f1d
* Ensure spans do not fall below minimum spans.Martin Brabham2015-09-161-0/+3
| | | | | Change-Id: I2a8546d17f8446000a75bb568c842dbae74f7e4e Ticket-Id: HAM-389
* trebuchet: ensure crop boundsJorge Ruesga2015-09-131-6/+6
| | | | | | | | Ensure that crop rect is not bigger than original bitmap size Change-Id: Ifb2b261411a75c9792d34b925e3ff3d3c2bde59d JIRA: BUGDUMP-3529433 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix mismergeMichael Bestas2015-09-122-55/+0
| | | | Change-Id: I017c84abe752734bceb0bebef557376b5955b8fa
* Automatic translation importMichael Bestas2015-09-123-0/+72
| | | | Change-Id: I7808fc7922d6be85433b20dd877c8e8074a162ee
* Trebuchet: Make sure callbacks are available on user change.Adnan Begovic2015-09-111-1/+1
| | | | | | | | | When switching from Owner -> Guest profile, the callbacks for LauncherModel may not be supplied by the incoming restricted user. Change-Id: I15c49f3f30fea9397bee5ae8bde4b0c7f585ae07 TICKET: CYNGNOS-997
* Trebuchet: fix potential NPE when info is nullemancebo2015-09-061-9/+13
| | | | | | | | Previously we were guarding against a null info object, but with the the STK rename patches we will throw an NPE if info is null issue-id: JALEBI-636 Change-Id: I74e95f81b64361c1bb56307c0cc621f24e701648
* Support STK app rename on MSIMRicardo Cerqueira2015-09-022-5/+14
| | | | | | Companion change to If64b278360a0b8433e23e6678f04cdf30fe2cef1 Change-Id: I36c74301c7813e6c118faed9fa5b31a36233db1e
* Trebuchet: STK app rename customization for latam region.Pragnya Paramita2015-09-023-2/+57
| | | | | | | | | | App name is read from SIM in STK app and sent via a broadcast. Name is operator specific. Launcher receives the broadcast, read the name and renames the STK app in all apps screen and workspace. Change-Id: If64b278360a0b8433e23e6678f04cdf30fe2cef1 CRs-Fixed: 797995
* Automatic translation importMichael Bestas2015-09-014-2/+6
| | | | Change-Id: I60e7f445c581ad2ff5ddd70f73f3402e140f6e05
* Reset default view camera distanceRichard MacGregor2015-08-312-10/+41
| | | | | | | | | | Several transition effects modify the views camera distance. Reset to the default camera distance so all transitions are consistent after switching between transitions (ie - Cylinder-in -> Flip -> Cylinder-in) Change-Id: Iee69feb5c954d1522d391e14c30ffa833666f90a Ticket: OPO-27
* Fix wallpaperpreview for default wallpaperRichard MacGregor2015-08-271-4/+9
| | | | | | | Preview isn't scaled and cropped correctly when previewing wallpaper. Change-Id: Idfb42c321f8872e6ca49a2b59e16ea01067856be Ticket: QRDL-1019
* Automatic translation importTom Powell2015-08-212-9/+9
| | | | Change-Id: Ib6901291274b8c58c3c34fdf583ad64e5fb9d1a6
* Automatic translation importTom Powell2015-08-201-14/+14
| | | | Change-Id: I17706f3bb4d2cddcd692081bb448419bed01da9a
* Automatic translation importMichael Bestas2015-08-171-0/+1
| | | | Change-Id: I30d5bc43defca265f695c9b431b8f12a2ad1cc86
* Trebuchet: Make focus animate and move fasterLinus Lee2015-08-111-24/+31
| | | | | | | | | | | If you use a keyboard and hold the tab key, the focus animation looks weird. The fix is when we focus to a new item, jump to the item being focused out and animate from there as opposed to animating from where the focus is currently is ref: QRDL-978 Change-Id: I007c7566b6524dbbf748475e98ad53f9c3cbbcf5
* Automatic translation importTom Powell2015-08-111-0/+2
| | | | Change-Id: I9617766ecbe05955a26435b7b945e391144f0505
* Automatic translation importTom Powell2015-08-071-0/+1
| | | | Change-Id: Ib18ae87d7a1547ed573e2815ebd9aef04ad7ea45
* Automatic translation importMichael Bestas2015-08-059-3/+11
| | | | Change-Id: Id30cb7b2ec1a6b5f62aed49e1b598666d884ecd0
* Do not collapse Settings panel when reseting overview modeRaj Yengisetty2015-07-301-1/+1
| | | | | | QRDL-963 Change-Id: I2e79545c17ad6813f5ca62d50a0c7bb1d42f08ec
* Update default workspace to reference latest browser.Matt Garnes2015-07-276-12/+12
| | | | | | | | - Change package name to com.cyngn.browser. - Update Activity to point to BrowserLauncher. Fixes CYNGNOS-613 and CYNGNOS-493. Change-Id: I3a68eb4e9e91490934c55d0d8d53bc6cb3c2462f
* Automatic translation importMichael Bestas2015-07-2727-0/+217
| | | | Change-Id: I1d4bb795b01f27da1e335e38f5e129f8ffecf043
* Show apps as unavailable when on unmounted storaged34d2015-07-224-21/+171
| | | | | | | | | This patch allows shortcuts to apps that are currently unavailable due to being on unmounted external storage to remain on the workspace and in folders. The icons will be disabled and grayed out until the external storage is mounted. Change-Id: I971483806b27e3a75ef0d5bb89d8dfb86f97511e
* Automatic translation importMichael Bestas2015-07-194-0/+4
| | | | Change-Id: I1fa030ea3869a642f6445f6faa6cab09b0a26698
* Trebuchet: fix voice button proxyStephen Bird2015-07-161-1/+6
| | | | Change-Id: I1f7243063fa0596f5f9cb3b40c4cee63545d04e3
* Loader: use INVALID_RESTORE_PAGE to avoid unnecessarily synchronizingRaj Yengisetty2015-07-141-1/+1
| | | | Change-Id: I55abe9e6dd58ce422270c640fdd900185422f704
* Wallpaper: Allow multiple partners to be loadedd34d2015-07-143-37/+83
| | | | | | | | | Current implementation only allowed for one partner, and any additional partner wallpapers would not be loaded. Partrner.get() still returns the first partner and a new method, getAllPartners is introduced which returns a list of all partners. Change-Id: I06b6cd4817d3f812e2110967f075d68ee31cb318
* Launcher: Close OverviewMode when transitioning back to Workspace.State.NORMALBrandon McAnsh2015-07-141-0/+5
| | | | | | | * OverviewMode can get in a weird funky state like folders did prior to I6e0b6f4d99bbb Change-Id: I4cd317216db8df7f49acc9d2e4d267f7dc395b8a Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* Launcher: Close open folder when transitioning back to Workspace.State.NORMALBrandon McAnsh2015-07-141-0/+3
| | | | | | | | | | * There was a nasty bug that would show an open folder behind the workspace when the screen timed and was quickly resumed, or when the screen was quickly toggled off/on before the activity lifecycle callbacks could react. * Close the open folders during showWorkspace() to prevent this. Change-Id: I6e0b6f4d99bbbabb283903a9ce92da5ae22609ce Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* Folder Layout RevisionHayden Schoen2015-07-1416-325/+119
| | | | | | Updated the folder layout to reflect design revisions based on community feedback Change-Id: Ica1bb796dfccf779a954cf0903a1ae94a010ea1a
* Protected Folders: Prevent the folder name from covering the toggleStephen Bird2015-07-131-0/+1
| | | | Change-Id: I2d1d4550674efcab221e071c3290da2aeadad501
* Fade Adjacent Screens: disable this feature for App Drawer (paged)Raj Yengisetty2015-07-132-13/+9
| | | | | | | | | | | If enabled on App Drawer it causes some jank when opening the App Drawer because of the circular reveal anim (the apps flash visible and then go invisible at the start of the anim). Also if toggled on and then toggled off, some screens in the App Drawer become invisible. Change-Id: Ib7031e9626ce3be56fa0e06ac6394c8e8430ab99
* Automatic translation importMichael Bestas2015-07-1326-2/+33
| | | | Change-Id: Id607f2f9a98acf463638aebf38a1a6030446fdff
* Transition Effects: stack transition effectRaj Yengisetty2015-07-091-1/+1
| | | | | | | | | | | | - Only set shortcuts and widgets alpha if in Workspace Repro: - Set "Stack" transition effect for App Drawer (paged) - Open App Drawer and swipe through all pages - Change transition effect to "None" - Observe some pages are blank Change-Id: I3e358f7a589edeb8219627fed38a4e107b447b93
* FocusHelper: handle NPE with when getting workspace childRaj Yengisetty2015-07-091-8/+12
| | | | Change-Id: I1955f4ea83f260272b29e93bf3346ed642f4ae95
* Trebuchet: display search widget search box if availableRoman Birg2015-07-082-17/+129
| | | | | Change-Id: I3a6d930f25ca4ac1eb8a069c68a2fe9bf2aeb646 Signed-off-by: Roman Birg <roman@cyngn.com>
* Badge: Check count on bindStephen Bird2015-07-063-9/+6
| | | | | | | | | Fixes bug where badges would not show up after changing languages and other similar situations. Also, stop registering so many receivers when one will do. Change-Id: Id85dbadbc0f99c77493b5817097567ceb365912e
* Automatic translation importMichael Bestas2015-07-026-0/+28
| | | | Change-Id: I6a2e3ee256a992143eb8eb46784099370f271a47
* Update default workspace configuration.Matt Garnes2015-06-307-243/+389
| | | | | | | | | | | - Add Chrome to the default folder. - Move several gapps into a folder labeled "Play" - Add a few apps to the second screen. - Add an additional browser possibility to the hotseat that may be resolved. - Update the Google Photos shortcut to use the correct Activity. Change-Id: I97cd35fb75d4d303a188a69dd9805e076fbcca6c
* Hide workspace shortcuts during binding when AllApps is shown.Matt Garnes2015-06-292-2/+18
| | | | | | | | | | | Previously, if All Apps was opened before the workspace items were bound, the shortcuts would be come visible behind the app drawer when the loading finished. Set the alpha of the shortcuts to 0f to hide them if isAllAppsVisible() returns true. Change-Id: I399bf27435dfe179f64646456496b31eade864a3
* Automatic translation importMichael Bestas2015-06-232-0/+43
| | | | Change-Id: I1799dccfd663d5aa62321714f3e15f30e2f6b78f
* Fix unintended dynamic grid resize side effects.Matt Garnes2015-06-223-21/+61
| | | | | | | | | | | | | | | | | | | | | | - Do not attempt to resize the grid unless the dynamic grid resize has been explicitly triggered. - Workspace Ids are 1 indexed not 0, so on resize, start at 1. - After resizing the grid, persist the changes to the DB. The initial implementation only did the resize in memory and did not persist this, causing side effects later. Bugs fixed: 1. Resize the dynamic grid from large to small. Add a new icon by installing a new app or adding a shortcut from file manager. The new icon will overlap one on one of the new pages. 2. Resize the grid from large to small in a previous version of trebuchet (before the grid resize feature was added). Icons on the outer edges of the grid will be lost but persist in the DB. Upgrade to a new version of Trebuchet. The icons will return to the workspace. Change-Id: I8b0defafb3299d1f3d534526a75f9253495d739d
* Trebuchet: Fix popupMenu behavior and clean up old code.Raj Yengisetty2015-06-221-47/+17
| | | | | | | | | | | Repro: - Open Overview Menu - Select Scroll Effects - Click on the overflow menu - Press home - Observer popupMenu stays on screen Change-Id: I64e65d66758957552f2d64b0347a2f82d0818757
* Don't load title from intent if title loaded from DBd34d2015-06-181-3/+5
| | | | | | | | | | Title for shortcuts, when creating workspaces, are loaded from the intent rather than the title stored in the DB. The title from the DB is loaded in the ShortcutInfo so we will use that unless it is null, in which case we'll fallback to loading the title from the intent. Change-Id: I436c11062dbc8ff3d7e1cd9f9564321ad0476933
* Scrolling: Fix fade in workspaces from ignoring usStephen Bird2015-06-151-2/+0
| | | | | | | | | | | | | | The fade in option ignores all user settings if the device is in landscape or is a tablet. Clean up the settings loading logic and ensure that the user settings are respected always. Repro Steps: - Force Rotation - kill trebuchet - scroll to new screen Change-Id: I9bc49d1abebd88ac8c95ef44ea4e874494e29e1e
* Trebuchet: FloatMath is deprecated in API22Elektroschmock2015-06-153-10/+7
| | | | Change-Id: Icbb1cd06d3965a741061554ac641d41d2116c692
* Automatic translation importMichael Bestas2015-06-132-0/+86
| | | | Change-Id: I46ee889037a1254d7ab1f44eae21844a195418e1
* Trebuchet: Fix bug with removing items from foldersRaj Yengisetty2015-06-121-5/+5
| | | | | | | | | | | | The recent folder changes amended the usage of the mDragInProgress variable to be true only while the drag mechanism is acting on an open folder. This change breaks behavior when a single item is being dragged out of the folder. The folder is removed and replaced with the last item. This shouldn't happen while the global drag is still in progress, so check drag state using the drag controller instead of the mDragInProgress instance variable. Change-Id: I94ea23ca569396ea0241bf0a5af0b23756a13780
* trebuchet: Externalize backup API key stringSteve Kondik2015-06-112-0/+5
| | | | | | | * Reference a value which can be overlayed for the API key so we can enable backups. Change-Id: If52dcde2acd9197b4b3141ba26d91d579a246a4e
* Rotation: fix icons disappearingStephen Bird2015-06-112-2/+6
| | | | | | | | | | Only the dynamic grid reload should be stopping the launcher with intent to rebuild the entire workspace. This returns stopLoader to it's functionality pre-dynamic grid resize patch. Change-Id: I55861da83f9b640fd767031e0f2188c5b9b91e66