| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: Ie5b5398d17e6742f28084ce7cd6d31c4ba872b24
(cherry picked from commit b53f60bced4657d35880952732b2bcb811e1b7a6)
|
|
|
|
|
| |
Change-Id: I85208f3d6b572fb7a161db79cd3b74c1102dbba2
(cherry picked from commit 50f78e36b079bbe14bcb50064d28940358d42544)
|
|
|
|
| |
Change-Id: I6375753abf7fc01e099544e72d0687f6bdad0be7
|
|
|
|
| |
Change-Id: If9d788b25fbabf21bd4d9d35b0dd82ddcca180f8
|
|
|
|
|
|
|
|
|
| |
When you drag the scrubber it now highlights that section differently
Also when you drag on the scrubber, instead of bringing the section
into view at any point, it will try to make it the 3 row from the bottom
Change-Id: I7cefaa24fb3c757f6e031247bb4a247473dde828
(cherry picked from commit 0ce1d70dffb2f19a8e2997f03556b46b44c57156)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there's a folder of shortcuts where all of the items have been set
to protected, the first item in the folder sometimes does not get
removed from the workspace allowing access to the protected application.
When the second-to-last item in a folder is being removed, it was being
replaced with the shortcut automatically, and we were checking against
the folder contents, which was off the workspace at this time, but still
had the shortcut. We need to check whether the last shortcut we are
re-adding back to the workspace is actually protected before adding it.
Change-Id: I9c7dbbd8562ae3e71e198747e6cb1c10417d1f46
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit d06291251703ce19968625742438c03351203d37)
|
|
|
|
|
|
|
|
|
|
|
|
| |
system language
1.Add a Settings shortcut widget to workspace
2.Change the system language
3.Check the Settings shortcut widget title
The Settings shortcut widget title should update when changing the language
Change-Id: I5012a3e99b9734230a844ce20e856ff86fba773a
|
|
|
|
|
|
|
|
|
|
| |
Make sure to setWaitingForResult on startIntentSenderForResult so that
mPendingAddInfo is saved
Repro: Change orientation when in the config activity for a widget
Change-Id: I76ecc2b69b7f4a1cda65a481699aa79ae67f767a
(cherry picked from commit ee224cb05e13d38c670733e59ae11b81515967b6)
|
|
|
|
|
| |
Change-Id: Iaf6718893e09df715b4524b864be9a7c22addc59
(cherry picked from commit e002b691b3233629598c77ef50f1ef91eb1877f0)
|
|
|
|
|
|
|
|
| |
If a user enters the widget add screen and quickly backs up
twice, the widget panel stays around and captures touch, but
the ui thinks it is in the homescreen.
Change-Id: I52a920fd633f3ab690ca1c959fbc8935c2d0bb69
|
|
|
|
|
|
|
|
|
|
|
| |
Repro:
- Add a contact widget to a folder
- Open the hidden apps fragment
- Attempt to remove an entry from the fragment
- Observe: Force close
Change-Id: I3ca2c62283af5232534b766d7579413c060a5403
(cherry picked from commit f963b11485ceef70bbce7a9a4b98415ac2672b5b)
|
|
|
|
| |
Change-Id: I78b5a212b66aa31b22d72a65af40452dd114fc35
|
|
|
|
|
|
|
|
|
|
| |
Repro:
- Create a shortcut using the contacts widget
- Add to a folder and open app protection screen
- Observe: Trebuchet force closes
Change-Id: I76f6a8b1d024beb36fa804bb3a866913edc335c1
(cherry picked from commit d8bdb0eef3f1799e8b829bcf114f1c3573bce8d6)
|
|
|
|
|
|
|
|
|
| |
After the update path is called, calling getWritableDatabase
always results in a SQLiteReadOnlyDatabaseException. Looks to
be a Lollipop bug, protecting the code path till we have a
better solution.
Change-Id: Ic0487e2d588a341d42e046fb97e8f041622d6450
|
|
|
|
|
|
|
|
|
| |
- On non-GMS devices, there are no Search apps which can support
the search bar implementation.
- Disable the search bar entirely if there is no search activity
- Add a new utility method in SettingsProvider
Change-Id: I3bcbceae4ceab308e4d797dad107e0a2ab72d673
|
|
|
|
|
|
|
|
|
|
|
| |
Repro:
- On fresh boot, long press on workspace and open settings panel
- Toggle a setting (e.g. Large icons) that triggers a grid refresh
- Quickly close the panel and click into a workspace page
- Observe sometimes the background of the workspace page is still
outlined as if in Overview mode
Change-Id: I89492aa9eed269dac18027fa43d1d86597370502
|
|
|
|
| |
Change-Id: Id1d2b152dde3d1e3d89fca2e9e16bc2472f661bc
|
|
|
|
|
|
| |
- Also fix row length so icons aren't cut off when large icons are enabled
Change-Id: Iae95dc2380abee211eeed72eae08cafa4ec354f7
|
|
|
|
| |
Change-Id: I67d0af84cc8cad3d3e788280e34a9c2a95ab76a7
|
|
|
|
|
|
| |
drawer while the vertical app drawer is selected
Change-Id: I352bfd42f60d46c53ee74c4ecf6a6bb3f0b7ba90
|
|
|
|
|
|
|
|
|
|
|
| |
Repro:
- Open widgets
- Try to add a widget with setup setp (cLock)
- When setup activity is launched, press Home to cancel
- Observe: legacy app dawer is visible on top of Workspace
without a background
Change-Id: I5e7d7d2166cc1cac193407ac9ec16643f52591ba
|
|
|
|
| |
Change-Id: Ib3976e0852aab4a2e78a90877c056ad3ecd3c448
|
|
|
|
| |
Change-Id: I4a78832188e27ae0b5a25b6a81ce000b6ffcd1f1
|
|
|
|
|
|
| |
Also fixes searchbar visibility when dragging icons from app drawer
Change-Id: I418dc3210a95cc57c81979452def8240c27d2214
|
|
|
|
| |
Change-Id: Ia1bcaec9cf5bdcd9ca61137aa45f91819fb2e94d
|