Commit Graph

4157 Commits

Author SHA1 Message Date
Hyunyoung Song
358af81ca4 Merge "Set proper height of the widget tray container for preloading." into ub-launcher3-burnaby 2015-05-13 19:48:11 +00:00
Winson Chung
21e7311ea1 Removing logging code from last CL. 2015-05-13 19:12:55 +00:00
Hyunyoung Song
fe7580aac4 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
2015-05-13 12:00:23 -07:00
Vadim Tryshev
8a496ac99e Merge "Fixing accessibility scrolling events generated by PagedView:" into ub-launcher3-burnaby 2015-05-13 17:42:31 +00:00
Winson Chung
927b36ae0b Merge "Pulling out predictions into another row view." into ub-launcher3-burnaby 2015-05-13 16:30:07 +00:00
Winson Chung
208ed75cfd Pulling out predictions into another row view.
Change-Id: Iba0d74457a1314cf0c00a88f9b07df049334e542
2015-05-13 09:10:31 -07:00
Sunny Goyal
bfcb652c77 Merge "Animating the folder title & page indicator when a multi-page folder is opened for the first time" into ub-launcher3-burnaby 2015-05-13 03:25:37 +00:00
Winson Chung
11509ad61a Fixing regression from g/649060 regarding building layers for detached views.
Bug: 21063014

Change-Id: Iff0dba8be5fe7ef5dce4fc65fb6391c33c50b253
2015-05-13 02:01:21 +00:00
Winson Chung
ed0c1cc739 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
2015-05-13 01:53:23 +00:00
Hyunyoung Song
426b94b207 Typecast to correct LayoutParams
Change-Id: Ifdd04923563a0ef57bd281d1b55b8af0e4cc59f0
2015-05-12 16:27:50 -07:00
Hyunyoung Song
5cd1d92f6c 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
2015-05-12 15:40:09 -07:00
Sunny Goyal
fc9d3d8bcb Merge "Removing empty folders in loader" into ub-launcher3-burnaby 2015-05-12 22:19:11 +00:00
Sunny Goyal
07b75b85c2 Merge "Using BubbleTextView for widget section headers" into ub-launcher3-burnaby 2015-05-12 22:12:00 +00:00
Sunny Goyal
19e4d9db28 Merge "Preventing NullPointerException when cancelling a shortcut addition" into ub-launcher3-burnaby 2015-05-12 21:43:52 +00:00
Winson Chung
a3499dc019 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
2015-05-12 21:19:32 +00:00
Sunny Goyal
f044bb1edd Preventing NullPointerException when cancelling a shortcut addition
Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457
2015-05-12 13:31:19 -07:00
Winson Chung
f6d7f4f21c Merge "Exploring dense all apps layout." into ub-launcher3-burnaby 2015-05-12 18:40:32 +00:00
Sunny Goyal
0e08f166fa Using BubbleTextView for widget section headers
> Loading highres icons on the worker thread.

Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca
2015-05-12 11:40:24 -07:00
Sunny Goyal
1936ec048c Removing empty folders in loader
Bug: 21050720
Change-Id: Id174bb1e18b070e32273d66649f0e286e3546f89
2015-05-12 11:03:24 -07:00
Winson Chung
44d0aacd5f Fixing issue with font size.
Change-Id: I3f32840333f96ce49dfb915da3f335de0c0b022e
2015-05-12 01:03:49 +00:00
Winson Chung
13eb527b5a 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
2015-05-11 17:53:47 -07:00
Sunny Goyal
57ebefb589 Merge "Various icon size changes" into ub-launcher3-burnaby 2015-05-11 23:55:12 +00:00
Sunny Goyal
dfaccf64bd 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
2015-05-11 16:48:05 -07:00
Sunny Goyal
bcae8f0272 Merge "Updating folder grid sizes for various devices" into ub-launcher3-burnaby 2015-05-11 22:53:47 +00:00
Hyunyoung Song
f385e3c058 Merge "Ensure that clipping widget size is 20~40% of its width on every devices" into ub-launcher3-burnaby 2015-05-11 22:52:36 +00:00
Winson Chung
814f1eb805 Merge "Initial changes to support predicted apps." into ub-launcher3-burnaby 2015-05-11 22:04:36 +00:00
Winson Chung
4ac3006873 Initial changes to support predicted apps.
Change-Id: I80117d51074fe3dbdbb8d81cae886b1dffdfb86a
2015-05-11 21:59:39 +00:00
Hyunyoung Song
4b69f2ca91 Ensure that clipping widget size is 20~40% of its width on every devices
b/20338324
b/20763871

Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601
2015-05-11 14:55:07 -07:00
Sunny Goyal
1d7a55668e Merge "When updating an icon, keeping the drawable padding same as before" into ub-launcher3-burnaby 2015-05-11 21:51:41 +00:00
Sunny Goyal
ddc20bff8f When updating an icon, keeping the drawable padding same as before
Bug: 17879518
Change-Id: Ifc819c353069bf470fd7ef6f989e4a2ea1289d2d
2015-05-11 14:09:30 -07:00
Winson Chung
485693c9ef Merge "Trim all whitespace from titles and labels." into ub-launcher3-burnaby 2015-05-11 20:06:17 +00:00
Sunny Goyal
62227274cb Merge "Using xml-drawable and elevation as folder background" into ub-launcher3-burnaby 2015-05-11 18:54:45 +00:00
Sunny Goyal
484d56b475 Merge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnaby 2015-05-11 18:54:11 +00:00
Sunny Goyal
9c6e175a18 Merge "Adding accessibility widget resize" into ub-launcher3-burnaby 2015-05-11 18:53:52 +00:00
Sunny Goyal
fee35bbfac Updating folder grid sizes for various devices
Change-Id: Ifd5930a4d6f54428500c0ef61ef21c0fc6a6f5cd
2015-05-11 11:38:46 -07:00
Vadim Tryshev
f4715974b8 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
2015-05-11 17:40:07 +00:00
Winson Chung
82b016cb56 Trim all whitespace from titles and labels.
Bug: 20953160

Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
2015-05-08 22:22:39 -07:00
Winson Chung
99d96ba6c8 Fixing issue with fast scroller not showing sub-section headers.
- Removed some old logic to draw merged section headers

