OSDN Git Service

android-x86/packages-apps-Launcher3.git
9 years agoAvoiding blocking worker thread when adding icons to DB
Sunny Goyal [Fri, 15 May 2015 23:59:36 +0000 (16:59 -0700)]
Avoiding blocking worker thread when adding icons to DB

Bug: 20945600
Change-Id: If12b21ac62c55c769838ce17d5421f147c396256

9 years agoMerge "Updating the widget error view" into ub-launcher3-burnaby
Sunny Goyal [Tue, 19 May 2015 19:15:12 +0000 (19:15 +0000)]
Merge "Updating the widget error view" into ub-launcher3-burnaby

9 years agoUpdating the widget error view
Sunny Goyal [Tue, 19 May 2015 18:42:45 +0000 (11:42 -0700)]
Updating the widget error view

Change-Id: I3ed6336bd9f5a795204a87feedc83663355abcf2

9 years agoEnsure that we have a reasonable cache size for AllApps.
Winson Chung [Fri, 15 May 2015 23:30:08 +0000 (16:30 -0700)]
Ensure that we have a reasonable cache size for AllApps.

Change-Id: Ic0cb5ec2911567102227748cd9d2c1d8297fe105

9 years agoSynchronizing views dependent on scroll during pre-draw.
Winson Chung [Fri, 15 May 2015 19:03:37 +0000 (12:03 -0700)]
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

9 years agoFixing issue with prediction bar apps erroneously being tapped.
Winson Chung [Fri, 15 May 2015 00:24:58 +0000 (17:24 -0700)]
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

9 years agoVerify that an image can be rendered on a GL Surface before using it
Sunny Goyal [Mon, 18 May 2015 23:40:56 +0000 (16:40 -0700)]
Verify that an image can be rendered on a GL Surface before using it

Bug: 20138883
Change-Id: I8de70eb971f31c2a4c07a7903e097a1586402282

9 years agoRemoving some thread priority management logic
Sunny Goyal [Mon, 18 May 2015 22:42:48 +0000 (15:42 -0700)]
Removing some thread priority management logic

> Not saving folder id in onSaveInstance as it is not used.

Change-Id: I176beb77cafe27ec4b7500d65dc86287d2f2e0cb

9 years agoStarting the loader if the previous loader is not complete, instead of binding page...
Sunny Goyal [Mon, 18 May 2015 22:19:29 +0000 (15:19 -0700)]
Starting the loader if the previous loader is not complete, instead of binding page synchronously

Bug: 21107637
Change-Id: If04952c7d5c8a38a739ce5536ecac394011ab61a

9 years agoMerge "Preventing relayout when loading high-res icons" into ub-launcher3-burnaby
Sunny Goyal [Mon, 18 May 2015 18:15:21 +0000 (18:15 +0000)]
Merge "Preventing relayout when loading high-res icons" into ub-launcher3-burnaby

9 years agoMerge "Initially set the widget container view to GONE visibility" into ub-launcher3...
Hyunyoung Song [Sat, 16 May 2015 00:16:25 +0000 (00:16 +0000)]
Merge "Initially set the widget container view to GONE visibility" into ub-launcher3-burnaby

9 years agoPreventing relayout when loading high-res icons
Sunny Goyal [Sat, 16 May 2015 00:00:24 +0000 (17:00 -0700)]
Preventing relayout when loading high-res icons

Bug: 21133230
Change-Id: I1ec4dbfd28c42fa1c0e28b3fa746c0bc5dfaba7c

9 years agoInitially set the widget container view to GONE visibility
Hyunyoung Song [Sat, 16 May 2015 00:04:18 +0000 (17:04 -0700)]
Initially set the widget container view to GONE visibility

- Bitmap loading should not happen when Launcher3 is being loaded.

b/21207643

Change-Id: I1b6a5f970d157d139e0e5021182048f752b67415

9 years agoReducing calls to onCreateViewHolder due to animating children.
Winson Chung [Fri, 15 May 2015 22:15:11 +0000 (15:15 -0700)]
Reducing calls to onCreateViewHolder due to animating children.

Bug 21133230

Change-Id: Ib5be0766d1ea56976195e33526d7595a16672eef

