OSDN Git Service

android-x86/packages-apps-Trebuchet.git
8 years agoTrebuchet: send metrics directly when possible
Roman Birg [Fri, 22 Apr 2016 18:59:14 +0000 (11:59 -0700)]
Trebuchet: send metrics directly when possible

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>
8 years agoTrebuchet: Don't create shadow on 0 width/height icon
cretin45 [Thu, 28 Apr 2016 20:11:19 +0000 (13:11 -0700)]
Trebuchet: Don't create shadow on 0 width/height icon

Issue-id: CYNGNOS-2646

Change-Id: Iccadeaf28ec5e36b1c5a2f7ce714aa31d4439167

8 years agoTrebuchet : Update default workspace for dialer
Richard MacGregor [Mon, 18 Apr 2016 21:23:42 +0000 (14:23 -0700)]
Trebuchet : Update default workspace for dialer

Ticket CD-544

Change-Id: I47602367254732390ff73ae4676e569b7f27b819

8 years agoTrebuchet: sign when not building with test keys
Roman Birg [Wed, 13 Apr 2016 18:20:52 +0000 (11:20 -0700)]
Trebuchet: sign when not building with test keys

Ticket: CYNGNOS-2339
Change-Id: I1b05cda4757152d3851d917b4c9888b00203256b
Signed-off-by: Roman Birg <roman@cyngn.com>
8 years agoAutomatic translation import
Michael Bestas [Sat, 16 Apr 2016 14:48:39 +0000 (17:48 +0300)]
Automatic translation import

Change-Id: I2e0792868eb45ea6df3b68f05cfdee577b37d7eb

8 years agoTrebuchet: Always cancel any pending dim animations
cretin45 [Thu, 14 Apr 2016 20:21:44 +0000 (13:21 -0700)]
Trebuchet: Always cancel any pending dim animations

Issue-id: CYNGNOS-2470

Change-Id: Id66a6acfa65af63a0c44b73b56769c566b09961c

8 years agoavoid NPE
Marcos Marado [Thu, 14 Apr 2016 14:41:42 +0000 (15:41 +0100)]
avoid NPE

Change-Id: I8a2d74c8c305112fcbb76d56b126d15a6015de8b

8 years agoTrebuchet: Don't crash when AppWidgetService is unavailable
cretin45 [Wed, 13 Apr 2016 21:52:04 +0000 (14:52 -0700)]
Trebuchet: Don't crash when AppWidgetService is unavailable

Issue-id: CYNGNOS-2437

Change-Id: Ie83f26482539a821f498e07bec6d955c849b02c7

8 years agoTrebuchet: add gello to hotseat
jrizzoli [Sun, 13 Mar 2016 14:51:01 +0000 (15:51 +0100)]
Trebuchet: add gello to hotseat

Also migrate shortcuts from aosp browser to gello and vice versa

Change-Id: I713539365b16dfc9f2ee37a7917d49f245fd5df0
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
8 years agoAutomatic translation import
Michael Bestas [Tue, 5 Apr 2016 22:19:36 +0000 (01:19 +0300)]
Automatic translation import

Change-Id: I8625d748fc555085c11ecf48ac07b317c3e54c38

8 years agoAutomatic translation import
Michael Bestas [Sun, 27 Mar 2016 21:47:05 +0000 (00:47 +0300)]
Automatic translation import

Change-Id: I3c1fc9541cddb25aea2812aaf8ed0b3f8f17ca11

8 years agoIgnore tap below scrubber in the app container padding area
Kamaljeet Maini [Fri, 18 Mar 2016 00:25:48 +0000 (17:25 -0700)]
Ignore tap below scrubber in the app container padding area

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

8 years agoTrebuchet: Fix NPE while binding unavailable items
cretin45 [Thu, 24 Mar 2016 18:37:44 +0000 (11:37 -0700)]
Trebuchet: Fix NPE while binding unavailable items

Issue-id: CYNGNOS-2282

Change-Id: I6895c3c043a2b8a9506f3dc2f8a357942d8f35c4

8 years agoFix metric reporting for remote folder
Artem Shvadskiy [Thu, 17 Mar 2016 22:11:55 +0000 (15:11 -0700)]
Fix metric reporting for remote folder

Change-Id: I07ff54f2bd2c615ffb8625b4016704468bfb006f
issue-id: CYNGNOS-2251

