summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Widget cell improvementSunny Goyal2015-05-195-86/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | | Ensure that we have a reasonable cache size for AllApps.Winson Chung2015-05-191-0/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic0cb5ec2911567102227748cd9d2c1d8297fe105
* | | | | Synchronizing views dependent on scroll during pre-draw.Winson Chung2015-05-193-163/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Fixing issue with prediction bar apps erroneously being tapped.Winson Chung2015-05-192-5/+27
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | Removing some thread priority management logicSunny Goyal2015-05-184-80/+22
| | | | | | | | | | | | | | | | | | | | | | | | > Not saving folder id in onSaveInstance as it is not used. Change-Id: I176beb77cafe27ec4b7500d65dc86287d2f2e0cb
* | | | Starting the loader if the previous loader is not complete, instead of ↵Sunny Goyal2015-05-181-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | binding page synchronously Bug: 21107637 Change-Id: If04952c7d5c8a38a739ce5536ecac394011ab61a
* | | | Preventing relayout when loading high-res iconsSunny Goyal2015-05-151-0/+11
|/ / / | | | | | | | | | | | | Bug: 21133230 Change-Id: I1ec4dbfd28c42fa1c0e28b3fa746c0bc5dfaba7c
* | | Reducing calls to onCreateViewHolder due to animating children.Winson Chung2015-05-152-0/+10
| | | | | | | | | | | | | | | Bug 21133230 Change-Id: Ib5be0766d1ea56976195e33526d7595a16672eef
* | | Merge "Transition from back to showing widget tray if shortcut/Widget ↵Hyunyoung Song2015-05-151-4/+14
|\ \ \ | |/ / |/| | | | | configure activity was cancelled." into ub-launcher3-burnaby
| * | Transition from back to showing widget tray if shortcut/Widget configure ↵Hyunyoung Song2015-05-151-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Optimizing shadow generation by reusing bitmap." into ↵Sunny Goyal2015-05-155-156/+183
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Optimizing shadow generation by reusing bitmap.Sunny Goyal2015-05-155-156/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | Removing some dead code and extra view creation.Winson Chung2015-05-153-14/+8
| | | | | | | | | | | | b/21133230
* | | | Don't try and trim null strings.Winson Chung2015-05-151-0/+4
|/ / / | | | | | | Bug: 21161481
* | | Preventing homscreen getting filled with secondary user apps, when launcherSunny Goyal2015-05-153-24/+52
| | | | | | | | | | | | | | | | | | | | | | | | starts for the first time > Sorting the apps in the work folder by install time Change-Id: Ia475b4ff3197d90e6dffe070c12c0aa16be9e292
* | | Merge "Fixing issue with folder inflation" into ub-launcher3-burnabySunny Goyal2015-05-151-2/+2
|\ \ \
| * | | Fixing issue with folder inflationSunny Goyal2015-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | > Folder was getting placed at the top left, instead of a custom position Change-Id: Ief279fad1583085c61aaa403e9cbe687da895ae0
* | | | Merge "Ensure prediction bar is visible when intercepting touch events. " ↵Winson Chung2015-05-151-6/+11
|\ \ \ \ | | | | | | | | | | | | | | | into ub-launcher3-burnaby
| * | | | Ensure prediction bar is visible when intercepting touch events. Winson Chung2015-05-151-6/+11
| | |/ / | |/| | | | | | Bug 21180943
* | | | Merge "Fixing crash when drawing prediction bar divider." into ↵Winson Chung2015-05-152-2/+13
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-burnaby
| * | | Fixing crash when drawing prediction bar divider.Winson Chung2015-05-142-2/+13
| | | |
* | | | Merge "Adding padding to the folder content" into ub-launcher3-burnabySunny Goyal2015-05-152-6/+9
|\ \ \ \ | |_|/ / |/| | |
| * | | Adding padding to the folder contentSunny Goyal2015-05-132-6/+9
| | | | | | | | | | | | | | | | Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f
* | | | Merge "Place the work profile badge in the correct bottom right (left for ↵Hyunyoung Song2015-05-157-33/+20
|\ \ \ \ | |_|/ / |/| | | | | | | RTL) location" into ub-launcher3-burnaby
| * | | Place the work profile badge in the correct bottom right (left for RTL)Hyunyoung Song2015-05-147-33/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | location Also: - clean up of some code - remove requestLayout() method call that is not needed. b/20338602 Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99
* | | | Merge "Fixing fast scroller invalidation on pre-L devices." into ↵Winson Chung2015-05-141-24/+42
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | Fixing fast scroller invalidation on pre-L devices.Winson Chung2015-05-141-24/+42
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie776eff314db4b392ede70be1a332b0d80e0647c
* | | | | Don't account for prediction bar height when there are no predictions.Winson Chung2015-05-141-4/+6
|/ / / / | | | | | | | | | | | | Change-Id: Icd4d52908de8d2de9d144e8ea469adbbcfe7cad3
* | | | Overriding proper layout params methods for a custom ViewGroupSunny Goyal2015-05-141-0/+20
| | | | | | | | | | | | | | | | Change-Id: Ib6176a0da510eaa0992551ab4afa6f73b4763db0
* | | | Merge "Extending the shadow effect for search bar to lower devices" into ↵Sunny Goyal2015-05-142-28/+99
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | Extending the shadow effect for search bar to lower devicesSunny Goyal2015-05-142-28/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Applying the background to the whole container instead of recycleview Change-Id: Ifc90d05e0e96c41ba9aaf96b906211b101c2e197
* | | | | Merge "Prevent work folder creation when launcher is upgraded." into ↵Sunny Goyal2015-05-142-2/+34
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | ub-launcher3-burnaby
| * | | | Prevent work folder creation when launcher is upgraded.Sunny Goyal2015-05-122-2/+34
| | | | | | | | | | | | | | | | | | | | Change-Id: If7a91e0852dae1bf5dcf21e89c1771b5f37629f3
* | | | | Merge "Various lint error fixes." into ub-launcher3-burnabySunny Goyal2015-05-1431-121/+157
|\ \ \ \ \
| * | | | | Various lint error fixes.Sunny Goyal2015-05-1431-121/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | | | Limiting number of predictions on phones.Winson Chung2015-05-141-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge "Fixing crash when updating the scroll position state when there are ↵Winson Chung2015-05-141-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | no items." into ub-launcher3-burnaby
| * | | | | Fixing crash when updating the scroll position state when there are no items.Winson Chung2015-05-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2bee8dedb2e546c956b7d9ff36187fb75183bd35
* | | | | | Merge "Revert "Revert "Fixing issue where the prediction bar could be ↵Adam Cohen2015-05-142-11/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | misplaced after installing an app.""" into ub-launcher3-burnaby
| * | | | | | Revert "Revert "Fixing issue where the prediction bar could be misplaced ↵Winson Chung2015-05-142-11/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after installing an app."" This reverts commit 12717c04c197364359fc1d74efc1210478a56b5d. Change-Id: Ieece275e55172f5b6fa52685a273c98e88afd921
* | | | | | | Merge "Revert "Fixing issue where the prediction bar could be misplaced ↵Adam Cohen2015-05-142-36/+11
|\| | | | | | | |_|/ / / / |/| | | | | | | | | | | after installing an app."" into ub-launcher3-burnaby
| * | | | | Revert "Fixing issue where the prediction bar could be misplaced after ↵Winson Chung2015-05-142-36/+11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | installing an app." This reverts commit 02baa79e1f75f4c0cc9633d2e634a191321be316. Change-Id: I69c6766d78affcc2a1a4b41a69888cba99fcf7d0
* | | | | Reodering some drawablesSunny Goyal2015-05-142-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | | Merge "Fixing issue where the prediction bar could be misplaced after ↵Winson Chung2015-05-142-11/+36
|\| | | | | | | | | | | | | | | | | | | installing an app." into ub-launcher3-burnaby
| * | | | Fixing issue where the prediction bar could be misplaced after installing an ↵Winson Chung2015-05-142-11/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge "Resource cleanup: Removing obsolete resources" into ub-launcher3-burnabySunny Goyal2015-05-141-7/+8
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Resource cleanup: Removing obsolete resourcesSunny Goyal2015-05-131-7/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | > For workspace scrim, using a flat color, instead of a 1-pixel bitmap Change-Id: I7e8a16293b90303b0674d7f678c3f4cc5fb8a962
* | | | Fixing issue with touch scrolling the prediction bar.Winson Chung2015-05-133-16/+88
| |_|/ |/| | | | | | | | Change-Id: Ie15ca96e5ea33a54508285aa76fb6aea81b2376d
* | | Merge "Set proper height of the widget tray container for preloading." into ↵Hyunyoung Song2015-05-131-1/+3
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Set proper height of the widget tray container for preloading.Hyunyoung Song2015-05-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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