| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
> Removing parent from ItemOperator as inconsistant values were
being passed in workspace and folderPagedView
> Fixing itemChanged causing multiple redraws, by passing a
'animate' parameter to explicitely request animation
Bug:27740161
Bug:28015426
Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110
|
|
|
|
|
|
|
| |
Quiet mode changes
Bug: 27632028,27763316
Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
|
|
|
|
|
|
|
|
|
|
|
| |
> When package gets unavailable or suspended, the disabled flag was getting
updated on the UI thread. This could lead to inconsistent model if launcher
activity didn't exist.
> Fixing: When unsuspending one work profile apps, all work profile apps get
unsuspended
Bug: 27673573,27673373,27403236
Change-Id: I7fde3f79c36204e73ca66ccf8431fa0f0cce3d08
|
|
|
|
|
|
|
|
|
|
|
| |
Android automatically creates and maintains a metaData table to
store the current device locale. This is used when fetching
sorted results. Since Laucher does not require string based
sorting on its tables, we can avoid unnecessary IO by disabling
this feature
Bug: 24608776
Change-Id: I8bbf5ca3abd505be95a85cfc99dd0438966575e9
|
|
|
|
|
|
| |
Instead linking it to the packages/apps/WallpaperPicker project
Change-Id: Ib6830b180a22c22afece01e0a4f6e94e89d6452b
|
|
|
|
| |
Change-Id: I7e33c83df8b16e8552fe588cadbcf3bf7881cb95
|
|
|
|
|
|
|
|
| |
For hotseat migratino, we simply drop the items with least weight
If the workspace row/column decreases by 2 or more, we clear the whole workspace
Bug: 25958224
Change-Id: I7131b955023d185ed10955f593184b9238546dc8
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
ub-launcher3-burnaby-polish
am: 60acb943c6
* commit '60acb943c68e2f949fc8ad4703c9156549263897':
Preventing launcher crashes due to low disk space.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case of low disk space, all write operations to the IconCache are
silently ignored. This will not affect the Launcher behavior and
user will still see the latest icons, but in some cases, icon loading
would appear slow
Bug: 24585352
Change-Id: I85ccc519046fc3708403388bba89e019a3f2ce3d
|
|\|
| |
| |
| | |
Change-Id: Ie0e233e22284b8ddd2dbb86204e042651b6dfae2
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Chaning the font scale affects the static device profile and may
affect various background threads and static constants. Killing
the process ensures that these states get invalidated properly.
Bug: 26131935
Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb
|
|\|
| |
| |
| | |
Change-Id: I394258be0c75289cab2f5141c0fb765504527420
|
| |\
| | |
| | |
| | | |
ub-launcher3-burnaby-polish
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18245189
Change-Id: Iaadcddbe3f966733a13b2e1fb60ba09a8b3aef9a
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
am: b88d0bccbe
* commit 'b88d0bccbe997e5c45c930698e37f52865bd9210':
Cleanup keyboard code.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This should be the last keyboard CL.
- Fix bug: couldn't focus All Apps button in some cases when the All
Apps column was skipped over. Also added test case for this.
- Stop explicitly passing countX and countY to handleKeyEvent, as
these had to match the matrix dimensions anyways.
- Rename createSparseMatrix() - there were 3 methods of the same name,
but all had different purposes. This is confusing both from a
readability standpoint and also when looking at stack traces.
Change-Id: I08ba8411674fcea43a608856c114dee8dbd22398
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
am: af78b59af1
* commit 'af78b59af19264105b8ce856defa5342d6fd584a':
Make sure pages are always accessible via left/right arrow keys.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Handle NextPageFirstItem as first focusable item in reading order
- Handle PreviousPageLastItem as last focusable item in reading order
- Check the hotseat after the workspace in both cases above
- Dpad horizontal navigation (left/right) uses these as a last
resort (Rule3) to guarantee an item takes focus if a page exists
Note that it is necessary to search for a focusable item because
widgets are not yet focusable.
Bug: 25591057
Change-Id: I953648bd76c657d660a38427fdd4108bf9963c23
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
matrix." into ub-launcher3-burnaby-polish
am: b879abd274
* commit 'b879abd2747c1c1473c8d2b9d9c97707da8218f3':
Add special column for All Apps button in FocusLogic's sparse matrix.
|
| |\ \
| | |/
| |/|
| | | |
matrix." into ub-launcher3-burnaby-polish
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The All Apps button creates a number of edge cases, mainly because it
causes the hotseat to sometimes have an extra column than the workspace.
Previously, we sort of swept these problems under the rug by simply
ignoring the All Apps button if other icons were present in the hotseat,
with the assumption that those other icons should get focus instead of
the All Apps button. (If possible, we want to stay in the same column
when moving from the workspace to the hotseat.) But this doesn't always
work, as in the attached bug where the hotseat doesn't get focus at all
when the All Apps button is an obvious candidate for it.
By adding a specialized column in the focus matrix for the All Apps
button, we ensure that moving down to the hotseat stays within the
original column when possible, while also allowing the focus to switch
to the All Apps button if appropriate. Furthermore, we take care to skip
over the All Apps column when necessary in order to maintain all
previous functionality.
Bug: 25590522
Change-Id: I5d6a8ee69de8834314c4689246fe7d54329b2eef
|
|\| |
| | |
| | |
| | | |
Change-Id: I92f38e9f4ac4d9b6c5a3000e0971d2bc417bd3c6
|
| |/
| |
| |
| | |
Change-Id: Ia16c05718938849f4250802d8770ddfe6dbef055
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
ub-launcher3-burnaby-polish
am: 0e2f3849b8
* commit '0e2f3849b84f59ed7c1c4336ca01ac17f096e265':
Make sure user can always get to next page with keyboard.
|
| |\
| | |
| | |
| | | |
ub-launcher3-burnaby-polish
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There's a case where hitting the left/right arrow in the first/last
column wouldn't give focus to an icon on the next page because it is
vertically too far from the first icon to be considered. This makes
for a bad user experience, because there is no way to switch pages
with the keyboard. So now we brute-force search for an appropriate
icon if none was found in this case.
Bug: 25434120
Change-Id: Ifdead0e3b458717ccb33e2f0ec7c15f1fcce4b95
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ub-launcher3-burnaby-polish
am: 0f6f2b181f
* commit '0f6f2b181fcf28887b343226cef3b263a65621cd':
Stop explicitly snapping to page when navigating with keyboard.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When an icon grabs focus, it already snaps to its own page, so
the explicit snapToPage() is redundant. And in the case where no icon
will grab the focus, the explicit call puts us in a weird state
because the page snaps but the focus doesn't change (see bug).
(This happens, for instance, if you are moving from an icon on the
bottom right of page 1 and the only icon on page 2 is in the top
left. In this case, the second icon won't take focus because the
angle is too wide according to FocusLogic#handleDpadHorizontal().)
Bug: 25434120
Change-Id: I17b0ef7d86426a2599bc948bf2313dca7e112364
|
|\ \
| | |
| | |
| | | |
us unused methods" into ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | | |
Removing some us unused methods
Change-Id: Ife790e5ca6848fa13dc3fab1bba1e6220bf83743
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
am: df315180f0
* commit 'df315180f0653702b470beea62f27927e45fab4b':
Don't add cells to FocusLogic sparse matrix if they aren't focusable.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, any child of ShortcutAndWidgetContainer was added to the
matrix, causing widgets (which aren't focusable) to be considered as
potential targets to gain focus when an arrow key was pressed. But if
the algorithm chose them, they couldn't take the focus so nothing
happened (i.e. the focus stayed on the app/folder it was on before).
Bug: 25126768
Change-Id: Id55fc310f7f58fb8795cce51dcefe4fd1210f788
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
am: c2bc0ef1c3
* commit 'c2bc0ef1c313698fd931fc84ec2f11882c38cdba':
Fix regression where keyboard couldn't switch between workspace pages.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 25122302
Change-Id: Id1d7628753ce7ef37af50e8594e541dcb6bea13e
|
|\| |
| |/
|/|
| | |
Change-Id: Icc60a61f621fefe9db67b178921e62f7d72d7e5a
|
| |
| |
| |
| |
| |
| | |
This method was returnning a constant and getting inlined by proguard.
Change-Id: I87348e25b21483adc1b27d16f99dec4b73205701
|
| |
| |
| |
| | |
Change-Id: Ied1c063de3e938695493e4937f554686e0719dad
|
| |\
| | |
| | |
| | | |
views" into ub-launcher3-burnaby-polish
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.
We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.
Bug: 16840760
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
|
|\| |
| | |
| | |
| | | |
Change-Id: I25a01a0735be754f4c8daef5a4a04eaec651b95c
|
| |/
| |
| |
| |
| |
| | |
- Long.compare() was added in API level 19.
Change-Id: Ic7020c941403c10daa6feacdc737c6a82676ada0
|
|\ \
| | |
| | |
| | | |
ub-launcher3-master
|
| | |
| | |
| | |
| | | |
Change-Id: Ied1c063de3e938695493e4937f554686e0719dad
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
> Using ViewTreeObserver to listen for onDraw instead of overriding onDraw in workspace
> Loader passes the list of deferrerd runnables to launcher
Change-Id: Ie4877f746c96e9497396de8089f00f70bf867e17
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This mode has the remove icon on the left side, so flinging to the
left makes more sense. But flinging up still works in either case.
Change-Id: I7ab40776b67659026f03f81efd43fae3375b5ba0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.
We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
|
|\ \ \
| |/ /
|/| |
| | | |
ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl".
I'm not moving DragSource because it's referred from gsa code.
Bug: 22609426
Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
> Only setting desired size on wallpaper change for pre kitkat
> Removing wallpaper change receiver from manifest
> Removing multi-process wallpaper shared prefs for kitkat+
Bug: 23353784
Change-Id: Iba72d32871ee50b75807e2284a73a691bcddc472
|