8 years agoAutomatic translation import
Michael Bestas [Thu, 17 Mar 2016 20:01:10 +0000 (22:01 +0200)]
Automatic translation import

Change-Id: Ic450029d8807acf69f4ed04201c75f1ab7b9ad02

8 years agoTrebuchet: Fix some issues with the DB upgrade path
cretin45 [Tue, 15 Mar 2016 23:07:53 +0000 (16:07 -0700)]
Trebuchet: Fix some issues with the DB upgrade path

Issue-id: CYNGNOS-2249

Change-Id: If124a9ac51c665c869cf5a745390374658b87156

8 years agoShow apps as unavailable when on unmounted storage
d34d [Fri, 17 Jul 2015 17:06:20 +0000 (10:06 -0700)]
Show apps as unavailable when on unmounted storage

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

8 years agoMerge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages...
Steve Kondik [Sun, 13 Mar 2016 12:46:43 +0000 (05:46 -0700)]
Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD

Android 6.0.1 release 22

8 years agoTrebuchet: Guard against NPE while querying for widget updates
cretin45 [Tue, 8 Mar 2016 23:47:45 +0000 (15:47 -0800)]
Trebuchet: Guard against NPE while querying for widget updates

Issue-id: CYNGNOS-1867

Change-Id: I43db0096da5f35bd2810f8793d8281607afea1ff

8 years agoTrebuchet: Highlight section being touched even when not scrolling scrubber
cretin45 [Tue, 8 Mar 2016 20:18:15 +0000 (12:18 -0800)]
Trebuchet: Highlight section being touched even when not scrolling scrubber

Issue-id: CYNGNOS-1882

Change-Id: Ief8b6593528c1a04a95ffaeea44c379659427fd8

8 years agoAutomatic translation import
Michael Bestas [Fri, 4 Mar 2016 22:19:28 +0000 (00:19 +0200)]
Automatic translation import

Change-Id: I98daa98338bc850ab4a6a88b2250f5a546f2d769

8 years agoTrebuchet: Handle random crash during theme change / user switch
cretin45 [Mon, 29 Feb 2016 22:05:59 +0000 (14:05 -0800)]
Trebuchet: Handle random crash during theme change / user switch

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

8 years agoTrebuchet: Scale icons in portrait if using condensed grid
cretin45 [Mon, 29 Feb 2016 19:23:05 +0000 (11:23 -0800)]
Trebuchet: Scale icons in portrait if using condensed grid

Issue-id: CYNGNOS-1993

Change-Id: I4b74402ebf61a7faed28a74683d87592121bb090

8 years agoTrebuchet: re-enable rotation by default on tablets
Andreas Blaesius [Tue, 23 Feb 2016 20:18:10 +0000 (21:18 +0100)]
Trebuchet: re-enable rotation by default on tablets

allow rotation pref got moved to overlay panel on commit 72f2ccb08f297836d18b61d5d80de9fcd7a69042
but it wasn't moved on sw600dp overlay.

Change-Id: Idbdef7804d50d4144d0a1fb5e6ea7dd6c7f5f257

8 years agoTrebuchet: Featured Apps uses themed composed icons and responds to theme changes
Tyson Miller [Tue, 16 Feb 2016 23:25:25 +0000 (15:25 -0800)]
Trebuchet: Featured Apps uses themed composed icons and responds to theme changes

Issue-Id: CYNGNOS-1789
Change-Id: I1e94b7688c4069932a36319bc6c216839056280e

8 years agoAutomatic translation import
Michael Bestas [Mon, 22 Feb 2016 03:14:51 +0000 (05:14 +0200)]
Automatic translation import

Change-Id: Ie8f4666d774cb1b8cbe149d38adad58db1c345ea

8 years agoTrebuchet: Don't do reveal animation from apps/widgets to overview
cretin45 [Wed, 17 Feb 2016 20:48:40 +0000 (12:48 -0800)]
Trebuchet: Don't do reveal animation from apps/widgets to overview

Issued-id: OPO-423

Change-Id: I218605be2215d5f6f8a2b2b8b786e0fdddb00643

8 years agoTrebuchet: always set initial wallpaper offsets
Roman Birg [Tue, 8 Jul 2014 00:03:40 +0000 (17:03 -0700)]
Trebuchet: always set initial wallpaper offsets

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

