Commit Graph

49925 Commits

Author SHA1 Message Date
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
Sunny Goyal 6cfad01b1c Merge "Widget cell improvement" into ub-launcher3-burnaby 2015-05-19 19:21:22 +00:00
Sunny Goyal 9ff980833d Avoiding blocking worker thread when adding icons to DB
Bug: 20945600
Change-Id: If12b21ac62c55c769838ce17d5421f147c396256
2015-05-19 12:19:38 -07:00
Sunny Goyal 7f6b7a5109 Merge "Updating the widget error view" into ub-launcher3-burnaby 2015-05-19 19:15:13 +00:00
Sunny Goyal 66056b8075 Enabling translation for accessibility strings
> All the action strings are set to char limit 30 so that they play
nice with accessibility UI.

Bug: 19776741
Change-Id: I74612cc34a3a458541106319b3f8c36d54cc1138
2015-05-19 12:14:07 -07:00
Sunny Goyal 096e4d5355 Updating the widget error view
Change-Id: I3ed6336bd9f5a795204a87feedc83663355abcf2
2015-05-19 12:10:05 -07:00
Sunny Goyal f52abd7758 Widget cell improvement
> Using a custom view for preview, instead of extensing image view
> Preventing relayout when applying preview
> Removing unnecessary method calls

Bug: 21133230
Change-Id: Iab12fa1e5c871ee43a9fb0e6b6af897fecfb345f
2015-05-19 11:51:23 -07:00
Winson Chung e899aa8417 am da25da3d: Ensure that we have a reasonable cache size for AllApps.
* commit 'da25da3d557177febb9c7afb78e04b1ef4a45f17':
  Ensure that we have a reasonable cache size for AllApps.
2015-05-19 18:14:59 +00:00
Winson Chung ff95cd4e6a am 32f14071: Synchronizing views dependent on scroll during pre-draw.
* commit '32f14071cc5808737c88da7b5f3047a8222f8843':
  Synchronizing views dependent on scroll during pre-draw.
2015-05-19 18:14:58 +00:00
Winson Chung e22368f2aa am 66a90e70: Fixing issue with prediction bar apps erroneously being tapped.
* commit '66a90e701ff6f7002fd3ed290ffc25d9c5ff3a9a':
  Fixing issue with prediction bar apps erroneously being tapped.
2015-05-19 18:14:57 +00:00
Winson Chung da25da3d55 Ensure that we have a reasonable cache size for AllApps.
Change-Id: Ic0cb5ec2911567102227748cd9d2c1d8297fe105
2015-05-19 18:04:09 +00:00
Winson Chung 32f14071cc Synchronizing views dependent on scroll during pre-draw.
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
2015-05-19 18:03:50 +00:00
Winson Chung 66a90e701f Fixing issue with prediction bar apps erroneously being tapped.
- 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
2015-05-19 18:03:30 +00:00
Sunny Goyal c06edd6b10 am e49c105d: Verify that an image can be rendered on a GL Surface before using it
* commit 'e49c105de57e53828ea372aff3713d6ebfd66f2e':
  Verify that an image can be rendered on a GL Surface before using it
2015-05-19 18:02:42 +00:00
Sunny Goyal e49c105de5 Verify that an image can be rendered on a GL Surface before using it
Bug: 20138883
Change-Id: I8de70eb971f31c2a4c07a7903e097a1586402282
2015-05-18 16:42:22 -07:00
Sunny Goyal 0d44840b0f am 2bba4c37: Removing some thread priority management logic
* commit '2bba4c37c6402dfdc965d0c412c840c57993c7dd':
  Removing some thread priority management logic
2015-05-18 23:06:44 +00:00
Sunny Goyal 2bba4c37c6 Removing some thread priority management logic
> Not saving folder id in onSaveInstance as it is not used.

Change-Id: I176beb77cafe27ec4b7500d65dc86287d2f2e0cb
2015-05-18 15:57:14 -07:00
Sunny Goyal 201b72082f am f5cd998c: Starting the loader if the previous loader is not complete, instead of binding page synchronously
* commit 'f5cd998c25b025e46c56f4e862f4f5573a807745':
  Starting the loader if the previous loader is not complete, instead of binding page synchronously
2015-05-18 22:54:21 +00:00
Sunny Goyal f5cd998c25 Starting the loader if the previous loader is not complete, instead of binding page synchronously
Bug: 21107637
Change-Id: If04952c7d5c8a38a739ce5536ecac394011ab61a
2015-05-18 15:22:47 -07:00
Sunny Goyal d6fb0943de am a926343d: Merge "Preventing relayout when loading high-res icons" into ub-launcher3-burnaby
* commit 'a926343d5c567b8cf32175530b1f6eb574e7eabc':
  Preventing relayout when loading high-res icons
2015-05-18 18:25:54 +00:00
Sunny Goyal a926343d5c Merge "Preventing relayout when loading high-res icons" into ub-launcher3-burnaby 2015-05-18 18:15:22 +00:00
Hyunyoung Song e892214dcc am 436eeb6b: Merge "Initially set the widget container view to GONE visibility" into ub-launcher3-burnaby
* commit '436eeb6b971fa27bf7df85494d4da0e878803665':
  Initially set the widget container view to GONE visibility
2015-05-16 00:24:18 +00:00
Hyunyoung Song 436eeb6b97 Merge "Initially set the widget container view to GONE visibility" into ub-launcher3-burnaby 2015-05-16 00:16:27 +00:00
Sunny Goyal 69b756486c Preventing relayout when loading high-res icons
Bug: 21133230
Change-Id: I1ec4dbfd28c42fa1c0e28b3fa746c0bc5dfaba7c
2015-05-15 17:05:38 -07:00
Hyunyoung Song 4ea4abdc59 Initially set the widget container view to GONE visibility
- Bitmap loading should not happen when Launcher3 is being loaded.