Change-Id: I2a7ff9948a3dce253d6bdcda89cc9f222faab309
2015-05-09 00:39:01 +00:00
Winson Chung
3253bf4088 Merge "Updating sticky headers." into ub-launcher3-burnaby 2015-05-09 00:38:08 +00:00
Winson Chung
5b3707352b Merge "Make common base class to update container bounds and to handle scroll logic." into ub-launcher3-burnaby 2015-05-08 21:41:58 +00:00
Winson Chung
9480415d9b Make common base class to update container bounds and to handle scroll logic.
Bug: 20763871

Change-Id: I8c2f45cfb10964e4be7e9c07c89dd336585c9989
2015-05-08 21:41:40 +00:00
Sunny Goyal
b7e15adc7b Animating the folder title & page indicator when a multi-page folder
is opened for the first time

Change-Id: I70f5fd942724251a5e863fbb78a0c24f440b0283
2015-05-08 09:58:18 -07:00
Winson Chung
de34aa401e Updating sticky headers.
- The whole section's headers are drawn together, moving as a group
  until it reaches the individual bounds for each letter in the section
- Adding animation to search button -> field transition
- Fixing section header text measuring causing sections not to be centered
- Forcing the merge to stop if an app has > 3 full rows; on both phone and
  tablet, merging a large section with anything else seems to be less useful
2015-05-08 01:26:24 +00:00
Sunny Goyal
75deaf3d8f Using xml-drawable and elevation as folder background
Change-Id: I21376bd3de8cd58c646d0898d5a8303af9057218
2015-05-07 16:13:35 -07:00
Winson Chung
ea449fa37b Merge "Fixing issue where apps were not re-sorted after updating." into ub-launcher3-burnaby 2015-05-07 20:32:32 +00:00
Winson Chung
f50c12788c Fixing issue where apps were not re-sorted after updating.
Bug: 20163738
Change-Id: I2fbefc6f451d8eef3d17f727be450a04204a9ca3
2015-05-07 13:29:30 -07:00
Hyunyoung Song
14706b1e64 Merge "Widgets should also be bound when binding all apps. b/20915830" into ub-launcher3-burnaby 2015-05-07 19:54:09 +00:00
Hyunyoung Song
219d048711 Widgets should also be bound when binding all apps.
b/20915830

Change-Id: I772156f8a8d361f485fb4d7edc447c2cee2edf23
2015-05-07 12:51:42 -07:00
Adam Cohen
4e267f4cdc Merge "Adding abstract methods for new RecyclerView lib." into ub-launcher3-burnaby 2015-05-07 18:22:35 +00:00
Winson Chung
0a71b9d83f Adding abstract methods for new RecyclerView lib.
Change-Id: I50c3dfaecd79a87340ed4eeaa3195a26311062e0
2015-05-07 11:14:42 -07:00