8 years agoAdd remote folder hook for view setup.
Artem Shvadskiy [Mon, 15 Feb 2016 23:32:54 +0000 (15:32 -0800)]
Add remote folder hook for view setup.

Change-Id: Iffeb93e9344ce17f3aa2fbdc855f59c6f3a3b235
issue-id: CYNGNOS-2025

8 years agoTrebuchet: Don't animate folder if locked state changed
cretin45 [Mon, 15 Feb 2016 19:47:25 +0000 (11:47 -0800)]
Trebuchet: Don't animate folder if locked state changed

Issue-id: CYNGNOS-2046

Change-Id: If6488d018b83b8e20874dbe0d32479f19ceac4cc

8 years agoTrebuchet: Fix measuring error when reloading app drawer
cretin45 [Mon, 15 Feb 2016 17:20:04 +0000 (09:20 -0800)]
Trebuchet: Fix measuring error when reloading app drawer

Issue-id: CYNGNOS-1883

Change-Id: I77705be7020120bc58a45f507b288838a5eba2bb

8 years agoAutomatic translation import
Michael Bestas [Sun, 14 Feb 2016 14:26:00 +0000 (16:26 +0200)]
Automatic translation import

Change-Id: I1161ad6d10aa711f757ff9bdc8650bed193be498

8 years agoTrebuchet: Handle the NPE when user has no Google Apps installed
LuK1337 [Wed, 3 Feb 2016 17:46:05 +0000 (18:46 +0100)]
Trebuchet: Handle the NPE when user has no Google Apps installed

Change-Id: Ie04d940d56497fd5e09fd4b1c44682527b20bdc5

8 years agoTrebuchet: Lock orientation while in grid size fragment
cretin45 [Thu, 11 Feb 2016 23:20:07 +0000 (15:20 -0800)]
Trebuchet: Lock orientation while in grid size fragment

Issue-id: CYNGNOS-2013

Change-Id: I14a8dfd98acd615c7ffd4b311027f5c46072cea8

8 years agoRefactor Launcher settings.
Artem Shvadskiy [Thu, 11 Feb 2016 21:44:10 +0000 (13:44 -0800)]
Refactor Launcher settings.

Change-Id: If5dcaaa9f4dad1a3eb151627622357331e8ad4da
issue-id: CYNGNOS-1987

8 years agoTrebuchet: Open settings panel when clicking settings
cretin45 [Thu, 11 Feb 2016 18:11:22 +0000 (10:11 -0800)]
Trebuchet: Open settings panel when clicking settings

Issue-id: CYNGNOS-2002

Change-Id: I4fc2ffd17febc8f1e5fa804e6a26feaa51a29c4b

8 years agoTrebuchet: Move allow rotation to home settings section
cretin45 [Wed, 10 Feb 2016 22:47:46 +0000 (14:47 -0800)]
Trebuchet: Move allow rotation to home settings section

Issue-id: CYNGNOS-1929

Change-Id: Ib1e615ccbce7991a31e15a967c942994fc3c01c2

8 years agoSplit remote folder settings into home and drawer sections
Artem Shvadskiy [Wed, 10 Feb 2016 22:27:25 +0000 (14:27 -0800)]
Split remote folder settings into home and drawer sections

Change-Id: I0265ac00b4926007de3bda7619c0b1dbedb7580b
issue-id: CYNGNOS-1984

8 years agoTrebuchet: Change icon labels setting to switch
cretin45 [Wed, 10 Feb 2016 21:54:58 +0000 (13:54 -0800)]
Trebuchet: Change icon labels setting to switch

Issue-id: CYNGNOS-1900

Change-Id: Ife68fe84867be631c59cc1de7c44205817e07130

8 years agoTrebuchet: Revise protected app folders UI
cretin45 [Tue, 9 Feb 2016 00:11:19 +0000 (16:11 -0800)]
Trebuchet: Revise protected app folders UI

Issue-id: CYNGNOS-1881

Change-Id: I5cbc5d9fe9358fdf2708376bfe5d7bf2108a0897

8 years agoPrevent finalizing of remote folder
Artem Shvadskiy [Tue, 9 Feb 2016 21:27:40 +0000 (13:27 -0800)]
Prevent finalizing of remote folder

Change-Id: I69872c917e710e93db38891817a509c7a3e65e63
issue-id: CYNGNOS-1948
issue-id: CYNGNOS-1951

