| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: I2a8546d17f8446000a75bb568c842dbae74f7e4e
Ticket-Id: HAM-389
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Companion change to If64b278360a0b8433e23e6678f04cdf30fe2cef1
Change-Id: I36c74301c7813e6c118faed9fa5b31a36233db1e
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
QRDL-963
Change-Id: I2e79545c17ad6813f5ca62d50a0c7bb1d42f08ec
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I1f7243063fa0596f5f9cb3b40c4cee63545d04e3
|
|
|
|
| |
Change-Id: I55abe9e6dd58ce422270c640fdd900185422f704
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
Updated the folder layout to reflect design revisions based on community feedback
Change-Id: Ica1bb796dfccf779a954cf0903a1ae94a010ea1a
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I1955f4ea83f260272b29e93bf3346ed642f4ae95
|
|
|
|
|
| |
Change-Id: I3a6d930f25ca4ac1eb8a069c68a2fe9bf2aeb646
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
Repro:
- Open Overview Menu
- Select Scroll Effects
- Click on the overflow menu
- Press home
- Observer popupMenu stays on screen
Change-Id: I64e65d66758957552f2d64b0347a2f82d0818757
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Icbb1cd06d3965a741061554ac641d41d2116c692
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4f741246dc2ee77b24c3bb94075e12535fcd7ead
|
|
|
|
|
|
|
| |
* If getComponent() of the intent is null, an NPE will be thrown
Change-Id: I93e6335d89daa5dc7950ba5ea99a15d4162ce369
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the dynamic grid is made smaller, currently icons will simply be
hidden from view. Instead, create extra screens and squeeze the icons in
so that they will all be visible upon resize.
In some cases, icons can end up creating screens when it's not necessary
we should revisit this at a later time and look into making these icons
show up in a more expected place.
Change-Id: I9a46f1ac45c1a04e252ed8943afcfe952df1392d
|
|
|
|
|
|
|
| |
- Also refer to the declared intent
Change-Id: I3c99cc071aa2f4241ea8d3e6d2e8683f1f748e7d
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I7dc0123300ff2e9aa64713c1091d13ecc93001f3
|
|
|
| |
Change-Id: I0a33bfd3b18fe8b4d2c57e38fe7eb2dc247a9219
|
|
|
|
|
|
|
|
| |
- Add plumbing for sending events.
- Add aggregation service that runs on some interval
- Hook send events into respective UX interactions
Change-Id: I77ba0ab75daf845621d800e0adf3e658096926af
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reproduce
1)In workspace make a folder, click the folder check the hint text of
the rename edittext.
2)Change the system language, then click the folder for rename, in the
second time click the folder the hint text will change to the last
language.
Change-Id: I97d14a15bfa748be900bef193950b85b890efe40
(cherry picked from commit 13d6bcf08e004877bd268a88165d2bc265764366)
|
|
|
|
|
|
|
|
|
|
|
| |
E/AndroidRuntime( 693): FATAL EXCEPTION: main
E/AndroidRuntime( 693): java.lang.NullPointerException: Attempt to invoke
virtual method 'int android.view.View.getMeasuredWidth()'
on a null object reference
E/AndroidRuntime( 693): at com.android.launcher3.PagedView.onTouchEvent
(PagedView.java:1986)
Change-Id: Ica9395a1e2b2d28a1b074b40ff759eab68154ff0
|
|
|
|
|
|
|
|
| |
As of now, when the Trebuchet is started for the first time, the set default
homepage button is not activated on any of the screens.
Activating it for the first time on default home screen makes more sense.
Change-Id: Ia1b7272e177707616902d20ce90ff6ba293576b4
Signed-off-by: Umair Khan <omerjerk@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Repro:
- Have HW nav keys enabled
- Open a folder
- Press the hw menu key
- Observe: folder that was previously open cannot be opened
Change-Id: Idc9012764975a2ca173c135baa7d7ba46fc2dd9a
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bug was introduced with the New Folder UI changes
Repro:
- Turn off Show Search Bar
- Open App Drawer
- Close App Drawer
- Observe: "small" search bar shows up at the top of the screen
Change-Id: I18e59acff3197ea908473c89ff3ade8eaf9bed28
|
|
|
|
|
|
|
| |
When getStateChangeAnimation() is called, only reload settings if
leaving overview mode.
Change-Id: I9ee7330779b19bb73c1a30497065854ce9fc1162
|
|
|
|
| |
Change-Id: Ief240c7fbbe296673ff4124cd4d463c9ba65f764
|
|
|
|
|
|
|
|
|
| |
This change adds a number of new UI components and animations for
folders.
Designer: Hayden Schoen
Change-Id: I255cd4664432d84aebecf7e16ace5d9948573e27
|
|
|
|
|
| |
Change-Id: Iba37f386574a6ebf19bfd2dc0e35262ec0540914
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: Ic3e0837ac2726e4437bc5df68a3b1cb033d2d78f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the allAppsNumColumns calculated by DeviceProfile isn't
accurate for the vertical app drawer because of the leading char. So
calculate our own. Additionally, set the appropriate padding for the
drawer icon.
Finally, distribute the extra pixel space available for app drawer rows
between the app icons. This way apps are evenly spread across the
screen.
Change-Id: I921c5044d6a490150bf1300762698c2773627ff6
|
|
|
|
|
|
|
|
|
| |
Otherwise the size of the folder is determined by the size of the
Dynamic Grid. This causes some weird issues with sizes and scrolling
so just cap this to the base values for the numRows and
numColumns.
Change-Id: I5b1f13267299d3ab1f28e6e393d6260fa7fbdd3e
|
|
|
|
|
|
|
|
|
|
| |
- Eliminate creation of garbage
- Square up interface
- Post animation signals to handler so they can be cancelled and redispatched
with new data for the updated signal.
Change-Id: I9824b7eb762a8d565e22e118bf3f07a8a4791ce8
(cherry picked from commit 22c34f768d1cf58f7b340350ef0a64b2c1ae9485)
|
|
|
|
|
|
|
|
|
|
| |
During certain transition animations, the X offset value is computed,
taking into account the translation value set by the transition effect.
Preserved the right behavior by using child.getLeft() to compute the value,
without including the X translation.
Change-Id: I25acf6e4bae1db9a2c12525125a4994e16c40dfe
(cherry picked from commit 5d2f7ac2757bb2454a558d14760e4c26129d494d)
|
|
|
|
|
|
|
|
|
| |
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
|