Commit Graph

9827 Commits

Author SHA1 Message Date
Winson Chung ee8df9de69 am c393b076: Fixing issue where the prediction bar apps are not focused.
* commit 'c393b0765df8d2d34b3b996b71700a705b7d0106':
  Fixing issue where the prediction bar apps are not focused.
2015-05-21 00:49:06 +00:00
Winson Chung c393b0765d Fixing issue where the prediction bar apps are not focused.
- Also fixes issue where all apps is not accessible by keyboard
  when there are no other apps in the hotseat.

Bug: 21334471
2015-05-21 00:37:50 +00:00
Sunny Goyal 78f585bae6 am db092a33: Merge "Setting drawable to droptarget in the code to avoid multiple drawable inflation" into ub-launcher3-burnaby
* commit 'db092a331ceb9b6cc72fd9b1a593cd77068bb66a':
  Setting drawable to droptarget in the code to avoid multiple drawable inflation
2015-05-20 23:59:32 +00:00
Sunny Goyal db092a331c Merge "Setting drawable to droptarget in the code to avoid multiple drawable inflation" into ub-launcher3-burnaby 2015-05-20 23:51:35 +00:00
Sunny Goyal e0cab303b8 Setting drawable to droptarget in the code to avoid multiple drawable inflation
Change-Id: Ib713b3051e2707d46a4ee0090aed2db1d2e641b9
2015-05-20 16:41:08 -07:00
Winson Chung bafdf3654b am 3e4d5f20: Merge "Reducing delay in applying widget previews loaded in the background." into ub-launcher3-burnaby
* commit '3e4d5f20ba9128fcbe77b220380129be773887b3':
  Reducing delay in applying widget previews loaded in the background.
2015-05-20 23:15:06 +00:00
Winson Chung 3e4d5f20ba Merge "Reducing delay in applying widget previews loaded in the background." into ub-launcher3-burnaby 2015-05-20 23:08:19 +00:00
Sunny Goyal 54fc954cd6 am 20812e96: Merge "Removing some unused functionalities" into ub-launcher3-burnaby
* commit '20812e96402900d3ac0e007b5b63faaf1b06e5f9':
  Removing some unused functionalities
2015-05-20 22:45:43 +00:00
Sunny Goyal 44d705e780 am 2280e278: Merge "Avoiding blocking worker thread when adding icons to DB" into ub-launcher3-burnaby
* commit '2280e27842671d21fa29b6d7bd22b5912704471d':
  Avoiding blocking worker thread when adding icons to DB
2015-05-20 22:45:42 +00:00
Sunny Goyal 20812e9640 Merge "Removing some unused functionalities" into ub-launcher3-burnaby 2015-05-20 22:35:49 +00:00
Sunny Goyal 2280e27842 Merge "Avoiding blocking worker thread when adding icons to DB" into ub-launcher3-burnaby 2015-05-20 22:34:42 +00:00
Sunny Goyal fba993e999 am 99d950fb: Removing unnecessary linear layout
* commit '99d950fb4dfb5cb9edaae572579fc25b2aca726f':
  Removing unnecessary linear layout
2015-05-20 22:18:10 +00:00
Sunny Goyal 99d950fb4d Removing unnecessary linear layout
Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
2015-05-20 14:43:18 -07:00
Hyunyoung Song f84fad702e am c88ae71f: Merge "UX widget cell color issue" into ub-launcher3-burnaby
* commit 'c88ae71f66bf8b4f75290e21c5375dbf63a070f0':
  UX widget cell color issue
2015-05-20 21:21:19 +00:00
Sunny Goyal c58116784a am a1fbd84b: Fixing unnecessary padding added to pages in overview mode
* commit 'a1fbd84b791474a9e86b67caeaf27b8429afba73':
  Fixing unnecessary padding added to pages in overview mode
