Commit Graph

9480 Commits

Author SHA1 Message Date
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
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 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
Winson Chung 515f2897e8 Fixing fast scroller invalidation on pre-L devices.
Change-Id: Ie776eff314db4b392ede70be1a332b0d80e0647c
2015-05-14 15:48:07 -07:00
Sunny Goyal 41b22c0924 Overriding proper layout params methods for a custom ViewGroup
Change-Id: Ib6176a0da510eaa0992551ab4afa6f73b4763db0
2015-05-14 15:21:53 -07:00
Sunny Goyal 03f50ef3a4 Merge "Extending the shadow effect for search bar to lower devices" into ub-launcher3-burnaby 2015-05-14 22:01:29 +00:00
Sunny Goyal 7f1d824daa Merge "Prevent work folder creation when launcher is upgraded." into ub-launcher3-burnaby 2015-05-14 21:52:29 +00: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 fb445cd97d Merge "Various lint error fixes." into ub-launcher3-burnaby 2015-05-14 21:42:07 +00:00
Winson Chung c2af7f9175 Limiting number of predictions on phones. 2015-05-14 20:16:10 +00:00
Winson Chung a0abe2661e Merge "Fixing crash when updating the scroll position state when there are no items." into ub-launcher3-burnaby 2015-05-14 19:35:58 +00:00
Adam Cohen 88c66dd4c5 Merge "Revert "Revert "Fixing issue where the prediction bar could be misplaced after installing an app.""" into ub-launcher3-burnaby 2015-05-14 19:32:18 +00:00
Winson Chung edebee9d0d Revert "Revert "Fixing issue where the prediction bar could be misplaced after installing an app.""
This reverts commit 12717c04c1.

Change-Id: Ieece275e55172f5b6fa52685a273c98e88afd921
2015-05-14 19:28:55 +00:00
Adam Cohen b0f89aa343 Merge "Revert "Fixing issue where the prediction bar could be misplaced after installing an app."" into ub-launcher3-burnaby 2015-05-14 19:28:35 +00: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
Winson Chung 12717c04c1 Revert "Fixing issue where the prediction bar could be misplaced after installing an app."
This reverts commit 02baa79e1f.

Change-Id: I69c6766d78affcc2a1a4b41a69888cba99fcf7d0
2015-05-14 19:27:22 +00:00
Winson Chung 532e6ea2e6 Fixing crash when updating the scroll position state when there are no items.
Change-Id: I2bee8dedb2e546c956b7d9ff36187fb75183bd35
2015-05-14 12:24:25 -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 db1360dbbb Merge "Removing some more unused resources" into ub-launcher3-burnaby 2015-05-14 18:06:57 +00:00
Winson Chung 421a40d39f Merge "Fixing issue where the prediction bar could be misplaced after installing an app." into ub-launcher3-burnaby 2015-05-14 17:14:27 +00:00
Winson Chung 02baa79e1f 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.
2015-05-14 09:56:17 -07:00
Sunny Goyal b94f6616f7 Removing some more unused resources
Change-Id: Ia09045d2aa88eb1ec17ac4f201aeaf77c6870678
2015-05-14 09:52:06 -07:00
Sunny Goyal 5f80ef2d01 Merge "Resource cleanup: Removing obsolete resources" into ub-launcher3-burnaby 2015-05-14 16:03:49 +00:00
Winson Chung 6b27614c54 Fixing issue with touch scrolling the prediction bar.
Change-Id: Ie15ca96e5ea33a54508285aa76fb6aea81b2376d
2015-05-13 16:04:35 -07:00
Sunny Goyal 22fc63ee29 Adding padding to the folder content
Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f
2015-05-13 16:01:26 -07:00
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
Sunny Goyal 0fa93bc5c6 Resource cleanup: Removing obsolete resources
> For workspace scrim, using a flat color, instead of a 1-pixel bitmap

Change-Id: I7e8a16293b90303b0674d7f678c3f4cc5fb8a962
2015-05-13 11:24:18 -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
Sunny Goyal f13586eae9 am a6095969: Preventing NullPointerException when cancelling a shortcut addition
* commit 'a6095969bb5938ad95ee9f858970d5eb54eb124d':
  Preventing NullPointerException when cancelling a shortcut addition
2015-05-13 02:22:10 +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
Sunny Goyal a6095969bb Preventing NullPointerException when cancelling a shortcut addition
Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457
(cherry picked from commit f044bb1edd)
2015-05-13 01:07:17 +00:00
Hyunyoung Song 426b94b207 Typecast to correct LayoutParams
Change-Id: Ifdd04923563a0ef57bd281d1b55b8af0e4cc59f0
2015-05-12 16:27:50 -07:00
Hyunyoung Song 1e62c1594a Unbreak the build. Remove extra xml version definition.
Change-Id: I42f1c21143bef6181828d1135deaaf153acbf984
2015-05-12 15:58:09 -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
Sunny Goyal 2517f88795 Merge "Removing obsolete strings with no default translation" into ub-launcher3-burnaby 2015-05-12 21:21:59 +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 dfb332f5b6 Removing obsolete strings with no default translation
Change-Id: I80613460450078ef5f1fd495c8dced3abf8d273f
2015-05-12 14:03:15 -07:00
Sunny Goyal f044bb1edd Preventing NullPointerException when cancelling a shortcut addition
Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457
2015-05-12 13:31:19 -07:00