b/21207643

Change-Id: I1b6a5f970d157d139e0e5021182048f752b67415
2015-05-15 17:04:18 -07:00
Winson Chung 5a8849d7bd am 2d58471e: Reducing calls to onCreateViewHolder due to animating children.
* commit '2d58471e8d3da621e209cec58a43d159778f8a0e':
  Reducing calls to onCreateViewHolder due to animating children.
2015-05-15 23:54:56 +00:00
Winson Chung 2d58471e8d Reducing calls to onCreateViewHolder due to animating children.
Bug 21133230

Change-Id: Ib5be0766d1ea56976195e33526d7595a16672eef
2015-05-15 23:49:24 +00:00
Hyunyoung Song 2239c32c13 am 2a1580ca: Merge "Transition from back to showing widget tray if shortcut/Widget configure activity was cancelled." into ub-launcher3-burnaby
* commit '2a1580ca7d24e4b5dbe815e831332d1dd1d3b392':
  Transition from back to showing widget tray if shortcut/Widget configure activity was cancelled.
2015-05-15 23:43:43 +00:00
Hyunyoung Song 2a1580ca7d Merge "Transition from back to showing widget tray if shortcut/Widget configure activity was cancelled." into ub-launcher3-burnaby 2015-05-15 23:36:46 +00:00
Hyunyoung Song b790083b8f Transition from back to showing widget tray if shortcut/Widget configure activity
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
2015-05-15 16:29:45 -07:00
Sunny Goyal 4b6eb26950 Adding drop shadow effect in allapps
Change-Id: Ic7a9b6e23d925d27a8dcbd418d2609e43917ac45
2015-05-15 15:47:10 -07:00
Sunny Goyal d09c012655 am 31201109: Merge "Optimizing shadow generation by reusing bitmap." into ub-launcher3-burnaby
* commit '312011094f0a00ba53fb5cc6e8d01d8ac90addf1':
  Optimizing shadow generation by reusing bitmap.
2015-05-15 22:45:49 +00:00
Sunny Goyal 312011094f Merge "Optimizing shadow generation by reusing bitmap." into ub-launcher3-burnaby 2015-05-15 22:37:58 +00:00
Winson Chung 297fe2e3ab am 78b19667: Removing some dead code and extra view creation.
* commit '78b19667dad912ee6aadb9699c21e33c39ec550f':
  Removing some dead code and extra view creation.
2015-05-15 21:42:45 +00:00
Winson Chung 78b19667da Removing some dead code and extra view creation.
b/21133230
2015-05-15 21:31:13 +00:00
Sunny Goyal 4fe5a37dda Optimizing shadow generation by reusing bitmap.
> 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
2015-05-15 14:10:20 -07:00
Winson Chung 47a49225a4 am afa77e94: Don\'t try and trim null strings.
* commit 'afa77e947d7b286c29cd6fc590b88d6cb425334f':
  Don't try and trim null strings.
2015-05-15 19:15:43 +00:00
Winson Chung afa77e947d Don't try and trim null strings.
Bug: 21161481
2015-05-15 19:07:51 +00:00
Sunny Goyal 5800e6bf81 am a214a63b: Preventing homscreen getting filled with secondary user apps, when launcher starts for the first time
* commit 'a214a63bfe365a0e81bc3082d56896c6df24d0b4':
  Preventing homscreen getting filled with secondary user apps, when launcher starts for the first time
2015-05-15 19:01:26 +00:00
Sunny Goyal 4d55767740 am 9353903d: Merge "Fixing issue with folder inflation" into ub-launcher3-burnaby
* commit '9353903d442fa8dc3dd93168e6f9cf0dcf999dd7':
  Fixing issue with folder inflation
2015-05-15 19:01:24 +00:00
Sunny Goyal a214a63bfe Preventing homscreen getting filled with secondary user apps, when launcher
starts for the first time

> Sorting the apps in the work folder by install time

Change-Id: Ia475b4ff3197d90e6dffe070c12c0aa16be9e292
2015-05-15 11:53:10 -07:00
Sunny Goyal 9353903d44 Merge "Fixing issue with folder inflation" into ub-launcher3-burnaby 2015-05-15 18:51:36 +00:00
Sunny Goyal c23da84a87 Fixing issue with folder inflation
> Folder was getting placed at the top left, instead of a custom position

Change-Id: Ief279fad1583085c61aaa403e9cbe687da895ae0
2015-05-15 11:51:18 -07:00
Winson Chung 49f9c8e032 am b4de9140: Merge "Ensure prediction bar is visible when intercepting touch events. " into ub-launcher3-burnaby
* commit 'b4de9140149982ae2671e123334666e64628d22a':
  Ensure prediction bar is visible when intercepting touch events.
2015-05-15 17:12:09 +00:00
Winson Chung b4de914014 Merge "Ensure prediction bar is visible when intercepting touch events. " into ub-launcher3-burnaby 2015-05-15 17:01:22 +00:00
Winson Chung 577d69e3cc am 2f08aa3e: Merge "Fixing crash when drawing prediction bar divider." into ub-launcher3-burnaby
* commit '2f08aa3ee0ef8b380a5e321d00bc9903b72bfd42':
  Fixing crash when drawing prediction bar divider.
2015-05-15 13:15:24 +00:00
Winson Chung 2f08aa3ee0 Merge "Fixing crash when drawing prediction bar divider." into ub-launcher3-burnaby 2015-05-15 13:07:37 +00:00
Winson Chung 6339911bd4 Ensure prediction bar is visible when intercepting touch events.
Bug 21180943
2015-05-15 06:02:44 -07:00