Commit Graph

9768 Commits

Author SHA1 Message Date
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 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 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
Sunny Goyal 663384d594 am a8a45468: Merge "Adding padding to the folder content" into ub-launcher3-burnaby
* commit 'a8a4546805876fe18e95917f6faa13caaa4eae2f':
  Adding padding to the folder content
2015-05-15 02:27:20 +00:00
Sunny Goyal a8a4546805 Merge "Adding padding to the folder content" into ub-launcher3-burnaby 2015-05-15 02:22:00 +00:00
Hyunyoung Song 58de285901 am b2751ba5: Changing the text sizes in the widget tray based on feedback from UX
* commit 'b2751ba5247e026049a38131c6c7d67ee826c8aa':
  Changing the text sizes in the widget tray based on feedback from UX
2015-05-15 01:11:50 +00:00
Hyunyoung Song b2751ba524 Changing the text sizes in the widget tray based on feedback from UX
Change-Id: Ide984049a326a6629269e90be3468a53a9dc60e3
2015-05-14 18:02:15 -07:00
Hyunyoung Song 388a3ec725 am e3a1df20: Merge "Place the work profile badge in the correct bottom right (left for RTL) location" into ub-launcher3-burnaby
* commit 'e3a1df20e6aa68175109c0bceb8cbf4b7fe80978':
  Place the work profile badge in the correct bottom right (left for RTL) location
2015-05-15 00:17:51 +00:00
Hyunyoung Song e3a1df20e6 Merge "Place the work profile badge in the correct bottom right (left for RTL) location" into ub-launcher3-burnaby 2015-05-15 00:09:49 +00:00
Hyunyoung Song 6babf2e27e Place the work profile badge in the correct bottom right (left for RTL)
location

Also:
- clean up of some code
- remove requestLayout() method call that is not needed.

b/20338602

Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99
2015-05-14 17:08:45 -07:00
Winson Chung a5adb1f1d9 am f7e85f85: Merge "Fixing fast scroller invalidation on pre-L devices." into ub-launcher3-burnaby
* commit 'f7e85f85d373103e45c9a54df0827efe94417031':
  Fixing fast scroller invalidation on pre-L devices.
2015-05-14 22:57:33 +00:00
Winson Chung 7c51a4bd97 am 8c01f810: Don\'t account for prediction bar height when there are no predictions.
* commit '8c01f810ebcddeb2e9f3a6599c62f701e9c3cac9':
  Don't account for prediction bar height when there are no predictions.
2015-05-14 22:57:32 +00:00
Winson Chung 4ddc340f67 Fixing crash when drawing prediction bar divider. 2015-05-14 22:56:03 +00:00
Winson Chung f7e85f85d3 Merge "Fixing fast scroller invalidation on pre-L devices." into ub-launcher3-burnaby 2015-05-14 22:55:42 +00:00
Winson Chung 8c01f810eb Don't account for prediction bar height when there are no predictions.
Change-Id: Icd4d52908de8d2de9d144e8ea469adbbcfe7cad3
2015-05-14 22:50:36 +00:00