2015-05-20 21:21:18 +00:00
Hyunyoung Song c88ae71f66 Merge "UX widget cell color issue" into ub-launcher3-burnaby 2015-05-20 21:17:18 +00:00
Hyunyoung Song 611bcf172a UX widget cell color issue
- widget cell color is slightly brigher than the background of the widget row.
- They should be the same.

Change-Id: I20bda325d5d2fe7e194a453978dc74fd56a4e154
2015-05-20 14:14:04 -07:00
Sunny Goyal a1fbd84b79 Fixing unnecessary padding added to pages in overview mode
Change-Id: Icd17c2956b201ea0b6c6a2a495f567f51987b1ac
2015-05-20 13:40:57 -07:00
Winson Chung a2f2f0b4a8 am f72eb710: Removing override annotation to fix build.
* commit 'f72eb710af8d5125d1d87ea18a94b19c9bf56cea':
  Removing override annotation to fix build.
2015-05-20 18:19:17 +00:00
Vadim Tryshev 7ccb43b982 am bc51766d: Merge "Removing itemCount, fromIndex and toIndex from AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug)." into ub-launcher3-burnaby
* commit 'bc51766dea71dc9553e2c7bdc9902202de48e024':
  Removing itemCount, fromIndex and toIndex from AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug).
2015-05-20 18:19:16 +00:00
Hyunyoung Song e0b1f8582b am ab37562b: Merge "List work profile widgets to the end of the row of the widget tray, then sort" into ub-launcher3-burnaby
* commit 'ab37562ba04263f95dffafc7b3ea69904148d8e4':
  List work profile widgets to the end of the row of the widget tray, then sort
2015-05-20 18:19:14 +00:00
Winson Chung f72eb710af Removing override annotation to fix build.
Change-Id: I5a4dfa339db7862ac3db4cc379469ac8d9f6fae5
2015-05-20 18:15:04 +00:00
Vadim Tryshev bc51766dea Merge "Removing itemCount, fromIndex and toIndex from AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug)." into ub-launcher3-burnaby 2015-05-20 18:10:54 +00:00
Hyunyoung Song ab37562ba0 Merge "List work profile widgets to the end of the row of the widget tray, then sort" into ub-launcher3-burnaby 2015-05-20 18:08:42 +00:00
Hyunyoung Song 0230c3a87f List work profile widgets to the end of the row of the widget tray, then sort
b/20339403

Change-Id: I7cd824e47eba1121c9053a4064a51750bed587e7
2015-05-20 11:03:46 -07:00
Winson Chung 05304db905 Reducing delay in applying widget previews loaded in the background.
- 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
2015-05-20 10:56:54 -07:00
Sunny Goyal 55d5857749 am f3a21c8c: Merge "Moving LauncherAccessibilityDelegate to accessibility package" into ub-launcher3-burnaby
* commit 'f3a21c8ca2d100e779958ba6fd600c28e399d956':
  Moving LauncherAccessibilityDelegate to accessibility package
2015-05-20 07:02:46 +00:00
Sunny Goyal 004768bdcb am 42690130: Merge "Fixing accessibility string" into ub-launcher3-burnaby
* commit '42690130fb5a4b0817b256e31c17a6bca92a7535':
  Fixing accessibility string
2015-05-20 07:02:45 +00:00
Sunny Goyal 7c5dbf32f3 am 59fcc1ad: Merge "Updating widget resize frame assets." into ub-launcher3-burnaby
* commit '59fcc1ad4edebd082496121a36861ae04fd073f1':
  Updating widget resize frame assets.
2015-05-20 07:02:44 +00:00
Sunny Goyal 1f029d7d54 am a938867b: Merge "Adding null check to outline generator" into ub-launcher3-burnaby
* commit 'a938867bc87faf7b35c9fc20192920f812ef5d5e':
  Adding null check to outline generator
2015-05-20 07:02:43 +00:00
Sunny Goyal 0518b40571 am b135956e: Avoiding object allocation during draw
* commit 'b135956e95d2d7479290af89d618892ed0e7327d':
  Avoiding object allocation during draw