8 years agoAdd remote folder feedback metric
Artem Shvadskiy [Mon, 8 Feb 2016 21:20:12 +0000 (13:20 -0800)]
Add remote folder feedback metric

Change-Id: I3bd17f882d51c92bd02a237fd27a6a0b1c43873a
issue-id: CYNGNOS-1869

8 years agoAdd network/unlock receivers and additional metric event
Artem Shvadskiy [Fri, 5 Feb 2016 23:54:14 +0000 (15:54 -0800)]
Add network/unlock receivers and additional metric event

Change-Id: Ifc6fa10fac09ab735e77b963d869b87007265fe4
issue-id: CYNGNOS-1788

8 years agoDon't crash if a theme change intent arrives while we're not running.
Danny Baumann [Thu, 4 Feb 2016 11:31:13 +0000 (12:31 +0100)]
Don't crash if a theme change intent arrives while we're not running.

Change-Id: I35aede5599d307674ef7a593adc5ffcf529ed99a

8 years agoUpdate remote folder metrics to include error logs
Artem Shvadskiy [Thu, 4 Feb 2016 20:06:23 +0000 (12:06 -0800)]
Update remote folder metrics to include error logs

Change-Id: I32c0eb2b7c9633297703023f7d6218b7fa84448e
issue-id: CYNGNOS-1525

8 years agoHide remote apps completely if user has certain restrictions
Artem Shvadskiy [Mon, 1 Feb 2016 21:00:42 +0000 (13:00 -0800)]
Hide remote apps completely if user has certain restrictions

Restrictions:
 - User does not have access to install apps.
 - User is in a restricted profile.
 - User does not have Play Store installed.

Change-Id: Ie762e265bd57a924617f53b8fe460a456622b3c9
issue-id: CYNGNOS-1787

8 years agoRefactor fastscroll to disable zoom cleanly
Artem Shvadskiy [Thu, 4 Feb 2016 19:14:10 +0000 (11:14 -0800)]
Refactor fastscroll to disable zoom cleanly

Change-Id: I3912986aae78bd5a3244410e4486a52a50834867
issue-id: OPO-424

8 years agoTrebuchet: Don't zoom icons on fast scroll
cretin45 [Thu, 4 Feb 2016 18:44:37 +0000 (10:44 -0800)]
Trebuchet: Don't zoom icons on fast scroll

Issue-id: OPO-424

Change-Id: I2da15761896e5cdaa2cd622086206dbbb9c88bee

8 years agoTrebuchet: Don't animate folder closed when pressing menu key
cretin45 [Thu, 4 Feb 2016 00:30:15 +0000 (16:30 -0800)]
Trebuchet: Don't animate folder closed when pressing menu key

* Also don't animate with Y translation if animation boolean is false.

Issue-id: OPO-434

Change-Id: I4d2e68d967eca87c3e3d27e4ea22d4126ef3c998

8 years agoTrebuchet: Fix background flicker when opening all apps
cretin45 [Wed, 3 Feb 2016 23:16:52 +0000 (15:16 -0800)]
Trebuchet: Fix background flicker when opening all apps

Issue-id: OPO-422

Change-Id: I96136f61fe3b2263f77d162952cf189927334b8b

8 years agoTrebuchet: Fix adapter derp on grid size item
cretin45 [Wed, 3 Feb 2016 20:50:45 +0000 (12:50 -0800)]
Trebuchet: Fix adapter derp on grid size item

Issue-id: OPO-421

Change-Id: Ia3bd18b38918e35fe8721399c9a32620c2b184b7

8 years agoTrebuchet: Use DisplayMetrics density for scale factor
cretin45 [Wed, 3 Feb 2016 19:22:16 +0000 (11:22 -0800)]
Trebuchet: Use DisplayMetrics density for scale factor

Issue-id: CYNGNOS-1856 NIGHTLIES-2153

Change-Id: If0ef17ea6bdb3c0429076fec997e632cbbab1471

8 years agoAutomatic translation import
Michael Bestas [Tue, 2 Feb 2016 05:01:08 +0000 (07:01 +0200)]
Automatic translation import

Change-Id: I9e51955936f1e6a8296388827cf9d4538f1af79a