9 years agoMerge "Transition from back to showing widget tray if shortcut/Widget configure activ...
Hyunyoung Song [Fri, 15 May 2015 23:36:45 +0000 (23:36 +0000)]
Merge "Transition from back to showing widget tray if shortcut/Widget configure activity was cancelled." into ub-launcher3-burnaby

9 years agoTransition from back to showing widget tray if shortcut/Widget configure activity
Hyunyoung Song [Fri, 15 May 2015 23:29:45 +0000 (16:29 -0700)]
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

9 years agoMerge "Optimizing shadow generation by reusing bitmap." into ub-launcher3-burnaby
Sunny Goyal [Fri, 15 May 2015 22:37:58 +0000 (22:37 +0000)]
Merge "Optimizing shadow generation by reusing bitmap." into ub-launcher3-burnaby

9 years agoRemoving some dead code and extra view creation.
Winson Chung [Fri, 15 May 2015 21:12:04 +0000 (14:12 -0700)]
Removing some dead code and extra view creation.

b/21133230

9 years agoOptimizing shadow generation by reusing bitmap.
Sunny Goyal [Fri, 15 May 2015 02:55:10 +0000 (19:55 -0700)]
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

9 years agoDon't try and trim null strings.
Winson Chung [Fri, 15 May 2015 19:04:03 +0000 (12:04 -0700)]
Don't try and trim null strings.

Bug: 21161481

9 years agoPreventing homscreen getting filled with secondary user apps, when launcher
Sunny Goyal [Wed, 6 May 2015 19:23:34 +0000 (12:23 -0700)]
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

9 years agoMerge "Fixing issue with folder inflation" into ub-launcher3-burnaby
Sunny Goyal [Fri, 15 May 2015 18:51:35 +0000 (18:51 +0000)]
Merge "Fixing issue with folder inflation" into ub-launcher3-burnaby

9 years agoFixing issue with folder inflation
Sunny Goyal [Fri, 15 May 2015 03:44:01 +0000 (20:44 -0700)]
Fixing issue with folder inflation

> Folder was getting placed at the top left, instead of a custom position

Change-Id: Ief279fad1583085c61aaa403e9cbe687da895ae0

9 years agoMerge "Ensure prediction bar is visible when intercepting touch events. " into ub...
Winson Chung [Fri, 15 May 2015 17:01:22 +0000 (17:01 +0000)]
Merge "Ensure prediction bar is visible when intercepting touch events. " into ub-launcher3-burnaby

9 years agoMerge "Fixing crash when drawing prediction bar divider." into ub-launcher3-burnaby
Winson Chung [Fri, 15 May 2015 13:07:36 +0000 (13:07 +0000)]
Merge "Fixing crash when drawing prediction bar divider." into ub-launcher3-burnaby

9 years agoEnsure prediction bar is visible when intercepting touch events.
Winson Chung [Fri, 15 May 2015 13:02:44 +0000 (06:02 -0700)]
Ensure prediction bar is visible when intercepting touch events.

Bug 21180943

9 years agoMerge "Adding padding to the folder content" into ub-launcher3-burnaby
Sunny Goyal [Fri, 15 May 2015 02:21:59 +0000 (02:21 +0000)]
Merge "Adding padding to the folder content" into ub-launcher3-burnaby

9 years agoChanging the text sizes in the widget tray based on feedback from UX
Hyunyoung Song [Fri, 15 May 2015 01:02:15 +0000 (18:02 -0700)]
Changing the text sizes in the widget tray based on feedback from UX

Change-Id: Ide984049a326a6629269e90be3468a53a9dc60e3

9 years agoMerge "Place the work profile badge in the correct bottom right (left for RTL) locati...
Hyunyoung Song [Fri, 15 May 2015 00:09:49 +0000 (00:09 +0000)]
Merge "Place the work profile badge in the correct bottom right (left for RTL) location" into ub-launcher3-burnaby

9 years agoPlace the work profile badge in the correct bottom right (left for RTL)
Hyunyoung Song [Fri, 15 May 2015 00:08:45 +0000 (17:08 -0700)]
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

9 years agoFixing crash when drawing prediction bar divider.
Winson Chung [Thu, 14 May 2015 22:38:22 +0000 (15:38 -0700)]
Fixing crash when drawing prediction bar divider.

