- Push the writing of previews to the DB to the worker thread
to ensure that we can apply the loaded preview as soon as
possible.
- Reducing additional bitmap allocations from cancelled tasks
that did not re-add their bitmaps to the unused set
(happens when the list is scrolling quickly).
Change-Id: Ib7c2cfdfcc668c215b3a74271e1165235fbdf752
> Removing obsolete progrard rules
> Removing BackgroundAlphaMultiplier from CellLayout, which is always 1
> Removign otiline animation from workspace. This animation never runs,
as it is called during startReordeing which always happens when
overview mode (workspaceInModalState() is true)
Change-Id: I43219e41ea188771bc818988c1bcbd523f28cba6
> Using a shadow as background and a frame as foreground.
> The handle has baked in shadow which gets wrapped by the
frame shadow
Change-Id: Ib0e305ea735304236b3319e4fde22fb442f5dc0f
AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView.
This causes an additional reduntant voice message on scroll (see the
bug).
Also, setting these attributes violate rules set here:
http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html
i.e. that these fields should be set only for descendants of
AdapterView.
Note that we can't just stop sending TYPE_VIEW_SCROLLED, because in this
case, accessibility focus won't be set after scrolling.
Bug: 21304383
Change-Id: I84f8e064d8209c0e09d6827551e00c9913829b57
- selected locale names are shown before latin
- case independent sorting
- main app > enterprise app
Future possible refactoring:
- Move all the *ItemInfo data structures to model package
- Rename the comparator based on NOT what data structure it supports
but what functionality it supports (locale? case independent?
main app > enterprise app?)
b/21271658
b/20339403
Change-Id: I8a776467392e21d5014e85cd3f51931a3ef89724
Instead of tracking the absolute scroll, which can be inconsistent,
simply synchronize any views that depend on the RecyclerView scroll
each time in onPreDraw.
Bug: 21169021
- requestDisallowIntercept is not called unless the recycler view
scrolls so when over scrolling, we still need to check the distance
to ensure we stop long pressing when the touch moves outside the
slop
- Ensure that we don't allow tapping the prediction bar icons under
the search bar
Change-Id: I520c05fa77911340d4747bb469918812b192769e
was cancelled.
Recent refactoring of the State inside Launcher introduced a check
of which state can show widget tray (only workspace) that was too agressive.
b/21201908
Change-Id: Iaccb44d23485aa101d7720b29335645a74f4dcdc
> Not creating unnecessary bitmaps
> Final bitmap is generated as ALPHA_8 instead of ARGB_8888
> The shadow drawing is done directly in the view
Change-Id: I504fa2ea3abdc1a3c3fb9ad57d6e28880d2584a1
location
Also:
- clean up of some code
- remove requestLayout() method call that is not needed.
b/20338602
Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99