8 years agoTrebuchet: Close folder layout when adding shortcut
cretin45 [Mon, 1 Feb 2016 21:30:13 +0000 (13:30 -0800)]
Trebuchet: Close folder layout when adding shortcut

Issue-id: CYNGNOS-1801

Change-Id: I6ee9324f650b5896c5097983b32c0e0963c28b42

8 years agoAdd additional setting to launcher options for remote apps in drawer.
Artem Shvadskiy [Fri, 29 Jan 2016 21:21:29 +0000 (13:21 -0800)]
Add additional setting to launcher options for remote apps in drawer.

issue-id: CYNGNOS-1717

Change-Id: Idaf217a78011a08188f438294a27277183bd1ada

8 years agoPort Remote Folder from 12.1 to 13.
Tyson Miller [Tue, 10 Nov 2015 16:59:15 +0000 (08:59 -0800)]
Port Remote Folder from 12.1 to 13.

Change-Id: If8cf9d5f054e8948ead702883b79f28db26c4d8b

8 years agoRevert "fix CTS failure on Trebuchet - manually picked from a269d518db02c8383e3621dff...
Matt Garnes [Thu, 28 Jan 2016 02:06:49 +0000 (18:06 -0800)]
Revert "fix CTS failure on Trebuchet - manually picked from a269d518db02c8383e3621dff9d6054e3e9e48d6"

This reverts commit f15a377ed8914e3dbc47fcc3118f072899277220.

OPO-336
Change-Id: I3dae8f6898c195664eedb3352e0754d4b5f84168

8 years agoTrebuchet: Fix hidden folder name color
Michael Bestas [Tue, 26 Jan 2016 00:04:06 +0000 (02:04 +0200)]
Trebuchet: Fix hidden folder name color

* Use the same colors as the normal folder view

Change-Id: I4b8144710dfb0646617440eea8e7a015f5535da3

8 years agoTrebuchet: Fix hidden folder remove icon color
Michael Bestas [Mon, 25 Jan 2016 20:29:51 +0000 (22:29 +0200)]
Trebuchet: Fix hidden folder remove icon color

Change-Id: I56f50f619547447929d4af06f05d980043c48e13

8 years agoAutomatic translation import
Michael Bestas [Mon, 25 Jan 2016 17:40:03 +0000 (19:40 +0200)]
Automatic translation import

Change-Id: I1c01e941d4f1f79758218ea0dd2e4645bf72c0a7

8 years agofix CTS failure on Trebuchet - manually picked from a269d518db02c8383e3621dff9d6054e3...
Linus Lee [Wed, 20 Jan 2016 00:41:19 +0000 (16:41 -0800)]
fix CTS failure on Trebuchet - manually picked from a269d518db02c8383e3621dff9d6054e3e9e48d6

From: Liu Zongyu <zongyu@codeaurora.org>
Date: Thu, 10 Dec 2015 12:46:33 +0800
Subject: Trebuchet: fix CTS test failed

The searchManager api was changed, we can't get the search info.

Modify the code, we get the component name from packagemanager.

CRs-fixed: 948706
OPO-336

Change-Id: I641ba64036994781bc15e5d6e0955deb9fec13ed

8 years agoThemes: Expose hard coded colors from layouts
Bryan Owens [Sat, 16 Jan 2016 04:24:51 +0000 (22:24 -0600)]
Themes: Expose hard coded colors from layouts

Change-Id: I4913f57fb44f234fd140b9c2e0fe59cba49fe702
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
8 years agoTrebuchet: Don't animate open folder if already open
cretin45 [Mon, 18 Jan 2016 20:07:36 +0000 (12:07 -0800)]
Trebuchet: Don't animate open folder if already open

Issue-id: CYNGNOS-1603

Change-Id: I3d723ca28ea35b06fa45f5c03b8161291e3ec558

8 years agoTrebuchet: Fix landscape spacing issue
cretin45 [Mon, 18 Jan 2016 18:57:55 +0000 (10:57 -0800)]
Trebuchet: Fix landscape spacing issue

Don't keeping adding padding for the qsb on every orientation change.

Issue-id: CYNGNOS-1640

Change-Id: Ibe1c8de8d5af2da1ba5e53648a468785db77a5ba

8 years agoTrebuchet: Fix NPE when app search controller is off
Gabriele M [Fri, 15 Jan 2016 23:10:32 +0000 (00:10 +0100)]
Trebuchet: Fix NPE when app search controller is off