9 years agoMerge "Fixing fast scroller invalidation on pre-L devices." into ub-launcher3-burnaby
Winson Chung [Thu, 14 May 2015 22:55:41 +0000 (22:55 +0000)]
Merge "Fixing fast scroller invalidation on pre-L devices." into ub-launcher3-burnaby

9 years agoDon't account for prediction bar height when there are no predictions.
Winson Chung [Thu, 14 May 2015 19:49:22 +0000 (12:49 -0700)]
Don't account for prediction bar height when there are no predictions.

Change-Id: Icd4d52908de8d2de9d144e8ea469adbbcfe7cad3

9 years agoFixing fast scroller invalidation on pre-L devices.
Winson Chung [Thu, 14 May 2015 19:34:55 +0000 (12:34 -0700)]
Fixing fast scroller invalidation on pre-L devices.

Change-Id: Ie776eff314db4b392ede70be1a332b0d80e0647c

9 years agoOverriding proper layout params methods for a custom ViewGroup
Sunny Goyal [Thu, 14 May 2015 22:20:48 +0000 (15:20 -0700)]
Overriding proper layout params methods for a custom ViewGroup

Change-Id: Ib6176a0da510eaa0992551ab4afa6f73b4763db0

9 years agoMerge "Extending the shadow effect for search bar to lower devices" into ub-launcher3...
Sunny Goyal [Thu, 14 May 2015 22:01:29 +0000 (22:01 +0000)]
Merge "Extending the shadow effect for search bar to lower devices" into ub-launcher3-burnaby

9 years agoMerge "Prevent work folder creation when launcher is upgraded." into ub-launcher3...
Sunny Goyal [Thu, 14 May 2015 21:52:29 +0000 (21:52 +0000)]
Merge "Prevent work folder creation when launcher is upgraded." into ub-launcher3-burnaby

9 years agoExtending the shadow effect for search bar to lower devices
Sunny Goyal [Thu, 14 May 2015 00:40:42 +0000 (17:40 -0700)]
Extending the shadow effect for search bar to lower devices

> Applying the background to the whole container instead of recycleview

Change-Id: Ifc90d05e0e96c41ba9aaf96b906211b101c2e197

9 years agoMerge "Various lint error fixes." into ub-launcher3-burnaby
Sunny Goyal [Thu, 14 May 2015 21:42:07 +0000 (21:42 +0000)]
Merge "Various lint error fixes." into ub-launcher3-burnaby

9 years agoLimiting number of predictions on phones.
Winson Chung [Thu, 14 May 2015 20:15:29 +0000 (13:15 -0700)]
Limiting number of predictions on phones.

9 years agoMerge "Fixing crash when updating the scroll position state when there are no items...
Winson Chung [Thu, 14 May 2015 19:35:57 +0000 (19:35 +0000)]
Merge "Fixing crash when updating the scroll position state when there are no items." into ub-launcher3-burnaby

9 years agoMerge "Revert "Revert "Fixing issue where the prediction bar could be misplaced after...
Adam Cohen [Thu, 14 May 2015 19:32:17 +0000 (19:32 +0000)]
Merge "Revert "Revert "Fixing issue where the prediction bar could be misplaced after installing an app.""" into ub-launcher3-burnaby

9 years agoRevert "Revert "Fixing issue where the prediction bar could be misplaced after instal...
Winson Chung [Thu, 14 May 2015 19:28:55 +0000 (19:28 +0000)]
Revert "Revert "Fixing issue where the prediction bar could be misplaced after installing an app.""

This reverts commit 12717c04c197364359fc1d74efc1210478a56b5d.

Change-Id: Ieece275e55172f5b6fa52685a273c98e88afd921

9 years agoMerge "Revert "Fixing issue where the prediction bar could be misplaced after install...
Adam Cohen [Thu, 14 May 2015 19:28:35 +0000 (19:28 +0000)]
Merge "Revert "Fixing issue where the prediction bar could be misplaced after installing an app."" into ub-launcher3-burnaby

9 years agoVarious lint error fixes.
Sunny Goyal [Thu, 14 May 2015 07:07:08 +0000 (00:07 -0700)]
Various lint error fixes.

> Fixing some RTL errors by specifying both marginStart and marginLeft
> Moving all layout direction checks to Utilities
> Explicitely adding @TargetApi before every method

Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0

