summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a crash when moving from overlay to non-overlay installation.staging/remote-folderArtem Shvadskiy2016-01-132-3/+9
| | | | Change-Id: Ia41f230078333e1ac67c360a6a4030550380e522
* Implement placeholder icons for remote folder.Artem Shvadskiy2016-01-1311-60/+146
| | | | | | | | | | | | | | | | | | Patch 1: Unfinished temporary commit before rebase. Patch 2: Rebase. Patch 3: 1. Add additional RemoteFolderManager hook for drawer adapter setApps(). 2. Replace method arguments in drawer adapter from ArrayList to List, which allows us to use Collections.singletonList(), which is more memory efficient. 3. Allow folders to batch remove a subset of their entries. 4. Remove unused remote flag in ShortcutInfo. Patch 4: Fix placeholder animation for folder and folder icon. Patch 5: Remove unused import. Patch 6: Move app drawer bg color to overlay. Change-Id: I5ae3b976e2d04dcfbe5ea2e563ef94dcae48b7d4 issue-id: CYNGNOS-1329
* Trebuchet: RemoteFolder make sure vanilla CM compiles without overlayTyson Miller2016-01-124-9/+11
| | | | Change-Id: I4593a11c204d69067b30695d57f386a88375b64c
* Trebuchet: RemoteFolder: fix folder increasing top margin & adjust badge ↵Tyson Miller2016-01-113-2/+3
| | | | | | position Change-Id: Iea364efc9ab96df1f223ae2dcb9c0a64ac175bbf
* Trebuchet: Remote Folder UX & early badge codeTyson Miller2016-01-0812-187/+108
| | | | | | | | | | | | | Patch 8: Fixed manifest & makefile config 9: Updated caching for RemoteFolder info 12: FolderIcon updates for RemoteFolder 13: RemoteFolder UX and minor code fixes 15: UX and rebase on metrics code 19: Fix content clicks and clean up 20: Wi-Fi check added Issue-Id: :CYNGNOS-1332 Change-Id: I3b86ed71b95da69488a4eee6c7c4b5fae4411388
* Implement RemoteFolder metrics.Artem Shvadskiy2016-01-0517-569/+161
| | | | | | | | | | | | | | | | | | | | | | Additional changes: 1. Refactor drawer code to move xml and implementation out of trebuchet. 2. Move RemoteFolderUpdater to overlay, no stub class needed. 3. Pull TrackingEvent.Category out into EventCategory, and create overlay. 4. Remove old sync code from Folder. 5. Prevent RemoteFolder from inserting shortcuts into the database. All remote items will exist in memory only. 6. Move RemoteFolder into overlay, and have manager create an instance for FolderIcon. 7. Move folder sync out of LauncherModel. Patch 2: Re-add shortcut click handling in Folder and move EventCategory back into TrackingEvent.Category. Patch 3: Remove whitespace/javadoc/import changes. Change-Id: Ifc648f231bf6f6f35d8be45f8885f741b7539487 issue-id: CYNGNOS-1330
* Add remote apps to application drawer.Artem Shvadskiy2015-12-2113-234/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch 2: 1. Use isRemote() method instead of checking flag manually. 2. Launch remote app directly through intent, bypassing regular app logic. 3. Pull syncing code out of LauncherModel and into RemoteFolderManager. 4. Check setting before loading apps. 5. Delete old apps before loading new ones. 6. Add/remove directly from AppDrawerListAdapter, since we are not sure if we want remote apps to show up in Google-style paged drawer. 7. Get number of columns for drawer, so we always load just enough to fill one row. Patch 3: Remove old ArrayList from LauncherModel. Patch 4: 1. Update redlines. 2. Clean up layout/dimens. 3. Add custom scrubber icon for remote apps. 4. Apply custom styles to remote header. TODO: Implement info icon click event, and replace remote apps based on updater cache status. Patch 5: Clean up app_drawer_item.xml Patch 6: Rebase. Patch 7: 1. Add forgotten rebase method to RemoteFolderManager stub. 2. Apply default styles to app_drawer_item and don't bother checking to apply styles unless remote folder is enabled. 3. Minor redline fix. Patch 8: Add larger bottom margin to remote header. Patch 9: 1. Create new view type for custom header to avoid on click bug. 2. Refactor custom style to apply on view holder creation, instead of on bind. 3. Add click event for custom header icon. Change-Id: If123d7ac82a0af0fa171fa3408b6c2f1f8a48b7b issue-id: CYNGNOS-1380
* 1. Move RemoteFolderManager and RemoteFolderUpdater into launcher3 packageArtem Shvadskiy2015-12-159-195/+57
| | | | | | | | | | | and move RemoteFolderManager implementation to overlay. 2. Modify settings to hide remote folder preference on CM builds. 3. Remove remote folder from default workspace. Change-Id: I6cc3409cf0a9ada68779c41e62f46bc08f2f9ad4 issue-id: CYNGNOS-1429
* Prevent remote folder from accepting or removing items by user.Artem Shvadskiy2015-12-102-0/+10
| | | | | | | Patch 2: Rebase and use isRemote() instead of checking subType manually. Change-Id: If3954cfea1e26fc92de8818e68d732d2a5aeaa7b issue-id: CYNGNOS-1410
* Add remote folder if it is not already present after OOBE, and enable toggleArtem Shvadskiy2015-12-1017-106/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in settings to hide remote folder if unwanted. Refactor RemoteFolderUpdater to hold static instance of itself. Refactor FolderInfo to use method for determining remote folder status, instead of manually comparing subType flag. Switch back from temp-coordinates after workspace drag/drop is completed. Remove disable button from remote folder UI. Patch 2: Pull remote folder code out of Launcher and into RemoteFolderManager. Patch 3: Remote @author from RemoteFolderManager Patch 4: 1. Remove delete button from folder. 2. Fix NPE when screens are full. Create a new screen and ad at (0,0). 3. Set default preference to false. 4. Clean up leftover imports and unnecessary conditionals. 5. Refactor Launcher.addFolder() method signature. Patch 5: Add missing parenthesis. Change-Id: I36b7a53175a568c5ebdc908d0256d9128e1bee65 issue-id: CYNGNOS-1378 issue-id: CYNGNOS-1331
* Trebuchet: RemoteFolder fix subtype & manifest entriesMichael Bestas2015-12-0210-39/+41
| | | | Change-Id: I21282fb06be4391cf5ffbfb9b60a840820ded3e9
* Trebuchet: dynamic folder type addedTyson Miller2015-12-0220-52/+819
| | | | | | Issue-Id: CYNGNOS-1328 Change-Id: I09bf7bec119307f54836fedee8a1532627035d9a
* Automatic translation importMichael Bestas2015-12-021-0/+22
| | | | Change-Id: I7ea36815b5e67faf120b93384bf89651784ec9df
* Live Settings: always rebuild DynamicGridRaj Yengisetty2015-11-161-36/+34
| | | | | | Fixes bug with Dynamic Grid resize not applying. Change-Id: I39b9d8eea3bf4c36ce010728fd1cbb0b498c6f28
* Automatic translation importMichael Bestas2015-11-061-2/+2
| | | | Change-Id: I89627e49717cf6e05cf4873eddf52af213d4e9ca
* GMS 3.0 : Update optional apps and foldersAbhisek Devkota2015-11-023-18/+36
| | | | | | CYNGNOS-1284 Change-Id: I62550df160cd40d77692d42f01ab11e27823b217
* Update default workspace to GMS 3.0 reqAbhisek Devkota2015-11-023-46/+19
| | | | | | PAELLA-81 Change-Id: If74f7dc1b81e48d00c80b71cef4994d6f5172b59
* Fix crash if Exif-Tag buffer-length and component-count are both 0tobigun2015-11-021-1/+1
| | | | Change-Id: Iad9b60d135b4f682c08c3bfc9698cdd10e1086ab
* Trebuchet: Enable HW Layers in app drawerScott Mertz2015-10-311-0/+11
| | | | | | | | | | HW Layers were taken out in the initial commit for Trebuchet app drawer transitions. These transitions don't scale for large resolutions when using software composition. Switch back to HW layers. Change-Id: I26fcca8545cc187a29388287071568b5cd9d642b
* trebuchet: ensure not overlaping shorcuts with dockbar items when searchbar ↵Jorge Ruesga2015-10-301-15/+50
| | | | | | | | | | | | is invisible Instead of just animate Y position (http://review.cyanogenmod.org/#/c/114712/), also animate height to guarantee the same bottom position. This gives spaces for the drop target bar and dock bar to don't overlap with the workspace Change-Id: I85e655f320237588cf895589a013ead28118f102 JIRA: NIGHTLIES-1955 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* trebuchet: ensure not overlaping shorcuts and drop items when searchbar is ↵Jorge Ruesga2015-10-234-2/+26
| | | | | | | | | | | | | | | | invisible If searchbar is hidden (via settings) in portrait mode in no tablets devices, the first row of shortcuts overlaps the drop target view, which made impossible to positioning the drag shorcut in the same cell because is ocuppied by the remove drop target. This change, in the conditions described previously, animates the workspace to ensure the drop search bar has enough space without overlapping the workspace layout. Also give an extra padding (edgeMarginPx) to the workspace when searchbar is present. Actually, the search bar and the first row of shortcut icons are too much closed. Change-Id: I9bc5e42852b83a5445beb01bd3bdece9f82074b5 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet : Switch to LOGD instead of isLoggableDanesh M2015-10-151-1/+1
| | | | | | | | isLoggable imposes a 23 character limit. CYNGNOS-1194 Change-Id: I9d2ecd9cf9ca9b40ed68a88a8fd60bc414af1280
* Automatic translation importMichael Bestas2015-10-122-0/+3
| | | | Change-Id: I7e7b4a6a7af94c88a64c627915a72a7145699d83
* Trebuchet: make workspace layout configurable by prebundled mccYvonne Wong2015-10-103-3/+102
| | | | | issue-id: PAELLA-42 Change-Id: Ice4f73ee6ebaa55e27c07a02f1cc5b989f91c59a
* Trebuchet : Ensure workspace icon migration for dialerDanesh M2015-10-092-1/+85
| | | | | | | Ensure dialer workspace icon migration for c-apps package. CYNGNOS-1194 Change-Id: Id6535f5e8c5b16350666f75dda771311a49fe66b
* Update default workspaceAbhisek Devkota2015-10-061-3/+3
| | | | Change-Id: Idb555ab9f15a1683f684cfa4e227e7d421b45507
* Automatic translation importMichael Bestas2015-10-0243-49/+0
| | | | Change-Id: Ib9d1ead1ee52772acd34baed9773c0d03276ead3
* trebuchet: protect against npeJorge Ruesga2015-10-011-1/+1
| | | | | Change-Id: I14427057c4caf6e9d645944a4b1039343767d4d6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* fix NPE when dragging icon to desktop, when QuickSearchBox is missingDavid Čížek2015-10-011-2/+4
| | | | Change-Id: I82003c814a0f685d3d7781c79b6725cb49ec6530
* Trebuchet: Use hardware layer for fading app drawerLinus Lee2015-10-011-0/+26
| | | | | | | | * Apparently this isn't a hardware layer by default, so performance can be really bad on certain devices. REF: CYNGNOS-1169 Change-Id: I0acc9d4f9bfb5defba902edefced08e035377f28
* Trebuchet : Ensure search bar doesn't show in hiddenDanesh M2015-09-303-8/+16
| | | | | | | | If the user is in the app drawer, or settings panel mode, a broadcast could cause a new search target bar to be added which would reset visibility. Ensure visibility is restored. Change-Id: I9eba1eb6ac36bc9873deab1b81e1bb00ee8d4999
* App Drawer: fix insets on paddingTopRaj Yengisetty2015-09-301-2/+6
| | | | | | | | | Repro: - Use vertical app drawer - Hold scrubber and move to the top of the app list - Observe: white space above the first element in the list view Change-Id: If14b1e9668c88a42e1069e8096ddc04861397d07
* Trebuchet : Update grid + cancel drag on searchablesChangedDanesh M2015-09-301-1/+4
| | | | Change-Id: Iaceebeebc03ab6e0dbd0fcac3a7e5e2265319c0c
* Trebuchet : Update default workspace for cyngn dialerDanesh M2015-09-293-0/+9
| | | | Change-Id: Ifdc122e999b1995f4e974e575f3c86dff808a693
* Trebuchet : Fix drawer inset & search visibilityDanesh M2015-09-292-1/+2
| | | | | | | | | | - If we receive INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED/INTENT_ACTION_SEARCHABLES_CHANGED we call bindSearchablesChanged which re-adds a search bar and doesn't restore visibility. This patch ensures we don't show the search bar when its not suppose to. - Don't increment margins, since there is no guarantee that the method is only invoked once. Change-Id: I4054a2aaba50a3692c6059afe8efe9796fcd68f4
* Trebuchet: fix NPE when QuickSearchBox is missingmartincz2015-09-291-5/+7
| | | | Change-Id: I8eb1e02907d1e7f56d43dbff3b2fed1e0846d990
* Trebuchet : Fix insets for panelsstaging/catchupDanesh M2015-09-2811-18/+152
| | | | Change-Id: I001a3c87ef2226f6a241b9538c0157b310961978
* Import translations. DO NOT MERGEGeoff Mendal2015-09-281-1/+1
| | | | | Change-Id: Ibdacd9febbe2e1d8a282af7a856d27fbffb1014c Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-09-2822-9/+623
| | | | | Change-Id: I2287d714cc1f58f409083c256fa4431dc1e4a918 Auto-generated-cl: translation import
* Fix Android.mk.Ying Wang2015-09-281-3/+2
| | | | | | | | | | | | | - You don't need to explicitly specify protobuf library; The library name has been changed and the build system automatically adds it. - You can't have a file target $(LOCAL_BUILT_MODULE) depend on phony target launcher_protoutil_lib. - "include $(call all-makefiles-under,$(LOCAL_PATH))" must be on the last line. (cherry picked from commit 3d74c6632ed6ab23db0cde80bc8a61daecfd49ef) Change-Id: I27d967a57d6a9373da50821af32191614a3c8bc7
* Update protobuf library from 2.3 to 2.6.Jeff Davidson2015-09-281-1/+0
| | | | | | | | The dependency here can be removed because it it automatically added when LOCAL_PROTOC_OPTIMIZE_TYPE=nano by build/core/host_java_library_common.mk. Change-Id: I949d32fb5126f1c05e2a6ed48f6636a4a9b15a48
* Move from host-libprotobuf-java-2.3.0-nano to current versionBrian Carlstrom2015-09-281-1/+1
| | | | Change-Id: I87e768fc95738358eddcca9b524d7546ed632e4b
* fix buildNick Kralevich2015-09-281-1/+1
| | | | | Bug: 18040469 Change-Id: I2938c7b950470eeacfb20391f109ae44d95060c7
* Import translations. DO NOT MERGEGeoff Mendal2015-09-283-7/+7
| | | | | Change-Id: I5afb7119527734723b3bd4e35e66844b62f74d95 Auto-generated-cl: translation import
* Avoid db exception on L and aboveAdam Cohen2015-09-281-4/+2
| | | | | | Bug 18554839 Change-Id: I43f391b7cc376f697ce7b5b363e8be3aa85814b5
* Import translations. DO NOT MERGEGeoff Mendal2015-09-285-9/+9
| | | | | Change-Id: If32589149a2b776b668510662360e04aa66ade88 Auto-generated-cl: translation import
* Fixing wrong package check when adding shortcutsSunny Goyal2015-09-281-1/+1
| | | | | Bug: 18571789,18535867 Change-Id: I2544fa634879846d812b00f8649520400f66d29e
* Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is ↵Adam Cohen2015-09-281-3/+5
| | | | | | | | complete Bug: 18567716 Change-Id: I656e869b8553d650916c2abe6dc83282c8b6fd65
* Ignoring specific db exception to workaround Bug. 18554839.Winson Chung2015-09-281-8/+20
| | | | Change-Id: I80f2dd62297eea671f2d129ae22263e72e506ae4
* Don't try to create an app state instance during restore.Chris Wren2015-09-282-15/+15
| | | | | | | Added a static utility function to get the DeviceProfile instead. Bug: 18504164 Change-Id: Ia510a84f1c195e58acf3bf4d1f6a42c739fdd413