Change-Id: Ia6a9322e0aee3e16d4dd864fbc5a341e3f0501a8

8 years agoTrebuchet: Remove app search controller if turned off
cretin45 [Wed, 13 Jan 2016 22:40:54 +0000 (14:40 -0800)]
Trebuchet: Remove app search controller if turned off

Issue-id: CYNGNOS-1590

Change-Id: I0e5e8eacfc696380947f1667fd5ebd927252e125

8 years agoTrebuchet: Fix some monkey test race condition bugs
cretin45 [Wed, 13 Jan 2016 22:20:31 +0000 (14:20 -0800)]
Trebuchet: Fix some monkey test race condition bugs

Issue-id: CYNGNOS-1587

Change-Id: I45ead8cfbd7fab3a9ae62f878a160a696c411e75

8 years agoTrebuchet: Fix resource not found exception when picking a wallpaper
myfluxi [Tue, 12 Jan 2016 19:28:12 +0000 (20:28 +0100)]
Trebuchet: Fix resource not found exception when picking a wallpaper

Select a picture from Gallery, set as wallpaper, crash.

Change-Id: I4c23b9523d36f51bdd1cff2858f2ece08fd4cc84

8 years agoAutomatic translation import
Michael Bestas [Mon, 11 Jan 2016 20:43:52 +0000 (22:43 +0200)]
Automatic translation import

Change-Id: If12c695534c10e9ea3ca2b92ab345dfc57956ecf

8 years agoPrevent possible NPE during monkey test
Martin Brabham [Thu, 7 Jan 2016 17:43:21 +0000 (09:43 -0800)]
Prevent possible NPE during monkey test

Change-Id: If12f50a843540ed07cfff96af17caf9f181945f4
Ticket-Id: OPO-296

8 years agoTrebuchet: Don't crash on widget clicks
cretin45 [Fri, 8 Jan 2016 20:18:29 +0000 (12:18 -0800)]
Trebuchet: Don't crash on widget clicks

Issue-id: NIGHTLIES-2266

Change-Id: I804614c4d4636f58374c8f5d3e6252fbcd40ae29

8 years agoTrebuchet: Add Snap to hotseat
Michael Bestas [Fri, 4 Sep 2015 21:09:52 +0000 (00:09 +0300)]
Trebuchet: Add Snap to hotseat

* Also migrate from Camera2 shortcuts, allowing to toggle
  easily between the two apps

Change-Id: I98bf454d97d9afc0b9720cc7a36f7a3c7bab2c61

8 years agoTrebuchet: Ensure workspace is invisibile while in all apps view
cretin45 [Thu, 7 Jan 2016 23:07:49 +0000 (15:07 -0800)]
Trebuchet: Ensure workspace is invisibile while in all apps view

Issue-id: CYNGNOS-1544

Change-Id: Ia46172d8b5c113647e996d8bd1e9a05d1201754a

8 years agoTrebuchet: Make sure overview arrows point up when collapsed
cretin45 [Wed, 6 Jan 2016 20:47:22 +0000 (12:47 -0800)]
Trebuchet: Make sure overview arrows point up when collapsed

Change-Id: If72134daeb7424b3474eb59bf4773c9a2c0d4819

8 years agoTrebuchet: Ensure sections list isn't null
cretin45 [Wed, 6 Jan 2016 18:58:34 +0000 (10:58 -0800)]
Trebuchet: Ensure sections list isn't null

Issue-id: CYNGNOS-1530

Change-Id: I371effbecf6205579a8dc5854a9e6d49e46783cc

8 years agoTrebuchet: Move allow rotation pref to overlay panel
cretin45 [Tue, 5 Jan 2016 20:00:09 +0000 (12:00 -0800)]
Trebuchet: Move allow rotation pref to overlay panel

Change-Id: I83feccbf5aac5de53ca578c4d62a25561d72b3ee

8 years agoTrebuchet Statistics:
Martin Brabham [Thu, 7 May 2015 17:53:31 +0000 (10:53 -0700)]
Trebuchet Statistics:
 - Add plumbing for sending events.
 - Add aggregation service that runs on some interval
 - Hook send events into respective UX interactions

Change-Id: I77ba0ab75daf845621d800e0adf3e658096926af

Trebuchet: send metrics values as strings

- Also refer to the declared intent