9 years agoRevert "Fixing issue where the prediction bar could be misplaced after installing...
Winson Chung [Thu, 14 May 2015 19:27:22 +0000 (19:27 +0000)]
Revert "Fixing issue where the prediction bar could be misplaced after installing an app."

This reverts commit 02baa79e1f75f4c0cc9633d2e634a191321be316.

Change-Id: I69c6766d78affcc2a1a4b41a69888cba99fcf7d0

9 years agoFixing crash when updating the scroll position state when there are no items.
Winson Chung [Thu, 14 May 2015 19:24:25 +0000 (12:24 -0700)]
Fixing crash when updating the scroll position state when there are no items.

Change-Id: I2bee8dedb2e546c956b7d9ff36187fb75183bd35

9 years agoReodering some drawables
Sunny Goyal [Wed, 13 May 2015 20:06:11 +0000 (13:06 -0700)]
Reodering some drawables

  > quantum_panel_shape is xml rectangle with no margin
  > quantum_panel_bitmap is 9-patch drawable with inbuild shadow and margin
  > quantum_panel uses xml-shape for lollipop and 9-patch image for lower
    devices. It includes margin. For shadow, use elevation on lollipop
  > All drawables have _dark variant
  > Using #f5f5f5 for panel background, instead of #ffffff

Change-Id: Ia7c6cea6d514ee3774fcf5fef6139650bdd53208

9 years agoMerge "Removing some more unused resources" into ub-launcher3-burnaby
Sunny Goyal [Thu, 14 May 2015 18:06:57 +0000 (18:06 +0000)]
Merge "Removing some more unused resources" into ub-launcher3-burnaby

9 years agoMerge "Fixing issue where the prediction bar could be misplaced after installing...
Winson Chung [Thu, 14 May 2015 17:14:27 +0000 (17:14 +0000)]
Merge "Fixing issue where the prediction bar could be misplaced after installing an app." into ub-launcher3-burnaby

9 years agoFixing issue where the prediction bar could be misplaced after installing an app.
Winson Chung [Thu, 14 May 2015 16:55:17 +0000 (09:55 -0700)]
Fixing issue where the prediction bar could be misplaced after installing an app.

- When the adapter changes, we didn't update the scroll position that the prediction
  bar tracks, which caused it to be misplaced.  This forces a refresh of that scroll
  position to the current state whenever an app is removed or added.

9 years agoRemoving some more unused resources
Sunny Goyal [Thu, 14 May 2015 16:52:06 +0000 (09:52 -0700)]
Removing some more unused resources

Change-Id: Ia09045d2aa88eb1ec17ac4f201aeaf77c6870678

9 years agoMerge "Resource cleanup: Removing obsolete resources" into ub-launcher3-burnaby
Sunny Goyal [Thu, 14 May 2015 16:03:49 +0000 (16:03 +0000)]
Merge "Resource cleanup: Removing obsolete resources" into ub-launcher3-burnaby

9 years agoFixing issue with touch scrolling the prediction bar.
Winson Chung [Wed, 13 May 2015 22:44:26 +0000 (15:44 -0700)]
Fixing issue with touch scrolling the prediction bar.

Change-Id: Ie15ca96e5ea33a54508285aa76fb6aea81b2376d

9 years agoAdding padding to the folder content
Sunny Goyal [Wed, 13 May 2015 23:01:07 +0000 (16:01 -0700)]
Adding padding to the folder content

Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f

9 years agoMerge "Set proper height of the widget tray container for preloading." into ub-launch...
Hyunyoung Song [Wed, 13 May 2015 19:48:09 +0000 (19:48 +0000)]
Merge "Set proper height of the widget tray container for preloading." into ub-launcher3-burnaby

9 years agoRemoving logging code from last CL.
Winson Chung [Wed, 13 May 2015 19:11:52 +0000 (12:11 -0700)]
Removing logging code from last CL.

9 years agoSet proper height of the widget tray container for preloading.
Hyunyoung Song [Wed, 13 May 2015 19:00:23 +0000 (12:00 -0700)]
Set proper height of the widget tray container for preloading.

- previous height value was 0 before, now set it to proper height.
However, getExtraLayoutSpace still worked because the super method set
extra space (1 screen worth) only when ScrollState is non idle.

Change-Id: Ifbaa6a105fe392735e106996d1f08276e678ebcb

