summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* IconCache: Simplify application of custom titles from STKMarcos Marado2016-10-041-12/+8
| | | | | | | | | | | | | Instead of trying to deal with multiple icon-cache conditions, just apply the custom title to the entry right before using it. This deals with hot-swap, card exchange, and similar weird issues that were hitting stale cache entries, and is less aggressive than outright flushing the cache with every STK refresh. Issue: FEIJAO-815 Change-Id: Iacd7da820f0404b4dc12394d9c9a571bdceadeb0
* Trebuchet: fix potential NPE when info is nullemancebo2016-09-131-8/+11
| | | | | | | | | 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 Issue: FEIJAO-815 Change-Id: I74e95f81b64361c1bb56307c0cc621f24e701648
* Trebuchet: STK app rename customization for latam region.Pragnya Paramita2016-09-132-2/+54
| | | | | | | | | | | 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 Issue: FEIJAO-815
* Trebuchet hook to export workspace - hidden behind *#*#INFO#*#* wallAbhishek G2016-07-073-3/+171
| | | | | | | | | | Adding trebuchet capability to export out Trebuchet launcher layout for offline processing. This option is not visible to the user unless the user enables Trebuchet hidden menu via the *#*#INFO#*#* dialer menu. This feature simplifies the process around ingesting OOBE launcher layout requirements. Change-Id: Iff7b8c89e782b01f73b53e91df2af9251ed7bbd8
* Bring back the custom wallpaper picker [2/5]d34d2016-06-191-1/+1
| | | | | Change-Id: Iffd0911c0e37a3c27d598f22288b68a682b40154 TICKET: OSS-62
* Trebuchet: Never show page indicator in app drawerScott Mertz2016-06-061-0/+2
| | | | | | | | | | | When rotation is enabled and we rotate the app launcher, we attempt to update the indicator alpha state before the view is attached. This results in the alpha state not applying to the indicator. Instead, always set the view to INVISIBLE when the app drawer is showing and the workspace is attached. FEIJ-998 Change-Id: Ia2691a12c2cc79ea76a7e91d7d13e94b97df09b5
* Wallpaper: Allow multiple partners to be loadedd34d2016-05-272-6/+45
| | | | | | | | | 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
* Move icons to fit within Dynamic grid upon resize.cretin452016-05-202-8/+49
| | | | | | | | | Missed part of this patch during forward port: https://github.com/CyanogenMod/android_packages_apps_Trebuchet/commit/e25ab7bd9525d7a2c67eb8a6d8e88d54940dba58 Issue-id: CYNGNOS-2908 Change-Id: I49fb4e4a1b86d41be263d4f9b84020450f54d3f9
* Trebuchet: Fix possible OOBMichael W2016-05-181-5/+8
| | | | | | | | | In some cases mText is empty and Substring will then throw an OOB Add logic to fix this (Reference: BugReports 13-20160506-12, Line #157) Change-Id: I2b32b0a56a93977d34b780afb9b3047e9fa566b0
* Trebuchet: Rebind QSB in finishBindingItemscretin452016-05-151-0/+1
| | | | | | | | | Sometimes the GMS QSB doesn't bind properly. Especially after going through OOBE without network. Issue-id: CYNGNOS-2833 Change-Id: Ib64fee898b6f55d14f35fe7efc5c36b090422d36
* Check for null provider info when removing widgetSkrilax_CZ2016-05-111-2/+4
| | | | | | | | | | When doing clean installation and restoring backup, any stubs for the widget on the homescreen for apps are not present (downloading them doesn't help) appear to have null provider info. Add a check for that in removeAppWidget to prevent crashing. Change-Id: I207b6a9ba534f572e1937a7b2a0cdc4eb90aff37
* Trebuchet: Make workspace layout configurable by prebundled mcccretin452016-05-111-1/+48
| | | | | | | | Ported patch: http://review.cyanogenmod.org/#/c/111725/ Issue-id: PAELLA-236 Change-Id: I1d02cfc4f1e7e7fc5b1aaf326072b0ffe8966c05
* Put apps with uncomputable section names in special bucketArtem Shvadskiy2016-05-101-14/+20
| | | | | Change-Id: I8ec0a2a9a46c3f45f2c52ac6a4d4d812881c52b7 issue-id: CYNGNOS-2683
* Trebuchet: Index folder contents screen and cells on first loadcretin452016-05-103-31/+72
| | | | | | Issue-id: CYNGNOS-2755 Change-Id: I260d1b098e7759a0134bc40f892b8783452c9528
* Prevent widget previews from showing empty images.Artem Shvadskiy2016-05-033-80/+166
| | | | | | | | | | | | | | | | | | | | When scrolling through the widget drawer, we submit multiple AsyncTasks to load and display preview images. On certain devices, attempting to load these images from AppWidgetManagerCompat (when we are generating previews for the first time) on a multi-threaded executor can cause us to receive empty images. To avoid this, we allow preview loading from the cache on a multi-threaded executor, but defer preview generation to a single-threaded executor. Additionally, the read and write db methods were not using the same ComponentName output (flattenToString vs flattenToSimpleString), which was resulting in consistent cache misses that forced unnecessary preview regeneration. This has been unified so we properly load from the cache. Change-Id: I3a90cf88fed531713e5d2df876f4ede822f7d569 issue-id: FEIJ-346
* Trebuchet: send metrics directly when possibleRoman Birg2016-05-032-44/+36
| | | | | | | | | | | | Use the SDK directly instead of relying on an external package. Still relies on C-Apps Core to send. Reverts the revert and fixes the issue (missing aapt flag overlay) This reverts commit d20f7796e45dcae0e619d3bb76a3a89674705702. Ticket: CYNGNOS-2545 Change-Id: I9445cadc429c3158cabb6a7d07e016f6fe3dac19
* Use bitmap filtering for shrinking app iconsArtem Shvadskiy2016-05-021-1/+1
| | | | | Change-Id: I54d1bff08c947f54ec0d35ec08b557ddd8e31e23 issue-id: CRACKLING-1051
* Prevent crash when exiting grid size fragmentArtem Shvadskiy2016-05-021-2/+4
| | | | | Change-Id: Iea39713b71a8c54bf4bf79f0b1b0c865a7950fa4 issue-id: FEIJ-197
* Revert "Trebuchet: send metrics directly when possible"Roman Birg2016-04-292-36/+44
| | | | | | This reverts commit 097b9503f45ae2a50c501fa95d13776d656621bb. Change-Id: I07e8ee6665b8ed112818a4dc596cf91adf94d6f0
* Trebuchet: send metrics directly when possibleRoman Birg2016-04-292-44/+36
| | | | | | | | | | | Use the SDK directly instead of relying on an external package. Still relies on C-Apps Core to send. Ticket: CYNGNOS-2545 Change-Id: I1af8106917e77b9ba70c57f18f5894087fc2f274 Signed-off-by: Roman Birg <roman@cyngn.com>
* Trebuchet: Don't create shadow on 0 width/height iconcretin452016-04-281-0/+4
| | | | | | Issue-id: CYNGNOS-2646 Change-Id: Iccadeaf28ec5e36b1c5a2f7ce714aa31d4439167
* Trebuchet : Update default workspace for dialerRichard MacGregor2016-04-211-1/+6
| | | | | | Ticket CD-544 Change-Id: I47602367254732390ff73ae4676e569b7f27b819
* Trebuchet: Always cancel any pending dim animationscretin452016-04-141-4/+4
| | | | | | Issue-id: CYNGNOS-2470 Change-Id: Id66a6acfa65af63a0c44b73b56769c566b09961c
* avoid NPEMarcos Marado2016-04-141-16/+22
| | | | Change-Id: I8a2d74c8c305112fcbb76d56b126d15a6015de8b
* Trebuchet: Don't crash when AppWidgetService is unavailablecretin452016-04-132-2/+8
| | | | | | Issue-id: CYNGNOS-2437 Change-Id: Ie83f26482539a821f498e07bec6d955c849b02c7
* Trebuchet: add gello to hotseatjrizzoli2016-04-071-0/+6
| | | | | | | Also migrate shortcuts from aosp browser to gello and vice versa Change-Id: I713539365b16dfc9f2ee37a7917d49f245fd5df0 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Ignore tap below scrubber in the app container padding areaKamaljeet Maini2016-03-251-1/+17
| | | | | | | | | | When user taps on the padding area of all apps container below the scrubber, the tap should be ignored. Before this patch, the tap was sent back to parent view, which led to scrolling of the background wallpaper. Now the tap is ignored. Change-Id: Ic8840c9eafaf254d2bfbffe556f3dc7ab20fdccc Issue-Id: CyanogenOS/CYNGNOS-1933
* Trebuchet: Fix NPE while binding unavailable itemscretin452016-03-241-1/+3
| | | | | | Issue-id: CYNGNOS-2282 Change-Id: I6895c3c043a2b8a9506f3dc2f8a357942d8f35c4
* Fix metric reporting for remote folderArtem Shvadskiy2016-03-212-27/+23
| | | | | Change-Id: I07ff54f2bd2c615ffb8625b4016704468bfb006f issue-id: CYNGNOS-2251
* Trebuchet: Fix some issues with the DB upgrade pathcretin452016-03-151-14/+21
| | | | | | Issue-id: CYNGNOS-2249 Change-Id: If124a9ac51c665c869cf5a745390374658b87156
* Show apps as unavailable when on unmounted storaged34d2016-03-153-8/+192
| | | | | | | | | | | 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. Issue-id: CYNGNOS-1344 Change-Id: I971483806b27e3a75ef0d5bb89d8dfb86f97511e
* Trebuchet: Guard against NPE while querying for widget updatescretin452016-03-081-2/+5
| | | | | | Issue-id: CYNGNOS-1867 Change-Id: I43db0096da5f35bd2810f8793d8281607afea1ff
* Trebuchet: Highlight section being touched even when not scrolling scrubbercretin452016-03-084-3/+39
| | | | | | Issue-id: CYNGNOS-1882 Change-Id: Ief8b6593528c1a04a95ffaeea44c379659427fd8
* Trebuchet: Handle random crash during theme change / user switchcretin452016-02-291-2/+7
| | | | | | | | | | | Sometimes the IconCacheDB fails to open in writable mode during a theme change or user switch. Don't bother updating the icon cache when this happens. It will update later just fine. Issue-id: CYNGNOS-2083 Change-Id: I022ef436ff07880c188642456afad847ad9f41d3
* Trebuchet: Scale icons in portrait if using condensed gridcretin452016-02-291-2/+5
| | | | | | Issue-id: CYNGNOS-1993 Change-Id: I4b74402ebf61a7faed28a74683d87592121bb090
* Trebuchet: Featured Apps uses themed composed icons and responds to theme ↵Tyson Miller2016-02-222-1/+5
| | | | | | | changes Issue-Id: CYNGNOS-1789 Change-Id: I1e94b7688c4069932a36319bc6c216839056280e
* Trebuchet: Don't do reveal animation from apps/widgets to overviewcretin452016-02-171-1/+6
| | | | | | Issued-id: OPO-423 Change-Id: I218605be2215d5f6f8a2b2b8b786e0fdddb00643
* Trebuchet: always set initial wallpaper offsetsRoman Birg2016-02-161-1/+3
| | | | | | | | | After a fresh boot, computeScrollOffset() always returns false. So the result was the offsets were never properly being set on a fresh boot and they were only being applied on first drag of the home screen, which finally triggered computeScrollOffset() to return true. Change-Id: Iccaedd742bed861fca1f50dd54e2e4537fd4c9b0
* Add remote folder hook for view setup.Artem Shvadskiy2016-02-151-0/+2
| | | | | Change-Id: Iffeb93e9344ce17f3aa2fbdc855f59c6f3a3b235 issue-id: CYNGNOS-2025
* Trebuchet: Don't animate folder if locked state changedcretin452016-02-151-2/+6
| | | | | | Issue-id: CYNGNOS-2046 Change-Id: If6488d018b83b8e20874dbe0d32479f19ceac4cc
* Trebuchet: Fix measuring error when reloading app drawercretin452016-02-152-3/+11
| | | | | | Issue-id: CYNGNOS-1883 Change-Id: I77705be7020120bc58a45f507b288838a5eba2bb
* Trebuchet: Handle the NPE when user has no Google Apps installedLuK13372016-02-121-2/+3
| | | | Change-Id: Ie04d940d56497fd5e09fd4b1c44682527b20bdc5
* Trebuchet: Lock orientation while in grid size fragmentcretin452016-02-111-2/+4
| | | | | | Issue-id: CYNGNOS-2013 Change-Id: I14a8dfd98acd615c7ffd4b311027f5c46072cea8
* Refactor Launcher settings.Artem Shvadskiy2016-02-114-104/+63
| | | | | Change-Id: If5dcaaa9f4dad1a3eb151627622357331e8ad4da issue-id: CYNGNOS-1987
* Trebuchet: Open settings panel when clicking settingscretin452016-02-111-21/+16
| | | | | | Issue-id: CYNGNOS-2002 Change-Id: I4fc2ffd17febc8f1e5fa804e6a26feaa51a29c4b
* Trebuchet: Move allow rotation to home settings sectioncretin452016-02-102-14/+14
| | | | | | Issue-id: CYNGNOS-1929 Change-Id: Ib1e615ccbce7991a31e15a967c942994fc3c01c2
* Split remote folder settings into home and drawer sectionsArtem Shvadskiy2016-02-102-26/+35
| | | | | Change-Id: I0265ac00b4926007de3bda7619c0b1dbedb7580b issue-id: CYNGNOS-1984
* Trebuchet: Change icon labels setting to switchcretin452016-02-101-11/+17
| | | | | | Issue-id: CYNGNOS-1900 Change-Id: Ife68fe84867be631c59cc1de7c44205817e07130
* Trebuchet: Revise protected app folders UIcretin452016-02-103-461/+96
| | | | | | Issue-id: CYNGNOS-1881 Change-Id: I5cbc5d9fe9358fdf2708376bfe5d7bf2108a0897
* Prevent finalizing of remote folderArtem Shvadskiy2016-02-092-2/+8
| | | | | | Change-Id: I69872c917e710e93db38891817a509c7a3e65e63 issue-id: CYNGNOS-1948 issue-id: CYNGNOS-1951