Change-Id: I3c99cc071aa2f4241ea8d3e6d2e8683f1f748e7d
Signed-off-by: Roman Birg <roman@cyngn.com>
Stop unnecessary exception posting to logcat.

Change-Id: I4f741246dc2ee77b24c3bb94075e12535fcd7ead

8 years agoTrebuchet: Fix page indicator bottom padding on setting change
cretin45 [Mon, 4 Jan 2016 20:48:59 +0000 (12:48 -0800)]
Trebuchet: Fix page indicator bottom padding on setting change

Issue-id: CYNGNOS-1423

Change-Id: I1e5f21a215d9a8ba1679a1c700dd326ffc1441ac

8 years agoEnsure we don't go over the icon size limitation
Martin Brabham [Mon, 4 Jan 2016 21:53:43 +0000 (13:53 -0800)]
Ensure we don't go over the icon size limitation

Change-Id: Id6209acc0c18b27d0a2826acdc1c7a83efb744ad
Ticket-Id: CYNGNOS-1427

8 years agoAutomatic translation import
Michael Bestas [Fri, 25 Dec 2015 17:37:09 +0000 (19:37 +0200)]
Automatic translation import

Change-Id: Ibac4507bf89c08b063c493af72f60607e774fd51

8 years agoTrebuchet: Don't resize BubbleTextView based on all apps pref
cretin45 [Tue, 22 Dec 2015 23:08:21 +0000 (15:08 -0800)]
Trebuchet: Don't resize BubbleTextView based on all apps pref

Issue-id: CYNGNOS-1427

Change-Id: I3bb5107fa24b85e5713d7f6403a332246609804b

8 years agoTrebuchet: Adjust device profiles and add one for bacon
cretin45 [Tue, 22 Dec 2015 23:04:28 +0000 (15:04 -0800)]
Trebuchet: Adjust device profiles and add one for bacon

Change-Id: Ib96af9891f08506e3f83e1fd21835665ae4be6c2

8 years agoTrebuchet: Add migration for new messaging app
cretin45 [Tue, 22 Dec 2015 21:58:09 +0000 (13:58 -0800)]
Trebuchet: Add migration for new messaging app

Issue-id: CYNGNOS-1422

Change-Id: Iaf64cdba4333703a73c72997c1ddc353ecdcd24b

8 years agoTrebuchet: Auto collapse settings panel
cretin45 [Tue, 22 Dec 2015 00:33:09 +0000 (16:33 -0800)]
Trebuchet: Auto collapse settings panel

Issue-id: CYNGNOS-1425

Change-Id: I26896332431eb42dc4727a4f2bb9c4c0a3cfbcc5

8 years agoTrebuchet: Fix some icon size and flush cache issues
cretin45 [Fri, 18 Dec 2015 22:54:09 +0000 (14:54 -0800)]
Trebuchet: Fix some icon size and flush cache issues

Change-Id: I6aa4bc09fd888559d3a1795f4f0968f9b89534d9

8 years agoTrebuchet: Fix hidden folder list text color
cretin45 [Fri, 18 Dec 2015 21:30:40 +0000 (13:30 -0800)]
Trebuchet: Fix hidden folder list text color

Issue-id: CYNGNOS-1464

Change-Id: I4bedab037c2e3adf4169152c53ce0beabcd0e255

8 years agoTrebuchet: Ignore mnc/mcc config changes
cretin45 [Thu, 17 Dec 2015 23:51:37 +0000 (15:51 -0800)]
Trebuchet: Ignore mnc/mcc config changes

issue-id: CYNGNOS-1417

Change-Id: Iac3eba6e6f9dc0bd2e60462bbe931233fff3e7b6
(cherry picked from commit d11a4f0aa1fccbae88efb3cde7d7a8ac8b806b7c)

8 years agoTrebuchet: Exclude from recents
cretin45 [Fri, 18 Dec 2015 19:24:29 +0000 (11:24 -0800)]
Trebuchet: Exclude from recents

Issue-id: CYNGNOS-1449

Change-Id: Iccbd953241886dbbda01e38225123dfd1761accc

8 years agoTrebuchet: Add ability to disable the scroller completely
Martin Herndl [Thu, 17 Dec 2015 16:08:27 +0000 (17:08 +0100)]
Trebuchet: Add ability to disable the scroller completely