9 years agoResource cleanup: Removing obsolete resources
Sunny Goyal [Wed, 13 May 2015 18:23:24 +0000 (11:23 -0700)]
Resource cleanup: Removing obsolete resources

> For workspace scrim, using a flat color, instead of a 1-pixel bitmap

Change-Id: I7e8a16293b90303b0674d7f678c3f4cc5fb8a962

9 years agoMerge "Fixing accessibility scrolling events generated by PagedView:" into ub-launche...
Vadim Tryshev [Wed, 13 May 2015 17:42:30 +0000 (17:42 +0000)]
Merge "Fixing accessibility scrolling events generated by PagedView:" into ub-launcher3-burnaby

9 years agoMerge "Pulling out predictions into another row view." into ub-launcher3-burnaby
Winson Chung [Wed, 13 May 2015 16:28:15 +0000 (16:28 +0000)]
Merge "Pulling out predictions into another row view." into ub-launcher3-burnaby

9 years agoPulling out predictions into another row view.
Winson Chung [Wed, 13 May 2015 02:05:30 +0000 (19:05 -0700)]
Pulling out predictions into another row view.

Change-Id: Iba0d74457a1314cf0c00a88f9b07df049334e542

9 years agoMerge "Animating the folder title & page indicator when a multi-page folder is opened...
Sunny Goyal [Wed, 13 May 2015 03:25:36 +0000 (03:25 +0000)]
Merge "Animating the folder title & page indicator when a multi-page folder is opened for the first time" into ub-launcher3-burnaby

9 years agoam a6095969: Preventing NullPointerException when cancelling a shortcut addition
Sunny Goyal [Wed, 13 May 2015 02:22:10 +0000 (02:22 +0000)]
am a6095969: Preventing NullPointerException when cancelling a shortcut addition

* commit 'a6095969bb5938ad95ee9f858970d5eb54eb124d':
  Preventing NullPointerException when cancelling a shortcut addition

9 years agoFixing regression from g/649060 regarding building layers for detached views.
Winson Chung [Wed, 13 May 2015 01:55:26 +0000 (18:55 -0700)]
Fixing regression from g/649060 regarding building layers for detached views.

Bug: 21063014

Change-Id: Iff0dba8be5fe7ef5dce4fc65fb6391c33c50b253

9 years agoMinor visual tweaks.
Winson Chung [Tue, 12 May 2015 20:01:54 +0000 (13:01 -0700)]
Minor visual tweaks.

- Drawing full divider under predicted apps
- Enabling dynamic search bar elevation
- Increasing fast scroller pop-up size
- Insetting the padding to prevent the scroll bar from overlapping with app titles

Bug: 20299865

Change-Id: I48ffde43c2158c23b54cd43fede722da41ccc111

9 years agoPreventing NullPointerException when cancelling a shortcut addition
Sunny Goyal [Tue, 12 May 2015 20:30:07 +0000 (13:30 -0700)]
Preventing NullPointerException when cancelling a shortcut addition

Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457
(cherry picked from commit f044bb1edd8670fbc2cf9eeb1a51c31b91f0889c)

9 years agoTypecast to correct LayoutParams
Hyunyoung Song [Tue, 12 May 2015 23:27:50 +0000 (16:27 -0700)]
Typecast to correct LayoutParams

Change-Id: Ifdd04923563a0ef57bd281d1b55b8af0e4cc59f0

9 years agoUnbreak the build. Remove extra xml version definition.
Hyunyoung Song [Tue, 12 May 2015 22:58:09 +0000 (15:58 -0700)]
Unbreak the build. Remove extra xml version definition.

Change-Id: I42f1c21143bef6181828d1135deaaf153acbf984

9 years agoFixing several layout issues.
Hyunyoung Song [Tue, 12 May 2015 22:36:20 +0000 (15:36 -0700)]
Fixing several layout issues.

- N7/N9 indented area should not block scroll view
- separator at the end of the widget cell should not show up on the last item.

Not covered in this CL:
- Guarantee that last item is showing only 20~40%. Right now, the
hand picked constant works for N5,6,7,9

b/20338324
b/20763871

Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5

9 years agoMerge "Removing empty folders in loader" into ub-launcher3-burnaby
Sunny Goyal [Tue, 12 May 2015 22:19:10 +0000 (22:19 +0000)]
Merge "Removing empty folders in loader" into ub-launcher3-burnaby

