Commit Graph

305 Commits

Author SHA1 Message Date
Winson Chung 6103501fa6 Merge "Ensuring that we use the screen width more optimally in AllApps." into ub-launcher3-burnaby 2015-06-05 18:09:35 +00:00
Winson Chung 2c6e5ccbcd Ensuring that we use the screen width more optimally in AllApps.
- Fixing issue with prediction bar height being calculated incorrectly
- Fixing issue where the prediction bar divider was not drawn exactly
  between the bar and the first row of apps
- Removing padding to allow scrollbars to reach full height

Bug: 20222023
Bug: 21335377
Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
2015-06-05 09:49:12 -07:00
Sunny Goyal 40b626b930 Updating assets
Bug: 21304080
Change-Id: I26cf435779b477f0961d8e0d56dd6b86b418a3be
2015-06-05 08:47:40 -07:00
Hyunyoung Song 7b3bdcd6bb Merge "Consistent scrolling experience for All apps and widget tray" into ub-launcher3-burnaby 2015-06-04 18:39:44 +00:00
Hyunyoung Song ec84728b27 Consistent scrolling experience for All apps and widget tray
b/21375339

Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
2015-06-04 11:37:46 -07:00
Sunny Goyal a07c2f5c80 Folder UI fixes
> Fixing top padding (b/21304523)
> Alinging the label and page indicators to the icons
> Fixing folder label alingment in RTL (b/21445821)
> Updating footer animation (b/21336853)

Bug: 21304523, 21445821, 21336853
Change-Id: I2cf3a48c76653b19437b31252d6ee559ce798094
2015-06-01 16:15:54 -07:00
Sunny Goyal af80285acc Decrease elevation for the reveal view.
> During the end of allApps animation, the shadow suddenly changes from 15dp to 0

Change-Id: I93bcf1220396b2bda3efea7febc2195ef556938b
2015-05-22 15:26:26 -07:00
Winson Chung 5f4e0fdd2e Moving all apps code into sub package.
- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code

Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
2015-05-22 12:21:40 -07:00
Hyunyoung Song a9d012c6e6 Merge "Introduce scrollbar in widget tray" into ub-launcher3-burnaby 2015-05-21 23:00:18 +00:00
Hyunyoung Song dd721f8633 Introduce scrollbar in widget tray
b/21270754

Change-Id: I82dd87193f0ed5822f8cd75ef0c785057f949015
2015-05-21 15:31:42 -07: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 e0cab303b8 Setting drawable to droptarget in the code to avoid multiple drawable inflation
Change-Id: Ib713b3051e2707d46a4ee0090aed2db1d2e641b9
2015-05-20 16:41:08 -07:00
Sunny Goyal 99d950fb4d Removing unnecessary linear layout
Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
2015-05-20 14:43:18 -07: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 bc0998670b Merge "Adding drop shadow effect in allapps" into ub-launcher3-burnaby 2015-05-19 21:07:40 +00:00
Sunny Goyal 6cfad01b1c Merge "Widget cell improvement" into ub-launcher3-burnaby 2015-05-19 19:21:22 +00: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
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
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
Sunny Goyal 4b6eb26950 Adding drop shadow effect in allapps
Change-Id: Ic7a9b6e23d925d27a8dcbd418d2609e43917ac45
2015-05-15 15:47:10 -07: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 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
Sunny Goyal 12fb2cc8ec Extending the shadow effect for search bar to lower devices
> Applying the background to the whole container instead of recycleview

Change-Id: Ifc90d05e0e96c41ba9aaf96b906211b101c2e197
2015-05-14 14:44:11 -07:00
Sunny Goyal 7066003b20 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
2015-05-14 12:28:07 -07:00
Sunny Goyal 5a92b2356f 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
2015-05-14 11:14:09 -07:00
Sunny Goyal b94f6616f7 Removing some more unused resources
Change-Id: Ia09045d2aa88eb1ec17ac4f201aeaf77c6870678
2015-05-14 09:52:06 -07:00
Sunny Goyal 22fc63ee29 Adding padding to the folder content
Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f
2015-05-13 16:01:26 -07: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
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 07b75b85c2 Merge "Using BubbleTextView for widget section headers" into ub-launcher3-burnaby 2015-05-12 22:12:00 +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
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
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 62227274cb Merge "Using xml-drawable and elevation as folder background" into ub-launcher3-burnaby 2015-05-11 18:54:45 +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 83f59abc9c Explorations in dense grids for all apps.
- Adds sticky section headers
- Removing AppsListAdapter
- Adding search bar field
- Subtitle filtering

Bug: 20222023

Change-Id: I1eaef701b5d68f475615f09d86561eacc91c937f
2015-05-06 20:37:10 -07:00
Hyunyoung Song ebe1734a67 Make drag and drop also work when the widget tray is still in scroll mode.
b/20698514

Change-Id: Ic075f0016d5e00bbdec193bbcd2e311da1957388
2015-05-06 17:49:33 -07:00
Hyunyoung Song ffae07e447 WidgetTray UI - change text color for the section and widget name
Change-Id: I8ce966d151bc62a9eb23ca3fa8c13c3aeb0c7f37
2015-05-01 10:55:53 -07:00
Sunny Goyal c525d80dcd Removing obsolete resources
Change-Id: I9a8d3d23e772a3ffc161ac97a5f08808aab79d5b
2015-04-29 11:18:27 -07:00