2015-05-20 07:02:42 +00:00
Sunny Goyal f3a21c8ca2 Merge "Moving LauncherAccessibilityDelegate to accessibility package" into ub-launcher3-burnaby 2015-05-20 04:15:34 +00:00
Sunny Goyal 42690130fb Merge "Fixing accessibility string" into ub-launcher3-burnaby 2015-05-20 04:15:25 +00:00
Sunny Goyal 59fcc1ad4e Merge "Updating widget resize frame assets." into ub-launcher3-burnaby 2015-05-20 04:15:14 +00:00
Sunny Goyal a938867bc8 Merge "Adding null check to outline generator" into ub-launcher3-burnaby 2015-05-20 04:15:04 +00:00
Sunny Goyal 0573977143 Removing some unused functionalities
> 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
2015-05-19 20:03:06 -07:00
Sunny Goyal b135956e95 Avoiding object allocation during draw
Change-Id: I94c146e0f4ad7386a31782f0e63e5228a2fa0442
2015-05-19 19:07:45 -07:00
Sunny Goyal 5537faaf9f Adding null check to outline generator
Change-Id: I8eb8b62a868d80fd0a7c9deec8915828bd8177d0
2015-05-19 17:35:07 -07:00
Sunny Goyal ba776d57f4 Updating widget resize frame assets.
> 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
2015-05-19 17:17:15 -07:00
Sunny Goyal 7a89eec7e0 Fixing accessibility string
Bug: 19776741
Change-Id: Ie020911bd17aa102eddfc69d6b3db5c19db9c6ac
2015-05-19 14:48:52 -07:00
Sunny Goyal 1c634075b8 am 39b83c62: Merge "Enabling translation for accessibility strings" into ub-launcher3-burnaby
* commit '39b83c62566f6914f9169cd9ee5f1edb44815109':
  Enabling translation for accessibility strings
2015-05-19 21:46:14 +00:00
Sunny Goyal 39b83c6256 Merge "Enabling translation for accessibility strings" into ub-launcher3-burnaby 2015-05-19 21:39:50 +00:00
Vadim Tryshev cd4f4138f0 Removing itemCount, fromIndex and toIndex from
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
2015-05-19 21:34:55 +00:00
Sunny Goyal 4a02dac221 am bc099867: Merge "Adding drop shadow effect in allapps" into ub-launcher3-burnaby
* commit 'bc0998670bca9995cca98e07004855dd28f29a10':
  Adding drop shadow effect in allapps
2015-05-19 21:17:48 +00:00
Sunny Goyal bc0998670b Merge "Adding drop shadow effect in allapps" into ub-launcher3-burnaby 2015-05-19 21:07:40 +00:00
Hyunyoung Song ea98b69762 am 0b493c86: Unify sorting between all apps and widget tray
* commit '0b493c86c5d0803f11095b71396ffac0097d26ef':
  Unify sorting between all apps and widget tray
2015-05-19 20:49:27 +00:00
Hyunyoung Song 0b493c86c5 Unify sorting between all apps and widget tray
- 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
2015-05-19 13:39:44 -07:00
Sunny Goyal 83a8f042ad Moving LauncherAccessibilityDelegate to accessibility package
Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
2015-05-19 12:52:30 -07:00
Sunny Goyal 9cee300f0f am 6cfad01b: Merge "Widget cell improvement" into ub-launcher3-burnaby
* commit '6cfad01b1cace11a3fe523cebe5dde987f148585':
  Widget cell improvement
2015-05-19 19:27:44 +00:00
Sunny Goyal 3607394eec am 7f6b7a51: Merge "Updating the widget error view" into ub-launcher3-burnaby
* commit '7f6b7a510953d51db85c4364fea64b2505758408':
  Updating the widget error view
2015-05-19 19:21:34 +00:00