9 years agoMerge "Using BubbleTextView for widget section headers" into ub-launcher3-burnaby
Sunny Goyal [Tue, 12 May 2015 22:11:59 +0000 (22:11 +0000)]
Merge "Using BubbleTextView for widget section headers" into ub-launcher3-burnaby

9 years agoMerge "Preventing NullPointerException when cancelling a shortcut addition" into...
Sunny Goyal [Tue, 12 May 2015 21:43:51 +0000 (21:43 +0000)]
Merge "Preventing NullPointerException when cancelling a shortcut addition" into ub-launcher3-burnaby

9 years agoMerge "Removing obsolete strings with no default translation" into ub-launcher3-burnaby
Sunny Goyal [Tue, 12 May 2015 21:21:59 +0000 (21:21 +0000)]
Merge "Removing obsolete strings with no default translation" into ub-launcher3-burnaby

9 years agoTweaking section processing for different languages
Winson Chung [Tue, 12 May 2015 05:12:38 +0000 (22:12 -0700)]
Tweaking section processing for different languages

- Ensuring that apps with non-letter/digit characters are ordered last in the misc bucket
- Removing duplicate latin-alphabet sections for Simplified Chinese
- Adding more appropriate misc bucket label for Japanese

Bug 21022854

Change-Id: I62c7b219820ef88787fcfa83f1bd4202f16f9c0c

9 years agoRemoving obsolete strings with no default translation
Sunny Goyal [Tue, 12 May 2015 21:03:15 +0000 (14:03 -0700)]
Removing obsolete strings with no default translation

Change-Id: I80613460450078ef5f1fd495c8dced3abf8d273f

9 years agoPreventing NullPointerException when cancelling a shortcut addition
Sunny Goyal [Tue, 12 May 2015 20:30:07 +0000 (13:30 -0700)]
Preventing NullPointerException when cancelling a shortcut addition

Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457

9 years agoMerge "Exploring dense all apps layout." into ub-launcher3-burnaby
Winson Chung [Tue, 12 May 2015 18:40:31 +0000 (18:40 +0000)]
Merge "Exploring dense all apps layout." into ub-launcher3-burnaby

9 years agoUsing BubbleTextView for widget section headers
Sunny Goyal [Tue, 12 May 2015 18:32:39 +0000 (11:32 -0700)]
Using BubbleTextView for widget section headers

> Loading highres icons on the worker thread.

Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca

9 years agoRemoving empty folders in loader
Sunny Goyal [Tue, 12 May 2015 18:03:04 +0000 (11:03 -0700)]
Removing empty folders in loader

Bug: 21050720
Change-Id: Id174bb1e18b070e32273d66649f0e286e3546f89

9 years agoPrevent work folder creation when launcher is upgraded.
Sunny Goyal [Tue, 12 May 2015 17:39:59 +0000 (10:39 -0700)]
Prevent work folder creation when launcher is upgraded.

Change-Id: If7a91e0852dae1bf5dcf21e89c1771b5f37629f3

9 years agoFixing issue with font size.
Winson Chung [Tue, 12 May 2015 01:02:55 +0000 (18:02 -0700)]
Fixing issue with font size.

Change-Id: I3f32840333f96ce49dfb915da3f335de0c0b022e

9 years agoExploring dense all apps layout.
Winson Chung [Mon, 11 May 2015 23:30:13 +0000 (16:30 -0700)]
Exploring dense all apps layout.

- Disabling section headers in all apps on tablet layouts
- Fixing issue with predictions not showing on rotation
- Fixing issue with over-aggressive dismissing of keyboard & filtered app state
- Fixing issue where the container bounds were running straight up to the nav bar

Change-Id: I5a5a56afa75b50be96af4894bf785ffbb1b15fb3

9 years agoMerge "Various icon size changes" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 23:55:11 +0000 (23:55 +0000)]
Merge "Various icon size changes" into ub-launcher3-burnaby

9 years agoVarious icon size changes
Sunny Goyal [Mon, 11 May 2015 23:30:44 +0000 (16:30 -0700)]
Various icon size changes

1) Setting different icon and text size for workspace and all apps
2) Setting padding during BubbleTextView inflation

Change-Id: I59da6986b0d98e8e2aa6065743bb799a6bf06a37