This change adds another toggle to the drawer settings which disables
the app drawer scroller completely. There is already a setting which
toggles between horizontal and vertical scroller, but I like my
drawer if it's even cleaner and uses no scroller at all.

Change-Id: Iad3efdafee264852f52e728341fd86d60452b05b

8 years agoHandle theme changes
Clark Scheff [Tue, 10 Jun 2014 22:01:34 +0000 (15:01 -0700)]
Handle theme changes

issue-id: CYNGNOS-1434 NIGHTLIES-2149

Change-Id: I85208f3d6b572fb7a161db79cd3b74c1102dbba2
(cherry picked from commit 50f78e36b079bbe14bcb50064d28940358d42544)

8 years agoAdd app drawer search bar toggle to settings
Martin Herndl [Wed, 16 Dec 2015 14:37:11 +0000 (15:37 +0100)]
Add app drawer search bar toggle to settings

This adds the possibility to enable or disable the search bar on top
of the app drawer. In the Launcher class it will be created with the
View.GONE visibility to avoid taking up space if disabled. Per
default it behaves like before and is enabled.

PS3: Make sure the hasSearchBar boolean is set.

Change-Id: I48711aea2b15bf535815d0e453ac33079af26eca

8 years agoFix: Restore workspace gradients when returning from Widget drop
Raj Yengisetty [Fri, 21 Nov 2014 19:17:20 +0000 (11:17 -0800)]
Fix: Restore workspace gradients when returning from Widget drop

Change-Id: I08927ea359460f60cebe1b942273a24eea8f86d5

8 years agoFix: Workspace background gradient
Raj Yengisetty [Thu, 28 Aug 2014 00:18:26 +0000 (17:18 -0700)]
Fix: Workspace background gradient

Repro:
 - Open App Drawer
 - Launcher any app
 - Press back (User should be returned to the App Drawer)
 - Press back again (User should be returned to the Home Screen)
 - Note gradient near status bar (Home Screen gradient is missing!)
 - Press home
 - Note Home Screen gradient reappears

Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731

8 years agoTrebuchet: Add scrubber to widget view
cretin45 [Thu, 10 Dec 2015 23:39:19 +0000 (15:39 -0800)]
Trebuchet: Add scrubber to widget view

Change-Id: I68711e95ed31a962b47e995e979e32de37570b44

8 years agoReimplement CM Settings Overview Panel Part 5
Yvonne Wong [Wed, 9 Dec 2015 00:54:40 +0000 (16:54 -0800)]
Reimplement CM Settings Overview Panel Part 5

- Enable default screen button
- Make UI changes to settings panel
- Add a broadcast receiver for hide/unhide search bar setting

Change-Id: I849dd412231795b894e7af7ee575e60feb618c70

8 years agoTrebuchet: Add DB migration
cretin45 [Tue, 8 Dec 2015 19:03:27 +0000 (11:03 -0800)]
Trebuchet: Add DB migration

Change-Id: Ic470848380ede33ba52e71d453d5328a23160b48

8 years agoReimplement CM Settings Overview Panel Part 4
Yvonne Wong [Tue, 8 Dec 2015 01:41:38 +0000 (17:41 -0800)]
Reimplement CM Settings Overview Panel Part 4

- Enable protected apps and update workspace/app drawer/widgets view when protected apps change
- Change reload launcher to happen after each setting toggle to reduce UI lag

Change-Id: I0a4a4a077c3cb94eaccfb4e8c4213135cb99d57e

8 years agoTrebuchet: Fix landscape NPE
cretin45 [Mon, 7 Dec 2015 23:13:11 +0000 (15:13 -0800)]
Trebuchet: Fix landscape NPE

Change-Id: Ice27a7d88398bbffe99c9689feafd6c4aa4e0191

8 years agoTrebuchet: Add app drawer settings
cretin45 [Tue, 1 Dec 2015 00:38:47 +0000 (16:38 -0800)]
Trebuchet: Add app drawer settings

Change-Id: I040420608de64bedc6e9832268796cdf801f5c21

8 years agoReimplement CM Settings Overview Panel Part 3
Yvonne Wong [Wed, 2 Dec 2015 01:04:07 +0000 (17:04 -0800)]
Reimplement CM Settings Overview Panel Part 3
- Enable dynamic grid resizing

Change-Id: I95a7f20da48e037a94ce5b6191c5597490d91d9d