9 years agoMerge "Updating folder grid sizes for various devices" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 22:53:47 +0000 (22:53 +0000)]
Merge "Updating folder grid sizes for various devices" into ub-launcher3-burnaby

9 years agoMerge "Ensure that clipping widget size is 20~40% of its width on every devices"...
Hyunyoung Song [Mon, 11 May 2015 22:52:36 +0000 (22:52 +0000)]
Merge "Ensure that clipping widget size is 20~40% of its width on every devices" into ub-launcher3-burnaby

9 years agoMerge "Initial changes to support predicted apps." into ub-launcher3-burnaby
Winson Chung [Mon, 11 May 2015 22:04:36 +0000 (22:04 +0000)]
Merge "Initial changes to support predicted apps." into ub-launcher3-burnaby

9 years agoInitial changes to support predicted apps.
Winson Chung [Sat, 9 May 2015 00:34:17 +0000 (17:34 -0700)]
Initial changes to support predicted apps.

Change-Id: I80117d51074fe3dbdbb8d81cae886b1dffdfb86a

9 years agoEnsure that clipping widget size is 20~40% of its width on every devices
Hyunyoung Song [Mon, 11 May 2015 21:55:07 +0000 (14:55 -0700)]
Ensure that clipping widget size is 20~40% of its width on every devices

b/20338324
b/20763871

Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601

9 years agoMerge "When updating an icon, keeping the drawable padding same as before" into ub...
Sunny Goyal [Mon, 11 May 2015 21:51:36 +0000 (21:51 +0000)]
Merge "When updating an icon, keeping the drawable padding same as before" into ub-launcher3-burnaby

9 years agoWhen updating an icon, keeping the drawable padding same as before
Sunny Goyal [Mon, 11 May 2015 21:08:36 +0000 (14:08 -0700)]
When updating an icon, keeping the drawable padding same as before

Bug: 17879518
Change-Id: Ifc819c353069bf470fd7ef6f989e4a2ea1289d2d

9 years agoMerge "Trim all whitespace from titles and labels." into ub-launcher3-burnaby
Winson Chung [Mon, 11 May 2015 20:06:16 +0000 (20:06 +0000)]
Merge "Trim all whitespace from titles and labels." into ub-launcher3-burnaby

9 years agoMerge "Using xml-drawable and elevation as folder background" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 18:54:45 +0000 (18:54 +0000)]
Merge "Using xml-drawable and elevation as folder background" into ub-launcher3-burnaby

9 years agoMerge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 18:54:11 +0000 (18:54 +0000)]
Merge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnaby

9 years agoMerge "Adding accessibility widget resize" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 18:53:52 +0000 (18:53 +0000)]
Merge "Adding accessibility widget resize" into ub-launcher3-burnaby

9 years agoUpdating folder grid sizes for various devices
Sunny Goyal [Mon, 11 May 2015 18:38:19 +0000 (11:38 -0700)]
Updating folder grid sizes for various devices

Change-Id: Ifd5930a4d6f54428500c0ef61ef21c0fc6a6f5cd

9 years agoFixing accessibility scrolling events generated by PagedView:
Vadim Tryshev [Sat, 9 May 2015 00:21:03 +0000 (17:21 -0700)]
Fixing accessibility scrolling events generated by PagedView:

1. Not generating scroll events from snapToPage(). It already gets
   generated from computeScrollHelper().

2. Not setting action because doing so is not mentioned here:
   http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html.

3. Not generating scroll event when the page stays same (before it was
   generated, say, when we simply returned from the AllApps view to
   Workspace).

4. From/To index is not the old and new page numbers; they are indices
   of the first and last item; in our case, the item is the page, and
   both FromIndex and ToIndex should be set to this page number.

Bug: 18761184
Change-Id: I3dadf816c3d45b8bd42a13930344874584467499

9 years agoTrim all whitespace from titles and labels.
Winson Chung [Sat, 9 May 2015 00:00:10 +0000 (17:00 -0700)]
Trim all whitespace from titles and labels.

Bug: 20953160

Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6

9 years agoFixing issue with fast scroller not showing sub-section headers.
Winson Chung [Fri, 8 May 2015 19:04:45 +0000 (12:04 -0700)]
Fixing issue with fast scroller not showing sub-section headers.

- Removed some old logic to draw merged section headers

Change-Id: I2a7ff9948a3dce253d6bdcda89cc9f222faab309